diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 24baad976c0..4d11a74cf2e 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,4 +1,8 @@ start-sanitize-vr4320 +Tue Mar 10 15:57:23 1998 Gavin Koch + + * mips-opc.c ("clz","dclz"): Added the 4320 versions. + Mon Mar 9 15:22:06 1998 Gavin Koch * mips-opc.c ("macc*","mul*"): Added the 4320 versions diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c index 9f60a5a7d3a..3191b01a437 100644 --- a/opcodes/mips-opc.c +++ b/opcodes/mips-opc.c @@ -313,6 +313,9 @@ const struct mips_opcode mips_builtin_opcodes[] = { {"cfc1", "t,S", 0x44400000, 0xffe007ff, LCD|WR_t|RD_C1|FP_S, I1 }, {"cfc2", "t,G", 0x48400000, 0xffe007ff, LCD|WR_t|RD_C2, I1 }, {"cfc3", "t,G", 0x4c400000, 0xffe007ff, LCD|WR_t|RD_C3, I1 }, + /* start-sanitize-vr4320 */ +{"clz", "d,s", 0x00000035, 0xfc1f07ff, WR_d|RD_s, N4 }, + /* end-sanitize-vr4320 */ {"ctc0", "t,G", 0x40c00000, 0xffe007ff, COD|RD_t|WR_CC, I1 }, {"ctc1", "t,G", 0x44c00000, 0xffe007ff, COD|RD_t|WR_CC|FP_S, I1 }, {"ctc1", "t,S", 0x44c00000, 0xffe007ff, COD|RD_t|WR_CC|FP_S, I1 }, @@ -338,6 +341,9 @@ const struct mips_opcode mips_builtin_opcodes[] = { /* start-sanitize-vr5400 */ {"dbreak", "", 0x7000003f, 0xffffffff, 0, N5 }, /* end-sanitize-vr5400 */ + /* start-sanitize-vr4320 */ +{"dclz", "d,s", 0x0000003D, 0xfc1f07ff, WR_d|RD_s, N4 }, + /* end-sanitize-vr4320 */ /* dctr and dctw are used on the r5000. */ {"dctr", "o(b)", 0xbc050000, 0xfc1f0000, RD_b, I3 }, {"dctw", "o(b)", 0xbc090000, 0xfc1f0000, RD_b, I3 },