diff options
author | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-26 20:02:47 +0000 |
---|---|---|
committer | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-26 20:02:47 +0000 |
commit | dc383ea9625ddb0b9b9e976bcdb0d1c61494bf3f (patch) | |
tree | d399b91b74bedfe5ccaf75aa004e71696d45d933 /gcc/config/rs6000 | |
parent | 103b29f7cf2ed38d5173c8ac827bfd323fc777b9 (diff) | |
download | gcc-dc383ea9625ddb0b9b9e976bcdb0d1c61494bf3f.tar.gz |
Add some insn names for (neg (abs)) code
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20745 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 327d3070832..59961282afb 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -1214,13 +1214,13 @@ (set (match_dup 0) (minus:SI (match_dup 0) (match_dup 2)))] "") -(define_insn "" +(define_insn "*nabs_power" [(set (match_operand:SI 0 "gpc_reg_operand" "=r") (neg:SI (abs:SI (match_operand:SI 1 "gpc_reg_operand" "r"))))] "TARGET_POWER" "nabs %0,%1") -(define_insn "" +(define_insn "*nabs_no_power" [(set (match_operand:SI 0 "gpc_reg_operand" "=&r,r") (neg:SI (abs:SI (match_operand:SI 1 "gpc_reg_operand" "r,0")))) (clobber (match_scratch:SI 2 "=&r,&r"))] @@ -8717,7 +8717,7 @@ ;; Simplify (ne X (const_int 0)) on the PowerPC. No need to on the Power, ;; since it nabs/sr is just as fast. -(define_insn "" +(define_insn "*ne0" [(set (match_operand:SI 0 "gpc_reg_operand" "=&r") (lshiftrt:SI (neg:SI (abs:SI (match_operand:SI 1 "gpc_reg_operand" "r"))) (const_int 31))) |