diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2009-01-15 04:27:28 +0000 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2009-01-15 04:27:28 +0000 |
commit | 21169fcfadfac63f7c02e33e19301cf375930b5e (patch) | |
tree | d545609c268e153a1916cad1dd063f8bb10938c2 /gas | |
parent | bbbfea06e5f64310ea70f28722f8e43ec01abbca (diff) | |
download | gdb-21169fcfadfac63f7c02e33e19301cf375930b5e.zip gdb-21169fcfadfac63f7c02e33e19301cf375930b5e.tar.gz gdb-21169fcfadfac63f7c02e33e19301cf375930b5e.tar.bz2 |
opcodes/
* ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
* ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
operand form and enable the four operand form for POWER6 and later.
<mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
three operand form for POWER6 and later.
gas/testsuite/
* gas/ppc/power6.s ("mtfsf", "mtfsf.", "mtfsfi", "mtfsfi."): Add tests.
* gas/ppc/power6.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/power6.d | 14 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/power6.s | 14 |
3 files changed, 33 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index b468eca..eddb699 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-01-14 Peter Bergner <bergner@vnet.ibm.com> + + * gas/ppc/power6.s ("mtfsf", "mtfsf.", "mtfsfi", "mtfsfi."): Add tests. + * gas/ppc/power6.d: Likewise. + 2009-01-12 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/sse-noavx.s: Add tests for lfence, mfence and movnti. diff --git a/gas/testsuite/gas/ppc/power6.d b/gas/testsuite/gas/ppc/power6.d index d35a827..3fef44d 100644 --- a/gas/testsuite/gas/ppc/power6.d +++ b/gas/testsuite/gas/ppc/power6.d @@ -52,3 +52,17 @@ Disassembly of section \.text: a8: 7c 01 17 ec dcbz r1,r2 ac: 7c 23 27 ec dcbzl r3,r4 b0: 7c 05 37 ec dcbz r5,r6 + b4: fc 0c 55 8e mtfsf 6,f10 + b8: fc 0c 5d 8f mtfsf. 6,f11 + bc: fc 0c 55 8e mtfsf 6,f10 + c0: fc 0c 5d 8f mtfsf. 6,f11 + c4: fc 0d 55 8e mtfsf 6,f10,0,1 + c8: fc 0d 5d 8f mtfsf. 6,f11,0,1 + cc: fe 0c 55 8e mtfsf 6,f10,1,0 + d0: fe 0c 5d 8f mtfsf. 6,f11,1,0 + d4: ff 00 01 0c mtfsfi 6,0 + d8: ff 00 f1 0d mtfsfi. 6,15 + dc: ff 00 01 0c mtfsfi 6,0 + e0: ff 00 f1 0d mtfsfi. 6,15 + e4: ff 01 01 0c mtfsfi 6,0,1 + e8: ff 01 f1 0d mtfsfi. 6,15,1 diff --git a/gas/testsuite/gas/ppc/power6.s b/gas/testsuite/gas/ppc/power6.s index c84488a..9b3444a 100644 --- a/gas/testsuite/gas/ppc/power6.s +++ b/gas/testsuite/gas/ppc/power6.s @@ -47,3 +47,17 @@ start: dcbz 1, 2 dcbzl 3, 4 dcbz 5, 6 + mtfsf 6,10 + mtfsf. 6,11 + mtfsf 6,10,0,0 + mtfsf. 6,11,0,0 + mtfsf 6,10,0,1 + mtfsf. 6,11,0,1 + mtfsf 6,10,1,0 + mtfsf. 6,11,1,0 + mtfsfi 6,0 + mtfsfi. 6,15 + mtfsfi 6,0,0 + mtfsfi. 6,15,0 + mtfsfi 6,0,1 + mtfsfi. 6,15,1 |