diff options
author | Jakub Jelinek <jakub@redhat.com> | 2000-07-11 18:44:12 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2000-07-11 18:44:12 +0000 |
commit | 09ab35c7f5d65e24079dced1671c996583f01ce4 (patch) | |
tree | d57ddd88d9539ef135d3e226057cbb92afaddac7 /opcodes | |
parent | d5b61b59918561b7fd26bc1a4968c2d5cc27d747 (diff) | |
download | gdb-09ab35c7f5d65e24079dced1671c996583f01ce4.zip gdb-09ab35c7f5d65e24079dced1671c996583f01ce4.tar.gz gdb-09ab35c7f5d65e24079dced1671c996583f01ce4.tar.bz2 |
* sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
Reported by Bill Clarke <llib@computer.org>.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/sparc-opc.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index bb34c67..673c41a 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2000-07-11 Jakub Jelinek <jakub@redhat.com> + + * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2. + Reported by Bill Clarke <llib@computer.org>. + 2000-07-09 Geoffrey Keating <geoffk@cygnus.com> * ppc-opc.c (powerpc_opcodes): Correct suffix for vslw. diff --git a/opcodes/sparc-opc.c b/opcodes/sparc-opc.c index a7132bb..0d044e0 100644 --- a/opcodes/sparc-opc.c +++ b/opcodes/sparc-opc.c @@ -755,8 +755,8 @@ const struct sparc_opcode sparc_opcodes[] = { { "scan", F3(2, 0x2c, 0), F3(~2, ~0x2c, ~0)|ASI(~0), "1,2,d", 0, sparclet|sparclite }, { "scan", F3(2, 0x2c, 1), F3(~2, ~0x2c, ~1), "1,i,d", 0, sparclet|sparclite }, -{ "popc", F3(2, 0x2e, 0), F3(~2, ~0x2e, ~0)|RS2_G0|ASI(~0),"2,d", 0, v9 }, -{ "popc", F3(2, 0x2e, 1), F3(~2, ~0x2e, ~1)|RS2_G0, "i,d", 0, v9 }, +{ "popc", F3(2, 0x2e, 0), F3(~2, ~0x2e, ~0)|RS1_G0|ASI(~0),"2,d", 0, v9 }, +{ "popc", F3(2, 0x2e, 1), F3(~2, ~0x2e, ~1)|RS1_G0, "i,d", 0, v9 }, { "clr", F3(2, 0x02, 0), F3(~2, ~0x02, ~0)|RD_G0|RS1_G0|ASI_RS2(~0), "d", F_ALIAS, v6 }, /* or %g0,%g0,d */ { "clr", F3(2, 0x02, 1), F3(~2, ~0x02, ~1)|RS1_G0|SIMM13(~0), "d", F_ALIAS, v6 }, /* or %g0,0,d */ |