[gas/]
2013-10-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/tc-arm.c (do_t_mvn_tst): Use narrow form for tst when possible. [gas/testsuite/] 2013-10-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gas/arm/thumb2_it.s: Add test for narrow tst. * gas/arm/thumb2_it.d: Update expected output. * gas/arm/thumb2_it_auto.d: Likewise.
This commit is contained in:
parent
9a2c3737b0
commit
fe8b4cc358
6 changed files with 19 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-10-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||
|
||||
* config/tc-arm.c (do_t_mvn_tst): Use narrow form for tst when
|
||||
possible.
|
||||
|
||||
2013-09-30 Saravanan Ekanathan <saravanan.ekanathan@amd.com>
|
||||
|
||||
* config/tc-i386.c (cpu_arch): Add CPU_BDVER4_FLAGS.
|
||||
|
|
|
@ -11267,7 +11267,8 @@ do_t_mvn_tst (void)
|
|||
|| inst.operands[1].shifted
|
||||
|| Rn > 7 || Rm > 7)
|
||||
narrow = FALSE;
|
||||
else if (inst.instruction == T_MNEM_cmn)
|
||||
else if (inst.instruction == T_MNEM_cmn
|
||||
|| inst.instruction == T_MNEM_tst)
|
||||
narrow = TRUE;
|
||||
else if (THUMB_SETS_FLAGS (inst.instruction))
|
||||
narrow = !in_it_block ();
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
2013-10-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||
|
||||
* gas/arm/thumb2_it.s: Add test for narrow tst.
|
||||
* gas/arm/thumb2_it.d: Update expected output.
|
||||
* gas/arm/thumb2_it_auto.d: Likewise.
|
||||
|
||||
2013-09-30 Saravanan Ekanathan <saravanan.ekanathan@amd.com>
|
||||
|
||||
* gas/i386/i386.exp: Run bdver4 test cases.
|
||||
|
|
|
@ -60,3 +60,5 @@ Disassembly of section .text:
|
|||
0+08a <[^>]+> f1d1 0000 rsbseq r0, r1, #0
|
||||
0+08e <[^>]+> f1c1 0000 rsb r0, r1, #0
|
||||
0+092 <[^>]+> 4248 negs r0, r1
|
||||
0+094 <[^>]+> bfc8 it gt
|
||||
0+096 <[^>]+> 4220 tstgt r0, r4
|
||||
|
|
|
@ -62,3 +62,5 @@ foo:
|
|||
neg r0, r1
|
||||
negs r0, r1
|
||||
|
||||
it gt
|
||||
tstgt.n r0, r4
|
||||
|
|
|
@ -60,3 +60,5 @@ Disassembly of section .text:
|
|||
0+08a <[^>]+> f1d1 0000 rsbseq r0, r1, #0
|
||||
0+08e <[^>]+> f1c1 0000 rsb r0, r1, #0
|
||||
0+092 <[^>]+> 4248 negs r0, r1
|
||||
0+094 <[^>]+> bfc8 it gt
|
||||
0+096 <[^>]+> 4220 tstgt r0, r4
|
||||
|
|
Loading…
Reference in a new issue