diff options
author | Alan Modra <amodra@gmail.com> | 2003-01-08 02:55:52 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-01-08 02:55:52 +0000 |
commit | 29ef7e545aa522fa9fe6225f8aa6a5c710a67898 (patch) | |
tree | d6bd9ca609d6104a8d60f2368141b8c8ddbdb359 /opcodes | |
parent | 95d0f04a0b7b84ec4deb74cbe28917b0477da4d0 (diff) | |
download | gdb-29ef7e545aa522fa9fe6225f8aa6a5c710a67898.zip gdb-29ef7e545aa522fa9fe6225f8aa6a5c710a67898.tar.gz gdb-29ef7e545aa522fa9fe6225f8aa6a5c710a67898.tar.bz2 |
* ppc-opc.c (powerpc_macros <extrwi>): Accept a shift of 32.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/ppc-opc.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 277904b..f1af725 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2003-01-08 Alan Modra <amodra@bigpond.net.au> + + * ppc-opc.c (powerpc_macros <extrwi>): Accept a shift of 32. + 2002-01-02 Ben Elliston <bje@redhat.com> Jeff Johnston <jjohnstn@redhat.com> diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 75f34c8..1b62f87 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -4552,8 +4552,8 @@ const struct powerpc_macro powerpc_macros[] = { { "extlwi", 4, PPCCOM, "rlwinm %0,%1,%3,0,(%2)-1" }, { "extlwi.", 4, PPCCOM, "rlwinm. %0,%1,%3,0,(%2)-1" }, -{ "extrwi", 4, PPCCOM, "rlwinm %0,%1,(%2)+(%3),32-(%2),31" }, -{ "extrwi.", 4, PPCCOM, "rlwinm. %0,%1,(%2)+(%3),32-(%2),31" }, +{ "extrwi", 4, PPCCOM, "rlwinm %0,%1,((%2)+(%3))&((%2)+(%3)<>32),32-(%2),31" }, +{ "extrwi.", 4, PPCCOM, "rlwinm. %0,%1,((%2)+(%3))&((%2)+(%3)<>32),32-(%2),31" }, { "inslwi", 4, PPCCOM, "rlwimi %0,%1,(-(%3)!31)&((%3)|31),%3,(%2)+(%3)-1" }, { "inslwi.", 4, PPCCOM, "rlwimi. %0,%1,(-(%3)!31)&((%3)|31),%3,(%2)+(%3)-1"}, { "insrwi", 4, PPCCOM, "rlwimi %0,%1,32-((%2)+(%3)),%3,(%2)+(%3)-1" }, |