diff options
author | Alan Modra <amodra@gmail.com> | 2012-05-18 00:39:28 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-05-18 00:39:28 +0000 |
commit | a4ebc835cbcbc0a6f55f1dbe68332cfd8359fdfd (patch) | |
tree | 23621babeafc2801d51ea4245825793788e64039 | |
parent | 98c76446ea6bc1223c314500d3e11178e4911018 (diff) | |
download | gdb-a4ebc835cbcbc0a6f55f1dbe68332cfd8359fdfd.zip gdb-a4ebc835cbcbc0a6f55f1dbe68332cfd8359fdfd.tar.gz gdb-a4ebc835cbcbc0a6f55f1dbe68332cfd8359fdfd.tar.bz2 |
* ppc-opc.c (powerpc_macros): Add entries for e_extlwi to e_clrlslwi.
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/ppc-opc.c | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 05b792a..544eed2 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,9 @@ 2012-05-17 James Lemke <jwlemke@codesourcery.com> + * ppc-opc.c (powerpc_macros): Add entries for e_extlwi to e_clrlslwi. + +2012-05-17 James Lemke <jwlemke@codesourcery.com> + * ppc-opc.c (extract_sprg): Use ALLOW8_SPRG to include VLE. 2012-05-17 Daniel Richard G. <skunk@iskunk.org> diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 74fba68..a1c9963 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -6450,6 +6450,18 @@ const struct powerpc_macro powerpc_macros[] = { {"clrrwi.", 3, PPCCOM, "rlwinm. %0,%1,0,0,31-(%2)"}, {"clrlslwi", 4, PPCCOM, "rlwinm %0,%1,%3,(%2)-(%3),31-(%3)"}, {"clrlslwi.",4, PPCCOM, "rlwinm. %0,%1,%3,(%2)-(%3),31-(%3)"}, + +{"e_extlwi", 4, PPCVLE, "e_rlwinm %0,%1,%3,0,(%2)-1"}, +{"e_extrwi", 4, PPCVLE, "e_rlwinm %0,%1,((%2)+(%3))&((%2)+(%3)<>32),32-(%2),31"}, +{"e_inslwi", 4, PPCVLE, "e_rlwimi %0,%1,(-(%3)!31)&((%3)|31),%3,(%2)+(%3)-1"}, +{"e_insrwi", 4, PPCVLE, "e_rlwimi %0,%1,32-((%2)+(%3)),%3,(%2)+(%3)-1"}, +{"e_rotlwi", 3, PPCVLE, "e_rlwinm %0,%1,%2,0,31"}, +{"e_rotrwi", 3, PPCVLE, "e_rlwinm %0,%1,(-(%2)!31)&((%2)|31),0,31"}, +{"e_slwi", 3, PPCVLE, "e_rlwinm %0,%1,%2,0,31-(%2)"}, +{"e_srwi", 3, PPCVLE, "e_rlwinm %0,%1,(-(%2)!31)&((%2)|31),%2,31"}, +{"e_clrlwi", 3, PPCVLE, "e_rlwinm %0,%1,0,%2,31"}, +{"e_clrrwi", 3, PPCVLE, "e_rlwinm %0,%1,0,0,31-(%2)"}, +{"e_clrlslwi",4, PPCVLE, "e_rlwinm %0,%1,%3,(%2)-(%3),31-(%3)"}, }; const int powerpc_num_macros = |