opcodes/
authorDavid S. Miller <davem@redhat.com>
Thu, 8 Sep 2011 19:01:11 +0000 (19:01 +0000)
committerDavid S. Miller <davem@redhat.com>
Thu, 8 Sep 2011 19:01:11 +0000 (19:01 +0000)
commit9bf29d72d48ef0ad6966bcb23ab3fdc5cc3c22fa
tree1f39f0fc1897ba5882361804f81882a18727a9d0
parent7f062217672c13050f68eec1a6cd296d7b7f93be
opcodes/

The changes below bring 'mov' and 'ticc' instructions into line
with the V8 SPARC Architecture Manual.
* sparc-opc.c (sparc_opcodes): Add entry for 'ticc imm + regrs1'.
* sparc-opc.c (sparc_opcodes): Add alias entries for
'mov regrs2,%asrX'; 'mov regrs2,%y'; 'mov regrs2,%prs';
'mov regrs2,%wim' and 'mov regrs2,%tbr'.
* sparc-opc.c (sparc_opcodes): Move/Change entries for
'mov imm,%asrX'; 'mov imm,%y'; 'mov imm,%prs'; 'mov imm,%wim'
and 'mov imm,%tbr'.
* sparc-opc.c (sparc_opcodes): Add wr alias entries to match above
mov aliases.

gas/testsuite/

* gas/sparc/ticc-imm-reg.[sd]: New test.
* gas/sparc/v8-movwr-imm.[sd]: New test.
* gas/sparc/sparc.exp: Run new tests.
gas/testsuite/ChangeLog
gas/testsuite/gas/sparc/sparc.exp
gas/testsuite/gas/sparc/ticc-imm-reg.d [new file with mode: 0644]
gas/testsuite/gas/sparc/ticc-imm-reg.s [new file with mode: 0644]
gas/testsuite/gas/sparc/v8-movwr-imm.d [new file with mode: 0644]
gas/testsuite/gas/sparc/v8-movwr-imm.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/sparc-opc.c