diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-17 03:30:19 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-17 03:30:19 +0000 |
commit | 467cdcb939ee7510714d420bec09ec7d9efa383d (patch) | |
tree | eabca0720f4114a6cb3eba860ea0099428e6a274 /gcc/config/m32r/m32r.md | |
parent | 2d1a28406105ff718c0cf4394140f5eacfad700e (diff) | |
download | gcc-467cdcb939ee7510714d420bec09ec7d9efa383d.tar.gz |
PR target/11012
* config/m32r/m32r.c (gen_compare): Call gen_addsi3 instead of
gen_cmp_ne_small_const_insn.
* config/m32r/m32r.md (cmp_ne_small_const_insn): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74726 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32r/m32r.md')
-rw-r--r-- | gcc/config/m32r/m32r.md | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/config/m32r/m32r.md b/gcc/config/m32r/m32r.md index 1c76aa3665f..709c194fb46 100644 --- a/gcc/config/m32r/m32r.md +++ b/gcc/config/m32r/m32r.md @@ -1241,23 +1241,6 @@ cmpui %0,%#%1" [(set_attr "type" "int2,int4") (set_attr "length" "2,4")]) - - -;; reg == small constant comparisons are best handled by putting the result -;; of the comparison in a tmp reg and then using beqz/bnez. -;; ??? The result register doesn't contain 0/STORE_FLAG_VALUE, -;; it contains 0/nonzero. - -(define_insn "cmp_ne_small_const_insn" - [(set (match_operand:SI 0 "register_operand" "=r,r") - (ne:SI (match_operand:SI 1 "register_operand" "0,r") - (match_operand:SI 2 "cmp_int16_operand" "N,P")))] - "" - "@ - addi %0,%#%N2 - add3 %0,%1,%#%N2" - [(set_attr "type" "int2,int4") - (set_attr "length" "2,4")]) ;; These control RTL generation for conditional jump insns. |