From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000295; cv=none; d=zoho.com; s=zohoarc; b=ak/S9PZ0XzLOYcoQiAqeef8BI1di0mK+PoWntp2n6XTikaX+rFQ4tDi+h3FeHNbJSlgbpyZuyrSk0j2K6lLgqopbNljDjo4xYpHdwf2sBaA1QwrNccYZTqc1IqyTBwpZ/DKnomM5vju5iXrGQJZUhabhnVnVC5xUbSsFkKDYUAY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000295; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=E9fQURWPd0DR3u1qyC+uTSJH8LreYCD0SCI7fGmWVnk=; b=fZrMGSW5F5oZdbztTfOoyEuSvGYrJqd+VBsGEy/BhxFid/QbrZEqJUEoFUMJm5A0Zw2sW7D0ZK+nLWs6Yut0gX5HQYTg6sk8YMRoZ5cYoX5wChZcoByzgVeEySw0WnqKQDFgiBNgJrPgdokc1YPwQQ5eYMG9wtE2y4F1z2Xye2E= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1565000295033410.39813059246933; Mon, 5 Aug 2019 03:18:15 -0700 (PDT) Received: from localhost ([::1]:52356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua4D-0002KT-SC for importer@patchew.org; Mon, 05 Aug 2019 06:18:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39155) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZwx-0005Ps-QG for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZwu-0002g8-TF for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:43 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:43334 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZwu-00025n-Hh for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:40 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id C0F1D1A20B7; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 9262C1A204D; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:08:59 +0200 Message-Id: <1564999760-27438-2-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 01/22] target/mips: Add support for DSPRAM X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Yongbok Kim The optional Data Scratch Pad RAM (DSPRAM) block provides a general scratch= pad RAM used for temporary storage of data. The DSPRAM provides a connection to on-= chip memory or memory-mapped registers, which are accessed in parallel with the = L1 data cache to minimize access latency Signed-off-by: Yongbok Kim Signed-off-by: Aleksandar Markovic --- hw/mips/cps.c | 29 +++++++- hw/misc/Makefile.objs | 1 + hw/misc/mips_dspram.c | 153 +++++++++++++++++++++++++++++++++++= ++++ include/hw/mips/cps.h | 2 + include/hw/misc/mips_dspram.h | 46 ++++++++++++ target/mips/cpu.h | 9 ++- target/mips/internal.h | 3 +- target/mips/op_helper.c | 18 +++++ target/mips/translate.c | 8 ++ target/mips/translate_init.inc.c | 2 + 10 files changed, 266 insertions(+), 5 deletions(-) create mode 100644 hw/misc/mips_dspram.c create mode 100644 include/hw/misc/mips_dspram.h diff --git a/hw/mips/cps.c b/hw/mips/cps.c index 0d459c4..c84bc64 100644 --- a/hw/mips/cps.c +++ b/hw/mips/cps.c @@ -18,6 +18,7 @@ */ =20 #include "qemu/osdep.h" +#include "qemu/error-report.h" #include "qapi/error.h" #include "qemu/module.h" #include "hw/mips/cps.h" @@ -91,7 +92,8 @@ static void mips_cps_realize(DeviceState *dev, Error **er= rp) =20 cpu =3D MIPS_CPU(first_cpu); env =3D &cpu->env; - saar_present =3D (bool)env->saarp; + saar_present =3D env->saarp; + bool dspram_present =3D env->dspramp; =20 /* Inter-Thread Communication Unit */ if (itu_present) { @@ -102,7 +104,8 @@ static void mips_cps_realize(DeviceState *dev, Error **= errp) object_property_set_bool(OBJECT(&s->itu), saar_present, "saar-pres= ent", &err); if (saar_present) { - qdev_prop_set_ptr(DEVICE(&s->itu), "saar", (void *)&env->CP0_S= AAR); + qdev_prop_set_ptr(DEVICE(&s->itu), "saar", + (void *) &env->CP0_SAAR[0]); } object_property_set_bool(OBJECT(&s->itu), true, "realized", &err); if (err !=3D NULL) { @@ -113,6 +116,28 @@ static void mips_cps_realize(DeviceState *dev, Error *= *errp) memory_region_add_subregion(&s->container, 0, sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->itu),= 0)); } + env->dspram =3D g_new0(MIPSDSPRAMState, 1); + + /* Data Scratch Pad RAM */ + if (dspram_present) { + if (!saar_present) { + error_report("%s: DSPRAM requires SAAR registers", __func__); + return; + } + object_initialize(&s->dspram, sizeof(MIPSDSPRAMState), + TYPE_MIPS_DSPRAM); + qdev_set_parent_bus(DEVICE(&s->dspram), sysbus_get_default()); + qdev_prop_set_ptr(DEVICE(&s->dspram), "saar", + &env->CP0_SAAR[1]); + object_property_set_bool(OBJECT(&s->dspram), true, "realized", &er= r); + if (err !=3D NULL) { + error_report("%s: DSPRAM initialisation failed", __func__); + error_propagate(errp, err); + return; + } + memory_region_add_subregion(&s->container, 0, + sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->dspram), 0)); + } =20 /* Cluster Power Controller */ sysbus_init_child_obj(OBJECT(dev), "cpc", &s->cpc, sizeof(s->cpc), diff --git a/hw/misc/Makefile.objs b/hw/misc/Makefile.objs index e9aab51..5fcb4db 100644 --- a/hw/misc/Makefile.objs +++ b/hw/misc/Makefile.objs @@ -60,6 +60,7 @@ obj-$(CONFIG_STM32F2XX_SYSCFG) +=3D stm32f2xx_syscfg.o obj-$(CONFIG_MIPS_CPS) +=3D mips_cmgcr.o obj-$(CONFIG_MIPS_CPS) +=3D mips_cpc.o obj-$(CONFIG_MIPS_ITU) +=3D mips_itu.o +obj-$(CONFIG_MIPS_DSPRAM) +=3D mips_dspram.o obj-$(CONFIG_MPS2_FPGAIO) +=3D mps2-fpgaio.o obj-$(CONFIG_MPS2_SCC) +=3D mps2-scc.o =20 diff --git a/hw/misc/mips_dspram.c b/hw/misc/mips_dspram.c new file mode 100644 index 0000000..9bc155b --- /dev/null +++ b/hw/misc/mips_dspram.c @@ -0,0 +1,153 @@ +/* + * Data Scratch Pad RAM + * + * Copyright (c) 2017 Imagination Technologies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + */ + +#include "qemu/osdep.h" +#include "qapi/error.h" +#include "cpu.h" +#include "qemu/log.h" +#include "exec/exec-all.h" +#include "hw/hw.h" +#include "hw/sysbus.h" +#include "sysemu/sysemu.h" +#include "hw/misc/mips_dspram.h" + +static void raise_exception(int excp) +{ + current_cpu->exception_index =3D excp; + cpu_loop_exit(current_cpu); +} + +static uint64_t dspram_read(void *opaque, hwaddr addr, unsigned size) +{ + MIPSDSPRAMState *s =3D (MIPSDSPRAMState *)opaque; + + switch (size) { + case 1: + case 2: + raise_exception(EXCP_AdEL); + return 0; + case 4: + return *(uint32_t *) &s->ramblock[addr % (1 << s->size)]; + case 8: + return *(uint64_t *) &s->ramblock[addr % (1 << s->size)]; + } + return 0; +} + +static void dspram_write(void *opaque, hwaddr addr, uint64_t data, + unsigned size) +{ + MIPSDSPRAMState *s =3D (MIPSDSPRAMState *)opaque; + + switch (size) { + case 1: + case 2: + raise_exception(EXCP_AdES); + return; + case 4: + *(uint32_t *) &s->ramblock[addr % (1 << s->size)] =3D (uint32_t) d= ata; + break; + case 8: + *(uint64_t *) &s->ramblock[addr % (1 << s->size)] =3D data; + break; + } +} + +void dspram_reconfigure(struct MIPSDSPRAMState *dspram) +{ + MemoryRegion *mr =3D &dspram->mr; + hwaddr address; + bool is_enabled; + + address =3D ((*(uint64_t *) dspram->saar) & 0xFFFFFFFE000ULL) << 4; + is_enabled =3D *(uint64_t *) dspram->saar & 1; + + memory_region_transaction_begin(); + memory_region_set_size(mr, (1 << dspram->size)); + memory_region_set_address(mr, address); + memory_region_set_enabled(mr, is_enabled); + memory_region_transaction_commit(); +} + +static const MemoryRegionOps dspram_ops =3D { + .read =3D dspram_read, + .write =3D dspram_write, + .endianness =3D DEVICE_NATIVE_ENDIAN, + .valid =3D { + .unaligned =3D false, + } +}; + +static void mips_dspram_init(Object *obj) +{ + SysBusDevice *sbd =3D SYS_BUS_DEVICE(obj); + MIPSDSPRAMState *s =3D MIPS_DSPRAM(obj); + + memory_region_init_io(&s->mr, OBJECT(s), &dspram_ops, s, + "mips-dspram", (1 << s->size)); + sysbus_init_mmio(sbd, &s->mr); +} + +static void mips_dspram_realize(DeviceState *dev, Error **errp) +{ + MIPSDSPRAMState *s =3D MIPS_DSPRAM(dev); + + /* some error handling here */ + + s->ramblock =3D g_malloc0(1 << s->size); +} + +static void mips_dspram_reset(DeviceState *dev) +{ + MIPSDSPRAMState *s =3D MIPS_DSPRAM(dev); + + *(uint64_t *) s->saar =3D s->size << 1; + memset(s->ramblock, 0, (1 << s->size)); +} + +static Property mips_dspram_properties[] =3D { + DEFINE_PROP_PTR("saar", MIPSDSPRAMState, saar), + /* default DSPRAM size is 64 KB */ + DEFINE_PROP_SIZE("size", MIPSDSPRAMState, size, 0x10), + DEFINE_PROP_END_OF_LIST(), +}; + +static void mips_dspram_class_init(ObjectClass *klass, void *data) +{ + DeviceClass *dc =3D DEVICE_CLASS(klass); + + dc->props =3D mips_dspram_properties; + dc->realize =3D mips_dspram_realize; + dc->reset =3D mips_dspram_reset; +} + +static const TypeInfo mips_dspram_info =3D { + .name =3D TYPE_MIPS_DSPRAM, + .parent =3D TYPE_SYS_BUS_DEVICE, + .instance_size =3D sizeof(MIPSDSPRAMState), + .instance_init =3D mips_dspram_init, + .class_init =3D mips_dspram_class_init, +}; + +static void mips_dspram_register_types(void) +{ + type_register_static(&mips_dspram_info); +} + +type_init(mips_dspram_register_types); diff --git a/include/hw/mips/cps.h b/include/hw/mips/cps.h index aab1af9..a637036 100644 --- a/include/hw/mips/cps.h +++ b/include/hw/mips/cps.h @@ -25,6 +25,7 @@ #include "hw/intc/mips_gic.h" #include "hw/misc/mips_cpc.h" #include "hw/misc/mips_itu.h" +#include "hw/misc/mips_dspram.h" =20 #define TYPE_MIPS_CPS "mips-cps" #define MIPS_CPS(obj) OBJECT_CHECK(MIPSCPSState, (obj), TYPE_MIPS_CPS) @@ -41,6 +42,7 @@ typedef struct MIPSCPSState { MIPSGICState gic; MIPSCPCState cpc; MIPSITUState itu; + MIPSDSPRAMState dspram; } MIPSCPSState; =20 qemu_irq get_cps_irq(MIPSCPSState *cps, int pin_number); diff --git a/include/hw/misc/mips_dspram.h b/include/hw/misc/mips_dspram.h new file mode 100644 index 0000000..ee99e17 --- /dev/null +++ b/include/hw/misc/mips_dspram.h @@ -0,0 +1,46 @@ +/* + * Data Scratch Pad RAM + * + * Copyright (c) 2017 Imagination Technologies + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + */ + +#ifndef MIPS_DSPRAM_H +#define MIPS_DSPRAM_H + +#include "hw/sysbus.h" + +#define TYPE_MIPS_DSPRAM "mips-dspram" +#define MIPS_DSPRAM(obj) OBJECT_CHECK(MIPSDSPRAMState, (obj), TYPE_MIPS_DS= PRAM) + +typedef struct MIPSDSPRAMState { + /*< private >*/ + SysBusDevice parent_obj; + /*< public >*/ + + /* 2 ^ SIZE */ + uint64_t size; + + MemoryRegion mr; + + /* SAAR */ + bool saar_present; + void *saar; + + /* ramblock */ + uint8_t *ramblock; +} MIPSDSPRAMState; + +#endif /* MIPS_DSPRAM_H */ diff --git a/target/mips/cpu.h b/target/mips/cpu.h index 21c0615..90a2ed8 100644 --- a/target/mips/cpu.h +++ b/target/mips/cpu.h @@ -453,6 +453,7 @@ struct TCState { =20 }; =20 +struct MIPSDSPRAMState; struct MIPSITUState; typedef struct CPUMIPSState CPUMIPSState; struct CPUMIPSState { @@ -1035,8 +1036,8 @@ struct CPUMIPSState { uint32_t CP0_Status_rw_bitmask; /* Read/write bits in CP0_Status */ uint32_t CP0_TCStatus_rw_bitmask; /* Read/write bits in CP0_TCStatus */ uint64_t insn_flags; /* Supported instruction set */ - int saarp; - + bool saarp; + bool dspramp; /* Fields up to this point are cleared by a CPU reset */ struct {} end_reset_fields; =20 @@ -1051,6 +1052,7 @@ struct CPUMIPSState { QEMUTimer *timer; /* Internal timer */ struct MIPSITUState *itu; MemoryRegion *itc_tag; /* ITC Configuration Tags */ + struct MIPSDSPRAMState *dspram; target_ulong exception_base; /* ExceptionBase input to the core */ }; =20 @@ -1192,6 +1194,9 @@ void cpu_mips_soft_irq(CPUMIPSState *env, int irq, in= t level); /* mips_itu.c */ void itc_reconfigure(struct MIPSITUState *tag); =20 +/* mips_dspram.c */ +void dspram_reconfigure(struct MIPSDSPRAMState *dspram); + /* helper.c */ target_ulong exception_resume_pc(CPUMIPSState *env); =20 diff --git a/target/mips/internal.h b/target/mips/internal.h index b2b41a5..f6d0d7a 100644 --- a/target/mips/internal.h +++ b/target/mips/internal.h @@ -61,7 +61,8 @@ struct mips_def_t { target_ulong CP0_EBaseWG_rw_bitmask; uint64_t insn_flags; enum mips_mmu_types mmu_type; - int32_t SAARP; + bool SAARP; + bool DSPRAMP; }; =20 extern const struct mips_def_t mips_defs[]; diff --git a/target/mips/op_helper.c b/target/mips/op_helper.c index 9e2e02f..628da45 100644 --- a/target/mips/op_helper.c +++ b/target/mips/op_helper.c @@ -1614,7 +1614,16 @@ void helper_mtc0_saar(CPUMIPSState *env, target_ulon= g arg1) itc_reconfigure(env->itu); } break; +#if defined(CONFIG_MIPS_DSPRAM) + case 1: + if (env->dspram) { + dspram_reconfigure(env->dspram); + } + break; +#endif } + } else { + helper_raise_exception(env, EXCP_RI); } } =20 @@ -1631,7 +1640,16 @@ void helper_mthc0_saar(CPUMIPSState *env, target_ulo= ng arg1) itc_reconfigure(env->itu); } break; +#if defined(CONFIG_MIPS_DSPRAM) + case 1: + if (env->dspram) { + dspram_reconfigure(env->dspram); + } + break; +#endif } + } else { + helper_raise_exception(env, EXCP_RI); } } =20 diff --git a/target/mips/translate.c b/target/mips/translate.c index ca62800..4ebeabe 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -30368,6 +30368,8 @@ void cpu_state_reset(CPUMIPSState *env) env->active_fpu.fcr31 =3D env->cpu_model->CP1_fcr31; env->msair =3D env->cpu_model->MSAIR; env->insn_flags =3D env->cpu_model->insn_flags; + env->saarp =3D env->cpu_model->SAARP; + env->dspramp =3D env->cpu_model->DSPRAMP; =20 #if defined(CONFIG_USER_ONLY) env->CP0_Status =3D (MIPS_HFLAG_UM << CP0St_KSU); @@ -30528,6 +30530,12 @@ void cpu_state_reset(CPUMIPSState *env) msa_reset(env); } =20 + /* DSPRAM */ + if (env->dspramp) { + /* Fixed DSPRAM size with Default Value */ + env->CP0_SAAR[1] =3D 0x10 << 1; + } + compute_hflags(env); restore_fp_status(env); restore_pamask(env); diff --git a/target/mips/translate_init.inc.c b/target/mips/translate_init.= inc.c index 6d145a9..1df0901 100644 --- a/target/mips/translate_init.inc.c +++ b/target/mips/translate_init.inc.c @@ -760,6 +760,8 @@ const mips_def_t mips_defs[] =3D .PABITS =3D 48, .insn_flags =3D CPU_MIPS64R6 | ASE_MSA, .mmu_type =3D MMU_TYPE_R4000, + .SAARP =3D 1, + .DSPRAMP =3D 1, }, { .name =3D "Loongson-2E", --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1564999948; cv=none; d=zoho.com; s=zohoarc; b=Y35lCd26lswGgOwVUR/n31EultIjj80+ORCRSQiNAfklM+xySZpwbygY92rm18LCjRDgTbfHreJo7fNnBU2pyvO4c2XaN9as0z1yqa561KpZFaF7pt9kzcKZ2v8CrQPFoctXaMRDAyoheW0uaVHt4lmFsKdoso5D6Q7FowuJtbw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564999948; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=4QY6dryIaf4cULvGTBniQaPJf49+/LKx//8XGUV1Tdo=; b=Cnc9pcZqTZNLfbPbyFqnoE+pjqDJxWojluZKa7jIVcPbT9Qb0ryMmwyvXUJY3Pm52qgA+rClxFsftbNgqvtE45bMrKVo04XRVuE2d1a2kctkpoTX8u22Ah1TVqTfO8R7ScY9jQ5BpyXNtVTow9L6KuX3Qf3NpPmqgx1OaKFSx/U= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1564999948805169.59903377775913; Mon, 5 Aug 2019 03:12:28 -0700 (PDT) Received: from localhost ([::1]:52286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZyd-00023O-Pp for importer@patchew.org; Mon, 05 Aug 2019 06:12:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39113) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZww-0005Pp-MN for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZwu-0002g3-St for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:42 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:43502 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZwu-000268-Hi for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:40 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id C8EB51A2108; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id A22FA1A206E; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:00 +0200 Message-Id: <1564999760-27438-3-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 02/22] target/mips: Amend CP0 WatchHi register implementation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Yongbok Kim WatchHi is extended by the field MemoryMapID with the GINVT instruction. The field is accessible by MTHC0/MFHC0 in 32-bit architectures and DMTC0/ DMFC0 in 64-bit architectures. Signed-off-by: Yongbok Kim Signed-off-by: Aleksandar Markovic --- target/mips/cpu.h | 2 +- target/mips/helper.h | 3 +++ target/mips/machine.c | 6 +++--- target/mips/op_helper.c | 23 +++++++++++++++++++++-- target/mips/translate.c | 42 +++++++++++++++++++++++++++++++++++++++++- 5 files changed, 69 insertions(+), 7 deletions(-) diff --git a/target/mips/cpu.h b/target/mips/cpu.h index 90a2ed8..6406ba8 100644 --- a/target/mips/cpu.h +++ b/target/mips/cpu.h @@ -898,7 +898,7 @@ struct CPUMIPSState { /* * CP0 Register 19 */ - int32_t CP0_WatchHi[8]; + uint64_t CP0_WatchHi[8]; #define CP0WH_ASID 16 /* * CP0 Register 20 diff --git a/target/mips/helper.h b/target/mips/helper.h index 51f0e1c..aad0951 100644 --- a/target/mips/helper.h +++ b/target/mips/helper.h @@ -78,6 +78,7 @@ DEF_HELPER_1(mfc0_maar, tl, env) DEF_HELPER_1(mfhc0_maar, tl, env) DEF_HELPER_2(mfc0_watchlo, tl, env, i32) DEF_HELPER_2(mfc0_watchhi, tl, env, i32) +DEF_HELPER_2(mfhc0_watchhi, tl, env, i32) DEF_HELPER_1(mfc0_debug, tl, env) DEF_HELPER_1(mftc0_debug, tl, env) #ifdef TARGET_MIPS64 @@ -89,6 +90,7 @@ DEF_HELPER_1(dmfc0_tcschefback, tl, env) DEF_HELPER_1(dmfc0_lladdr, tl, env) DEF_HELPER_1(dmfc0_maar, tl, env) DEF_HELPER_2(dmfc0_watchlo, tl, env, i32) +DEF_HELPER_2(dmfc0_watchhi, tl, env, i32) DEF_HELPER_1(dmfc0_saar, tl, env) #endif /* TARGET_MIPS64 */ =20 @@ -159,6 +161,7 @@ DEF_HELPER_2(mthc0_maar, void, env, tl) DEF_HELPER_2(mtc0_maari, void, env, tl) DEF_HELPER_3(mtc0_watchlo, void, env, tl, i32) DEF_HELPER_3(mtc0_watchhi, void, env, tl, i32) +DEF_HELPER_3(mthc0_watchhi, void, env, tl, i32) DEF_HELPER_2(mtc0_xcontext, void, env, tl) DEF_HELPER_2(mtc0_framemask, void, env, tl) DEF_HELPER_2(mtc0_debug, void, env, tl) diff --git a/target/mips/machine.c b/target/mips/machine.c index eb2d970..c3e52f8 100644 --- a/target/mips/machine.c +++ b/target/mips/machine.c @@ -213,8 +213,8 @@ const VMStateDescription vmstate_tlb =3D { =20 const VMStateDescription vmstate_mips_cpu =3D { .name =3D "cpu", - .version_id =3D 18, - .minimum_version_id =3D 18, + .version_id =3D 19, + .minimum_version_id =3D 19, .post_load =3D cpu_post_load, .fields =3D (VMStateField[]) { /* Active TC */ @@ -297,7 +297,7 @@ const VMStateDescription vmstate_mips_cpu =3D { VMSTATE_INT32(env.CP0_MAARI, MIPSCPU), VMSTATE_UINTTL(env.lladdr, MIPSCPU), VMSTATE_UINTTL_ARRAY(env.CP0_WatchLo, MIPSCPU, 8), - VMSTATE_INT32_ARRAY(env.CP0_WatchHi, MIPSCPU, 8), + VMSTATE_UINT64_ARRAY(env.CP0_WatchHi, MIPSCPU, 8), VMSTATE_UINTTL(env.CP0_XContext, MIPSCPU), VMSTATE_INT32(env.CP0_Framemask, MIPSCPU), VMSTATE_INT32(env.CP0_Debug, MIPSCPU), diff --git a/target/mips/op_helper.c b/target/mips/op_helper.c index 628da45..279b800 100644 --- a/target/mips/op_helper.c +++ b/target/mips/op_helper.c @@ -979,7 +979,12 @@ target_ulong helper_mfc0_watchlo(CPUMIPSState *env, ui= nt32_t sel) =20 target_ulong helper_mfc0_watchhi(CPUMIPSState *env, uint32_t sel) { - return env->CP0_WatchHi[sel]; + return (int32_t) env->CP0_WatchHi[sel]; +} + +target_ulong helper_mfhc0_watchhi(CPUMIPSState *env, uint32_t sel) +{ + return env->CP0_WatchHi[sel] >> 32; } =20 target_ulong helper_mfc0_debug(CPUMIPSState *env) @@ -1055,6 +1060,11 @@ target_ulong helper_dmfc0_saar(CPUMIPSState *env) } return 0; } + +target_ulong helper_dmfc0_watchhi(CPUMIPSState *env, uint32_t sel) +{ + return env->CP0_WatchHi[sel]; +} #endif /* TARGET_MIPS64 */ =20 void helper_mtc0_index(CPUMIPSState *env, target_ulong arg1) @@ -1896,11 +1906,20 @@ void helper_mtc0_watchlo(CPUMIPSState *env, target_= ulong arg1, uint32_t sel) =20 void helper_mtc0_watchhi(CPUMIPSState *env, target_ulong arg1, uint32_t se= l) { - int mask =3D 0x40000FF8 | (env->CP0_EntryHi_ASID_mask << CP0WH_ASID); + uint64_t mask =3D 0x40000FF8 | (env->CP0_EntryHi_ASID_mask << CP0WH_AS= ID); + if ((env->CP0_Config5 >> CP0C5_MI) & 1) { + mask |=3D 0xFFFFFFFF00000000ULL; /* MMID */ + } env->CP0_WatchHi[sel] =3D arg1 & mask; env->CP0_WatchHi[sel] &=3D ~(env->CP0_WatchHi[sel] & arg1 & 0x7); } =20 +void helper_mthc0_watchhi(CPUMIPSState *env, target_ulong arg1, uint32_t s= el) +{ + env->CP0_WatchHi[sel] =3D ((uint64_t) (arg1) << 32) | + (env->CP0_WatchHi[sel] & 0x00000000ffffffffULL= ); +} + void helper_mtc0_xcontext(CPUMIPSState *env, target_ulong arg1) { target_ulong mask =3D (1ULL << (env->SEGBITS - 7)) - 1; diff --git a/target/mips/translate.c b/target/mips/translate.c index 4ebeabe..b40468d 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -2547,6 +2547,7 @@ typedef struct DisasContext { bool nan2008; bool abs2008; bool saar; + bool mi; } DisasContext; =20 #define DISAS_STOP DISAS_TARGET_0 @@ -6680,6 +6681,25 @@ static void gen_mfhc0(DisasContext *ctx, TCGv arg, i= nt reg, int sel) goto cp0_unimplemented; } break; + case CP0_REGISTER_19: + switch (sel) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + /* upper 32 bits are only available when Config5MI !=3D 0 */ + CP0_CHECK(ctx->mi); + gen_mfhc0_load64(arg, offsetof(CPUMIPSState, CP0_WatchHi[sel])= , 0); + register_name =3D "WatchHi"; + break; + default: + goto cp0_unimplemented; + } + break; case CP0_REGISTER_28: switch (sel) { case 0: @@ -6766,6 +6786,25 @@ static void gen_mthc0(DisasContext *ctx, TCGv arg, i= nt reg, int sel) goto cp0_unimplemented; } break; + case CP0_REGISTER_19: + switch (sel) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + /* upper 32 bits are only available when Config5MI !=3D 0 */ + CP0_CHECK(ctx->mi); + gen_helper_0e1i(mthc0_watchhi, arg, sel); + register_name =3D "WatchHi"; + break; + default: + goto cp0_unimplemented; + } + break; case CP0_REGISTER_28: switch (sel) { case 0: @@ -8805,7 +8844,7 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, in= t reg, int sel) case 6: case 7: CP0_CHECK(ctx->CP0_Config1 & (1 << CP0C1_WR)); - gen_helper_1e0i(mfc0_watchhi, arg, sel); + gen_helper_1e0i(dmfc0_watchhi, arg, sel); register_name =3D "WatchHi"; break; default: @@ -29965,6 +30004,7 @@ static void mips_tr_init_disas_context(DisasContext= Base *dcbase, CPUState *cs) ctx->mrp =3D (env->CP0_Config5 >> CP0C5_MRP) & 1; ctx->nan2008 =3D (env->active_fpu.fcr31 >> FCR31_NAN2008) & 1; ctx->abs2008 =3D (env->active_fpu.fcr31 >> FCR31_ABS2008) & 1; + ctx->mi =3D (env->CP0_Config5 >> CP0C5_MI) & 1; restore_cpu_state(env, ctx); #ifdef CONFIG_USER_ONLY ctx->mem_idx =3D MIPS_HFLAG_UM; --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1564999892; cv=none; d=zoho.com; s=zohoarc; b=doMF68XEDXbsLG3yvzRhLlarvsXMM/WReZUNBLZoyMxIBmBmhPgKSA0REBGaliP5y/NCHTI2ynaBtzvDOrwO8Ey42GaHGccJdBAq6QKnO+j2MxwR7jQg/jB746ajx8lNcnd/OCKVurmH7j2o4lqCwPZpZoEvRoHj0u/rlpJAyPY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564999892; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=YJilDuLouktCS+w5DttTBPD8j7upoBu/Wyfkh7i/Vk4=; b=M6QBZsQYKecMv3A0WYlhphh5KBEL+dM1jwNC+RcWlpYhvI08/f7F2hvQrbY7/UED0RDXDA0FdnAUtLM0GZjCAnFRvlsL4deBIMEbzSS2CPU3cK5LvTGsad2ESlcP2PznJEwtfsLsjCQJvN20EAUDg88He/IRvRzCnlBCl98gn/g= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1564999892975896.9680391276012; Mon, 5 Aug 2019 03:11:32 -0700 (PDT) Received: from localhost ([::1]:52268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZxk-0007BT-0f for importer@patchew.org; Mon, 05 Aug 2019 06:11:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39110) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZww-0005Po-Kl for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZwu-0002fi-PW for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:42 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:43604 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZwu-00026P-Hj for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:40 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id DCA0E1A20CF; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id AA6971A209F; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:01 +0200 Message-Id: <1564999760-27438-4-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 03/22] target/mips: Amend CP0 MemoryMapID register implementation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Yongbok Kim Add migration support and fix preprocessor constant name for MemoryMapID register. Signed-off-by: Yongbok Kim Signed-off-by: Aleksandar Markovic --- target/mips/cpu.h | 2 +- target/mips/machine.c | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/target/mips/cpu.h b/target/mips/cpu.h index 6406ba8..eda8350 100644 --- a/target/mips/cpu.h +++ b/target/mips/cpu.h @@ -290,7 +290,7 @@ typedef struct mips_def_t mips_def_t; #define CP0_REG04__CONTEXT 0 #define CP0_REG04__USERLOCAL 2 #define CP0_REG04__DBGCONTEXTID 4 -#define CP0_REG00__MMID 5 +#define CP0_REG04__MEMORYMAPID 5 /* CP0 Register 05 */ #define CP0_REG05__PAGEMASK 0 #define CP0_REG05__PAGEGRAIN 1 diff --git a/target/mips/machine.c b/target/mips/machine.c index c3e52f8..e23b767 100644 --- a/target/mips/machine.c +++ b/target/mips/machine.c @@ -137,6 +137,7 @@ static int get_tlb(QEMUFile *f, void *pv, size_t size, qemu_get_betls(f, &v->VPN); qemu_get_be32s(f, &v->PageMask); qemu_get_be16s(f, &v->ASID); + qemu_get_be32s(f, &v->MMID); qemu_get_be16s(f, &flags); v->G =3D (flags >> 10) & 1; v->C0 =3D (flags >> 7) & 3; @@ -162,6 +163,7 @@ static int put_tlb(QEMUFile *f, void *pv, size_t size, r4k_tlb_t *v =3D pv; =20 uint16_t asid =3D v->ASID; + uint32_t mmid =3D v->MMID; uint16_t flags =3D ((v->EHINV << 15) | (v->RI1 << 14) | (v->RI0 << 13) | @@ -178,6 +180,7 @@ static int put_tlb(QEMUFile *f, void *pv, size_t size, qemu_put_betls(f, &v->VPN); qemu_put_be32s(f, &v->PageMask); qemu_put_be16s(f, &asid); + qemu_put_be32s(f, &mmid); qemu_put_be16s(f, &flags); qemu_put_be64s(f, &v->PFN[0]); qemu_put_be64s(f, &v->PFN[1]); @@ -199,8 +202,8 @@ const VMStateInfo vmstate_info_tlb =3D { =20 const VMStateDescription vmstate_tlb =3D { .name =3D "cpu/tlb", - .version_id =3D 2, - .minimum_version_id =3D 2, + .version_id =3D 3, + .minimum_version_id =3D 3, .fields =3D (VMStateField[]) { VMSTATE_UINT32(nb_tlb, CPUMIPSTLBContext), VMSTATE_UINT32(tlb_in_use, CPUMIPSTLBContext), --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000350; cv=none; d=zoho.com; s=zohoarc; b=oBp4z+DkRtWjEMcndf2B98KyS8xGCJdCgrGG+USpJFm1lhCOfO9ENALPVd11w8/R8uFLOzUow6ZMaMfcMOHwbRBr0VhgW9Lkp8olyPTR5kbiBs1bNAGCOiulIOA1byuknlruQ5uGL+4mR1RV6lmtNL3ls/rGBp4+bt8hAu0gu2Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000350; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=Kq/odMSb//Azqa+Zz9ftxWZj3OU9tyR1Z33uvGmyd+Y=; b=QkW/a5B6OCjAP4Xj9TLFXBghGpg+NkUA1xnYZWH7oWY/3A5H29woGmrh1U8bAr8IXHghoFyevIlZwg+UNANFvkpnYhSxTnJSFzVLwcYY46QI60GfpWsBM56QLIOYKMpnh4u2hkbM90jx+ijnh1g7mGGhS+fJ8oValUewiNrso4U= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1565000350770565.939611237241; Mon, 5 Aug 2019 03:19:10 -0700 (PDT) Received: from localhost ([::1]:52376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua57-0004su-54 for importer@patchew.org; Mon, 05 Aug 2019 06:19:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39258) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZx0-0005R5-48 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZww-0002jP-Jy for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:46 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44458 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZww-0002gH-4C for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:42 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 155021A2140; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id B17741A2071; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:02 +0200 Message-Id: <1564999760-27438-5-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 04/22] target/mips: Add support for emulation of GINVT instruction X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Yongbok Kim Implement emulation of GINVT instruction. As QEMU doesn't support caches and virtualization, this implementation covers only GINVT (Global Invalidate TLB) instruction among TLB-related instructions. Signed-off-by: Yongbok Kim Signed-off-by: Aleksandar Markovic --- disas/mips.c | 2 + target/mips/helper.c | 24 ++++++++-- target/mips/helper.h | 2 + target/mips/internal.h | 1 + target/mips/op_helper.c | 122 ++++++++++++++++++++++++++++++++++++++++++--= ---- target/mips/translate.c | 48 ++++++++++++++++++- 6 files changed, 177 insertions(+), 22 deletions(-) diff --git a/disas/mips.c b/disas/mips.c index dfefe5e..c3a3059 100644 --- a/disas/mips.c +++ b/disas/mips.c @@ -1409,6 +1409,8 @@ const struct mips_opcode mips_builtin_opcodes[] =3D {"dvp", "t", 0x41600024, 0xffe0ffff, TRAP|WR_t, 0, I= 32R6}, {"evp", "", 0x41600004, 0xffffffff, TRAP, 0, I= 32R6}, {"evp", "t", 0x41600004, 0xffe0ffff, TRAP|WR_t, 0, I= 32R6}, +{"ginvi", "v", 0x7c00003d, 0xfc1ffcff, TRAP | INSN_TLB, 0, I= 32R6}, +{"ginvt", "v", 0x7c0000bd, 0xfc1ffcff, TRAP | INSN_TLB, 0, I= 32R6}, =20 /* MSA */ {"sll.b", "+d,+e,+f", 0x7800000d, 0xffe0003f, WR_VD|RD_VS|RD_VT, 0, MSA= }, diff --git a/target/mips/helper.c b/target/mips/helper.c index a2b6459..6e583d3 100644 --- a/target/mips/helper.c +++ b/target/mips/helper.c @@ -70,7 +70,12 @@ int r4k_map_address (CPUMIPSState *env, hwaddr *physical= , int *prot, target_ulong address, int rw, int access_type) { uint16_t ASID =3D env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; + uint32_t MMID =3D env->CP0_MemoryMapID; + bool mi =3D !!((env->CP0_Config5 >> CP0C5_MI) & 1); int i; + uint32_t tlb_mmid; + + MMID =3D mi ? MMID : (uint32_t) ASID; =20 for (i =3D 0; i < env->tlb->tlb_in_use; i++) { r4k_tlb_t *tlb =3D &env->tlb->mmu.r4k.tlb[i]; @@ -82,8 +87,9 @@ int r4k_map_address (CPUMIPSState *env, hwaddr *physical,= int *prot, tag &=3D env->SEGMask; #endif =20 - /* Check ASID, virtual page number & size */ - if ((tlb->G =3D=3D 1 || tlb->ASID =3D=3D ASID) && VPN =3D=3D tag &= & !tlb->EHINV) { + /* Check ASID/MMID, virtual page number & size */ + tlb_mmid =3D mi ? tlb->MMID : (uint32_t) tlb->ASID; + if ((tlb->G =3D=3D 1 || tlb_mmid =3D=3D MMID) && VPN =3D=3D tag &&= !tlb->EHINV) { /* TLB match */ int n =3D !!(address & mask & ~(mask >> 1)); /* Check access rights */ @@ -1397,12 +1403,20 @@ void r4k_invalidate_tlb (CPUMIPSState *env, int idx= , int use_extra) target_ulong addr; target_ulong end; uint16_t ASID =3D env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; + uint32_t MMID =3D env->CP0_MemoryMapID; target_ulong mask; + bool mi =3D !!((env->CP0_Config5 >> CP0C5_MI) & 1); + uint32_t tlb_mmid; + + MMID =3D mi ? MMID : (uint32_t) ASID; =20 tlb =3D &env->tlb->mmu.r4k.tlb[idx]; - /* The qemu TLB is flushed when the ASID changes, so no need to - flush these entries again. */ - if (tlb->G =3D=3D 0 && tlb->ASID !=3D ASID) { + /* + * The qemu TLB is flushed when the ASID/MMID changes, so no need to + * flush these entries again. + */ + tlb_mmid =3D mi ? tlb->MMID : (uint32_t) tlb->ASID; + if (tlb->G =3D=3D 0 && tlb_mmid !=3D MMID) { return; } =20 diff --git a/target/mips/helper.h b/target/mips/helper.h index aad0951..c7d35bd 100644 --- a/target/mips/helper.h +++ b/target/mips/helper.h @@ -120,6 +120,7 @@ DEF_HELPER_2(mtc0_tcschefback, void, env, tl) DEF_HELPER_2(mttc0_tcschefback, void, env, tl) DEF_HELPER_2(mtc0_entrylo1, void, env, tl) DEF_HELPER_2(mtc0_context, void, env, tl) +DEF_HELPER_2(mtc0_memorymapid, void, env, tl) DEF_HELPER_2(mtc0_pagemask, void, env, tl) DEF_HELPER_2(mtc0_pagegrain, void, env, tl) DEF_HELPER_2(mtc0_segctl0, void, env, tl) @@ -376,6 +377,7 @@ DEF_HELPER_1(ei, tl, env) DEF_HELPER_1(eret, void, env) DEF_HELPER_1(eretnc, void, env) DEF_HELPER_1(deret, void, env) +DEF_HELPER_3(ginvt, void, env, tl, i32) #endif /* !CONFIG_USER_ONLY */ DEF_HELPER_1(rdhwr_cpunum, tl, env) DEF_HELPER_1(rdhwr_synci_step, tl, env) diff --git a/target/mips/internal.h b/target/mips/internal.h index f6d0d7a..d9216fb 100644 --- a/target/mips/internal.h +++ b/target/mips/internal.h @@ -92,6 +92,7 @@ struct r4k_tlb_t { target_ulong VPN; uint32_t PageMask; uint16_t ASID; + uint32_t MMID; unsigned int G:1; unsigned int C0:3; unsigned int C1:3; diff --git a/target/mips/op_helper.c b/target/mips/op_helper.c index 279b800..3104904 100644 --- a/target/mips/op_helper.c +++ b/target/mips/op_helper.c @@ -1409,6 +1409,17 @@ void helper_mtc0_context(CPUMIPSState *env, target_u= long arg1) env->CP0_Context =3D (env->CP0_Context & 0x007FFFFF) | (arg1 & ~0x007F= FFFF); } =20 +void helper_mtc0_memorymapid(CPUMIPSState *env, target_ulong arg1) +{ + int32_t old; + old =3D env->CP0_MemoryMapID; + env->CP0_MemoryMapID =3D (int32_t) arg1; + /* If the MemoryMapID changes, flush qemu's TLB. */ + if (old !=3D env->CP0_MemoryMapID) { + cpu_mips_tlb_flush(env); + } +} + void update_pagemask(CPUMIPSState *env, target_ulong arg1, int32_t *pagema= sk) { uint64_t mask =3D arg1 >> (TARGET_PAGE_BITS + 1); @@ -1857,6 +1868,8 @@ void helper_mtc0_config5(CPUMIPSState *env, target_ul= ong arg1) { env->CP0_Config5 =3D (env->CP0_Config5 & (~env->CP0_Config5_rw_bitmask= )) | (arg1 & env->CP0_Config5_rw_bitmask); + env->CP0_EntryHi_ASID_mask =3D (env->CP0_Config5 & (1 << CP0C5_MI)) ? = 0x0 : + (env->CP0_Config4 & (1 << CP0C4_AE)) ? 0x3ff : 0xf= f; compute_hflags(env); } =20 @@ -2276,6 +2289,7 @@ static void r4k_fill_tlb(CPUMIPSState *env, int idx) tlb->VPN &=3D env->SEGMask; #endif tlb->ASID =3D env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; + tlb->MMID =3D env->CP0_MemoryMapID; tlb->PageMask =3D env->CP0_PageMask; tlb->G =3D env->CP0_EntryLo0 & env->CP0_EntryLo1 & 1; tlb->V0 =3D (env->CP0_EntryLo0 & 2) !=3D 0; @@ -2294,13 +2308,18 @@ static void r4k_fill_tlb(CPUMIPSState *env, int idx) =20 void r4k_helper_tlbinv(CPUMIPSState *env) { + bool mi =3D !!((env->CP0_Config5 >> CP0C5_MI) & 1); int idx; r4k_tlb_t *tlb; uint16_t ASID =3D env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; + uint32_t MMID =3D env->CP0_MemoryMapID; + uint32_t tlb_mmid; =20 + MMID =3D mi ? MMID : (uint32_t) ASID; for (idx =3D 0; idx < env->tlb->nb_tlb; idx++) { tlb =3D &env->tlb->mmu.r4k.tlb[idx]; - if (!tlb->G && tlb->ASID =3D=3D ASID) { + tlb_mmid =3D mi ? tlb->MMID : (uint32_t) tlb->ASID; + if (!tlb->G && tlb_mmid =3D=3D MMID) { tlb->EHINV =3D 1; } } @@ -2319,11 +2338,16 @@ void r4k_helper_tlbinvf(CPUMIPSState *env) =20 void r4k_helper_tlbwi(CPUMIPSState *env) { + bool mi =3D !!((env->CP0_Config5 >> CP0C5_MI) & 1); r4k_tlb_t *tlb; int idx; target_ulong VPN; - uint16_t ASID; bool EHINV, G, V0, D0, V1, D1, XI0, XI1, RI0, RI1; + uint16_t ASID =3D env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; + uint32_t MMID =3D env->CP0_MemoryMapID; + uint32_t tlb_mmid; + + MMID =3D mi ? MMID : (uint32_t) ASID; =20 idx =3D (env->CP0_Index & ~0x80000000) % env->tlb->nb_tlb; tlb =3D &env->tlb->mmu.r4k.tlb[idx]; @@ -2331,7 +2355,6 @@ void r4k_helper_tlbwi(CPUMIPSState *env) #if defined(TARGET_MIPS64) VPN &=3D env->SEGMask; #endif - ASID =3D env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; EHINV =3D (env->CP0_EntryHi & (1 << CP0EnHi_EHINV)) !=3D 0; G =3D env->CP0_EntryLo0 & env->CP0_EntryLo1 & 1; V0 =3D (env->CP0_EntryLo0 & 2) !=3D 0; @@ -2343,9 +2366,10 @@ void r4k_helper_tlbwi(CPUMIPSState *env) XI1 =3D (env->CP0_EntryLo1 >> CP0EnLo_XI) &1; RI1 =3D (env->CP0_EntryLo1 >> CP0EnLo_RI) &1; =20 + tlb_mmid =3D mi ? tlb->MMID : (uint32_t) tlb->ASID; /* Discard cached TLB entries, unless tlbwi is just upgrading access permissions on the current entry. */ - if (tlb->VPN !=3D VPN || tlb->ASID !=3D ASID || tlb->G !=3D G || + if (tlb->VPN !=3D VPN || tlb_mmid !=3D MMID || tlb->G !=3D G || (!tlb->EHINV && EHINV) || (tlb->V0 && !V0) || (tlb->D0 && !D0) || (!tlb->XI0 && XI0) || (!tlb->RI0 && RI0) || @@ -2368,14 +2392,17 @@ void r4k_helper_tlbwr(CPUMIPSState *env) =20 void r4k_helper_tlbp(CPUMIPSState *env) { + bool mi =3D !!((env->CP0_Config5 >> CP0C5_MI) & 1); r4k_tlb_t *tlb; target_ulong mask; target_ulong tag; target_ulong VPN; - uint16_t ASID; int i; + uint16_t ASID =3D env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; + uint32_t MMID =3D env->CP0_MemoryMapID; + uint32_t tlb_mmid; =20 - ASID =3D env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; + MMID =3D mi ? MMID : (uint32_t) ASID; for (i =3D 0; i < env->tlb->nb_tlb; i++) { tlb =3D &env->tlb->mmu.r4k.tlb[i]; /* 1k pages are not supported. */ @@ -2385,8 +2412,9 @@ void r4k_helper_tlbp(CPUMIPSState *env) #if defined(TARGET_MIPS64) tag &=3D env->SEGMask; #endif - /* Check ASID, virtual page number & size */ - if ((tlb->G =3D=3D 1 || tlb->ASID =3D=3D ASID) && VPN =3D=3D tag &= & !tlb->EHINV) { + tlb_mmid =3D mi ? tlb->MMID : (uint32_t) tlb->ASID; + /* Check ASID/MMID, virtual page number & size */ + if ((tlb->G =3D=3D 1 || tlb_mmid =3D=3D MMID) && VPN =3D=3D tag &&= !tlb->EHINV) { /* TLB match */ env->CP0_Index =3D i; break; @@ -2403,8 +2431,9 @@ void r4k_helper_tlbp(CPUMIPSState *env) #if defined(TARGET_MIPS64) tag &=3D env->SEGMask; #endif - /* Check ASID, virtual page number & size */ - if ((tlb->G =3D=3D 1 || tlb->ASID =3D=3D ASID) && VPN =3D=3D t= ag) { + tlb_mmid =3D mi ? tlb->MMID : (uint32_t) tlb->ASID; + /* Check ASID/MMID, virtual page number & size */ + if ((tlb->G =3D=3D 1 || tlb_mmid =3D=3D MMID) && VPN =3D=3D ta= g) { r4k_mips_tlb_flush_extra (env, i); break; } @@ -2426,17 +2455,22 @@ static inline uint64_t get_entrylo_pfn_from_tlb(uin= t64_t tlb_pfn) =20 void r4k_helper_tlbr(CPUMIPSState *env) { + bool mi =3D !!((env->CP0_Config5 >> CP0C5_MI) & 1); r4k_tlb_t *tlb; - uint16_t ASID; int idx; + uint16_t ASID =3D env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; + uint32_t MMID =3D env->CP0_MemoryMapID; + uint32_t tlb_mmid; =20 - ASID =3D env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; + MMID =3D mi ? MMID : (uint32_t) ASID; idx =3D (env->CP0_Index & ~0x80000000) % env->tlb->nb_tlb; tlb =3D &env->tlb->mmu.r4k.tlb[idx]; =20 - /* If this will change the current ASID, flush qemu's TLB. */ - if (ASID !=3D tlb->ASID) + tlb_mmid =3D mi ? tlb->MMID : (uint32_t) tlb->ASID; + /* If this will change the current ASID/MMID, flush qemu's TLB. */ + if (MMID !=3D tlb_mmid) { cpu_mips_tlb_flush(env); + } =20 r4k_mips_tlb_flush_extra(env, env->tlb->nb_tlb); =20 @@ -2446,7 +2480,8 @@ void r4k_helper_tlbr(CPUMIPSState *env) env->CP0_EntryLo0 =3D 0; env->CP0_EntryLo1 =3D 0; } else { - env->CP0_EntryHi =3D tlb->VPN | tlb->ASID; + env->CP0_EntryHi =3D mi ? tlb->VPN : tlb->VPN | tlb->ASID; + env->CP0_MemoryMapID =3D tlb->MMID; env->CP0_PageMask =3D tlb->PageMask; env->CP0_EntryLo0 =3D tlb->G | (tlb->V0 << 1) | (tlb->D0 << 2) | ((uint64_t)tlb->RI0 << CP0EnLo_RI) | @@ -2489,6 +2524,63 @@ void helper_tlbinvf(CPUMIPSState *env) env->tlb->helper_tlbinvf(env); } =20 +static void global_invalidate_tlb(CPUMIPSState *env, + uint32_t invMsgVPN2, + uint8_t invMsgR, + uint32_t invMsgMMid, + bool invAll, + bool invVAMMid, + bool invMMid, + bool invVA) +{ + + int idx; + r4k_tlb_t *tlb; + bool VAMatch; + bool MMidMatch; + + for (idx =3D 0; idx < env->tlb->nb_tlb; idx++) { + tlb =3D &env->tlb->mmu.r4k.tlb[idx]; + VAMatch =3D + (((tlb->VPN & ~tlb->PageMask) =3D=3D (invMsgVPN2 & ~tlb->PageM= ask)) +#ifdef TARGET_MIPS64 + && + (extract64(env->CP0_EntryHi, 62, 2) =3D=3D invMsgR) +#endif + ); + MMidMatch =3D tlb->MMID =3D=3D invMsgMMid; + if ((invAll && (idx > env->CP0_Wired)) || + (VAMatch && invVAMMid && (tlb->G || MMidMatch)) || + (VAMatch && invVA) || + (MMidMatch && !(tlb->G) && invMMid)) { + tlb->EHINV =3D 1; + } + } + cpu_mips_tlb_flush(env); +} + +void helper_ginvt(CPUMIPSState *env, target_ulong arg, uint32_t type) +{ + bool invAll =3D type =3D=3D 0; + bool invVA =3D type =3D=3D 1; + bool invMMid =3D type =3D=3D 2; + bool invVAMMid =3D type =3D=3D 3; + uint32_t invMsgVPN2 =3D arg & (TARGET_PAGE_MASK << 1); + uint8_t invMsgR =3D 0; + uint32_t invMsgMMid =3D env->CP0_MemoryMapID; + CPUState *other_cs =3D first_cpu; + +#ifdef TARGET_MIPS64 + invMsgR =3D extract64(arg, 62, 2); +#endif + + CPU_FOREACH(other_cs) { + MIPSCPU *other_cpu =3D MIPS_CPU(other_cs); + global_invalidate_tlb(&other_cpu->env, invMsgVPN2, invMsgR, invMsg= MMid, + invAll, invVAMMid, invMMid, invVA); + } +} + /* Specials */ target_ulong helper_di(CPUMIPSState *env) { diff --git a/target/mips/translate.c b/target/mips/translate.c index b40468d..3f73be0 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -388,6 +388,7 @@ enum { OPC_BSHFL =3D 0x20 | OPC_SPECIAL3, OPC_DBSHFL =3D 0x24 | OPC_SPECIAL3, OPC_RDHWR =3D 0x3B | OPC_SPECIAL3, + OPC_GINV =3D 0x3D | OPC_SPECIAL3, =20 /* Loongson 2E */ OPC_MULT_G_2E =3D 0x18 | OPC_SPECIAL3, @@ -2548,6 +2549,7 @@ typedef struct DisasContext { bool abs2008; bool saar; bool mi; + int gi; } DisasContext; =20 #define DISAS_STOP DISAS_TARGET_0 @@ -7027,6 +7029,11 @@ static void gen_mfc0(DisasContext *ctx, TCGv arg, in= t reg, int sel) tcg_gen_ext32s_tl(arg, arg); register_name =3D "UserLocal"; break; + case 5: + CP0_CHECK(ctx->mi); + gen_helper_mtc0_memorymapid(cpu_env, arg); + register_name =3D "MemoryMapID"; + break; default: goto cp0_unimplemented; } @@ -7763,6 +7770,11 @@ static void gen_mtc0(DisasContext *ctx, TCGv arg, in= t reg, int sel) offsetof(CPUMIPSState, active_tc.CP0_UserLocal)); register_name =3D "UserLocal"; break; + case 5: + CP0_CHECK(ctx->mi); + gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_MemoryMapID)); + register_name =3D "MemoryMapID"; + break; default: goto cp0_unimplemented; } @@ -8509,6 +8521,11 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, i= nt reg, int sel) offsetof(CPUMIPSState, active_tc.CP0_UserLocal)); register_name =3D "UserLocal"; break; + case 5: + CP0_CHECK(ctx->mi); + gen_helper_mtc0_memorymapid(cpu_env, arg); + register_name =3D "MemoryMapID"; + break; default: goto cp0_unimplemented; } @@ -9225,6 +9242,11 @@ static void gen_dmtc0(DisasContext *ctx, TCGv arg, i= nt reg, int sel) offsetof(CPUMIPSState, active_tc.CP0_UserLocal)); register_name =3D "UserLocal"; break; + case 5: + CP0_CHECK(ctx->mi); + gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_MemoryMapID)); + register_name =3D "MemoryMapID"; + break; default: goto cp0_unimplemented; } @@ -27072,6 +27094,27 @@ static void decode_opc_special3_r6(CPUMIPSState *e= nv, DisasContext *ctx) } } break; +#ifndef CONFIG_USER_ONLY + case OPC_GINV: + if (unlikely(ctx->gi <=3D 1)) { + generate_exception_end(ctx, EXCP_RI); + } + check_cp0_enabled(ctx); + switch ((ctx->opcode >> 6) & 3) { + case 0: + /* GINVI */ + /* Treat as NOP. */ + break; + case 2: + /* GINVT */ + gen_helper_0e1i(ginvt, cpu_gpr[rs], extract32(ctx->opcode, 8, = 2)); + break; + default: + generate_exception_end(ctx, EXCP_RI); + break; + } + break; +#endif #if defined(TARGET_MIPS64) case R6_OPC_SCD: gen_st_cond(ctx, rt, rs, imm, MO_TEQ, false); @@ -30005,6 +30048,7 @@ static void mips_tr_init_disas_context(DisasContext= Base *dcbase, CPUState *cs) ctx->nan2008 =3D (env->active_fpu.fcr31 >> FCR31_NAN2008) & 1; ctx->abs2008 =3D (env->active_fpu.fcr31 >> FCR31_ABS2008) & 1; ctx->mi =3D (env->CP0_Config5 >> CP0C5_MI) & 1; + ctx->gi =3D (env->CP0_Config5 >> CP0C5_GI) & 3; restore_cpu_state(env, ctx); #ifdef CONFIG_USER_ONLY ctx->mem_idx =3D MIPS_HFLAG_UM; @@ -30464,8 +30508,8 @@ void cpu_state_reset(CPUMIPSState *env) if (env->CP0_Config3 & (1 << CP0C3_CMGCR)) { env->CP0_CMGCRBase =3D 0x1fbf8000 >> 4; } - env->CP0_EntryHi_ASID_mask =3D (env->CP0_Config4 & (1 << CP0C4_AE)) ? - 0x3ff : 0xff; + env->CP0_EntryHi_ASID_mask =3D (env->CP0_Config5 & (1 << CP0C5_MI)) ? = 0x0 : + (env->CP0_Config4 & (1 << CP0C4_AE)) ? 0x3ff : 0xf= f; env->CP0_Status =3D (1 << CP0St_BEV) | (1 << CP0St_ERL); /* * Vectored interrupts not implemented, timer on int 7, --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1564999892; cv=none; d=zoho.com; s=zohoarc; b=ISLDMpEjSCi3O4EFzayVbvUDcgPktklBp0YvWIY0qDUquvzuprsTZtER2DUHo+w2NqTBM3rJ7jClQqwsUNDGQdTQg2exjmB632vsDp2rZbcvyjc7NJ3HiPVJ67CRKlMOuMWa19Imqm1/T2plgmq2KNchvqbZIKfLLdURhDsBgis= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564999892; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=ppGv0A7lyxdlj0mUUOiThsiMn5Om1Dz0RY/lvEA0UAU=; b=hlyO6a8qtM9RRoPAx8PxfzvLf051MQEFmi/BrMemgMVyAqCR3vDnpRKYS2Z/2JCxq1W9uSfsDH81//tmEx/B/eE4wVm/aBeC4CCXlHU+GDjAzli8VnITXVreo3yRQfsQw1OK7/a43T5MyNCbiA8D7Zf1Dn/9vRJsotRCfbGLTqQ= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 156499989258971.4849056124142; Mon, 5 Aug 2019 03:11:32 -0700 (PDT) Received: from localhost ([::1]:52264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZxj-00078B-Kw for importer@patchew.org; Mon, 05 Aug 2019 06:11:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39102) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZww-0005Pn-I9 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZwu-0002fq-Rv for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:42 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:43634 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZwu-00026R-Hg for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:40 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 0C1A61A2131; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id C17201A20F4; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:03 +0200 Message-Id: <1564999760-27438-6-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 05/22] target/mips: Add support for emulation of CRC32 group of instructions X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Yongbok Kim Add emulation of MIPS' CRC32 (Cyclic Redundancy Check) instructions. Reuse zlib crc32() and Linux crc32c(). Note that, at the time being, there is no MIPS CPU that supports CRC32 instructions (they are an optional part of MIPS64/32 R6 anf nanoMIPS ISAs). Signed-off-by: Yongbok Kim Signed-off-by: Aleksandar Markovic --- disas/mips.c | 8 ++++++++ target/mips/helper.h | 2 ++ target/mips/op_helper.c | 22 ++++++++++++++++++++++ target/mips/translate.c | 41 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 73 insertions(+) diff --git a/disas/mips.c b/disas/mips.c index c3a3059..b9a5204 100644 --- a/disas/mips.c +++ b/disas/mips.c @@ -1411,6 +1411,14 @@ const struct mips_opcode mips_builtin_opcodes[] =3D {"evp", "t", 0x41600004, 0xffe0ffff, TRAP|WR_t, 0, I= 32R6}, {"ginvi", "v", 0x7c00003d, 0xfc1ffcff, TRAP | INSN_TLB, 0, I= 32R6}, {"ginvt", "v", 0x7c0000bd, 0xfc1ffcff, TRAP | INSN_TLB, 0, I= 32R6}, +{"crc32b", "t,v,t", 0x7c00000f, 0xfc00ff3f, WR_d | RD_s | RD_t, 0, I= 32R6}, +{"crc32h", "t,v,t", 0x7c00004f, 0xfc00ff3f, WR_d | RD_s | RD_t, 0, I= 32R6}, +{"crc32w", "t,v,t", 0x7c00008f, 0xfc00ff3f, WR_d | RD_s | RD_t, 0, I= 32R6}, +{"crc32d", "t,v,t", 0x7c0000cf, 0xfc00ff3f, WR_d | RD_s | RD_t, 0, I= 64R6}, +{"crc32cb", "t,v,t", 0x7c00010f, 0xfc00ff3f, WR_d | RD_s | RD_t, 0, I= 32R6}, +{"crc32ch", "t,v,t", 0x7c00014f, 0xfc00ff3f, WR_d | RD_s | RD_t, 0, I= 32R6}, +{"crc32cw", "t,v,t", 0x7c00018f, 0xfc00ff3f, WR_d | RD_s | RD_t, 0, I= 32R6}, +{"crc32cd", "t,v,t", 0x7c0001cf, 0xfc00ff3f, WR_d | RD_s | RD_t, 0, I= 64R6}, =20 /* MSA */ {"sll.b", "+d,+e,+f", 0x7800000d, 0xffe0003f, WR_VD|RD_VS|RD_VT, 0, MSA= }, diff --git a/target/mips/helper.h b/target/mips/helper.h index c7d35bd..0e61043 100644 --- a/target/mips/helper.h +++ b/target/mips/helper.h @@ -40,6 +40,8 @@ DEF_HELPER_FLAGS_1(bitswap, TCG_CALL_NO_RWG_SE, tl, tl) DEF_HELPER_FLAGS_1(dbitswap, TCG_CALL_NO_RWG_SE, tl, tl) #endif =20 +DEF_HELPER_3(crc32, tl, tl, tl, i32) +DEF_HELPER_3(crc32c, tl, tl, tl, i32) DEF_HELPER_FLAGS_4(rotx, TCG_CALL_NO_RWG_SE, tl, tl, i32, i32, i32) =20 #ifndef CONFIG_USER_ONLY diff --git a/target/mips/op_helper.c b/target/mips/op_helper.c index 3104904..5874029 100644 --- a/target/mips/op_helper.c +++ b/target/mips/op_helper.c @@ -25,6 +25,8 @@ #include "exec/exec-all.h" #include "exec/cpu_ldst.h" #include "sysemu/kvm.h" +#include "qemu/crc32c.h" +#include =20 /*************************************************************************= ****/ /* Exceptions processing helpers */ @@ -343,6 +345,26 @@ target_ulong helper_rotx(target_ulong rs, uint32_t shi= ft, uint32_t shiftx, return (int64_t)(int32_t)(uint32_t)tmp5; } =20 +/* these crc32 functions are based on target/arm/helper-a64.c */ +target_ulong helper_crc32(target_ulong val, target_ulong m, uint32_t sz) +{ + uint8_t buf[8]; + target_ulong mask =3D ((sz * 8) =3D=3D 64) ? -1ULL : ((1ULL << (sz * 8= )) - 1); + + m &=3D mask; + stq_le_p(buf, m); + return (int32_t) (crc32(val ^ 0xffffffff, buf, sz) ^ 0xffffffff); +} + +target_ulong helper_crc32c(target_ulong val, target_ulong m, uint32_t sz) +{ + uint8_t buf[8]; + target_ulong mask =3D ((sz * 8) =3D=3D 64) ? -1ULL : ((1ULL << (sz * 8= )) - 1); + m &=3D mask; + stq_le_p(buf, m); + return (int32_t) (crc32c(val, buf, sz) ^ 0xffffffff); +} + #ifndef CONFIG_USER_ONLY =20 static inline hwaddr do_translate_address(CPUMIPSState *env, diff --git a/target/mips/translate.c b/target/mips/translate.c index 3f73be0..3f9f113 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -452,6 +452,7 @@ enum { OPC_LWE =3D 0x2F | OPC_SPECIAL3, =20 /* R6 */ + OPC_CRC32 =3D 0x0F | OPC_SPECIAL3, R6_OPC_PREF =3D 0x35 | OPC_SPECIAL3, R6_OPC_CACHE =3D 0x25 | OPC_SPECIAL3, R6_OPC_LL =3D 0x36 | OPC_SPECIAL3, @@ -2550,6 +2551,7 @@ typedef struct DisasContext { bool saar; bool mi; int gi; + bool crcp; } DisasContext; =20 #define DISAS_STOP DISAS_TARGET_0 @@ -27041,6 +27043,33 @@ static void decode_opc_special2_legacy(CPUMIPSStat= e *env, DisasContext *ctx) } } =20 +static void gen_crc32(DisasContext *ctx, int rd, int rs, int rt, int sz, + int crc32c) +{ + TCGv t0; + TCGv t1; + TCGv_i32 tsz =3D tcg_const_i32(1 << sz); + if (rd =3D=3D 0) { + /* Treat as NOP. */ + return; + } + t0 =3D tcg_temp_new(); + t1 =3D tcg_temp_new(); + + gen_load_gpr(t0, rt); + gen_load_gpr(t1, rs); + + if (crc32c) { + gen_helper_crc32c(cpu_gpr[rd], t0, t1, tsz); + } else { + gen_helper_crc32(cpu_gpr[rd], t0, t1, tsz); + } + + tcg_temp_free(t0); + tcg_temp_free(t1); + tcg_temp_free_i32(tsz); +} + static void decode_opc_special3_r6(CPUMIPSState *env, DisasContext *ctx) { int rs, rt, rd, sa; @@ -27055,6 +27084,17 @@ static void decode_opc_special3_r6(CPUMIPSState *e= nv, DisasContext *ctx) =20 op1 =3D MASK_SPECIAL3(ctx->opcode); switch (op1) { + case OPC_CRC32: + if (unlikely(!ctx->crcp) || + unlikely((extract32(ctx->opcode, 6, 2) =3D=3D 3) && + (!(ctx->hflags & MIPS_HFLAG_64))) || + unlikely((extract32(ctx->opcode, 8, 3) >=3D 2))) { + generate_exception_end(ctx, EXCP_RI); + } + gen_crc32(ctx, rt, rs, rt, + extract32(ctx->opcode, 6, 2), + extract32(ctx->opcode, 8, 3)); + break; case R6_OPC_PREF: if (rt >=3D 24) { /* hint codes 24-31 are reserved and signal RI */ @@ -30049,6 +30089,7 @@ static void mips_tr_init_disas_context(DisasContext= Base *dcbase, CPUState *cs) ctx->abs2008 =3D (env->active_fpu.fcr31 >> FCR31_ABS2008) & 1; ctx->mi =3D (env->CP0_Config5 >> CP0C5_MI) & 1; ctx->gi =3D (env->CP0_Config5 >> CP0C5_GI) & 3; + ctx->crcp =3D (env->CP0_Config5 >> CP0C5_CRCP) & 1; restore_cpu_state(env, ctx); #ifdef CONFIG_USER_ONLY ctx->mem_idx =3D MIPS_HFLAG_UM; --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1564999950; cv=none; d=zoho.com; s=zohoarc; b=Ahiyk9u+VGhC+4krQjr7Wb/NMvch07TOsU6SytmnLxefK6Tiv737efq/RGX38sUnzOBRDmVVBD+03hQUsv5WucjNAyYPU5fYcIE45LS/35QZ1n/T3ddxuC7dqueFh3HLomHHEVat9HHM+kIMMW7UJsT4VzHwiBpknYNM7d8girU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564999950; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=EEU/nl2TUKXljL5x88Jg74c9P7xcTNWDnaREql5no5I=; b=AJn/KPXUy/LShhmCcXnJjQTM+qU+5AKZzthp1lDeAL6gUP8gCgfBDAHlNew7yILX7Ef1+Aa+cqI80x+le4OkubFsV5ATj4zoqBA6NdNeCDuMmcpSi33IYC12RQsg/hBf3pMLuPnTew3qDMgM6zv1Cg2BtahjkDrOYfTH0QxEAZo= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 15649999508326.530793340857713; Mon, 5 Aug 2019 03:12:30 -0700 (PDT) Received: from localhost ([::1]:52288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZyf-0002B5-To for importer@patchew.org; Mon, 05 Aug 2019 06:12:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39219) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZwy-0005QE-R9 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZww-0002ht-6D for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:44 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44430 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZwv-0002gD-QX for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:42 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 1A54A1A2145; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id C8FDE1A210B; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:04 +0200 Message-Id: <1564999760-27438-7-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 06/22] target/mips: Style improvements in cp0_timer.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Fixes mostly errors and warnings reported by 'checkpatch.pl -f'. Signed-off-by: Aleksandar Markovic Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- target/mips/cp0_timer.c | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/target/mips/cp0_timer.c b/target/mips/cp0_timer.c index f471639..b5f3560 100644 --- a/target/mips/cp0_timer.c +++ b/target/mips/cp0_timer.c @@ -29,7 +29,7 @@ #define TIMER_PERIOD 10 /* 10 ns period for 100 Mhz frequency */ =20 /* XXX: do not use a global */ -uint32_t cpu_mips_get_random (CPUMIPSState *env) +uint32_t cpu_mips_get_random(CPUMIPSState *env) { static uint32_t seed =3D 1; static uint32_t prev_idx =3D 0; @@ -42,8 +42,10 @@ uint32_t cpu_mips_get_random (CPUMIPSState *env) =20 /* Don't return same value twice, so get another value */ do { - /* Use a simple algorithm of Linear Congruential Generator - * from ISO/IEC 9899 standard. */ + /* + * Use a simple algorithm of Linear Congruential Generator + * from ISO/IEC 9899 standard. + */ seed =3D 1103515245 * seed + 12345; idx =3D (seed >> 16) % nb_rand_tlb + env->CP0_Wired; } while (idx =3D=3D prev_idx); @@ -73,7 +75,7 @@ static void cpu_mips_timer_expire(CPUMIPSState *env) qemu_irq_raise(env->irq[(env->CP0_IntCtl >> CP0IntCtl_IPTI) & 0x7]); } =20 -uint32_t cpu_mips_get_count (CPUMIPSState *env) +uint32_t cpu_mips_get_count(CPUMIPSState *env) { if (env->CP0_Cause & (1 << CP0Ca_DC)) { return env->CP0_Count; @@ -91,16 +93,16 @@ uint32_t cpu_mips_get_count (CPUMIPSState *env) } } =20 -void cpu_mips_store_count (CPUMIPSState *env, uint32_t count) +void cpu_mips_store_count(CPUMIPSState *env, uint32_t count) { /* * This gets called from cpu_state_reset(), potentially before timer i= nit. * So env->timer may be NULL, which is also the case with KVM enabled = so * treat timer as disabled in that case. */ - if (env->CP0_Cause & (1 << CP0Ca_DC) || !env->timer) + if (env->CP0_Cause & (1 << CP0Ca_DC) || !env->timer) { env->CP0_Count =3D count; - else { + } else { /* Store new count register */ env->CP0_Count =3D count - (uint32_t)(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) / TIMER_PE= RIOD); @@ -109,13 +111,15 @@ void cpu_mips_store_count (CPUMIPSState *env, uint32_= t count) } } =20 -void cpu_mips_store_compare (CPUMIPSState *env, uint32_t value) +void cpu_mips_store_compare(CPUMIPSState *env, uint32_t value) { env->CP0_Compare =3D value; - if (!(env->CP0_Cause & (1 << CP0Ca_DC))) + if (!(env->CP0_Cause & (1 << CP0Ca_DC))) { cpu_mips_timer_update(env); - if (env->insn_flags & ISA_MIPS32R2) + } + if (env->insn_flags & ISA_MIPS32R2) { env->CP0_Cause &=3D ~(1 << CP0Ca_TI); + } qemu_irq_lower(env->irq[(env->CP0_IntCtl >> CP0IntCtl_IPTI) & 0x7]); } =20 @@ -131,27 +135,27 @@ void cpu_mips_stop_count(CPUMIPSState *env) TIMER_PERIOD); } =20 -static void mips_timer_cb (void *opaque) +static void mips_timer_cb(void *opaque) { CPUMIPSState *env; =20 env =3D opaque; -#if 0 - qemu_log("%s\n", __func__); -#endif =20 - if (env->CP0_Cause & (1 << CP0Ca_DC)) + if (env->CP0_Cause & (1 << CP0Ca_DC)) { return; + } =20 - /* ??? This callback should occur when the counter is exactly equal to - the comparator value. Offset the count by one to avoid immediately - retriggering the callback before any virtual time has passed. */ + /* + * ??? This callback should occur when the counter is exactly equal to + * the comparator value. Offset the count by one to avoid immediately + * retriggering the callback before any virtual time has passed. + */ env->CP0_Count++; cpu_mips_timer_expire(env); env->CP0_Count--; } =20 -void cpu_mips_clock_init (MIPSCPU *cpu) +void cpu_mips_clock_init(MIPSCPU *cpu) { CPUMIPSState *env =3D &cpu->env; =20 --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000179; cv=none; d=zoho.com; s=zohoarc; b=VNOAc2aTLMnymiG/bE1du6gK52Uwg2RNY60wWhrwjlesiL+XxDlFbexj6hXBHnwiOZMIi/UgLPhuzksltOktUJfRH/Vw12eFFP2zhGYXmkRt8miAxSbD8ATAZ9ysl3NoX60F0DSSwgWzhxm8+cn+4W7uJJGh//TtCMDt3TICHdo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000179; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=VOEMYsqVfkGqaDcm3TEONg5XBULVedNyjhIExc0euCQ=; b=n5mPPGE/P2C39LqfRC2mkcony/IXeNG1vNKU2MsskCFK1N0/t7Cq7at/UjHrPNyKBGgwP2NuAwzSWJjpO4SMLJFIVTR22gFrIlxpTEpVomuPax1RhrNEH6Prtn2khy2BdO2SIX14bCv2X/tc+blDa+1xx0HOke1o6t9XK/7JDGI= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1565000179822628.5595488015291; Mon, 5 Aug 2019 03:16:19 -0700 (PDT) Received: from localhost ([::1]:52336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua2M-0008E3-O1 for importer@patchew.org; Mon, 05 Aug 2019 06:16:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39183) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZwy-0005Q0-Am for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZww-0002ix-Je for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:44 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44454 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZww-0002gG-4N for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:42 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 208761A2150; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id D21DD1A1E31; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:05 +0200 Message-Id: <1564999760-27438-8-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 07/22] target/mips: Style improvements in cpu.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Fixes mostly errors and warnings reported by 'checkpatch.pl -f'. Signed-off-by: Aleksandar Markovic Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- target/mips/cpu.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/target/mips/cpu.c b/target/mips/cpu.c index 39eafaf..3ffa342 100644 --- a/target/mips/cpu.c +++ b/target/mips/cpu.c @@ -57,9 +57,11 @@ static bool mips_cpu_has_work(CPUState *cs) CPUMIPSState *env =3D &cpu->env; bool has_work =3D false; =20 - /* Prior to MIPS Release 6 it is implementation dependent if non-enabl= ed - interrupts wake-up the CPU, however most of the implementations only - check for interrupts that can be taken. */ + /* + * Prior to MIPS Release 6 it is implementation dependent if non-enabl= ed + * interrupts wake-up the CPU, however most of the implementations only + * check for interrupts that can be taken. + */ if ((cs->interrupt_request & CPU_INTERRUPT_HARD) && cpu_mips_hw_interrupts_pending(env)) { if (cpu_mips_hw_interrupts_enabled(env) || @@ -70,8 +72,10 @@ static bool mips_cpu_has_work(CPUState *cs) =20 /* MIPS-MT has the ability to halt the CPU. */ if (env->CP0_Config3 & (1 << CP0C3_MT)) { - /* The QEMU model will issue an _WAKE request whenever the CPUs - should be woken up. */ + /* + * The QEMU model will issue an _WAKE request whenever the CPUs + * should be woken up. + */ if (cs->interrupt_request & CPU_INTERRUPT_WAKE) { has_work =3D true; } @@ -112,7 +116,8 @@ static void mips_cpu_reset(CPUState *s) #endif } =20 -static void mips_cpu_disas_set_info(CPUState *s, disassemble_info *info) { +static void mips_cpu_disas_set_info(CPUState *s, disassemble_info *info) +{ MIPSCPU *cpu =3D MIPS_CPU(s); CPUMIPSState *env =3D &cpu->env; =20 --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000319; cv=none; d=zoho.com; s=zohoarc; b=H/FzsWDS5fhAUIwaB5WlLFRRNcUhHZjIaktkCv5GfPD5ZJbiNAZjo0fNIcxxJZ2rZH3FeKnEK2LzyHR1UUfMAvFzxZs4dxTcKb6gRPUPJcJc6p6iTx8hJ4th7V+AUhf8BEzkinfk55arMtfkRdGM4dsaNShoT9XwPw+u+WGYMQw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000319; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=a21AJ0QhB2LIkNXcphIIvHkLNlyH27ODKE+Pik6jyyk=; b=fLDamoV0B9yww9AoNE1TswJbQDvzeRZIce8g9upUgLHxRQ4wn3ZUDlH8kRChBpvHelrslBKfX+PnSzzGkVhO/LTcBRzJ8FqQ5E+QLSTUJtUDqYYtyaDjsRfFIarIPJcNzEenLfPbL9L0BgOHzw1nkA2WrEx769o3SoIx6SHDQCo= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1565000319018680.1703909979377; Mon, 5 Aug 2019 03:18:39 -0700 (PDT) Received: from localhost ([::1]:52360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua4c-0003Od-07 for importer@patchew.org; Mon, 05 Aug 2019 06:18:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39302) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZx8-0005uI-5L for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZx6-0002sa-Fk for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:54 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44460 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZx6-0002gJ-52 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:52 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 3FB271A1E31; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id D95431A204D; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:06 +0200 Message-Id: <1564999760-27438-9-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 08/22] target/mips: Style improvements in helper.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Fixes mostly errors and warnings reported by 'checkpatch.pl -f'. Signed-off-by: Aleksandar Markovic --- target/mips/helper.c | 98 ++++++++++++++++++++++++++++++++----------------= ---- 1 file changed, 60 insertions(+), 38 deletions(-) diff --git a/target/mips/helper.c b/target/mips/helper.c index 6e583d3..d7a2c77 100644 --- a/target/mips/helper.c +++ b/target/mips/helper.c @@ -39,8 +39,8 @@ enum { #if !defined(CONFIG_USER_ONLY) =20 /* no MMU emulation */ -int no_mmu_map_address (CPUMIPSState *env, hwaddr *physical, int *prot, - target_ulong address, int rw, int access_type) +int no_mmu_map_address(CPUMIPSState *env, hwaddr *physical, int *prot, + target_ulong address, int rw, int access_type) { *physical =3D address; *prot =3D PAGE_READ | PAGE_WRITE | PAGE_EXEC; @@ -48,26 +48,28 @@ int no_mmu_map_address (CPUMIPSState *env, hwaddr *phys= ical, int *prot, } =20 /* fixed mapping MMU emulation */ -int fixed_mmu_map_address (CPUMIPSState *env, hwaddr *physical, int *prot, - target_ulong address, int rw, int access_type) +int fixed_mmu_map_address(CPUMIPSState *env, hwaddr *physical, int *prot, + target_ulong address, int rw, int access_type) { if (address <=3D (int32_t)0x7FFFFFFFUL) { - if (!(env->CP0_Status & (1 << CP0St_ERL))) + if (!(env->CP0_Status & (1 << CP0St_ERL))) { *physical =3D address + 0x40000000UL; - else + } else { *physical =3D address; - } else if (address <=3D (int32_t)0xBFFFFFFFUL) + } + } else if (address <=3D (int32_t)0xBFFFFFFFUL) { *physical =3D address & 0x1FFFFFFF; - else + } else { *physical =3D address; + } =20 *prot =3D PAGE_READ | PAGE_WRITE | PAGE_EXEC; return TLBRET_MATCH; } =20 /* MIPS32/MIPS64 R4000-style MMU emulation */ -int r4k_map_address (CPUMIPSState *env, hwaddr *physical, int *prot, - target_ulong address, int rw, int access_type) +int r4k_map_address(CPUMIPSState *env, hwaddr *physical, int *prot, + target_ulong address, int rw, int access_type) { uint16_t ASID =3D env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; uint32_t MMID =3D env->CP0_MemoryMapID; @@ -105,8 +107,9 @@ int r4k_map_address (CPUMIPSState *env, hwaddr *physica= l, int *prot, if (rw !=3D MMU_DATA_STORE || (n ? tlb->D1 : tlb->D0)) { *physical =3D tlb->PFN[n] | (address & (mask >> 1)); *prot =3D PAGE_READ; - if (n ? tlb->D1 : tlb->D0) + if (n ? tlb->D1 : tlb->D0) { *prot |=3D PAGE_WRITE; + } if (!(n ? tlb->XI1 : tlb->XI0)) { *prot |=3D PAGE_EXEC; } @@ -136,9 +139,10 @@ static int is_seg_am_mapped(unsigned int am, bool eu, = int mmu_idx) int32_t adetlb_mask; =20 switch (mmu_idx) { - case 3 /* ERL */: - /* If EU is set, always unmapped */ + case 3: + /* ERL */ if (eu) { + /* If EU is set, always unmapped */ return 0; } /* fall through */ @@ -210,7 +214,7 @@ static int get_segctl_physical_address(CPUMIPSState *en= v, hwaddr *physical, pa & ~(hwaddr)segmask); } =20 -static int get_physical_address (CPUMIPSState *env, hwaddr *physical, +static int get_physical_address(CPUMIPSState *env, hwaddr *physical, int *prot, target_ulong real_address, int rw, int access_type, int mmu_idx) { @@ -265,7 +269,8 @@ static int get_physical_address (CPUMIPSState *env, hwa= ddr *physical, } else if (address < 0x4000000000000000ULL) { /* xuseg */ if (UX && address <=3D (0x3FFFFFFFFFFFFFFFULL & env->SEGMask)) { - ret =3D env->tlb->map_address(env, physical, prot, real_addres= s, rw, access_type); + ret =3D env->tlb->map_address(env, physical, prot, real_addres= s, rw, + access_type); } else { ret =3D TLBRET_BADADDR; } @@ -273,7 +278,8 @@ static int get_physical_address (CPUMIPSState *env, hwa= ddr *physical, /* xsseg */ if ((supervisor_mode || kernel_mode) && SX && address <=3D (0x7FFFFFFFFFFFFFFFULL & env->SEGMask)) { - ret =3D env->tlb->map_address(env, physical, prot, real_addres= s, rw, access_type); + ret =3D env->tlb->map_address(env, physical, prot, real_addres= s, rw, + access_type); } else { ret =3D TLBRET_BADADDR; } @@ -313,7 +319,8 @@ static int get_physical_address (CPUMIPSState *env, hwa= ddr *physical, /* xkseg */ if (kernel_mode && KX && address <=3D (0xFFFFFFFF7FFFFFFFULL & env->SEGMask)) { - ret =3D env->tlb->map_address(env, physical, prot, real_addres= s, rw, access_type); + ret =3D env->tlb->map_address(env, physical, prot, real_addres= s, rw, + access_type); } else { ret =3D TLBRET_BADADDR; } @@ -669,7 +676,7 @@ static int walk_directory(CPUMIPSState *env, uint64_t *= vaddr, } =20 static bool page_table_walk_refill(CPUMIPSState *env, vaddr address, int r= w, - int mmu_idx) + int mmu_idx) { int gdw =3D (env->CP0_PWSize >> CP0PS_GDW) & 0x3F; int udw =3D (env->CP0_PWSize >> CP0PS_UDW) & 0x3F; @@ -951,7 +958,8 @@ bool mips_cpu_tlb_fill(CPUState *cs, vaddr address, int= size, } =20 #ifndef CONFIG_USER_ONLY -hwaddr cpu_mips_translate_address(CPUMIPSState *env, target_ulong address,= int rw) +hwaddr cpu_mips_translate_address(CPUMIPSState *env, target_ulong address, + int rw) { hwaddr physical; int prot; @@ -1011,7 +1019,7 @@ static const char * const excp_names[EXCP_LAST + 1] = =3D { }; #endif =20 -target_ulong exception_resume_pc (CPUMIPSState *env) +target_ulong exception_resume_pc(CPUMIPSState *env) { target_ulong bad_pc; target_ulong isa_mode; @@ -1019,8 +1027,10 @@ target_ulong exception_resume_pc (CPUMIPSState *env) isa_mode =3D !!(env->hflags & MIPS_HFLAG_M16); bad_pc =3D env->active_tc.PC | isa_mode; if (env->hflags & MIPS_HFLAG_BMASK) { - /* If the exception was raised from a delay slot, come back to - the jump. */ + /* + * If the exception was raised from a delay slot, come back to + * the jump. + */ bad_pc -=3D (env->hflags & MIPS_HFLAG_B16 ? 2 : 4); } =20 @@ -1102,10 +1112,12 @@ void mips_cpu_do_interrupt(CPUState *cs) switch (cs->exception_index) { case EXCP_DSS: env->CP0_Debug |=3D 1 << CP0DB_DSS; - /* Debug single step cannot be raised inside a delay slot and - resume will always occur on the next instruction - (but we assume the pc has always been updated during - code translation). */ + /* + * Debug single step cannot be raised inside a delay slot and + * resume will always occur on the next instruction + * (but we assume the pc has always been updated during + * code translation). + */ env->CP0_DEPC =3D env->active_tc.PC | !!(env->hflags & MIPS_HFLAG_= M16); goto enter_debug_mode; case EXCP_DINT: @@ -1117,7 +1129,8 @@ void mips_cpu_do_interrupt(CPUState *cs) case EXCP_DBp: env->CP0_Debug |=3D 1 << CP0DB_DBp; /* Setup DExcCode - SDBBP instruction */ - env->CP0_Debug =3D (env->CP0_Debug & ~(0x1fULL << CP0DB_DEC)) | 9 = << CP0DB_DEC; + env->CP0_Debug =3D (env->CP0_Debug & ~(0x1fULL << CP0DB_DEC)) | + (9 << CP0DB_DEC); goto set_DEPC; case EXCP_DDBS: env->CP0_Debug |=3D 1 << CP0DB_DDBS; @@ -1138,8 +1151,9 @@ void mips_cpu_do_interrupt(CPUState *cs) env->hflags |=3D MIPS_HFLAG_DM | MIPS_HFLAG_CP0; env->hflags &=3D ~(MIPS_HFLAG_KSU); /* EJTAG probe trap enable is not implemented... */ - if (!(env->CP0_Status & (1 << CP0St_EXL))) + if (!(env->CP0_Status & (1 << CP0St_EXL))) { env->CP0_Cause &=3D ~(1U << CP0Ca_BD); + } env->active_tc.PC =3D env->exception_base + 0x480; set_hflags_for_handler(env); break; @@ -1165,8 +1179,9 @@ void mips_cpu_do_interrupt(CPUState *cs) } env->hflags |=3D MIPS_HFLAG_CP0; env->hflags &=3D ~(MIPS_HFLAG_KSU); - if (!(env->CP0_Status & (1 << CP0St_EXL))) + if (!(env->CP0_Status & (1 << CP0St_EXL))) { env->CP0_Cause &=3D ~(1U << CP0Ca_BD); + } env->active_tc.PC =3D env->exception_base; set_hflags_for_handler(env); break; @@ -1182,12 +1197,16 @@ void mips_cpu_do_interrupt(CPUState *cs) uint32_t pending =3D (env->CP0_Cause & CP0Ca_IP_mask) >> C= P0Ca_IP; =20 if (env->CP0_Config3 & (1 << CP0C3_VEIC)) { - /* For VEIC mode, the external interrupt controller fe= eds - * the vector through the CP0Cause IP lines. */ + /* + * For VEIC mode, the external interrupt controller fe= eds + * the vector through the CP0Cause IP lines. + */ vector =3D pending; } else { - /* Vectored Interrupts - * Mask with Status.IM7-IM0 to get enabled interrupts.= */ + /* + * Vectored Interrupts + * Mask with Status.IM7-IM0 to get enabled interrupts. + */ pending &=3D (env->CP0_Status >> CP0St_IM) & 0xff; /* Find the highest-priority interrupt. */ while (pending >>=3D 1) { @@ -1360,7 +1379,8 @@ void mips_cpu_do_interrupt(CPUState *cs) =20 env->active_tc.PC +=3D offset; set_hflags_for_handler(env); - env->CP0_Cause =3D (env->CP0_Cause & ~(0x1f << CP0Ca_EC)) | (cause= << CP0Ca_EC); + env->CP0_Cause =3D (env->CP0_Cause & ~(0x1f << CP0Ca_EC)) | + (cause << CP0Ca_EC); break; default: abort(); @@ -1396,7 +1416,7 @@ bool mips_cpu_exec_interrupt(CPUState *cs, int interr= upt_request) } =20 #if !defined(CONFIG_USER_ONLY) -void r4k_invalidate_tlb (CPUMIPSState *env, int idx, int use_extra) +void r4k_invalidate_tlb(CPUMIPSState *env, int idx, int use_extra) { CPUState *cs =3D env_cpu(env); r4k_tlb_t *tlb; @@ -1421,9 +1441,11 @@ void r4k_invalidate_tlb (CPUMIPSState *env, int idx,= int use_extra) } =20 if (use_extra && env->tlb->tlb_in_use < MIPS_TLB_MAX) { - /* For tlbwr, we can shadow the discarded entry into - a new (fake) TLB entry, as long as the guest can not - tell that it's there. */ + /* + * For tlbwr, we can shadow the discarded entry into + * a new (fake) TLB entry, as long as the guest can not + * tell that it's there. + */ env->tlb->mmu.r4k.tlb[env->tlb->tlb_in_use] =3D *tlb; env->tlb->tlb_in_use++; return; --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000077; cv=none; d=zoho.com; s=zohoarc; b=l2du5DzavD23Hw7FpPuBfM7XFU0Rj4e7dWg5eyMTYJ9lMBmUUFtuj2Q79VHUTN6tAaXoZFShvhmiAVcxjlIpa2QzfzqszrDyUSsxH8mDoCsG/78xVlw4j2lZqVnx1XNbQt9w3xoKgggVJ0YSw31kseQ6jbKjUeYVtY8/R4JUJHs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000077; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=GbVPuqi47oUKtz++3dPm2WOL4v58s5HPlUDWSU7gpM0=; b=YG3OtW+k5LfWKFpP79YeOcbHTRdNLMSAQTerqGmg1ZQhIsVVZMpqOWF/aZi+m6eXrmqAMUWv/GGerOXM4tuaaxAZaw7VOanP4BxUV3lnW0N91uiKKOcvJ6cyUCadwLRJJdwl0sFVbfWhnWTithdaN5k3MW2KZw2/Ao+kbR7Is14= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1565000077666804.629525217911; Mon, 5 Aug 2019 03:14:37 -0700 (PDT) Received: from localhost ([::1]:52316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua0g-0005TT-Iv for importer@patchew.org; Mon, 05 Aug 2019 06:14:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39213) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZwy-0005Q8-OJ for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZww-0002j4-J3 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:44 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44492 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZww-0002gX-2H for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:42 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 30C261A2111; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id E356A1A206E; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:07 +0200 Message-Id: <1564999760-27438-10-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 09/22] target/mips: Style improvements in internal.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Fixes mostly errors and warnings reported by 'checkpatch.pl -f'. Signed-off-by: Aleksandar Markovic Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- target/mips/internal.h | 57 +++++++++++++++++++++++++++++++---------------= ---- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git a/target/mips/internal.h b/target/mips/internal.h index d9216fb..836de7a 100644 --- a/target/mips/internal.h +++ b/target/mips/internal.h @@ -1,4 +1,5 @@ -/* mips internal definitions and helpers +/* + * MIPS internal definitions and helpers * * This work is licensed under the terms of the GNU GPL, version 2 or late= r. * See the COPYING file in the top-level directory. @@ -8,8 +9,10 @@ #define MIPS_INTERNAL_H =20 =20 -/* MMU types, the first four entries have the same layout as the - CP0C0_MT field. */ +/* + * MMU types, the first four entries have the same layout as the + * CP0C0_MT field. + */ enum mips_mmu_types { MMU_TYPE_NONE, MMU_TYPE_R4000, @@ -159,9 +162,11 @@ static inline bool cpu_mips_hw_interrupts_enabled(CPUM= IPSState *env) !(env->CP0_Status & (1 << CP0St_EXL)) && !(env->CP0_Status & (1 << CP0St_ERL)) && !(env->hflags & MIPS_HFLAG_DM) && - /* Note that the TCStatus IXMT field is initialized to zero, - and only MT capable cores can set it to one. So we don't - need to check for MT capabilities here. */ + /* + * Note that the TCStatus IXMT field is initialized to zero, + * and only MT capable cores can set it to one. So we don't + * need to check for MT capabilities here. + */ !(env->active_tc.CP0_TCStatus & (1 << CP0TCSt_IXMT)); } =20 @@ -176,14 +181,18 @@ static inline bool cpu_mips_hw_interrupts_pending(CPU= MIPSState *env) status =3D env->CP0_Status & CP0Ca_IP_mask; =20 if (env->CP0_Config3 & (1 << CP0C3_VEIC)) { - /* A MIPS configured with a vectorizing external interrupt control= ler - will feed a vector into the Cause pending lines. The core treats - the status lines as a vector level, not as indiviual masks. */ + /* + * A MIPS configured with a vectorizing external interrupt control= ler + * will feed a vector into the Cause pending lines. The core treats + * the status lines as a vector level, not as indiviual masks. + */ r =3D pending > status; } else { - /* A MIPS configured with compatibility or VInt (Vectored Interrup= ts) - treats the pending lines as individual interrupt lines, the sta= tus - lines are individual masks. */ + /* + * A MIPS configured with compatibility or VInt (Vectored Interrup= ts) + * treats the pending lines as individual interrupt lines, the sta= tus + * lines are individual masks. + */ r =3D (pending & status) !=3D 0; } return r; @@ -268,12 +277,14 @@ static inline int mips_vpe_active(CPUMIPSState *env) active =3D 0; } =20 - /* Now verify that there are active thread contexts in the VPE. - - This assumes the CPU model will internally reschedule threads - if the active one goes to sleep. If there are no threads available - the active one will be in a sleeping state, and we can turn off - the entire VPE. */ + /* + * Now verify that there are active thread contexts in the VPE. + * + * This assumes the CPU model will internally reschedule threads + * if the active one goes to sleep. If there are no threads available + * the active one will be in a sleeping state, and we can turn off + * the entire VPE. + */ if (!(env->active_tc.CP0_TCStatus & (1 << CP0TCSt_A))) { /* TC is not activated. */ active =3D 0; @@ -396,10 +407,12 @@ static inline void compute_hflags(CPUMIPSState *env) env->hflags |=3D MIPS_HFLAG_COP1X; } } else if (env->insn_flags & ISA_MIPS4) { - /* All supported MIPS IV CPUs use the XX (CU3) to enable - and disable the MIPS IV extensions to the MIPS III ISA. - Some other MIPS IV CPUs ignore the bit, so the check here - would be too restrictive for them. */ + /* + * All supported MIPS IV CPUs use the XX (CU3) to enable + * and disable the MIPS IV extensions to the MIPS III ISA. + * Some other MIPS IV CPUs ignore the bit, so the check here + * would be too restrictive for them. + */ if (env->CP0_Status & (1U << CP0St_CU3)) { env->hflags |=3D MIPS_HFLAG_COP1X; } --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1564999892; cv=none; d=zoho.com; s=zohoarc; b=JYLatiCVYH5Wy5hJsnodcvhZNO0Pbwbb9ldqgce0PxWJT3vrPSQ8mm4FY04c1bHWh4bgEnENyv29M6NTpKxQbJoeqeSGlTvm9txc6Vdg31Y4qAMGqYKEykn8gL2Prcusx0Tc9pj85bz6MYs226Pshp4SmeFYN7vG+gFPnudSEj0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564999892; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=Pzhmdoox/lQK9eAOMFZRCrRh+sLLT08ldqD2U0V0oHE=; b=ljcYxPZka31ZH7ghB5Ey5LmAw97MSEmXWjBpkw5MExSG6DJtTiWh5qs0pPjCI+hu49jWiF8KL8e41TlvqT1SaYzSRfshDdeZbs1cLDHYAv9uk3UptGwuhYOlX2Nhph1AW0d8FNE5rb9661Xv75Sooz86X5A05FwA+7MD5tfQx1E= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1564999892847921.6485688293081; Mon, 5 Aug 2019 03:11:32 -0700 (PDT) Received: from localhost ([::1]:52266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZxj-00079Q-Su for importer@patchew.org; Mon, 05 Aug 2019 06:11:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39172) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZwy-0005Py-6F for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZww-0002ih-JA for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:44 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44467 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZww-0002gO-3V for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:42 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 433B71A2151; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id EB9941A210D; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:08 +0200 Message-Id: <1564999760-27438-11-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 10/22] target/mips: Style improvements in machine.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Fixes mostly errors and warnings reported by 'checkpatch.pl -f'. Signed-off-by: Aleksandar Markovic Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- target/mips/machine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/mips/machine.c b/target/mips/machine.c index e23b767..06887d8 100644 --- a/target/mips/machine.c +++ b/target/mips/machine.c @@ -25,7 +25,7 @@ static int get_fpr(QEMUFile *f, void *pv, size_t size, int i; fpr_t *v =3D pv; /* Restore entire MSA vector register */ - for (i =3D 0; i < MSA_WRLEN/64; i++) { + for (i =3D 0; i < MSA_WRLEN / 64; i++) { qemu_get_sbe64s(f, &v->wr.d[i]); } return 0; @@ -37,7 +37,7 @@ static int put_fpr(QEMUFile *f, void *pv, size_t size, int i; fpr_t *v =3D pv; /* Save entire MSA vector register */ - for (i =3D 0; i < MSA_WRLEN/64; i++) { + for (i =3D 0; i < MSA_WRLEN / 64; i++) { qemu_put_sbe64s(f, &v->wr.d[i]); } =20 --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000181; cv=none; d=zoho.com; s=zohoarc; b=KVWHluTr0WDk+hpuvvNYiga/8oTranLV+ykjM4RtwyM0VNZdAxW4WNld+5O3uYI1BnDDwbBjujqBBsuj1WC0ViEbDz1E/nLeUfHOVYpvr+8Tx+NJ2ntY2Dff7VObkJkSCx1/vz0JlWeD3GAYXAWWyLgTpyrDtN6lQO/3gJjle/4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000181; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=rWi9YpJCMYrU6Gvoady+L6N0Gg1z1jVVaxDtApDdtVw=; b=FbUDAoFuUB7vgzz7AS+X1TN3EBCuZaNRK9xyEFT4rd4XemwDhRdcAo4Lz4rVK0HGvmURn1rqqfdX1lm8g7J9EuOTxoJqcGA75eg+jW36NqgmSrEhGP3G6w8pzKH1fqDm/p1mQhVbaiRrKjywxUj/PYgPMwGwQgK82DbKrlu2NAU= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1565000181907547.7070168742994; Mon, 5 Aug 2019 03:16:21 -0700 (PDT) Received: from localhost ([::1]:52338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua2O-0008JC-W8 for importer@patchew.org; Mon, 05 Aug 2019 06:16:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39171) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZwy-0005Px-5z for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZww-0002hl-4c for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:44 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44464 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZwv-0002gK-Ta for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:42 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 5B41E1A2170; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id F29401A209F; Mon, 5 Aug 2019 12:09:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:09 +0200 Message-Id: <1564999760-27438-12-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 11/22] target/mips: Style improvements in cps.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Fixes mostly errors and warnings reported by 'checkpatch.pl -f'. Signed-off-by: Aleksandar Markovic --- hw/mips/cps.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/mips/cps.c b/hw/mips/cps.c index c84bc64..8fe2f47 100644 --- a/hw/mips/cps.c +++ b/hw/mips/cps.c @@ -37,8 +37,10 @@ static void mips_cps_init(Object *obj) SysBusDevice *sbd =3D SYS_BUS_DEVICE(obj); MIPSCPSState *s =3D MIPS_CPS(obj); =20 - /* Cover entire address space as there do not seem to be any - * constraints for the base address of CPC and GIC. */ + /* + * Cover entire address space as there do not seem to be any + * constraints for the base address of CPC and GIC. + */ memory_region_init(&s->container, obj, "mips-cps-container", UINT64_MA= X); sysbus_init_mmio(sbd, &s->container); } --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000078; cv=none; d=zoho.com; s=zohoarc; b=h7svlNj7nCgVdwPsj3v9Lf1cxXFUzNCyz1wpmhOb7qXn8VyerYS2unurYz0BHDK9zalH3AiTpr2NTmPYDRnHSUstjOTHge/IX0Lc/NnRM7dKbVzO4GXdJf/F/wCTyIc7lZqSnwAG3TxrgDrZ/c1nXOhyCuU9ef//6qrCU4rpNVE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000078; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=bv+bW+7ffFcxJLW02X2att1zrIrA5u5CWvi7uX7ewsg=; b=A7SaK11owbqLZA6qT8GZ/49+Z/seQsMZU+GH4GYFUwnjjqPQnehdx7wHKLfD5BbCr0cVvnltHdlVGmXx4NL3uqlnC6/vKoDJjZmCA9jDS+ARtKWCf5wyBKJAVaG+t21FUywerFvmhH/cob0jlNPU5NGb1a4Rzr+JFETJ97sYFZ4= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 15650000789701001.2039362812445; Mon, 5 Aug 2019 03:14:38 -0700 (PDT) Received: from localhost ([::1]:52314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua0h-0005TP-N0 for importer@patchew.org; Mon, 05 Aug 2019 06:14:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39232) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZwz-0005QN-4Q for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZww-0002jH-Jx for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:45 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44468 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZww-0002gR-4V for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:42 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 88B411A209F; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 06AE31A2124; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:10 +0200 Message-Id: <1564999760-27438-13-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 12/22] target/mips: Style improvements in mips_fulong2e.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Fixes mostly errors and warnings reported by 'checkpatch.pl -f'. Signed-off-by: Aleksandar Markovic --- hw/mips/mips_fulong2e.c | 96 +++++++++++++++++++++++++++++----------------= ---- 1 file changed, 58 insertions(+), 38 deletions(-) diff --git a/hw/mips/mips_fulong2e.c b/hw/mips/mips_fulong2e.c index 5dbaa3b..0c3d947 100644 --- a/hw/mips/mips_fulong2e.c +++ b/hw/mips/mips_fulong2e.c @@ -48,13 +48,13 @@ =20 #define DEBUG_FULONG2E_INIT =20 -#define ENVP_ADDR 0x80002000l -#define ENVP_NB_ENTRIES 16 -#define ENVP_ENTRY_SIZE 256 +#define ENVP_ADDR 0x80002000l +#define ENVP_NB_ENTRIES 16 +#define ENVP_ENTRY_SIZE 256 =20 /* fulong 2e has a 512k flash: Winbond W39L040AP70Z */ -#define BIOS_SIZE (512 * KiB) -#define MAX_IDE_BUS 2 +#define BIOS_SIZE (512 * KiB) +#define MAX_IDE_BUS 2 =20 /* * PMON is not part of qemu and released with BSD license, anyone @@ -83,14 +83,15 @@ static struct _loaderparams { const char *initrd_filename; } loaderparams; =20 -static void GCC_FMT_ATTR(3, 4) prom_set(uint32_t* prom_buf, int index, +static void GCC_FMT_ATTR(3, 4) prom_set(uint32_t *prom_buf, int index, const char *string, ...) { va_list ap; int32_t table_addr; =20 - if (index >=3D ENVP_NB_ENTRIES) + if (index >=3D ENVP_NB_ENTRIES) { return; + } =20 if (string =3D=3D NULL) { prom_buf[index] =3D 0; @@ -105,7 +106,7 @@ static void GCC_FMT_ATTR(3, 4) prom_set(uint32_t* prom_= buf, int index, va_end(ap); } =20 -static int64_t load_kernel (CPUMIPSState *env) +static int64_t load_kernel(CPUMIPSState *env) { int64_t kernel_entry, kernel_low, kernel_high, initrd_size; int index =3D 0; @@ -130,16 +131,18 @@ static int64_t load_kernel (CPUMIPSState *env) initrd_size =3D 0; initrd_offset =3D 0; if (loaderparams.initrd_filename) { - initrd_size =3D get_image_size (loaderparams.initrd_filename); + initrd_size =3D get_image_size(loaderparams.initrd_filename); if (initrd_size > 0) { - initrd_offset =3D (kernel_high + ~INITRD_PAGE_MASK) & INITRD_P= AGE_MASK; + initrd_offset =3D (kernel_high + ~INITRD_PAGE_MASK) & + INITRD_PAGE_MASK; if (initrd_offset + initrd_size > ram_size) { error_report("memory too small for initial ram disk '%s'", loaderparams.initrd_filename); exit(1); } initrd_size =3D load_image_targphys(loaderparams.initrd_filena= me, - initrd_offset, ram_size - initrd_offs= et); + initrd_offset, + ram_size - initrd_offset); } if (initrd_size =3D=3D (target_ulong) -1) { error_report("could not load initial ram disk '%s'", @@ -154,9 +157,10 @@ static int64_t load_kernel (CPUMIPSState *env) =20 prom_set(prom_buf, index++, "%s", loaderparams.kernel_filename); if (initrd_size > 0) { - prom_set(prom_buf, index++, "rd_start=3D0x%" PRIx64 " rd_size=3D%"= PRId64 " %s", - cpu_mips_phys_to_kseg0(NULL, initrd_offset), initrd_size, - loaderparams.kernel_cmdline); + prom_set(prom_buf, index++, + "rd_start=3D0x%" PRIx64 " rd_size=3D%" PRId64 " %s", + cpu_mips_phys_to_kseg0(NULL, initrd_offset), + initrd_size, loaderparams.kernel_cmdline); } else { prom_set(prom_buf, index++, "%s", loaderparams.kernel_cmdline); } @@ -175,34 +179,48 @@ static int64_t load_kernel (CPUMIPSState *env) return kernel_entry; } =20 -static void write_bootloader (CPUMIPSState *env, uint8_t *base, int64_t ke= rnel_addr) +static void write_bootloader(CPUMIPSState *env, uint8_t *base, + int64_t kernel_addr) { uint32_t *p; =20 /* Small bootloader */ - p =3D (uint32_t *) base; + p =3D (uint32_t *)base; =20 - stl_p(p++, 0x0bf00010); /* j 0x1f= c00040 */ - stl_p(p++, 0x00000000); /* nop */ + /* j 0x1fc00040 */ + stl_p(p++, 0x0bf00010); + /* nop */ + stl_p(p++, 0x00000000); =20 /* Second part of the bootloader */ - p =3D (uint32_t *) (base + 0x040); - - stl_p(p++, 0x3c040000); /* lui a0= , 0 */ - stl_p(p++, 0x34840002); /* ori a0= , a0, 2 */ - stl_p(p++, 0x3c050000 | ((ENVP_ADDR >> 16) & 0xffff)); /* lui a1= , high(ENVP_ADDR) */ - stl_p(p++, 0x34a50000 | (ENVP_ADDR & 0xffff)); /* ori a1= , a0, low(ENVP_ADDR) */ - stl_p(p++, 0x3c060000 | (((ENVP_ADDR + 8) >> 16) & 0xffff)); /* lui a2= , high(ENVP_ADDR + 8) */ - stl_p(p++, 0x34c60000 | ((ENVP_ADDR + 8) & 0xffff)); /* ori a2= , a2, low(ENVP_ADDR + 8) */ - stl_p(p++, 0x3c070000 | (loaderparams.ram_size >> 16)); /* lui a3= , high(env->ram_size) */ - stl_p(p++, 0x34e70000 | (loaderparams.ram_size & 0xffff)); /* ori a3= , a3, low(env->ram_size) */ - stl_p(p++, 0x3c1f0000 | ((kernel_addr >> 16) & 0xffff)); /* lui ra= , high(kernel_addr) */; - stl_p(p++, 0x37ff0000 | (kernel_addr & 0xffff)); /* ori ra= , ra, low(kernel_addr) */ - stl_p(p++, 0x03e00008); /* jr ra = */ - stl_p(p++, 0x00000000); /* nop */ + p =3D (uint32_t *)(base + 0x040); + + /* lui a0, 0 */ + stl_p(p++, 0x3c040000); + /* ori a0, a0, 2 */ + stl_p(p++, 0x34840002); + /* lui a1, high(ENVP_ADDR) */ + stl_p(p++, 0x3c050000 | ((ENVP_ADDR >> 16) & 0xffff)); + /* ori a1, a0, low(ENVP_ADDR) */ + stl_p(p++, 0x34a50000 | (ENVP_ADDR & 0xffff)); + /* lui a2, high(ENVP_ADDR + 8) */ + stl_p(p++, 0x3c060000 | (((ENVP_ADDR + 8) >> 16) & 0xffff)); + /* ori a2, a2, low(ENVP_ADDR + 8) */ + stl_p(p++, 0x34c60000 | ((ENVP_ADDR + 8) & 0xffff)); + /* lui a3, high(env->ram_size) */ + stl_p(p++, 0x3c070000 | (loaderparams.ram_size >> 16)); + /* ori a3, a3, low(env->ram_size) */ + stl_p(p++, 0x34e70000 | (loaderparams.ram_size & 0xffff)); + /* lui ra, high(kernel_addr) */ + stl_p(p++, 0x3c1f0000 | ((kernel_addr >> 16) & 0xffff)); + /* ori ra, ra, low(kernel_addr) */ + stl_p(p++, 0x37ff0000 | (kernel_addr & 0xffff)); + /* jr ra */ + stl_p(p++, 0x03e00008); + /* nop */ + stl_p(p++, 0x00000000); } =20 - static void main_cpu_reset(void *opaque) { MIPSCPU *cpu =3D opaque; @@ -252,11 +270,11 @@ static void vt82c686b_southbridge_init(PCIBus *pci_bu= s, int slot, qemu_irq intc, } =20 /* Network support */ -static void network_init (PCIBus *pci_bus) +static void network_init(PCIBus *pci_bus) { int i; =20 - for(i =3D 0; i < nb_nics; i++) { + for (i =3D 0; i < nb_nics; i++) { NICInfo *nd =3D &nd_table[i]; const char *default_devaddr =3D NULL; =20 @@ -308,15 +326,17 @@ static void mips_fulong2e_init(MachineState *machine) memory_region_add_subregion(address_space_mem, 0, ram); memory_region_add_subregion(address_space_mem, 0x1fc00000LL, bios); =20 - /* We do not support flash operation, just loading pmon.bin as raw BIO= S. - * Please use -L to set the BIOS path and -bios to set bios name. */ + /* + * We do not support flash operation, just loading pmon.bin as raw BIO= S. + * Please use -L to set the BIOS path and -bios to set bios name. + */ =20 if (kernel_filename) { loaderparams.ram_size =3D ram_size; loaderparams.kernel_filename =3D kernel_filename; loaderparams.kernel_cmdline =3D kernel_cmdline; loaderparams.initrd_filename =3D initrd_filename; - kernel_entry =3D load_kernel (env); + kernel_entry =3D load_kernel(env); write_bootloader(env, memory_region_get_ram_ptr(bios), kernel_entr= y); } else { if (bios_name =3D=3D NULL) { --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1564999951; cv=none; d=zoho.com; s=zohoarc; b=nZ+Qk2mTMXInCCeYMU66ufqfLW6iFn/oTdngVWHJ/AMcUw0BnNlwyKSHq6lsog0PG2EPU2A/YWXcCl511Ym95n2ExKUfDeGUtUpcWKIbXWiT4O8umJx/mLX0BRszZ451elMmiv5335SMKu57m/2CrxmvcVctoYo8ADl8w0KOGIA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564999951; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=zm92on7r5Wv3ccbc8BkmVMBqAGbB8rloPi0udxcqbwA=; b=IMHX3q2czdsqdxWj7RjkGKXlYz2CzSyvCBfVFjB2HnYhd+aTUtUhQ+jOQ7naojtKjuAplQ0jyv7s62nAxKHvSGEW+8NKUR79APpBzyvWgW/XdnSfZXKqgzuQGp+pfyV/najFn+h86/OQIxL7SMGBHFrepU5g3rawbEjvQ4Xg0hc= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 156499995190158.736746406035536; Mon, 5 Aug 2019 03:12:31 -0700 (PDT) Received: from localhost ([::1]:52292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZyg-0002CW-V8 for importer@patchew.org; Mon, 05 Aug 2019 06:12:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39165) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZwy-0005Pw-26 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZww-0002he-41 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:43 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44463 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZwv-0002gL-T7 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:42 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 67DAC1A20F2; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 10ABE1A213D; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:11 +0200 Message-Id: <1564999760-27438-14-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 13/22] target/mips: Style improvements in mips_int.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Fixes mostly errors and warnings reported by 'checkpatch.pl -f'. Signed-off-by: Aleksandar Markovic --- hw/mips/mips_int.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/mips/mips_int.c b/hw/mips/mips_int.c index f899f6c..4c731ab 100644 --- a/hw/mips/mips_int.c +++ b/hw/mips/mips_int.c @@ -35,8 +35,9 @@ static void cpu_mips_irq_request(void *opaque, int irq, i= nt level) CPUState *cs =3D CPU(cpu); bool locked =3D false; =20 - if (irq < 0 || irq > 7) + if (irq < 0 || irq > 7) { return; + } =20 /* Make sure locking works even if BQL is already held by the caller */ if (!qemu_mutex_iothread_locked()) { --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000413; cv=none; d=zoho.com; s=zohoarc; b=hxRJS5queB6+32G4QhUCW/Pwyk0LpGDh43ly93uP0dlcp7G9LAopWXYXWos2YJ5ktbCzAp3ImIk7bv+jeBUc78EpS72V6M80SYFdkIvv2UG6Dij3+m4Q1tOKJBs8e04Phc6BZeeQ5Gci+t7Dcx30pAHM6s9aLQGHKE7HAnWUgs0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000413; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=+zGs6fqX0CsMrKWdcYl8bPKK1WNwHES0cLeg6nkLrts=; b=FbljLTq53wIFript+X/j0218BPXZ8aDK4FBvbUBoyqkt+dB8ntzjcQAZUrQFt3ravtayYsdxluGfBLE25vOCLL83m1wLzG/s1WvLzMjZwasFK+rjDdIMdysuCXLWGD1MGaJpz1yRIQwbjPCOlKx2xKVOAyYbPviKMSNv5NevqNc= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1565000413525776.1789915896966; Mon, 5 Aug 2019 03:20:13 -0700 (PDT) Received: from localhost ([::1]:52396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua68-0007V3-GU for importer@patchew.org; Mon, 05 Aug 2019 06:20:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39356) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZx9-000608-Or for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZx7-0002tO-Jd for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:55 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44846 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZx7-0002iE-5F for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:53 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id AAFB01A20F4; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 1A1FD1A2141; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:12 +0200 Message-Id: <1564999760-27438-15-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 14/22] target/mips: Style improvements in mips_malta.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Fixes mostly errors and warnings reported by 'checkpatch.pl -f'. Signed-off-by: Aleksandar Markovic --- hw/mips/mips_malta.c | 216 ++++++++++++++++++++++++++++++-----------------= ---- 1 file changed, 128 insertions(+), 88 deletions(-) diff --git a/hw/mips/mips_malta.c b/hw/mips/mips_malta.c index 20e019b..0b5ee37 100644 --- a/hw/mips/mips_malta.c +++ b/hw/mips/mips_malta.c @@ -58,18 +58,18 @@ #include "hw/semihosting/semihost.h" #include "hw/mips/cps.h" =20 -#define ENVP_ADDR 0x80002000l -#define ENVP_NB_ENTRIES 16 -#define ENVP_ENTRY_SIZE 256 +#define ENVP_ADDR 0x80002000l +#define ENVP_NB_ENTRIES 16 +#define ENVP_ENTRY_SIZE 256 =20 /* Hardware addresses */ -#define FLASH_ADDRESS 0x1e000000ULL -#define FPGA_ADDRESS 0x1f000000ULL -#define RESET_ADDRESS 0x1fc00000ULL +#define FLASH_ADDRESS 0x1e000000ULL +#define FPGA_ADDRESS 0x1f000000ULL +#define RESET_ADDRESS 0x1fc00000ULL =20 -#define FLASH_SIZE 0x400000 +#define FLASH_SIZE 0x400000 =20 -#define MAX_IDE_BUS 2 +#define MAX_IDE_BUS 2 =20 typedef struct { MemoryRegion iomem; @@ -115,10 +115,11 @@ static void malta_fpga_update_display(void *opaque) MaltaFPGAState *s =3D opaque; =20 for (i =3D 7 ; i >=3D 0 ; i--) { - if (s->leds & (1 << i)) + if (s->leds & (1 << i)) { leds_text[i] =3D '#'; - else + } else { leds_text[i] =3D ' '; + } } leds_text[8] =3D '\0'; =20 @@ -138,8 +139,6 @@ static void malta_fpga_update_display(void *opaque) * Typical device names include Microchip 24C02SC or SGS Thomson ST24C02. */ =20 -//~ #define DEBUG - #if defined(DEBUG) # define logout(fmt, ...) fprintf(stderr, "MALTA\t%-24s" fmt, __func__, #= # __VA_ARGS__) #else @@ -154,7 +153,7 @@ struct _eeprom24c0x_t { uint8_t scl; uint8_t sda; uint8_t data; - //~ uint16_t size; + /* uint16_t size; */ uint8_t contents[256]; }; =20 @@ -162,22 +161,38 @@ typedef struct _eeprom24c0x_t eeprom24c0x_t; =20 static eeprom24c0x_t spd_eeprom =3D { .contents =3D { - /* 00000000: */ 0x80,0x08,0xFF,0x0D,0x0A,0xFF,0x40,0x00, - /* 00000008: */ 0x01,0x75,0x54,0x00,0x82,0x08,0x00,0x01, - /* 00000010: */ 0x8F,0x04,0x02,0x01,0x01,0x00,0x00,0x00, - /* 00000018: */ 0x00,0x00,0x00,0x14,0x0F,0x14,0x2D,0xFF, - /* 00000020: */ 0x15,0x08,0x15,0x08,0x00,0x00,0x00,0x00, - /* 00000028: */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - /* 00000030: */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - /* 00000038: */ 0x00,0x00,0x00,0x00,0x00,0x00,0x12,0xD0, - /* 00000040: */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - /* 00000048: */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - /* 00000050: */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - /* 00000058: */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - /* 00000060: */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - /* 00000068: */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - /* 00000070: */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - /* 00000078: */ 0x00,0x00,0x00,0x00,0x00,0x00,0x64,0xF4, + /* 00000000: */ + 0x80, 0x08, 0xFF, 0x0D, 0x0A, 0xFF, 0x40, 0x00, + /* 00000008: */ + 0x01, 0x75, 0x54, 0x00, 0x82, 0x08, 0x00, 0x01, + /* 00000010: */ + 0x8F, 0x04, 0x02, 0x01, 0x01, 0x00, 0x00, 0x00, + /* 00000018: */ + 0x00, 0x00, 0x00, 0x14, 0x0F, 0x14, 0x2D, 0xFF, + /* 00000020: */ + 0x15, 0x08, 0x15, 0x08, 0x00, 0x00, 0x00, 0x00, + /* 00000028: */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + /* 00000030: */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + /* 00000038: */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0xD0, + /* 00000040: */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + /* 00000048: */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + /* 00000050: */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + /* 00000058: */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + /* 00000060: */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + /* 00000068: */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + /* 00000070: */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + /* 00000078: */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0xF4, }, }; =20 @@ -347,7 +362,8 @@ static uint64_t malta_fpga_read(void *opaque, hwaddr ad= dr, =20 /* SWITCH Register */ case 0x00200: - val =3D 0x00000000; /* All switches closed */ + /* ori a3, a3, low(ram_low_size) */ + val =3D 0x00000000; break; =20 /* STATUS Register */ @@ -386,10 +402,11 @@ static uint64_t malta_fpga_read(void *opaque, hwaddr = addr, /* GPINP Register */ case 0x00a08: /* IN =3D OUT until a real I2C control is implemented */ - if (s->i2csel) + if (s->i2csel) { val =3D s->i2cout; - else + } else { val =3D 0x00; + } break; =20 /* I2CINP Register */ @@ -414,8 +431,8 @@ static uint64_t malta_fpga_read(void *opaque, hwaddr ad= dr, =20 default: #if 0 - printf ("malta_fpga_read: Bad register offset 0x" TARGET_FMT_lx "\= n", - addr); + printf("malta_fpga_read: Bad register offset 0x" TARGET_FMT_lx "\n= ", + addr); #endif break; } @@ -467,8 +484,9 @@ static void malta_fpga_write(void *opaque, hwaddr addr, =20 /* SOFTRES Register */ case 0x00500: - if (val =3D=3D 0x42) + if (val =3D=3D 0x42) { qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_RESET); + } break; =20 /* BRKRES Register */ @@ -501,8 +519,8 @@ static void malta_fpga_write(void *opaque, hwaddr addr, =20 default: #if 0 - printf ("malta_fpga_write: Bad register offset 0x" TARGET_FMT_lx "= \n", - addr); + printf("malta_fpga_write: Bad register offset 0x" TARGET_FMT_lx "\= n", + addr); #endif break; } @@ -561,7 +579,7 @@ static MaltaFPGAState *malta_fpga_init(MemoryRegion *ad= dress_space, memory_region_init_alias(&s->iomem_lo, NULL, "malta-fpga", &s->iomem, 0, 0x900); memory_region_init_alias(&s->iomem_hi, NULL, "malta-fpga", - &s->iomem, 0xa00, 0x10000-0xa00); + &s->iomem, 0xa00, 0x10000 - 0xa00); =20 memory_region_add_subregion(address_space, base, &s->iomem_lo); memory_region_add_subregion(address_space, base + 0xa00, &s->iomem_hi); @@ -585,7 +603,7 @@ static void network_init(PCIBus *pci_bus) { int i; =20 - for(i =3D 0; i < nb_nics; i++) { + for (i =3D 0; i < nb_nics; i++) { NICInfo *nd =3D &nd_table[i]; const char *default_devaddr =3D NULL; =20 @@ -799,27 +817,28 @@ static void write_bootloader_nanomips(uint8_t *base, = int64_t run_addr, /* jalrc t8 */ } =20 -/* ROM and pseudo bootloader - - The following code implements a very very simple bootloader. It first - loads the registers a0 to a3 to the values expected by the OS, and - then jump at the kernel address. - - The bootloader should pass the locations of the kernel arguments and - environment variables tables. Those tables contain the 32-bit address - of NULL terminated strings. The environment variables table should be - terminated by a NULL address. - - For a simpler implementation, the number of kernel arguments is fixed - to two (the name of the kernel and the command line), and the two - tables are actually the same one. - - The registers a0 to a3 should contain the following values: - a0 - number of kernel arguments - a1 - 32-bit address of the kernel arguments table - a2 - 32-bit address of the environment variables table - a3 - RAM size in bytes -*/ +/* + * ROM and pseudo bootloader + * + * The following code implements a very very simple bootloader. It first + * loads the registers a0 to a3 to the values expected by the OS, and + * then jump at the kernel address. + * + * The bootloader should pass the locations of the kernel arguments and + * environment variables tables. Those tables contain the 32-bit address + * of NULL terminated strings. The environment variables table should be + * terminated by a NULL address. + * + * For a simpler implementation, the number of kernel arguments is fixed + * to two (the name of the kernel and the command line), and the two + * tables are actually the same one. + * + * The registers a0 to a3 should contain the following values: + * a0 - number of kernel arguments + * a1 - 32-bit address of the kernel arguments table + * a2 - 32-bit address of the environment variables table + * a3 - RAM size in bytes + */ static void write_bootloader(uint8_t *base, int64_t run_addr, int64_t kernel_entry) { @@ -857,14 +876,23 @@ static void write_bootloader(uint8_t *base, int64_t r= un_addr, } else { stl_p(p++, 0x24040002); /* addiu a0, zero,= 2 */ } - stl_p(p++, 0x3c1d0000 | (((ENVP_ADDR - 64) >> 16) & 0xffff)); /* lui s= p, high(ENVP_ADDR) */ - stl_p(p++, 0x37bd0000 | ((ENVP_ADDR - 64) & 0xffff)); /* ori sp= , sp, low(ENVP_ADDR) */ - stl_p(p++, 0x3c050000 | ((ENVP_ADDR >> 16) & 0xffff)); /* lui a1= , high(ENVP_ADDR) */ - stl_p(p++, 0x34a50000 | (ENVP_ADDR & 0xffff)); /* ori a1= , a1, low(ENVP_ADDR) */ - stl_p(p++, 0x3c060000 | (((ENVP_ADDR + 8) >> 16) & 0xffff)); /* lui a2= , high(ENVP_ADDR + 8) */ - stl_p(p++, 0x34c60000 | ((ENVP_ADDR + 8) & 0xffff)); /* ori a2= , a2, low(ENVP_ADDR + 8) */ - stl_p(p++, 0x3c070000 | (loaderparams.ram_low_size >> 16)); /* lui= a3, high(ram_low_size) */ - stl_p(p++, 0x34e70000 | (loaderparams.ram_low_size & 0xffff)); /* ori= a3, a3, low(ram_low_size) */ + + /* lui sp, high(ENVP_ADDR) */ + stl_p(p++, 0x3c1d0000 | (((ENVP_ADDR - 64) >> 16) & 0xffff)); + /* ori sp, sp, low(ENVP_ADDR) */ + stl_p(p++, 0x37bd0000 | ((ENVP_ADDR - 64) & 0xffff)); + /* lui a1, high(ENVP_ADDR) */ + stl_p(p++, 0x3c050000 | ((ENVP_ADDR >> 16) & 0xffff)); + /* ori a1, a1, low(ENVP_ADDR) */ + stl_p(p++, 0x34a50000 | (ENVP_ADDR & 0xffff)); + /* lui a2, high(ENVP_ADDR + 8) */ + stl_p(p++, 0x3c060000 | (((ENVP_ADDR + 8) >> 16) & 0xffff)); + /* ori a2, a2, low(ENVP_ADDR + 8) */ + stl_p(p++, 0x34c60000 | ((ENVP_ADDR + 8) & 0xffff)); + /* lui a3, high(ram_low_size) */ + stl_p(p++, 0x3c070000 | (loaderparams.ram_low_size >> 16)); + /* ori a3, a3, low(ram_low_size) */ + stl_p(p++, 0x34e70000 | (loaderparams.ram_low_size & 0xffff)); =20 /* Load BAR registers as done by YAMON */ stl_p(p++, 0x3c09b400); /* lui t1= , 0xb400 */ @@ -968,14 +996,15 @@ static void write_bootloader(uint8_t *base, int64_t r= un_addr, =20 } =20 -static void GCC_FMT_ATTR(3, 4) prom_set(uint32_t* prom_buf, int index, +static void GCC_FMT_ATTR(3, 4) prom_set(uint32_t *prom_buf, int index, const char *string, ...) { va_list ap; int32_t table_addr; =20 - if (index >=3D ENVP_NB_ENTRIES) + if (index >=3D ENVP_NB_ENTRIES) { return; + } =20 if (string =3D=3D NULL) { prom_buf[index] =3D 0; @@ -991,7 +1020,7 @@ static void GCC_FMT_ATTR(3, 4) prom_set(uint32_t* prom= _buf, int index, } =20 /* Kernel */ -static int64_t load_kernel (void) +static int64_t load_kernel(void) { int64_t kernel_entry, kernel_high, initrd_size; long kernel_size; @@ -1039,11 +1068,13 @@ static int64_t load_kernel (void) initrd_size =3D 0; initrd_offset =3D 0; if (loaderparams.initrd_filename) { - initrd_size =3D get_image_size (loaderparams.initrd_filename); + initrd_size =3D get_image_size(loaderparams.initrd_filename); if (initrd_size > 0) { - /* The kernel allocates the bootmap memory in the low memory a= fter - the initrd. It takes at most 128kiB for 2GB RAM and 4kiB - pages. */ + /* + * The kernel allocates the bootmap memory in the low memory a= fter + * the initrd. It takes at most 128kiB for 2GB RAM and 4kiB + * pages. + */ initrd_offset =3D (loaderparams.ram_low_size - initrd_size - (128 * KiB) - ~INITRD_PAGE_MASK) & INITRD_PAGE_MASK; @@ -1069,9 +1100,10 @@ static int64_t load_kernel (void) =20 prom_set(prom_buf, prom_index++, "%s", loaderparams.kernel_filename); if (initrd_size > 0) { - prom_set(prom_buf, prom_index++, "rd_start=3D0x%" PRIx64 " rd_size= =3D%" PRId64 " %s", - xlate_to_kseg0(NULL, initrd_offset), initrd_size, - loaderparams.kernel_cmdline); + prom_set(prom_buf, prom_index++, + "rd_start=3D0x%" PRIx64 " rd_size=3D%" PRId64 " %s", + xlate_to_kseg0(NULL, initrd_offset), + initrd_size, loaderparams.kernel_cmdline); } else { prom_set(prom_buf, prom_index++, "%s", loaderparams.kernel_cmdline= ); } @@ -1111,9 +1143,11 @@ static void main_cpu_reset(void *opaque) =20 cpu_reset(CPU(cpu)); =20 - /* The bootloader does not need to be rewritten as it is located in a - read only location. The kernel location and the arguments table - location does not change. */ + /* + * The bootloader does not need to be rewritten as it is located in a + * read only location. The kernel location and the arguments table + * location does not change. + */ if (loaderparams.kernel_filename) { env->CP0_Status &=3D ~(1 << CP0St_ERL); } @@ -1211,9 +1245,11 @@ void mips_malta_init(MachineState *machine) DeviceState *dev =3D qdev_create(NULL, TYPE_MIPS_MALTA); MaltaState *s =3D MIPS_MALTA(dev); =20 - /* The whole address space decoded by the GT-64120A doesn't generate - exception when accessing invalid memory. Create an empty slot to - emulate this feature. */ + /* + * The whole address space decoded by the GT-64120A doesn't generate + * exception when accessing invalid memory. Create an empty slot to + * emulate this feature.\ + */ empty_slot_init(0, 0x20000000); =20 qdev_init_nofail(dev); @@ -1329,8 +1365,10 @@ void mips_malta_init(MachineState *machine) exit(1); } } - /* In little endian mode the 32bit words in the bios are swapped, - a neat trick which allows bi-endian firmware. */ + /* + * In little endian mode the 32bit words in the bios are swapped, + * a neat trick which allows bi-endian firmware. + */ #ifndef TARGET_WORDS_BIGENDIAN { uint32_t *end, *addr; @@ -1384,8 +1422,10 @@ void mips_malta_init(MachineState *machine) =20 piix4_devfn =3D piix4_init(pci_bus, &isa_bus, 80); =20 - /* Interrupt controller */ - /* The 8259 is attached to the MIPS CPU INT0 pin, ie interrupt 2 */ + /* + * Interrupt controller + * The 8259 is attached to the MIPS CPU INT0 pin, ie interrupt 2 + */ s->i8259 =3D i8259_init(isa_bus, i8259_irq); =20 isa_bus_irqs(isa_bus, s->i8259); --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000072; cv=none; d=zoho.com; s=zohoarc; b=GMEaxNLUeZc78UaI6zNkcXn8DoGroKt50f54JqomuWXVQ7m/InmRByg6mlq5T8Pi9MUrSMQfp+jOrLyaRCOCJ9dJU1qJc4Rg/Jgilp7aK+WVqLH7dNlqowS0MLC64pIiKasi5ryp6sPy8Y+8bSySllx0oufnsL3T7rnJq8nl8To= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000072; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=eydVIeZI/JpV3DMD15EQ2w/9xHGbrKfs06wNdZc0BEw=; b=J+lP5ID0drijW3GX+6h6u1RensMgw546/ektUBKR4CeYVaFELO5LS8kKEwwaJP2fNoZ42TV+DzNsUz+9eruhmqo5E1PGgVwWi+34BlqhPWnCtY5k3hLap4IUl5W/xzaDh0r2cmr4IqA1JEkynNX2XqLQySYyRBKN3x5ZQ689P/E= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1565000072765833.7453049081428; Mon, 5 Aug 2019 03:14:32 -0700 (PDT) Received: from localhost ([::1]:52312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua0b-0005MT-GV for importer@patchew.org; Mon, 05 Aug 2019 06:14:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39179) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZwy-0005Pz-8A for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZww-0002iF-CO for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:44 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44470 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZww-0002gP-2A for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:42 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 809611A2071; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 273491A20F4; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:13 +0200 Message-Id: <1564999760-27438-16-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 15/22] target/mips: Style improvements in mips_mipssim.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Fixes mostly errors and warnings reported by 'checkpatch.pl -f'. Signed-off-by: Aleksandar Markovic --- hw/mips/mips_mipssim.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/hw/mips/mips_mipssim.c b/hw/mips/mips_mipssim.c index 824abda..b3155e17 100644 --- a/hw/mips/mips_mipssim.c +++ b/hw/mips/mips_mipssim.c @@ -3,7 +3,7 @@ * * Emulates a very simple machine model similar to the one used by the * proprietary MIPS emulator. - *=20 + * * Copyright (c) 2007 Thiemo Seufer * * Permission is hereby granted, free of charge, to any person obtaining a= copy @@ -75,8 +75,9 @@ static int64_t load_kernel(void) (uint64_t *)&kernel_high, big_endian, EM_MIPS, 1, 0); if (kernel_size >=3D 0) { - if ((entry & ~0x7fffffffULL) =3D=3D 0x80000000) + if ((entry & ~0x7fffffffULL) =3D=3D 0x80000000) { entry =3D (int32_t)entry; + } } else { error_report("could not load kernel '%s': %s", loaderparams.kernel_filename, @@ -88,9 +89,10 @@ static int64_t load_kernel(void) initrd_size =3D 0; initrd_offset =3D 0; if (loaderparams.initrd_filename) { - initrd_size =3D get_image_size (loaderparams.initrd_filename); + initrd_size =3D get_image_size(loaderparams.initrd_filename); if (initrd_size > 0) { - initrd_offset =3D (kernel_high + ~INITRD_PAGE_MASK) & INITRD_P= AGE_MASK; + initrd_offset =3D (kernel_high + ~INITRD_PAGE_MASK) & + INITRD_PAGE_MASK; if (initrd_offset + initrd_size > loaderparams.ram_size) { error_report("memory too small for initial ram disk '%s'", loaderparams.initrd_filename); @@ -174,8 +176,9 @@ mips_mipssim_init(MachineState *machine) /* Map the BIOS / boot exception handler. */ memory_region_add_subregion(address_space_mem, 0x1fc00000LL, bios); /* Load a BIOS / boot exception handler image. */ - if (bios_name =3D=3D NULL) + if (bios_name =3D=3D NULL) { bios_name =3D BIOS_FILENAME; + } filename =3D qemu_find_file(QEMU_FILE_TYPE_BIOS, bios_name); if (filename) { bios_size =3D load_image_targphys(filename, 0x1fc00000LL, BIOS_SIZ= E); @@ -211,8 +214,10 @@ mips_mipssim_init(MachineState *machine) get_system_io(), 0, 0x00010000); memory_region_add_subregion(get_system_memory(), 0x1fd00000, isa); =20 - /* A single 16450 sits at offset 0x3f8. It is attached to - MIPS CPU INT2, which is interrupt 4. */ + /* + * A single 16450 sits at offset 0x3f8. It is attached to + * MIPS CPU INT2, which is interrupt 4. + */ if (serial_hd(0)) serial_init(0x3f8, env->irq[4], 115200, serial_hd(0), get_system_io()); --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000410; cv=none; d=zoho.com; s=zohoarc; b=bYgGvA/+8raqq7iPuKGi2BReXUxugVUxnRJIInJZ5uv+eYq8BZH5SJjPS1Mrj+Qd2jeCdvD15vrQxpjnMQZpXjC1Ikn9n9HrU7uh/dBqKDkBPddPRsredh4T6f8tw2gp03cXhC1JB4DfQzqPk3feBxazhEjzyxRHc9D8UoNftrM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000410; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=C/wH+5ONRaQTWgFsZRe+hUfLfLJ10xeGDJ8DzdjYEFE=; b=K8CZenLU91v5VZAlRJl780l5akZQKT2CPs7arllKSVpOnoLOJm0pV4SC7PuGXviz13Vwq2STNTYDzgKo9ANbtcSBN6SaaKCMJuPEY0UasZbKROLm2sG+fpKR4/26GwHREI8He07WC4I5slwdT5W/0tsaj5nGJ9e/n0YG55jLihc= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 15650004106021002.3584254746187; Mon, 5 Aug 2019 03:20:10 -0700 (PDT) Received: from localhost ([::1]:52394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua65-0007PK-LD for importer@patchew.org; Mon, 05 Aug 2019 06:20:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39326) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZx8-0005xB-TU for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZx7-0002tI-GS for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:54 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44840 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZx7-0002i7-5R for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:53 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 877B11A2171; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 2F0C91A210B; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:14 +0200 Message-Id: <1564999760-27438-17-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 16/22] target/mips: Clean up handling of CP0 register 0 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Clean up handling of CP0 register 0. Signed-off-by: Aleksandar Markovic --- target/mips/cpu.h | 3 +++ target/mips/translate.c | 40 ++++++++++++++++++++-------------------- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/target/mips/cpu.h b/target/mips/cpu.h index eda8350..e2f6844 100644 --- a/target/mips/cpu.h +++ b/target/mips/cpu.h @@ -279,6 +279,9 @@ typedef struct mips_def_t mips_def_t; =20 /* CP0 Register 00 */ #define CP0_REG00__INDEX 0 +#define CP0_REG00__MVPCONTROL 1 +#define CP0_REG00__MVPCONF0 2 +#define CP0_REG00__MVPCONF1 3 #define CP0_REG00__VPCONTROL 4 /* CP0 Register 01 */ /* CP0 Register 02 */ diff --git a/target/mips/translate.c b/target/mips/translate.c index 3f9f113..3cf4c53 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -6853,26 +6853,26 @@ static void gen_mfc0(DisasContext *ctx, TCGv arg, i= nt reg, int sel) switch (reg) { case CP0_REGISTER_00: switch (sel) { - case 0: + case CP0_REG00__INDEX: gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Index)); register_name =3D "Index"; break; - case 1: + case CP0_REG00__MVPCONTROL: CP0_CHECK(ctx->insn_flags & ASE_MT); gen_helper_mfc0_mvpcontrol(arg, cpu_env); register_name =3D "MVPControl"; break; - case 2: + case CP0_REG00__MVPCONF0: CP0_CHECK(ctx->insn_flags & ASE_MT); gen_helper_mfc0_mvpconf0(arg, cpu_env); register_name =3D "MVPConf0"; break; - case 3: + case CP0_REG00__MVPCONF1: CP0_CHECK(ctx->insn_flags & ASE_MT); gen_helper_mfc0_mvpconf1(arg, cpu_env); register_name =3D "MVPConf1"; break; - case 4: + case CP0_REG00__VPCONTROL: CP0_CHECK(ctx->vp); gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_VPControl)); register_name =3D "VPControl"; @@ -7621,26 +7621,26 @@ static void gen_mtc0(DisasContext *ctx, TCGv arg, i= nt reg, int sel) switch (reg) { case CP0_REGISTER_00: switch (sel) { - case 0: + case CP0_REG00__INDEX: gen_helper_mtc0_index(cpu_env, arg); register_name =3D "Index"; break; - case 1: + case CP0_REG00__MVPCONTROL: CP0_CHECK(ctx->insn_flags & ASE_MT); gen_helper_mtc0_mvpcontrol(cpu_env, arg); register_name =3D "MVPControl"; break; - case 2: + case CP0_REG00__MVPCONF0: CP0_CHECK(ctx->insn_flags & ASE_MT); /* ignored */ register_name =3D "MVPConf0"; break; - case 3: + case CP0_REG00__MVPCONF1: CP0_CHECK(ctx->insn_flags & ASE_MT); /* ignored */ register_name =3D "MVPConf1"; break; - case 4: + case CP0_REG00__VPCONTROL: CP0_CHECK(ctx->vp); /* ignored */ register_name =3D "VPControl"; @@ -8373,26 +8373,26 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, = int reg, int sel) switch (reg) { case CP0_REGISTER_00: switch (sel) { - case 0: + case CP0_REG00__INDEX: gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_Index)); register_name =3D "Index"; break; - case 1: + case CP0_REG00__MVPCONTROL: CP0_CHECK(ctx->insn_flags & ASE_MT); gen_helper_mfc0_mvpcontrol(arg, cpu_env); register_name =3D "MVPControl"; break; - case 2: + case CP0_REG00__MVPCONF0: CP0_CHECK(ctx->insn_flags & ASE_MT); gen_helper_mfc0_mvpconf0(arg, cpu_env); register_name =3D "MVPConf0"; break; - case 3: + case CP0_REG00__MVPCONF1: CP0_CHECK(ctx->insn_flags & ASE_MT); gen_helper_mfc0_mvpconf1(arg, cpu_env); register_name =3D "MVPConf1"; break; - case 4: + case CP0_REG00__VPCONTROL: CP0_CHECK(ctx->vp); gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_VPControl)); register_name =3D "VPControl"; @@ -9095,26 +9095,26 @@ static void gen_dmtc0(DisasContext *ctx, TCGv arg, = int reg, int sel) switch (reg) { case CP0_REGISTER_00: switch (sel) { - case 0: + case CP0_REG00__INDEX: gen_helper_mtc0_index(cpu_env, arg); register_name =3D "Index"; break; - case 1: + case CP0_REG00__MVPCONTROL: CP0_CHECK(ctx->insn_flags & ASE_MT); gen_helper_mtc0_mvpcontrol(cpu_env, arg); register_name =3D "MVPControl"; break; - case 2: + case CP0_REG00__MVPCONF0: CP0_CHECK(ctx->insn_flags & ASE_MT); /* ignored */ register_name =3D "MVPConf0"; break; - case 3: + case CP0_REG00__MVPCONF1: CP0_CHECK(ctx->insn_flags & ASE_MT); /* ignored */ register_name =3D "MVPConf1"; break; - case 4: + case CP0_REG00__VPCONTROL: CP0_CHECK(ctx->vp); /* ignored */ register_name =3D "VPControl"; --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000181; cv=none; d=zoho.com; s=zohoarc; b=HnQcmcflhQP9vzgS6gekOr9TwyD0lbbPSyHu0+wLsHsmN60Cfkm5BNqbr387XoGw4fMvyfJSx5w68FCeCWB0bnY52EUZUmvRhz48qoCufeOgAZA1KYj/0eN5jCYa45OKjxfwC+HuaKwrJF2GzcSQuAlpz/i62pnYqIrDGcgjyOs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000181; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=nmna6egkbdVwyxAgEz+qsOvG9yKgyMMhgTTmDrkUkkA=; b=GeuSlDYX/Meg3yKPHSHQqszBf+ne5RXUouGjxnA5Bf/iXrPJFWdRkuWffGMJ3J++axywSAKoeUK3V1pD81QBPwZ44+foxMTOl7K5+kDmWFtYDu+PDTsEzr8lAS+xSDiwVqrCadxQcuabccVsjjI1klDS3FU6Bv//+Xzsxfv5GBE= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1565000181677848.4258106794913; Mon, 5 Aug 2019 03:16:21 -0700 (PDT) Received: from localhost ([::1]:52340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua2O-0008JE-Ms for importer@patchew.org; Mon, 05 Aug 2019 06:16:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39313) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZx8-0005vk-Gi for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZx7-0002so-Cs for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:54 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44847 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZx7-0002iC-5k for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:53 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id AEF6C1A2117; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 361451A2113; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:15 +0200 Message-Id: <1564999760-27438-18-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 17/22] target/mips: Clean up handling of CP0 register 24 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Clean up handling of CP0 register 24. Signed-off-by: Aleksandar Markovic --- target/mips/translate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/mips/translate.c b/target/mips/translate.c index 3cf4c53..28ce30d 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -7444,7 +7444,7 @@ static void gen_mfc0(DisasContext *ctx, TCGv arg, int= reg, int sel) break; case CP0_REGISTER_24: switch (sel) { - case 0: + case CP0_REG24__DEPC: /* EJTAG support */ tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_DEPC)); tcg_gen_ext32s_tl(arg, arg); @@ -8195,7 +8195,7 @@ static void gen_mtc0(DisasContext *ctx, TCGv arg, int= reg, int sel) break; case CP0_REGISTER_24: switch (sel) { - case 0: + case CP0_REG24__DEPC: /* EJTAG support */ tcg_gen_st_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_DEPC)); register_name =3D "DEPC"; @@ -8925,7 +8925,7 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, in= t reg, int sel) break; case CP0_REGISTER_24: switch (sel) { - case 0: + case CP0_REG24__DEPC: /* EJTAG support */ tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_DEPC)); register_name =3D "DEPC"; @@ -9657,7 +9657,7 @@ static void gen_dmtc0(DisasContext *ctx, TCGv arg, in= t reg, int sel) break; case CP0_REGISTER_24: switch (sel) { - case 0: + case CP0_REG24__DEPC: /* EJTAG support */ tcg_gen_st_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_DEPC)); register_name =3D "DEPC"; --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000295; cv=none; d=zoho.com; s=zohoarc; b=COUv5XpLZz90Y0LJSRXQsPYEm69cuUzckBQtAhNBkYoaUe7RIqPIzgU5u7tWreyuizxDchLUsf9+e++pbmsmQGGPbhbvBvEpC98dy8XSiI4QFkvVVk+j+VDFElzkeXlsq07CLY5kIBkSZUGWe4kPiHn+TYLTDSqhTADBkSLq/JU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000295; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=TdjgsZ8AjEo+n3TEEFxriuahjONTDr2G+cPEDFCgmvU=; b=WpUKxzZvjp8cQFAQfpGvxWnutjQLfB5pNW1pcFcbyBaQUAgm/zKzWzPqyuR156vsHgBa5U4Savaz66cHw+d5oGVmtk1wG2vqKAwrziWD6ayaojNTKltTDiYKmui8byaY7ebv/LM3TdwdrqbofmY9f0Ws1ag2slFA5G9RUQdE8gE= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 156500029553310.607073246058576; Mon, 5 Aug 2019 03:18:15 -0700 (PDT) Received: from localhost ([::1]:52358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua4E-0002M8-Is for importer@patchew.org; Mon, 05 Aug 2019 06:18:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39312) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZx8-0005vh-HL for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZx7-0002st-DY for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:54 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44839 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZx7-0002i8-61 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:53 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 8FB7A1A217D; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 4024D1A211A; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:16 +0200 Message-Id: <1564999760-27438-19-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 18/22] target/mips: Clean up handling of CP0 register 26 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Clean up handling of CP0 register 26. Signed-off-by: Aleksandar Markovic --- target/mips/translate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/mips/translate.c b/target/mips/translate.c index 28ce30d..4db9712 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -7494,7 +7494,7 @@ static void gen_mfc0(DisasContext *ctx, TCGv arg, int= reg, int sel) break; case CP0_REGISTER_26: switch (sel) { - case 0: + case CP0_REG00__ERRCTL: gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_ErrCtl)); register_name =3D "ErrCtl"; break; @@ -8244,7 +8244,7 @@ static void gen_mtc0(DisasContext *ctx, TCGv arg, int= reg, int sel) break; case CP0_REGISTER_26: switch (sel) { - case 0: + case CP0_REG00__ERRCTL: gen_helper_mtc0_errctl(cpu_env, arg); ctx->base.is_jmp =3D DISAS_STOP; register_name =3D "ErrCtl"; @@ -8974,7 +8974,7 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, in= t reg, int sel) break; case CP0_REGISTER_26: switch (sel) { - case 0: + case CP0_REG00__ERRCTL: gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_ErrCtl)); register_name =3D "ErrCtl"; break; @@ -9706,7 +9706,7 @@ static void gen_dmtc0(DisasContext *ctx, TCGv arg, in= t reg, int sel) break; case CP0_REGISTER_26: switch (sel) { - case 0: + case CP0_REG00__ERRCTL: gen_helper_mtc0_errctl(cpu_env, arg); ctx->base.is_jmp =3D DISAS_STOP; register_name =3D "ErrCtl"; --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1564999951; cv=none; d=zoho.com; s=zohoarc; b=PYSFdXaiDu5+iACKRXSjLx+XVrXQY7vLJi5PlDjowhqWDIl9BxwfDNjp+hoI9DeFggEDjePI0zL0ZMpGslYRNRdG18h0hiUm8jNztnM1fVdYpXpDVT3ImkZ/3NsWAuz+aHtIctN6KDCIsrhQe6Xk//xGvnP14Zt3y9FsCvi2t1w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564999951; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=TZ+Kbkcc8Vdi4H5TsxtrN2TIKI3ZMpCQDaKQ1aDOd/4=; b=dfBUTJHGrL5ar1RUHV9J8hoakKYjr4b8gOumYt0nbKgdC4/UOBWmD1/6inGz6AnlkaxUENNKNGTuipYykEb7ODFkHfrHdCvGdhkWmiRQb+0Hyz2da/wpAdH+//fZPAzB22aS14SXfI6E440/mGKnUMHT48kS1HELfCLV88fUgQk= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1564999951065667.716847377145; Mon, 5 Aug 2019 03:12:31 -0700 (PDT) Received: from localhost ([::1]:52290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZyg-0002Bl-3D for importer@patchew.org; Mon, 05 Aug 2019 06:12:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39320) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZx8-0005vx-Ir for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZx7-0002t6-FA for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:54 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44874 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZx7-0002iM-7T for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:53 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id B359D1A206E; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 4927B1A2155; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:17 +0200 Message-Id: <1564999760-27438-20-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 19/22] target/mips: Clean up handling of CP0 register 30 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Clean up handling of CP0 register 30. Signed-off-by: Aleksandar Markovic --- target/mips/translate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/mips/translate.c b/target/mips/translate.c index 4db9712..90e9636 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -7562,7 +7562,7 @@ static void gen_mfc0(DisasContext *ctx, TCGv arg, int= reg, int sel) break; case CP0_REGISTER_30: switch (sel) { - case 0: + case CP0_REG30__ERROREPC: tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_ErrorEP= C)); tcg_gen_ext32s_tl(arg, arg); register_name =3D "ErrorEPC"; @@ -8309,7 +8309,7 @@ static void gen_mtc0(DisasContext *ctx, TCGv arg, int= reg, int sel) break; case CP0_REGISTER_30: switch (sel) { - case 0: + case CP0_REG30__ERROREPC: tcg_gen_st_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_ErrorEP= C)); register_name =3D "ErrorEPC"; break; @@ -9038,7 +9038,7 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, in= t reg, int sel) break; case CP0_REGISTER_30: switch (sel) { - case 0: + case CP0_REG30__ERROREPC: tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_ErrorEP= C)); register_name =3D "ErrorEPC"; break; @@ -9771,7 +9771,7 @@ static void gen_dmtc0(DisasContext *ctx, TCGv arg, in= t reg, int sel) break; case CP0_REGISTER_30: switch (sel) { - case 0: + case CP0_REG30__ERROREPC: tcg_gen_st_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_ErrorEP= C)); register_name =3D "ErrorEPC"; break; --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000385; cv=none; d=zoho.com; s=zohoarc; b=V6QJFaOyVjbIhiTnv1j5AdxFQ3qJVPSEwsktWDJ3oqRTpdf/wNB4uK9Ctb0MmiRDaWADEthYprRM7t+IuWrN+x3Dk3RHORyNev2NaeQtATAJYrqtM70TUMd1TZAQywRWzSF10KqImHW0BWJe2tL0sSmqtpvMUTENmE+C1w/65KM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000385; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=EpcMwODaR4E73GFWzZCzkI31j0rjp+mNn5oPs/2uKWo=; b=JrMxiXflI7XR65eM8oxtgM3hPT3j9t5cQIlZYPPfoH8WfiwBwLZ8LCjOuyHs4paX7fGWsFJ7B71q3NcmQn1vf+xfvEggLtEBKVNjtQmtG9tnNf+xLZx8UowE6EnNiioZe6FE/TAUkfc8as8IjqiiGnsFAuMnm68tz5uta/ZMlJY= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1565000385429306.1342013779639; Mon, 5 Aug 2019 03:19:45 -0700 (PDT) Received: from localhost ([::1]:52378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua5e-0005u3-Fs for importer@patchew.org; Mon, 05 Aug 2019 06:19:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39328) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZx8-0005xH-UI for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZx7-0002tY-M3 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:54 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44925 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZx7-0002jA-C6 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:53 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id BA6811A211A; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 531001A216C; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:18 +0200 Message-Id: <1564999760-27438-21-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 20/22] target/mips: Clean up handling of CP0 register 31 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Clean up handling of CP0 register 31. Signed-off-by: Aleksandar Markovic --- target/mips/cpu.h | 2 +- target/mips/translate.c | 56 ++++++++++++++++++++++++---------------------= ---- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/target/mips/cpu.h b/target/mips/cpu.h index e2f6844..0c79a0e 100644 --- a/target/mips/cpu.h +++ b/target/mips/cpu.h @@ -552,7 +552,6 @@ struct CPUMIPSState { * CP0 Register 4 */ target_ulong CP0_Context; - target_ulong CP0_KScratch[MIPS_KSCRATCH_NUM]; int32_t CP0_MemoryMapID; /* * CP0 Register 5 @@ -963,6 +962,7 @@ struct CPUMIPSState { * CP0 Register 31 */ int32_t CP0_DESAVE; + target_ulong CP0_KScratch[MIPS_KSCRATCH_NUM]; =20 /* We waste some space so we can handle shadow registers like TCs. */ TCState tcs[MIPS_SHADOW_SET_MAX]; diff --git a/target/mips/translate.c b/target/mips/translate.c index 90e9636..9ad0519 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -7573,17 +7573,17 @@ static void gen_mfc0(DisasContext *ctx, TCGv arg, i= nt reg, int sel) break; case CP0_REGISTER_31: switch (sel) { - case 0: + case CP0_REG31__DESAVE: /* EJTAG support */ gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_DESAVE)); register_name =3D "DESAVE"; break; - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: + case CP0_REG31__KSCRATCH1: + case CP0_REG31__KSCRATCH2: + case CP0_REG31__KSCRATCH3: + case CP0_REG31__KSCRATCH4: + case CP0_REG31__KSCRATCH5: + case CP0_REG31__KSCRATCH6: CP0_CHECK(ctx->kscrexist & (1 << sel)); tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_KScratch[sel-2])); @@ -8319,17 +8319,17 @@ static void gen_mtc0(DisasContext *ctx, TCGv arg, i= nt reg, int sel) break; case CP0_REGISTER_31: switch (sel) { - case 0: + case CP0_REG31__DESAVE: /* EJTAG support */ gen_mtc0_store32(arg, offsetof(CPUMIPSState, CP0_DESAVE)); register_name =3D "DESAVE"; break; - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: + case CP0_REG31__KSCRATCH1: + case CP0_REG31__KSCRATCH2: + case CP0_REG31__KSCRATCH3: + case CP0_REG31__KSCRATCH4: + case CP0_REG31__KSCRATCH5: + case CP0_REG31__KSCRATCH6: CP0_CHECK(ctx->kscrexist & (1 << sel)); tcg_gen_st_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_KScratch[sel-2])); @@ -9048,17 +9048,17 @@ static void gen_dmfc0(DisasContext *ctx, TCGv arg, = int reg, int sel) break; case CP0_REGISTER_31: switch (sel) { - case 0: + case CP0_REG31__DESAVE: /* EJTAG support */ gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_DESAVE)); register_name =3D "DESAVE"; break; - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: + case CP0_REG31__KSCRATCH1: + case CP0_REG31__KSCRATCH2: + case CP0_REG31__KSCRATCH3: + case CP0_REG31__KSCRATCH4: + case CP0_REG31__KSCRATCH5: + case CP0_REG31__KSCRATCH6: CP0_CHECK(ctx->kscrexist & (1 << sel)); tcg_gen_ld_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_KScratch[sel-2])); @@ -9781,17 +9781,17 @@ static void gen_dmtc0(DisasContext *ctx, TCGv arg, = int reg, int sel) break; case CP0_REGISTER_31: switch (sel) { - case 0: + case CP0_REG31__DESAVE: /* EJTAG support */ gen_mtc0_store32(arg, offsetof(CPUMIPSState, CP0_DESAVE)); register_name =3D "DESAVE"; break; - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: + case CP0_REG31__KSCRATCH1: + case CP0_REG31__KSCRATCH2: + case CP0_REG31__KSCRATCH3: + case CP0_REG31__KSCRATCH4: + case CP0_REG31__KSCRATCH5: + case CP0_REG31__KSCRATCH6: CP0_CHECK(ctx->kscrexist & (1 << sel)); tcg_gen_st_tl(arg, cpu_env, offsetof(CPUMIPSState, CP0_KScratch[sel-2])); --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000355; cv=none; d=zoho.com; s=zohoarc; b=mhp4fKD6VX3SWA0iQukXa8rs2rVKms7WCtNDvAGwAFRCDwbMAKHRfRls90kL3UW5zYS/YzUfjs4HF4O84fvXvPLOHFJkUqmcWxS0/gQvQ/Q5iiy8ll5wceZwufoSMfCTAy+E1qjPi5+1RRxgI5pMI2bKZo4jitSdqPcKKGBIxWk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000355; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=U2f8o2i7GzxNxmHoH9rS13l5d8IbMqKsm+sLgLmjmHs=; b=QTVpzrdpX59+FgKW6LwSS21eJLEVCPesAkrgJYvPfeJMXDAPwWUwi72tL/xN/HZHOPLD8XB/rhgGrFnt++FVufF+gNePsY5N8w8VMb04gH61oewlc63UY7kvw/wtYjJ5l6WWgVIZr9I2Ktrb3Z7QBSCGsVSdU/g6TxDJeg71cks= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1565000355689460.782642067844; Mon, 5 Aug 2019 03:19:15 -0700 (PDT) Received: from localhost ([::1]:52374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua54-0004oS-VN for importer@patchew.org; Mon, 05 Aug 2019 06:19:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39314) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZx8-0005vm-Hy for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZx7-0002tB-Fa for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:54 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44875 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZx7-0002iN-7i for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:53 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id B5C201A210B; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 596791A2156; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:19 +0200 Message-Id: <1564999760-27438-22-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 21/22] target/mips: tests/tcg: Add optional printing of more detailed failure info X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic There is a need for printing input and output data for failure cases, for debugging purpose. This is achieved by this patch, and only if a preprocessor constant is manually set to 1. (Assumption is that the need for such printout is relatively rare.) Signed-off-by: Aleksandar Markovic --- tests/tcg/mips/include/test_utils_128.h | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/tests/tcg/mips/include/test_utils_128.h b/tests/tcg/mips/inclu= de/test_utils_128.h index 2fea610..0dd3868 100644 --- a/tests/tcg/mips/include/test_utils_128.h +++ b/tests/tcg/mips/include/test_utils_128.h @@ -27,7 +27,8 @@ #include #include =20 -#define PRINT_RESULTS 0 +#define PRINT_RESULTS 0 +#define PRINT_FAILURES 0 =20 =20 static inline int32_t check_results_128(const char *isa_ase_name, @@ -65,6 +66,26 @@ static inline int32_t check_results_128(const char *isa_= ase_name, (b128_result[2 * i + 1] =3D=3D b128_expect[2 * i + 1])) { pass_count++; } else { +#if PRINT_FAILURES + uint32_t ii; + uint64_t a, b; + + printf("\n"); + + printf("FAILURE for test case %d!\n", i); + + memcpy(&a, (b128_expect + 2 * i), 8); + memcpy(&b, (b128_expect + 2 * i + 1), 8); + printf("Expected result : { 0x%016llxULL, 0x%016llxULL, },\n", + a, b); + + memcpy(&a, (b128_result + 2 * i), 8); + memcpy(&b, (b128_result + 2 * i + 1), 8); + printf("Actual result : { 0x%016llxULL, 0x%016llxULL, },\n", + a, b); + + printf("\n"); +#endif fail_count++; } } --=20 2.7.4 From nobody Mon Apr 29 01:31:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1565000478; cv=none; d=zoho.com; s=zohoarc; b=PyeJXs8lA1intfzFViywDH7g0087E0cylW70wDClIySD47DyZS0KFOhqzxuKm3vloStgbN3V4Lfpo1FWJdETlywTpcIXbpkVKfOAap13EphAApwcQCtNypmCtfysnPv2UZJpgWzvawVGcN94MqLdkiDF5oueAXd4cZUZQhAd3vk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565000478; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=MRD5ZFGvgouctCdUWXL56y2QS7JPKxyaQoA7eJQFsZs=; b=D5oS+qCILgVPoVNIRhd/XGhAh+RIX0BPYStO1ZjnTBzDWcK/mTaCUb8BUIKZAdh6pgONyLVjOj2WM0KK3BqprCZfyrS8oDcQyPEyTdT8oSZtzFHK9kczFSd58bU10DG8J4V3ERNmROluApd6Cj5m4JzTZDPZug6eNLi0Xn4znJs= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1565000478161626.5910476153538; Mon, 5 Aug 2019 03:21:18 -0700 (PDT) Received: from localhost ([::1]:52408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hua7A-0000OM-Ve for importer@patchew.org; Mon, 05 Aug 2019 06:21:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39410) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huZxJ-0006Xs-0g for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:11:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huZx8-0002vs-L6 for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:11:04 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:44921 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huZx7-0002j2-Dy for qemu-devel@nongnu.org; Mon, 05 Aug 2019 06:10:54 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 0F8611A210D; Mon, 5 Aug 2019 12:09:37 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 61DBB1A204D; Mon, 5 Aug 2019 12:09:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 5 Aug 2019 12:09:20 +0200 Message-Id: <1564999760-27438-23-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1564999760-27438-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.2 v6 22/22] target/mips: tests/tcg: Fix target configurations for MSA tests X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, philmd@redhat.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic At this moment, the only MIPS CPUs that are emulated in QEMU and support MSA extension are R5600 (mips32r5), and I6400/I6500 (mips64r6). Therefore, mips32r5 and mips64r6 are the only ISAs that could support MSA in QEMU. This means mips32r6 currently do not make much sense, and mips32r5 support for MSA tests is needed, which is done by this patch. Signed-off-by: Aleksandar Markovic --- .../mips/user/ase/msa/test_msa_compile_32r5eb.sh | 917 +++++++++++++++++= ++++ .../mips/user/ase/msa/test_msa_compile_32r5el.sh | 917 +++++++++++++++++= ++++ .../mips/user/ase/msa/test_msa_compile_32r6eb.sh | 643 --------------- .../mips/user/ase/msa/test_msa_compile_32r6el.sh | 643 --------------- tests/tcg/mips/user/ase/msa/test_msa_run_32r5eb.sh | 371 +++++++++ tests/tcg/mips/user/ase/msa/test_msa_run_32r5el.sh | 371 +++++++++ tests/tcg/mips/user/ase/msa/test_msa_run_32r6eb.sh | 371 --------- tests/tcg/mips/user/ase/msa/test_msa_run_32r6el.sh | 371 --------- 8 files changed, 2576 insertions(+), 2028 deletions(-) create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r5eb.sh create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r5el.sh delete mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r6eb.sh delete mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r6el.sh create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_run_32r5eb.sh create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_run_32r5el.sh delete mode 100644 tests/tcg/mips/user/ase/msa/test_msa_run_32r6eb.sh delete mode 100755 tests/tcg/mips/user/ase/msa/test_msa_run_32r6el.sh diff --git a/tests/tcg/mips/user/ase/msa/test_msa_compile_32r5eb.sh b/tests= /tcg/mips/user/ase/msa/test_msa_compile_32r5eb.sh new file mode 100755 index 0000000..940cabe --- /dev/null +++ b/tests/tcg/mips/user/ase/msa/test_msa_compile_32r5eb.sh @@ -0,0 +1,917 @@ + +# +# Bit Count +# --------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nloc_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nloc_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nloc_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nloc_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nlzc_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nlzc_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nlzc_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nlzc_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_pcnt_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pcnt_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_pcnt_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pcnt_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_pcnt_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pcnt_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_pcnt_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pcnt_d_32r5eb + +# +# Bit move +# -------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsl_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsl_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsl_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsl_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsl_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsl_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsl_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsl_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsr_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsr_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsr_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsr_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsr_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsr_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsr_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsr_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_bmnz_v.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bmnz_v_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_bmz_v.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bmz_v_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_bsel_v.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bsel_v_32r5eb + +# +# Bit Set +# ------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bclr_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bclr_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bclr_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bclr_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bclr_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bclr_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bclr_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bclr_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bneg_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bneg_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bneg_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bneg_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bneg_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bneg_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bneg_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bneg_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bset_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bset_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bset_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bset_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bset_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bset_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bset_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bset_d_32r5eb + +# +# Fixed Multiply +# -------------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_madd_q_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_madd_q_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_madd_q_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_madd_q_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_maddr_q_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_maddr_q_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_maddr_q_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_maddr_q_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_msub_q_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msub_q_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_msub_q_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msub_q_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_msubr_q_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msubr_q_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_msubr_q_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msubr_q_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_mul_q_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mul_q_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_mul_q_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mul_q_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_mulr_q_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mulr_q_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_mulr_q_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mulr_q_w_32r5eb + +# +# Float Max Min +# ------------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmax_a_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmax_a_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmax_a_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmax_a_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmax_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmax_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmax_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmax_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmin_a_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmin_a_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmin_a_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmin_a_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmin_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmin_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmin_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmin_d_32r5eb + +# +# Int Add +# ------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_add_a_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_add_a_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_add_a_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_add_a_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_add_a_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_add_a_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_add_a_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_add_a_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_a_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_a_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_a_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_a_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_a_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_a_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_a_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_a_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_s_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_s_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_u_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_u_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_u_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_addv_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_addv_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_addv_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_addv_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_addv_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_addv_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_addv_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_addv_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_hadd_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hadd_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_hadd_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hadd_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_hadd_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hadd_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_hadd_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hadd_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_hadd_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hadd_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_hadd_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hadd_u_d_32r5eb + +# +# Int Average +# ----------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_s_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_s_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_u_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_u_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_u_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_s_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_s_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_u_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_u_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_u_d_32r5eb + +# +# Int Compare +# ----------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_ceq_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ceq_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_ceq_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ceq_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_ceq_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ceq_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_ceq_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ceq_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_s_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_s_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_u_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_u_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_u_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_s_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_s_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_u_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_u_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_u_d_32r5eb + +# +# Int Divide +# ---------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_s_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_s_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_u_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_u_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_u_d_32r5eb + +# +# Int Dot Product +# --------------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dotp_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dotp_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dotp_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dotp_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dotp_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dotp_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dotp_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dotp_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dotp_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dotp_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dotp_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dotp_u_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpadd_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpadd_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpadd_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpadd_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpadd_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpadd_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpadd_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpadd_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpadd_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpadd_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpadd_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpadd_u_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpsub_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpsub_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpsub_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpsub_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpsub_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpsub_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpsub_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpsub_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpsub_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpsub_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpsub_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpsub_u_d_32r5eb + +# +# Int Max Min +# ----------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_a_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_a_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_a_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_a_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_a_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_a_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_a_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_a_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_s_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_s_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_u_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_u_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_u_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_a_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_a_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_a_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_a_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_a_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_a_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_a_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_a_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_s_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_s_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_u_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_u_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_u_d_32r5eb + +# +# Int Modulo +# ---------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_s_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_s_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_u_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_u_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_u_d_32r5eb + +# +# Int Multiply +# ------------ +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_maddv_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_maddv_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_maddv_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_maddv_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_maddv_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_maddv_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_maddv_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_maddv_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_msubv_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msubv_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_msubv_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msubv_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_msubv_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msubv_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_msubv_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msubv_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_mulv_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mulv_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_mulv_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mulv_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_mulv_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mulv_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_mulv_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mulv_d_32r5eb + +# +# Int Subtract +# ------------ +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_s_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_s_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_u_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_u_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_u_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_hsub_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hsub_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_hsub_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hsub_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_hsub_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hsub_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_hsub_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hsub_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_hsub_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hsub_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_hsub_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hsub_u_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_s_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_s_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_u_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_u_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_u_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsus_u_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsus_u_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsus_u_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsus_u_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsus_u_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsus_u_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsus_u_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsus_u_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsuu_s_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsuu_s_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsuu_s_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsuu_s_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsuu_s_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsuu_s_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsuu_s_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsuu_s_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subv_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subv_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subv_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subv_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subv_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subv_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subv_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subv_d_32r5eb + +# +# Interleave +# ---------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvev_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvev_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvev_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvev_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvev_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvev_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvev_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvev_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvod_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvod_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvod_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvod_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvod_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvod_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvod_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvod_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvl_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvl_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvl_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvl_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvl_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvl_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvl_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvl_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvr_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvr_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvr_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvr_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvr_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvr_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvr_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvr_d_32r5eb + +# +# Logic +# ----- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc logic/test_msa_and_v.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_and_v_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc logic/test_msa_nor_v.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nor_v_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc logic/test_msa_or_v.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_or_v_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc logic/test_msa_xor_v.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_xor_v_32r5eb + +# +# Move +# ---- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc move/test_msa_move_v.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_move_v_32r5eb + +# +# Pack +# ---- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckev_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckev_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckev_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckev_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckev_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckev_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckev_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckev_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckod_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckod_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckod_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckod_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckod_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckod_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckod_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckod_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_vshf_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_vshf_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_vshf_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_vshf_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_vshf_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_vshf_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_vshf_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_vshf_d_32r5eb + +# +# Shift +# ----- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sll_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sll_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sll_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sll_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sll_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sll_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sll_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sll_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sra_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sra_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sra_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sra_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sra_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sra_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sra_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sra_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srar_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srar_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srar_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srar_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srar_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srar_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srar_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srar_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srl_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srl_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srl_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srl_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srl_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srl_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srl_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srl_d_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srlr_b.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srlr_b_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srlr_h.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srlr_h_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srlr_w.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srlr_w_32r5eb +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srlr_d.c = \ +-EB -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srlr_d_32r5eb diff --git a/tests/tcg/mips/user/ase/msa/test_msa_compile_32r5el.sh b/tests= /tcg/mips/user/ase/msa/test_msa_compile_32r5el.sh new file mode 100755 index 0000000..048b30b --- /dev/null +++ b/tests/tcg/mips/user/ase/msa/test_msa_compile_32r5el.sh @@ -0,0 +1,917 @@ + +# +# Bit Count +# --------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nloc_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nloc_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nloc_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nloc_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nlzc_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nlzc_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nlzc_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nlzc_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_pcnt_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pcnt_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_pcnt_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pcnt_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_pcnt_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pcnt_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_pcnt_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pcnt_d_32r5el + +# +# Bit move +# -------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsl_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsl_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsl_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsl_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsl_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsl_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsl_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsl_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsr_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsr_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsr_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsr_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsr_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsr_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_binsr_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_binsr_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_bmnz_v.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bmnz_v_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_bmz_v.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bmz_v_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-move/test_msa_bsel_v.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bsel_v_32r5el + +# +# Bit Set +# ------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bclr_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bclr_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bclr_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bclr_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bclr_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bclr_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bclr_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bclr_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bneg_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bneg_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bneg_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bneg_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bneg_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bneg_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bneg_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bneg_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bset_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bset_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bset_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bset_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bset_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bset_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc bit-set/test_msa_bset_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_bset_d_32r5el + +# +# Fixed Multiply +# -------------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_madd_q_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_madd_q_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_madd_q_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_madd_q_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_maddr_q_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_maddr_q_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_maddr_q_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_maddr_q_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_msub_q_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msub_q_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_msub_q_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msub_q_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_msubr_q_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msubr_q_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_msubr_q_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msubr_q_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_mul_q_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mul_q_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_mul_q_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mul_q_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_mulr_q_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mulr_q_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc fixed-multiply/test_msa_mulr_q_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mulr_q_w_32r5el + +# +# Float Max Min +# ------------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmax_a_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmax_a_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmax_a_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmax_a_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmax_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmax_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmax_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmax_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmin_a_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmin_a_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmin_a_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmin_a_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmin_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmin_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc float-max-min/test_msa_fmin_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_fmin_d_32r5el + +# +# Int Add +# ------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_add_a_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_add_a_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_add_a_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_add_a_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_add_a_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_add_a_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_add_a_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_add_a_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_a_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_a_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_a_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_a_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_a_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_a_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_a_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_a_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_s_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_s_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_u_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_u_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_adds_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_adds_u_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_addv_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_addv_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_addv_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_addv_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_addv_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_addv_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_addv_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_addv_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_hadd_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hadd_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_hadd_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hadd_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_hadd_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hadd_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_hadd_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hadd_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_hadd_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hadd_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-add/test_msa_hadd_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hadd_u_d_32r5el + +# +# Int Average +# ----------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_s_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_s_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_u_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_u_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_ave_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ave_u_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_s_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_s_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_u_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_u_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-average/test_msa_aver_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_aver_u_d_32r5el + +# +# Int Compare +# ----------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_ceq_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ceq_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_ceq_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ceq_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_ceq_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ceq_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_ceq_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ceq_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_s_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_s_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_u_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_u_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_cle_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_cle_u_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_s_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_s_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_u_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_u_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-compare/test_msa_clt_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_clt_u_d_32r5el + +# +# Int Divide +# ---------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_s_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_s_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_u_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_u_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-divide/test_msa_div_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_div_u_d_32r5el + +# +# Int Dot Product +# --------------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dotp_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dotp_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dotp_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dotp_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dotp_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dotp_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dotp_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dotp_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dotp_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dotp_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dotp_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dotp_u_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpadd_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpadd_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpadd_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpadd_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpadd_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpadd_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpadd_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpadd_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpadd_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpadd_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpadd_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpadd_u_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpsub_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpsub_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpsub_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpsub_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpsub_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpsub_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpsub_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpsub_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpsub_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpsub_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-dot-product/test_msa_dpsub_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_dpsub_u_d_32r5el + +# +# Int Max Min +# ----------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_a_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_a_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_a_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_a_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_a_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_a_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_a_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_a_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_s_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_s_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_u_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_u_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_max_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_max_u_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_a_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_a_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_a_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_a_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_a_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_a_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_a_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_a_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_s_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_s_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_u_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_u_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-max-min/test_msa_min_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_min_u_d_32r5el + +# +# Int Modulo +# ---------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_s_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_s_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_u_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_u_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-modulo/test_msa_mod_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mod_u_d_32r5el + +# +# Int Multiply +# ------------ +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_maddv_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_maddv_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_maddv_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_maddv_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_maddv_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_maddv_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_maddv_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_maddv_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_msubv_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msubv_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_msubv_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msubv_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_msubv_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msubv_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_msubv_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_msubv_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_mulv_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mulv_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_mulv_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mulv_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_mulv_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mulv_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-multiply/test_msa_mulv_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_mulv_d_32r5el + +# +# Int Subtract +# ------------ +# +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_s_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_s_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_u_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_u_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_asub_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_asub_u_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_hsub_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hsub_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_hsub_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hsub_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_hsub_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hsub_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_hsub_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hsub_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_hsub_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hsub_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_hsub_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_hsub_u_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_s_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_s_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_u_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_u_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subs_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subs_u_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsus_u_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsus_u_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsus_u_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsus_u_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsus_u_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsus_u_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsus_u_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsus_u_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsuu_s_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsuu_s_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsuu_s_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsuu_s_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsuu_s_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsuu_s_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subsuu_s_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subsuu_s_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subv_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subv_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subv_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subv_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subv_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subv_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc int-subtract/test_msa_subv_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_subv_d_32r5el + +# +# Interleave +# ---------- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvev_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvev_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvev_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvev_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvev_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvev_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvev_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvev_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvod_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvod_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvod_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvod_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvod_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvod_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvod_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvod_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvl_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvl_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvl_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvl_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvl_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvl_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvl_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvl_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvr_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvr_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvr_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvr_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvr_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvr_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc interleave/test_msa_ilvr_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_ilvr_d_32r5el + +# +# Logic +# ----- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc logic/test_msa_and_v.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_and_v_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc logic/test_msa_nor_v.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_nor_v_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc logic/test_msa_or_v.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_or_v_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc logic/test_msa_xor_v.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_xor_v_32r5el + +# +# Move +# ---- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc move/test_msa_move_v.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_move_v_32r5el + +# +# Pack +# ---- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckev_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckev_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckev_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckev_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckev_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckev_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckev_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckev_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckod_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckod_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckod_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckod_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckod_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckod_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_pckod_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_pckod_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_vshf_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_vshf_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_vshf_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_vshf_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_vshf_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_vshf_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc pack/test_msa_vshf_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_vshf_d_32r5el + +# +# Shift +# ----- +# +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sll_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sll_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sll_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sll_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sll_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sll_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sll_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sll_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sra_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sra_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sra_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sra_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sra_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sra_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_sra_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_sra_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srar_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srar_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srar_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srar_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srar_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srar_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srar_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srar_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srl_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srl_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srl_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srl_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srl_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srl_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srl_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srl_d_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srlr_b.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srlr_b_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srlr_h.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srlr_h_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srlr_w.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srlr_w_32r5el +/opt/mti/bin/mips-mti-linux-gnu-gcc shift/test_msa_srlr_d.c = \ +-EL -static -mabi=3D32 -march=3Dmips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan= =3D2008 -o \ + /tmp/test_msa_srlr_d_32r5el diff --git a/tests/tcg/mips/user/ase/msa/test_msa_compile_32r6eb.sh b/tests= /tcg/mips/user/ase/msa/test_msa_compile_32r6eb.sh deleted file mode 100755 index 2519213..0000000 --- a/tests/tcg/mips/user/ase/msa/test_msa_compile_32r6eb.sh +++ /dev/null @@ -1,643 +0,0 @@ - -# -# Bit Count -# --------- -# -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nloc_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nloc_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nloc_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nloc_d_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nlzc_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nlzc_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nlzc_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nlzc_d_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_pcnt_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pcnt_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_pcnt_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pcnt_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_pcnt_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pcnt_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_pcnt_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pcnt_d_32= r6eb - -# -# Bit move -# -------- -# -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsl_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsl_b_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsl_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsl_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsl_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsl_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsl_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsl_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsr_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsr_b_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsr_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsr_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsr_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsr_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsr_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsr_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_bmnz_v.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bmnz_v_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_bmz_v.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bmz_v_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_bsel_v.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bsel_v_3= 2r6eb - -# -# Bit Set -# ------- -# -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bclr_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bclr_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bclr_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bclr_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bclr_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bclr_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bclr_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bclr_d_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bneg_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bneg_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bneg_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bneg_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bneg_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bneg_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bneg_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bneg_d_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bset_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bset_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bset_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bset_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bset_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bset_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bset_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bset_d_32= r6eb - -# -# Fixed Multiply -# -------------- -# -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_madd_q_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_madd_q_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_madd_q_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_madd_q_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_maddr_q_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_maddr_q_h= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_maddr_q_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_maddr_q_w= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_msub_q_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msub_q_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_msub_q_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msub_q_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_msubr_q_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msubr_q_h= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_msubr_q_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msubr_q_w= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_mul_q_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mul_q_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_mul_q_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mul_q_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_mulr_q_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mulr_q_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_mulr_q_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mulr_q_w_= 32r6eb - -# -# Float Max Min -# ------------- -# -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmax_a_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmax_a_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmax_a_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmax_a_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmax_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmax_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmax_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmax_d_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmin_a_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmin_a_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmin_a_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmin_a_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmin_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmin_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmin_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmin_d_32= r6eb - -# -# Int Add -# ------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_add_a_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_add_a_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_add_a_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_add_a_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_add_a_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_add_a_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_add_a_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_add_a_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_a_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_a_b_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_a_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_a_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_a_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_a_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_a_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_a_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_s_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_s_b_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_s_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_s_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_s_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_u_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_u_b_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_u_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_u_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_u_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_addv_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_addv_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_addv_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_addv_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_addv_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_addv_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_addv_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_addv_d_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_hadd_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hadd_s_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_hadd_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hadd_s_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_hadd_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hadd_s_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_hadd_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hadd_u_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_hadd_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hadd_u_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_hadd_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hadd_u_d_= 32r6eb - -# -# Int Average -# ----------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_s_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_s_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_s_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_s_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_s_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_u_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_u_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_u_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_u_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_u_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_s_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_s_b_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_s_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_s_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_s_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_u_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_u_b_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_u_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_u_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_u_d_= 32r6eb - -# -# Int Compare -# ----------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_ceq_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ceq_b_32r= 6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_ceq_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ceq_h_32r= 6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_ceq_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ceq_w_32r= 6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_ceq_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ceq_d_32r= 6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_s_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_s_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_s_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_s_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_s_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_u_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_u_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_u_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_u_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_u_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_s_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_s_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_s_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_s_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_s_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_u_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_u_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_u_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_u_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_u_d_3= 2r6eb - -# -# Int Divide -# ---------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_s_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_s_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_s_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_s_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_s_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_u_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_u_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_u_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_u_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_u_d_3= 2r6eb - -# -# Int Dot Product -# --------------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dotp_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dotp_s_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dotp_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dotp_s_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dotp_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dotp_s_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dotp_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dotp_u_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dotp_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dotp_u_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dotp_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dotp_u_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpadd_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpadd_s_h= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpadd_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpadd_s_w= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpadd_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpadd_s_d= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpadd_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpadd_u_h= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpadd_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpadd_u_w= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpadd_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpadd_u_d= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpsub_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpsub_s_h= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpsub_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpsub_s_w= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpsub_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpsub_s_d= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpsub_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpsub_u_h= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpsub_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpsub_u_w= _32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpsub_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpsub_u_d= _32r6eb - -# -# Int Max Min -# ----------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_a_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_a_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_a_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_a_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_a_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_a_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_a_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_a_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_s_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_s_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_s_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_s_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_s_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_u_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_u_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_u_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_u_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_u_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_a_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_a_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_a_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_a_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_a_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_a_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_a_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_a_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_s_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_s_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_s_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_s_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_s_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_u_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_u_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_u_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_u_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_u_d_3= 2r6eb - -# -# Int Modulo -# ---------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_s_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_s_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_s_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_s_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_s_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_u_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_u_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_u_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_u_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_u_d_3= 2r6eb - -# -# Int Multiply -# ------------ -# -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_maddv_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_maddv_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_maddv_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_maddv_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_maddv_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_maddv_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_maddv_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_maddv_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_msubv_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msubv_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_msubv_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msubv_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_msubv_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msubv_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_msubv_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msubv_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_mulv_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mulv_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_mulv_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mulv_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_mulv_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mulv_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_mulv_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mulv_d_32= r6eb - -# -# Int Subtract -# ------------ -# -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_s_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_s_b_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_s_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_s_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_s_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_u_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_u_b_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_u_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_u_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_u_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_hsub_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hsub_s_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_hsub_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hsub_s_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_hsub_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hsub_s_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_hsub_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hsub_u_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_hsub_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hsub_u_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_hsub_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hsub_u_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_s_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_s_b_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_s_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_s_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_s_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_u_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_u_b_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_u_h_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_u_w_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_u_d_= 32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsus_u_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsus_u_= b_32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsus_u_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsus_u_= h_32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsus_u_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsus_u_= w_32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsus_u_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsus_u_= d_32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsuu_s_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsuu_s_= b_32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsuu_s_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsuu_s_= h_32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsuu_s_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsuu_s_= w_32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsuu_s_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsuu_s_= d_32r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subv_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subv_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subv_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subv_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subv_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subv_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subv_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subv_d_32= r6eb - -# -# Interleave -# ---------- -# -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvev_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvev_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvev_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvev_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvev_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvev_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvev_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvev_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvod_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvod_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvod_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvod_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvod_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvod_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvod_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvod_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvl_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvl_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvl_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvl_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvl_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvl_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvl_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvl_d_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvr_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvr_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvr_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvr_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvr_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvr_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvr_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvr_d_32= r6eb - -# -# Logic -# ----- -# -/opt/img/bin/mips-img-linux-gnu-gcc logic/test_msa_and_v.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_and_v_32r= 6eb -/opt/img/bin/mips-img-linux-gnu-gcc logic/test_msa_nor_v.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nor_v_32r= 6eb -/opt/img/bin/mips-img-linux-gnu-gcc logic/test_msa_or_v.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_or_v_32r6= eb -/opt/img/bin/mips-img-linux-gnu-gcc logic/test_msa_xor_v.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_xor_v_32r= 6eb - -# -# Move -# ---- -# -/opt/img/bin/mips-img-linux-gnu-gcc move/test_msa_move_v.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_move_v_32= r6eb - -# -# Pack -# ---- -# -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckev_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckev_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckev_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckev_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckev_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckev_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckev_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckev_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckod_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckod_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckod_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckod_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckod_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckod_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckod_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckod_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_vshf_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_vshf_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_vshf_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_vshf_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_vshf_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_vshf_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_vshf_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_vshf_d_32= r6eb - -# -# Shift -# ----- -# -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sll_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sll_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sll_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sll_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sll_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sll_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sll_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sll_d_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sra_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sra_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sra_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sra_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sra_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sra_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sra_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sra_d_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srar_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srar_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srar_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srar_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srar_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srar_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srar_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srar_d_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srl_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srl_b_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srl_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srl_h_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srl_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srl_w_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srl_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srl_d_32= r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srlr_b.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srlr_b_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srlr_h.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srlr_h_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srlr_w.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srlr_w_3= 2r6eb -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srlr_d.c = \ --EB -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srlr_d_3= 2r6eb diff --git a/tests/tcg/mips/user/ase/msa/test_msa_compile_32r6el.sh b/tests= /tcg/mips/user/ase/msa/test_msa_compile_32r6el.sh deleted file mode 100755 index 1e10ff7..0000000 --- a/tests/tcg/mips/user/ase/msa/test_msa_compile_32r6el.sh +++ /dev/null @@ -1,643 +0,0 @@ - -# -# Bit Count -# --------- -# -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nloc_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nloc_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nloc_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nloc_d_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nlzc_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nlzc_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nlzc_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nlzc_d_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_pcnt_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pcnt_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_pcnt_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pcnt_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_pcnt_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pcnt_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_pcnt_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pcnt_d_32= r6el - -# -# Bit move -# -------- -# -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsl_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsl_b_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsl_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsl_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsl_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsl_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsl_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsl_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsr_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsr_b_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsr_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsr_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsr_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsr_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_binsr_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_binsr_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_bmnz_v.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bmnz_v_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_bmz_v.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bmz_v_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-move/test_msa_bsel_v.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bsel_v_3= 2r6el - -# -# Bit Set -# ------- -# -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bclr_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bclr_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bclr_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bclr_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bclr_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bclr_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bclr_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bclr_d_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bneg_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bneg_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bneg_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bneg_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bneg_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bneg_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bneg_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bneg_d_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bset_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bset_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bset_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bset_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bset_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bset_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc bit-set/test_msa_bset_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_bset_d_32= r6el - -# -# Fixed Multiply -# -------------- -# -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_madd_q_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_madd_q_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_madd_q_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_madd_q_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_maddr_q_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_maddr_q_h= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_maddr_q_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_maddr_q_w= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_msub_q_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msub_q_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_msub_q_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msub_q_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_msubr_q_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msubr_q_h= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_msubr_q_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msubr_q_w= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_mul_q_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mul_q_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_mul_q_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mul_q_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_mulr_q_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mulr_q_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc fixed-multiply/test_msa_mulr_q_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mulr_q_w_= 32r6el - -# -# Float Max Min -# ------------- -# -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmax_a_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmax_a_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmax_a_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmax_a_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmax_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmax_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmax_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmax_d_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmin_a_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmin_a_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmin_a_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmin_a_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmin_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmin_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc float-max-min/test_msa_fmin_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_fmin_d_32= r6el - -# -# Int Add -# ------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_add_a_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_add_a_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_add_a_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_add_a_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_add_a_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_add_a_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_add_a_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_add_a_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_a_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_a_b_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_a_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_a_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_a_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_a_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_a_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_a_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_s_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_s_b_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_s_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_s_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_s_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_u_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_u_b_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_u_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_u_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_adds_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_adds_u_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_addv_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_addv_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_addv_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_addv_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_addv_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_addv_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_addv_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_addv_d_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_hadd_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hadd_s_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_hadd_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hadd_s_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_hadd_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hadd_s_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_hadd_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hadd_u_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_hadd_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hadd_u_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-add/test_msa_hadd_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hadd_u_d_= 32r6el - -# -# Int Average -# ----------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_s_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_s_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_s_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_s_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_s_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_u_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_u_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_u_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_u_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_ave_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ave_u_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_s_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_s_b_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_s_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_s_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_s_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_u_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_u_b_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_u_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_u_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-average/test_msa_aver_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_aver_u_d_= 32r6el - -# -# Int Compare -# ----------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_ceq_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ceq_b_32r= 6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_ceq_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ceq_h_32r= 6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_ceq_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ceq_w_32r= 6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_ceq_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ceq_d_32r= 6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_s_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_s_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_s_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_s_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_s_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_u_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_u_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_u_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_u_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_cle_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_cle_u_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_s_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_s_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_s_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_s_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_s_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_u_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_u_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_u_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_u_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-compare/test_msa_clt_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_clt_u_d_3= 2r6el - -# -# Int Divide -# ---------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_s_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_s_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_s_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_s_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_s_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_u_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_u_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_u_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_u_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-divide/test_msa_div_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_div_u_d_3= 2r6el - -# -# Int Dot Product -# --------------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dotp_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dotp_s_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dotp_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dotp_s_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dotp_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dotp_s_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dotp_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dotp_u_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dotp_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dotp_u_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dotp_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dotp_u_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpadd_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpadd_s_h= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpadd_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpadd_s_w= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpadd_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpadd_s_d= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpadd_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpadd_u_h= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpadd_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpadd_u_w= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpadd_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpadd_u_d= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpsub_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpsub_s_h= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpsub_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpsub_s_w= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpsub_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpsub_s_d= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpsub_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpsub_u_h= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpsub_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpsub_u_w= _32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-dot-product/test_msa_dpsub_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_dpsub_u_d= _32r6el - -# -# Int Max Min -# ----------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_a_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_a_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_a_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_a_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_a_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_a_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_a_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_a_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_s_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_s_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_s_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_s_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_s_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_u_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_u_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_u_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_u_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_max_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_max_u_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_a_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_a_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_a_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_a_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_a_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_a_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_a_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_a_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_s_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_s_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_s_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_s_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_s_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_u_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_u_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_u_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_u_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-max-min/test_msa_min_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_min_u_d_3= 2r6el - -# -# Int Modulo -# ---------- -# -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_s_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_s_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_s_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_s_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_s_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_u_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_u_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_u_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_u_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-modulo/test_msa_mod_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mod_u_d_3= 2r6el - -# -# Int Multiply -# ------------ -# -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_maddv_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_maddv_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_maddv_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_maddv_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_maddv_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_maddv_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_maddv_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_maddv_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_msubv_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msubv_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_msubv_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msubv_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_msubv_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msubv_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_msubv_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_msubv_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_mulv_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mulv_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_mulv_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mulv_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_mulv_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mulv_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-multiply/test_msa_mulv_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_mulv_d_32= r6el - -# -# Int Subtract -# ------------ -# -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_s_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_s_b_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_s_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_s_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_s_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_u_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_u_b_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_u_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_u_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_asub_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_asub_u_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_hsub_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hsub_s_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_hsub_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hsub_s_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_hsub_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hsub_s_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_hsub_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hsub_u_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_hsub_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hsub_u_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_hsub_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_hsub_u_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_s_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_s_b_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_s_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_s_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_s_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_u_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_u_b_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_u_h_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_u_w_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subs_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subs_u_d_= 32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsus_u_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsus_u_= b_32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsus_u_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsus_u_= h_32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsus_u_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsus_u_= w_32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsus_u_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsus_u_= d_32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsuu_s_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsuu_s_= b_32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsuu_s_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsuu_s_= h_32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsuu_s_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsuu_s_= w_32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subsuu_s_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subsuu_s_= d_32r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subv_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subv_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subv_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subv_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subv_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subv_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc int-subtract/test_msa_subv_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_subv_d_32= r6el - -# -# Interleave -# ---------- -# -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvev_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvev_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvev_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvev_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvev_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvev_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvev_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvev_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvod_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvod_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvod_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvod_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvod_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvod_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvod_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvod_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvl_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvl_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvl_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvl_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvl_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvl_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvl_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvl_d_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvr_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvr_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvr_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvr_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvr_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvr_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc interleave/test_msa_ilvr_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_ilvr_d_32= r6el - -# -# Logic -# ----- -# -/opt/img/bin/mips-img-linux-gnu-gcc logic/test_msa_and_v.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_and_v_32r= 6el -/opt/img/bin/mips-img-linux-gnu-gcc logic/test_msa_nor_v.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_nor_v_32r= 6el -/opt/img/bin/mips-img-linux-gnu-gcc logic/test_msa_or_v.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_or_v_32r6= el -/opt/img/bin/mips-img-linux-gnu-gcc logic/test_msa_xor_v.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_xor_v_32r= 6el - -# -# Move -# ---- -# -/opt/img/bin/mips-img-linux-gnu-gcc move/test_msa_move_v.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_move_v_32= r6el - -# -# Pack -# ---- -# -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckev_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckev_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckev_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckev_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckev_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckev_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckev_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckev_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckod_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckod_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckod_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckod_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckod_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckod_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_pckod_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_pckod_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_vshf_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_vshf_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_vshf_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_vshf_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_vshf_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_vshf_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc pack/test_msa_vshf_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_vshf_d_32= r6el - -# -# Shift -# ----- -# -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sll_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sll_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sll_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sll_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sll_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sll_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sll_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sll_d_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sra_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sra_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sra_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sra_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sra_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sra_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_sra_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_sra_d_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srar_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srar_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srar_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srar_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srar_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srar_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srar_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srar_d_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srl_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srl_b_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srl_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srl_h_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srl_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srl_w_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srl_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srl_d_32= r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srlr_b.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srlr_b_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srlr_h.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srlr_h_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srlr_w.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srlr_w_3= 2r6el -/opt/img/bin/mips-img-linux-gnu-gcc shift/test_msa_srlr_d.c = \ --EL -static -mabi=3D32 -march=3Dmips32r6 -mmsa -o /tmp/test_msa_srlr_d_3= 2r6el diff --git a/tests/tcg/mips/user/ase/msa/test_msa_run_32r5eb.sh b/tests/tcg= /mips/user/ase/msa/test_msa_run_32r5eb.sh new file mode 100755 index 0000000..32dbf31 --- /dev/null +++ b/tests/tcg/mips/user/ase/msa/test_msa_run_32r5eb.sh @@ -0,0 +1,371 @@ +PATH_TO_QEMU=3D"../../../../../../mips-linux-user/qemu-mips" + + +# +# Bit Count +# --------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nloc_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nloc_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nloc_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nloc_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nlzc_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nlzc_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nlzc_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nlzc_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pcnt_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pcnt_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pcnt_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pcnt_d_32r5eb + +# +# Bit move +# -------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsl_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsl_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsl_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsl_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsr_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsr_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsr_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsr_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bmnz_v_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bmz_v_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bsel_v_32r5eb + +# +# Bit Set +# ------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bclr_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bclr_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bclr_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bclr_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bneg_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bneg_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bneg_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bneg_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bset_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bset_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bset_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bset_d_32r5eb + +# +# Fixed Multiply +# -------------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_madd_q_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_madd_q_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_maddr_q_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_maddr_q_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msub_q_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msub_q_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msubr_q_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msubr_q_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mul_q_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mul_q_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mulr_q_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mulr_q_w_32r5eb + +# +# Float Max Min +# ------------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmax_a_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmax_a_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmax_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmax_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmin_a_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmin_a_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmin_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmin_d_32r5eb + +# +# Int Add +# ------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_add_a_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_add_a_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_add_a_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_add_a_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_a_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_a_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_a_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_a_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_s_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_u_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_u_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_addv_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_addv_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_addv_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_addv_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hadd_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hadd_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hadd_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hadd_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hadd_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hadd_u_d_32r5eb + +# +# Int Average +# ----------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_s_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_u_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_u_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_s_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_u_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_u_d_32r5eb + +# +# Int Compare +# ----------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ceq_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ceq_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ceq_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ceq_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_s_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_u_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_u_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_s_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_u_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_u_d_32r5eb + +# +# Int Divide +# ---------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_s_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_u_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_u_d_32r5eb + +# +# Int Dot Product +# --------------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dotp_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dotp_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dotp_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dotp_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dotp_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dotp_u_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpadd_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpadd_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpadd_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpadd_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpadd_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpadd_u_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpsub_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpsub_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpsub_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpsub_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpsub_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpsub_u_d_32r5eb + +# +# Int Max Min +# ----------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_a_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_a_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_a_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_a_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_s_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_u_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_u_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_a_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_a_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_a_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_a_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_s_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_u_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_u_d_32r5eb + +# +# Int Modulo +# ---------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_s_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_u_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_u_d_32r5eb + +# +# Int Multiply +# ------------ +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_maddv_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_maddv_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_maddv_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_maddv_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msubv_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msubv_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msubv_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msubv_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mulv_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mulv_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mulv_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mulv_d_32r5eb + +# +# Int Subtract +# ------------ +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_s_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_u_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_u_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hsub_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hsub_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hsub_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hsub_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hsub_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hsub_u_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_s_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_u_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_u_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsus_u_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsus_u_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsus_u_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsus_u_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsuu_s_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsuu_s_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsuu_s_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsuu_s_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subv_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subv_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subv_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subv_d_32r5eb + +# +# Interleave +# ---------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvev_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvev_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvev_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvev_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvod_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvod_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvod_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvod_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvl_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvl_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvl_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvl_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvr_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvr_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvr_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvr_d_32r5eb + +# +# Logic +# ----- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_and_v_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nor_v_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_or_v_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_xor_v_32r5eb + +# +# Move +# ---- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_move_v_32r5eb + +# +# Pack +# ---- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckev_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckev_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckev_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckev_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckod_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckod_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckod_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckod_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_vshf_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_vshf_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_vshf_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_vshf_d_32r5eb + +# +# Shift +# ----- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sll_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sll_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sll_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sll_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sra_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sra_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sra_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sra_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srar_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srar_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srar_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srar_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srl_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srl_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srl_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srl_d_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srlr_b_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srlr_h_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srlr_w_32r5eb +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srlr_d_32r5eb diff --git a/tests/tcg/mips/user/ase/msa/test_msa_run_32r5el.sh b/tests/tcg= /mips/user/ase/msa/test_msa_run_32r5el.sh new file mode 100755 index 0000000..a2e6092 --- /dev/null +++ b/tests/tcg/mips/user/ase/msa/test_msa_run_32r5el.sh @@ -0,0 +1,371 @@ +PATH_TO_QEMU=3D"../../../../../../mipsel-linux-user/qemu-mipsel" + + +# +# Bit Count +# --------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nloc_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nloc_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nloc_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nloc_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nlzc_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nlzc_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nlzc_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nlzc_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pcnt_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pcnt_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pcnt_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pcnt_d_32r5el + +# +# Bit move +# -------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsl_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsl_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsl_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsl_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsr_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsr_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsr_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_binsr_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bmnz_v_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bmz_v_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bsel_v_32r5el + +# +# Bit Set +# ------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bclr_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bclr_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bclr_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bclr_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bneg_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bneg_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bneg_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bneg_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bset_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bset_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bset_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_bset_d_32r5el + +# +# Fixed Multiply +# -------------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_madd_q_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_madd_q_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_maddr_q_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_maddr_q_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msub_q_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msub_q_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msubr_q_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msubr_q_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mul_q_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mul_q_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mulr_q_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mulr_q_w_32r5el + +# +# Float Max Min +# ------------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmax_a_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmax_a_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmax_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmax_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmin_a_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmin_a_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmin_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_fmin_d_32r5el + +# +# Int Add +# ------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_add_a_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_add_a_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_add_a_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_add_a_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_a_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_a_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_a_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_a_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_s_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_u_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_adds_u_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_addv_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_addv_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_addv_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_addv_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hadd_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hadd_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hadd_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hadd_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hadd_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hadd_u_d_32r5el + +# +# Int Average +# ----------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_s_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_u_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ave_u_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_s_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_u_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_aver_u_d_32r5el + +# +# Int Compare +# ----------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ceq_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ceq_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ceq_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ceq_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_s_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_u_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_cle_u_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_s_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_u_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_clt_u_d_32r5el + +# +# Int Divide +# ---------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_s_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_u_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_div_u_d_32r5el + +# +# Int Dot Product +# --------------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dotp_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dotp_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dotp_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dotp_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dotp_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dotp_u_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpadd_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpadd_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpadd_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpadd_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpadd_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpadd_u_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpsub_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpsub_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpsub_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpsub_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpsub_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_dpsub_u_d_32r5el + +# +# Int Max Min +# ----------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_a_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_a_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_a_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_a_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_s_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_u_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_max_u_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_a_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_a_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_a_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_a_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_s_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_u_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_min_u_d_32r5el + +# +# Int Modulo +# ---------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_s_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_u_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mod_u_d_32r5el + +# +# Int Multiply +# ------------ +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_maddv_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_maddv_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_maddv_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_maddv_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msubv_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msubv_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msubv_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_msubv_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mulv_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mulv_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mulv_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_mulv_d_32r5el + +# +# Int Subtract +# ------------ +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_s_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_u_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_asub_u_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hsub_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hsub_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hsub_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hsub_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hsub_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_hsub_u_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_s_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_u_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subs_u_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsus_u_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsus_u_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsus_u_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsus_u_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsuu_s_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsuu_s_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsuu_s_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subsuu_s_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subv_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subv_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subv_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_subv_d_32r5el + +# +# Interleave +# ---------- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvev_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvev_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvev_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvev_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvod_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvod_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvod_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvod_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvl_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvl_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvl_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvl_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvr_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvr_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvr_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_ilvr_d_32r5el + +# +# Logic +# ----- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_and_v_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_nor_v_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_or_v_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_xor_v_32r5el + +# +# Move +# ---- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_move_v_32r5el + +# +# Pack +# ---- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckev_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckev_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckev_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckev_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckod_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckod_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckod_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_pckod_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_vshf_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_vshf_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_vshf_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_vshf_d_32r5el + +# +# Shift +# ----- +# +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sll_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sll_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sll_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sll_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sra_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sra_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sra_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_sra_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srar_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srar_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srar_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srar_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srl_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srl_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srl_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srl_d_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srlr_b_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srlr_h_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srlr_w_32r5el +$PATH_TO_QEMU -cpu P5600 /tmp/test_msa_srlr_d_32r5el diff --git a/tests/tcg/mips/user/ase/msa/test_msa_run_32r6eb.sh b/tests/tcg= /mips/user/ase/msa/test_msa_run_32r6eb.sh deleted file mode 100644 index 6c95e45..0000000 --- a/tests/tcg/mips/user/ase/msa/test_msa_run_32r6eb.sh +++ /dev/null @@ -1,371 +0,0 @@ -PATH_TO_QEMU=3D"../../../../../../mips64-linux-user/qemu-mips64" - - -# -# Bit Count -# --------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nloc_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nloc_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nloc_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nloc_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nlzc_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nlzc_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nlzc_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nlzc_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pcnt_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pcnt_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pcnt_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pcnt_d_32r6eb - -# -# Bit move -# -------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsl_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsl_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsl_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsl_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsr_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsr_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsr_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsr_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bmnz_v_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bmz_v_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bsel_v_32r6eb - -# -# Bit Set -# ------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bclr_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bclr_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bclr_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bclr_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bneg_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bneg_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bneg_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bneg_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bset_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bset_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bset_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bset_d_32r6eb - -# -# Fixed Multiply -# -------------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_madd_q_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_madd_q_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_maddr_q_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_maddr_q_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msub_q_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msub_q_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msubr_q_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msubr_q_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mul_q_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mul_q_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mulr_q_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mulr_q_w_32r6eb - -# -# Float Max Min -# ------------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmax_a_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmax_a_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmax_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmax_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmin_a_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmin_a_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmin_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmin_d_32r6eb - -# -# Int Add -# ------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_add_a_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_add_a_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_add_a_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_add_a_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_a_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_a_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_a_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_a_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_s_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_u_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_u_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_addv_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_addv_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_addv_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_addv_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hadd_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hadd_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hadd_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hadd_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hadd_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hadd_u_d_32r6eb - -# -# Int Average -# ----------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_s_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_u_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_u_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_s_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_u_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_u_d_32r6eb - -# -# Int Compare -# ----------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ceq_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ceq_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ceq_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ceq_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_s_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_u_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_u_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_s_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_u_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_u_d_32r6eb - -# -# Int Divide -# ---------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_s_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_u_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_u_d_32r6eb - -# -# Int Dot Product -# --------------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dotp_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dotp_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dotp_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dotp_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dotp_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dotp_u_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpadd_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpadd_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpadd_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpadd_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpadd_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpadd_u_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpsub_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpsub_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpsub_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpsub_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpsub_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpsub_u_d_32r6eb - -# -# Int Max Min -# ----------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_a_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_a_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_a_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_a_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_s_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_u_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_u_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_a_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_a_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_a_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_a_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_s_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_u_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_u_d_32r6eb - -# -# Int Modulo -# ---------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_s_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_u_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_u_d_32r6eb - -# -# Int Multiply -# ------------ -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_maddv_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_maddv_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_maddv_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_maddv_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msubv_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msubv_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msubv_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msubv_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mulv_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mulv_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mulv_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mulv_d_32r6eb - -# -# Int Subtract -# ------------ -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_s_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_u_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_u_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hsub_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hsub_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hsub_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hsub_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hsub_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hsub_u_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_s_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_u_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_u_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsus_u_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsus_u_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsus_u_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsus_u_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsuu_s_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsuu_s_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsuu_s_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsuu_s_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subv_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subv_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subv_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subv_d_32r6eb - -# -# Interleave -# ---------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvev_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvev_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvev_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvev_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvod_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvod_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvod_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvod_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvl_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvl_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvl_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvl_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvr_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvr_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvr_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvr_d_32r6eb - -# -# Logic -# ----- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_and_v_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nor_v_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_or_v_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_xor_v_32r6eb - -# -# Move -# ---- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_move_v_32r6eb - -# -# Pack -# ---- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckev_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckev_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckev_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckev_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckod_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckod_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckod_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckod_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_vshf_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_vshf_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_vshf_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_vshf_d_32r6eb - -# -# Shift -# ----- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sll_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sll_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sll_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sll_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sra_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sra_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sra_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sra_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srar_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srar_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srar_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srar_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srl_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srl_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srl_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srl_d_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srlr_b_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srlr_h_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srlr_w_32r6eb -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srlr_d_32r6eb diff --git a/tests/tcg/mips/user/ase/msa/test_msa_run_32r6el.sh b/tests/tcg= /mips/user/ase/msa/test_msa_run_32r6el.sh deleted file mode 100755 index d4945da..0000000 --- a/tests/tcg/mips/user/ase/msa/test_msa_run_32r6el.sh +++ /dev/null @@ -1,371 +0,0 @@ -PATH_TO_QEMU=3D"../../../../../../mips64el-linux-user/qemu-mips64el" - - -# -# Bit Count -# --------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nloc_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nloc_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nloc_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nloc_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nlzc_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nlzc_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nlzc_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nlzc_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pcnt_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pcnt_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pcnt_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pcnt_d_32r6el - -# -# Bit move -# -------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsl_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsl_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsl_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsl_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsr_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsr_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsr_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_binsr_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bmnz_v_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bmz_v_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bsel_v_32r6el - -# -# Bit Set -# ------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bclr_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bclr_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bclr_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bclr_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bneg_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bneg_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bneg_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bneg_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bset_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bset_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bset_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_bset_d_32r6el - -# -# Fixed Multiply -# -------------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_madd_q_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_madd_q_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_maddr_q_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_maddr_q_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msub_q_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msub_q_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msubr_q_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msubr_q_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mul_q_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mul_q_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mulr_q_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mulr_q_w_32r6el - -# -# Float Max Min -# ------------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmax_a_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmax_a_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmax_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmax_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmin_a_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmin_a_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmin_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_fmin_d_32r6el - -# -# Int Add -# ------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_add_a_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_add_a_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_add_a_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_add_a_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_a_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_a_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_a_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_a_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_s_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_u_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_adds_u_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_addv_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_addv_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_addv_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_addv_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hadd_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hadd_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hadd_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hadd_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hadd_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hadd_u_d_32r6el - -# -# Int Average -# ----------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_s_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_u_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ave_u_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_s_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_u_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_aver_u_d_32r6el - -# -# Int Compare -# ----------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ceq_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ceq_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ceq_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ceq_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_s_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_u_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_cle_u_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_s_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_u_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_clt_u_d_32r6el - -# -# Int Divide -# ---------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_s_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_u_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_div_u_d_32r6el - -# -# Int Dot Product -# --------------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dotp_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dotp_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dotp_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dotp_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dotp_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dotp_u_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpadd_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpadd_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpadd_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpadd_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpadd_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpadd_u_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpsub_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpsub_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpsub_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpsub_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpsub_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_dpsub_u_d_32r6el - -# -# Int Max Min -# ----------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_a_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_a_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_a_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_a_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_s_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_u_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_max_u_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_a_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_a_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_a_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_a_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_s_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_u_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_min_u_d_32r6el - -# -# Int Modulo -# ---------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_s_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_u_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mod_u_d_32r6el - -# -# Int Multiply -# ------------ -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_maddv_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_maddv_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_maddv_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_maddv_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msubv_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msubv_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msubv_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_msubv_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mulv_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mulv_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mulv_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_mulv_d_32r6el - -# -# Int Subtract -# ------------ -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_s_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_u_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_asub_u_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hsub_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hsub_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hsub_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hsub_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hsub_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_hsub_u_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_s_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_u_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subs_u_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsus_u_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsus_u_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsus_u_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsus_u_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsuu_s_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsuu_s_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsuu_s_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subsuu_s_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subv_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subv_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subv_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_subv_d_32r6el - -# -# Interleave -# ---------- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvev_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvev_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvev_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvev_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvod_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvod_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvod_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvod_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvl_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvl_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvl_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvl_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvr_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvr_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvr_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_ilvr_d_32r6el - -# -# Logic -# ----- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_and_v_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_nor_v_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_or_v_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_xor_v_32r6el - -# -# Move -# ---- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_move_v_32r6el - -# -# Pack -# ---- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckev_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckev_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckev_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckev_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckod_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckod_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckod_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_pckod_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_vshf_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_vshf_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_vshf_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_vshf_d_32r6el - -# -# Shift -# ----- -# -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sll_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sll_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sll_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sll_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sra_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sra_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sra_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_sra_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srar_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srar_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srar_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srar_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srl_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srl_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srl_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srl_d_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srlr_b_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srlr_h_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srlr_w_32r6el -$PATH_TO_QEMU -cpu I6400 /tmp/test_msa_srlr_d_32r6el --=20 2.7.4