From 2d18fbc6689ec164d7e1d018914d1f091fb2ec51 Mon Sep 17 00:00:00 2001 From: Gavin Romig-Koch Date: Tue, 18 Feb 1997 22:15:04 +0000 Subject: [PATCH] Correct flags for PMADDUW insn --- sim/mips/ChangeLog | 20 ++++++++++++++++---- sim/mips/gencode.c | 2 +- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 961eaa195ef..d6e147dacf1 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,9 +1,21 @@ +start-sanitize-r5900 +Tue Feb 18 17:03:47 1997 Gavin Koch + + * gencode.c (MIPS_DECODE): Correct instruction feature flags for + PMADDUW. + +end-sanitize-r5900 +Thu Feb 13 14:08:30 1997 Ian Lance Taylor + + * gencode.c (build_mips16_operands): Correct computation of base + address for extended PC relative instruction. + start-sanitize-r5900 Fri Feb 7 11:12:44 1997 Gavin Koch - - * Makefile.in, configure, configure.in, gencode.c, - interp.c, support.h: add r5900. - + + * Makefile.in, configure, configure.in, gencode.c, + interp.c, support.h: add r5900. + end-sanitize-r5900 Thu Feb 6 17:16:15 1997 Ian Lance Taylor diff --git a/sim/mips/gencode.c b/sim/mips/gencode.c index f5541fbfa89..9ae77c3fdcc 100644 --- a/sim/mips/gencode.c +++ b/sim/mips/gencode.c @@ -709,7 +709,7 @@ struct instruction MIPS_DECODE[] = { {"PLZCW", T5,"011100SSSSS00000ddddd00000000100",MMINORM,PLZCW, (NONE)}, {"PMADDH", T5,"011100SSSSSTTTTTddddd10000001001",MMI2, PMULTH, (ADDITION)}, - {"PMADDUW",T5,"011100SSSSSTTTTTddddd00000101001",MMI3, PMULTW, (UNSIGNED)}, + {"PMADDUW",T5,"011100SSSSSTTTTTddddd00000101001",MMI3, PMULTW, (ADDITION | UNSIGNED)}, {"PMADDW", T5,"011100SSSSSTTTTTddddd00000001001",MMI2, PMULTW, (ADDITION)}, {"PMAXH", T5,"011100SSSSSTTTTTddddd00111001000",MMI0, PMAXMIN, (GT | HALFWORD)}, -- 2.30.2