From 514f48bb1dbccb1c3820236b8dbc11b64c155984 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Wed, 16 Nov 2011 12:24:08 +0000 Subject: [PATCH] * micromips-opc.c (micromips_opcodes): Use NODS rather than TRAP for "alnv.ps". --- opcodes/ChangeLog | 5 +++++ opcodes/micromips-opc.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 06ff024e10..eab8c0a443 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2011-11-16 Maciej W. Rozycki + + * micromips-opc.c (micromips_opcodes): Use NODS rather than TRAP + for "alnv.ps". + 2011-11-02 Nick Clifton * po/it.po: New Italian translation. diff --git a/opcodes/micromips-opc.c b/opcodes/micromips-opc.c index 852081edc5..251d801933 100644 --- a/opcodes/micromips-opc.c +++ b/opcodes/micromips-opc.c @@ -167,9 +167,9 @@ const struct mips_opcode micromips_opcodes[] = {"addu", "md,me,ml", 0x0400, 0xfc01, 0, WR_md|RD_me|RD_ml, I1 }, {"addu", "d,v,t", 0x00000150, 0xfc0007ff, WR_d|RD_s|RD_t, 0, I1 }, {"addu", "t,r,I", 0, (int) M_ADDU_I, INSN_MACRO, 0, I1 }, -/* We have no flag to mark the read from "y", so we use TRAP to disable +/* We have no flag to mark the read from "y", so we use NODS to disable delay slot scheduling of ALNV.PS altogether. */ -{"alnv.ps", "D,V,T,y", 0x54000019, 0xfc00003f, TRAP|WR_D|RD_S|RD_T|FP_D, 0, I1 }, +{"alnv.ps", "D,V,T,y", 0x54000019, 0xfc00003f, NODS|WR_D|RD_S|RD_T|FP_D, 0, I1 }, {"and", "mf,mt,mg", 0x4480, 0xffc0, 0, WR_mf|RD_mf|RD_mg, I1 }, {"and", "mf,mg,mx", 0x4480, 0xffc0, 0, WR_mf|RD_mf|RD_mg, I1 }, {"and", "d,v,t", 0x00000250, 0xfc0007ff, WR_d|RD_s|RD_t, 0, I1 }, -- 2.34.1