diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2014-09-11 20:29:50 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2014-09-11 20:29:50 +0200 |
commit | e4fb6f093c1657d590e37f39f832652d133dcb3b (patch) | |
tree | 8b8f9b5d5becde252cdb39b2ab494e11f0713970 /gcc/config/rs6000/vector.md | |
parent | 450bfd7d5cd2a048edd1119bc5306b95d6386101 (diff) | |
download | gcc-e4fb6f093c1657d590e37f39f832652d133dcb3b.zip gcc-e4fb6f093c1657d590e37f39f832652d133dcb3b.tar.gz gcc-e4fb6f093c1657d590e37f39f832652d133dcb3b.tar.bz2 |
htm.md (tabort, [...]): Use xor instead of minus.
2014-09-11 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/htm.md (tabort, tabortdc, tabortdci, tabortwc,
tabortwci, tbegin, tcheck, tend, trechkpt, treclaim, tsr): Use xor
instead of minus.
* config/rs6000/vector.md (cr6_test_for_zero_reverse,
cr6_test_for_lt_reverse): Ditto.
From-SVN: r215187
Diffstat (limited to 'gcc/config/rs6000/vector.md')
-rw-r--r-- | gcc/config/rs6000/vector.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/config/rs6000/vector.md b/gcc/config/rs6000/vector.md index bfae244..237724e 100644 --- a/gcc/config/rs6000/vector.md +++ b/gcc/config/rs6000/vector.md @@ -686,7 +686,9 @@ [(set (match_operand:SI 0 "register_operand" "=r") (eq:SI (reg:CC 74) (const_int 0))) - (set (match_dup 0) (minus:SI (const_int 1) (match_dup 0)))] + (set (match_dup 0) + (xor:SI (match_dup 0) + (const_int 1)))] "TARGET_ALTIVEC || TARGET_VSX" "") @@ -701,7 +703,9 @@ [(set (match_operand:SI 0 "register_operand" "=r") (lt:SI (reg:CC 74) (const_int 0))) - (set (match_dup 0) (minus:SI (const_int 1) (match_dup 0)))] + (set (match_dup 0) + (xor:SI (match_dup 0) + (const_int 1)))] "TARGET_ALTIVEC || TARGET_VSX" "") |