diff options
author | Alan Modra <amodra@bigpond.net.au> | 2003-01-08 02:55:52 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2003-01-08 02:55:52 +0000 |
commit | f3f4a77f3fae383c082ca336a8723571d4e6c12a (patch) | |
tree | 7863b7ce94f60d98ce55caa6312c7a3326d31020 /opcodes/ppc-opc.c | |
parent | df50c9cac4a8902e6e2a3a6adf7bbcca8520c747 (diff) | |
download | gdb-f3f4a77f3fae383c082ca336a8723571d4e6c12a.tar.gz |
* ppc-opc.c (powerpc_macros <extrwi>): Accept a shift of 32.
Diffstat (limited to 'opcodes/ppc-opc.c')
-rw-r--r-- | opcodes/ppc-opc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 75f34c87e57..1b62f87af99 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" }, |