diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2021-06-02 21:15:17 -0500 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2021-06-02 21:15:17 -0500 |
commit | bff9a7ec6e3b8bf9d9635445c94e6c166e6f43e1 (patch) | |
tree | 0dc01f30ca90b435534339783404b4c1082c0d43 | |
parent | 9663c744e2d0942f14eafa725a1bd9f766f02a16 (diff) | |
download | gcc-bff9a7ec6e3b8bf9d9635445c94e6c166e6f43e1.zip gcc-bff9a7ec6e3b8bf9d9635445c94e6c166e6f43e1.tar.gz gcc-bff9a7ec6e3b8bf9d9635445c94e6c166e6f43e1.tar.bz2 |
arc: Remove define_insn_and_split *bbit_di
define_insn_and_split *bbit_di has unexpected empty split
condition when its insn condition isn't empty. But as
Claudiu pointed out, this pattern looks useless and it's
better to remove it.
gcc/ChangeLog:
* config/arc/arc.md (*bbit_di): Remove.
-rw-r--r-- | gcc/config/arc/arc.md | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md index b6f2d8e..a67bb58 100644 --- a/gcc/config/arc/arc.md +++ b/gcc/config/arc/arc.md @@ -5016,34 +5016,6 @@ core_3, archs4x, archs4xd, archs4xd_slow" (if_then_else (match_test "get_attr_length (insn) == 6") (const_string "true") (const_string "false")))]) -; ??? When testing a bit from a DImode register, combine creates a -; zero_extract in DImode. This goes via an AND with a DImode constant, -; so can only be observed on 64 bit hosts. -(define_insn_and_split "*bbit_di" - [(set (pc) - (if_then_else - (match_operator 3 "equality_comparison_operator" - [(zero_extract:DI (match_operand:SI 1 "register_operand" "Rcqq,c") - (const_int 1) - (match_operand 2 "immediate_operand" "L,L")) - (const_int 0)]) - (label_ref (match_operand 0 "" "")) - (pc))) - (clobber (reg:CC_ZN CC_REG))] - "!CROSSING_JUMP_P (insn)" - "#" - "" - [(parallel - [(set (pc) (if_then_else (match_dup 3) (label_ref (match_dup 0)) (pc))) - (clobber (reg:CC_ZN CC_REG))])] -{ - rtx xtr; - - xtr = gen_rtx_ZERO_EXTRACT (SImode, operands[1], const1_rtx, operands[2]); - operands[3] = gen_rtx_fmt_ee (GET_CODE (operands[3]), GET_MODE (operands[3]), - xtr, const0_rtx); -}) - ;; ------------------------------------------------------------------- ;; Hardware loop ;; ------------------------------------------------------------------- |