diff options
author | Richard Henderson <rth@redhat.com> | 2001-01-16 17:32:26 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2001-01-16 17:32:26 +0000 |
commit | c87e1c92fd29e5bc822caa10f4550c96092e87c5 (patch) | |
tree | 6460f7c1a0836e1deab86d051253d6ad9d90c02c /gcc/config/i386/i386.md | |
parent | d229e66ca35c45d6f31b45d8007e8f9daa4d5429 (diff) |
* config/i386/i386.h: Fix comment typo.
* config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
(ashr+compare patterns): Match CCGOCmode not CCNOmode.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@39070 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/i386.md')
-rw-r--r-- | gcc/config/i386/i386.md | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 5e53f14895c..1e50a6b9821 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -7715,7 +7715,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*ashlsi3_cmpno" +(define_insn "*ashlsi3_cmp" [(set (reg 17) (compare (ashift:SI (match_operand:SI 1 "nonimmediate_operand" "0") @@ -7844,7 +7844,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*ashlhi3_cmpno" +(define_insn "*ashlhi3_cmp" [(set (reg 17) (compare (ashift:HI (match_operand:HI 1 "nonimmediate_operand" "0") @@ -8011,7 +8011,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*ashlqi3_cmpno" +(define_insn "*ashlqi3_cmp" [(set (reg 17) (compare (ashift:QI (match_operand:QI 1 "nonimmediate_operand" "0") @@ -8205,7 +8205,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*ashrsi3_one_bit_cmpno" +(define_insn "*ashrsi3_one_bit_cmp" [(set (reg 17) (compare (ashiftrt:SI (match_operand:SI 1 "nonimmediate_operand" "0") @@ -8213,7 +8213,7 @@ (const_int 0))) (set (match_operand:SI 0 "nonimmediate_operand" "=rm") (ashiftrt:SI (match_dup 1) (match_dup 2)))] - "ix86_match_ccmode (insn, CCNOmode) + "ix86_match_ccmode (insn, CCGOCmode) && (TARGET_PENTIUM || TARGET_PENTIUMPRO) && ix86_binary_operator_ok (ASHIFTRT, SImode, operands)" "sar{l}\\t%0" @@ -8226,7 +8226,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*ashrsi3_cmpno" +(define_insn "*ashrsi3_cmp" [(set (reg 17) (compare (ashiftrt:SI (match_operand:SI 1 "nonimmediate_operand" "0") @@ -8234,7 +8234,7 @@ (const_int 0))) (set (match_operand:SI 0 "nonimmediate_operand" "=rm") (ashiftrt:SI (match_dup 1) (match_dup 2)))] - "ix86_match_ccmode (insn, CCNOmode) + "ix86_match_ccmode (insn, CCGOCmode) && ix86_binary_operator_ok (ASHIFTRT, SImode, operands)" "sar{l}\\t{%2, %0|%0, %2}" [(set_attr "type" "ishift") @@ -8277,7 +8277,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*ashrhi3_one_bit_cmpno" +(define_insn "*ashrhi3_one_bit_cmp" [(set (reg 17) (compare (ashiftrt:HI (match_operand:HI 1 "nonimmediate_operand" "0") @@ -8285,7 +8285,7 @@ (const_int 0))) (set (match_operand:HI 0 "nonimmediate_operand" "=rm") (ashiftrt:HI (match_dup 1) (match_dup 2)))] - "ix86_match_ccmode (insn, CCNOmode) + "ix86_match_ccmode (insn, CCGOCmode) && (TARGET_PENTIUM || TARGET_PENTIUMPRO) && ix86_binary_operator_ok (ASHIFTRT, HImode, operands)" "sar{w}\\t%0" @@ -8298,7 +8298,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*ashrhi3_cmpno" +(define_insn "*ashrhi3_cmp" [(set (reg 17) (compare (ashiftrt:HI (match_operand:HI 1 "nonimmediate_operand" "0") @@ -8306,7 +8306,7 @@ (const_int 0))) (set (match_operand:HI 0 "nonimmediate_operand" "=rm") (ashiftrt:HI (match_dup 1) (match_dup 2)))] - "ix86_match_ccmode (insn, CCNOmode) + "ix86_match_ccmode (insn, CCGOCmode) && ix86_binary_operator_ok (ASHIFTRT, HImode, operands)" "sar{w}\\t{%2, %0|%0, %2}" [(set_attr "type" "ishift") @@ -8349,7 +8349,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*ashrqi3_cmpno_one_bit" +(define_insn "*ashrqi3_one_bit_cmp" [(set (reg 17) (compare (ashiftrt:QI (match_operand:QI 1 "nonimmediate_operand" "0") @@ -8357,7 +8357,7 @@ (const_int 0))) (set (match_operand:QI 0 "nonimmediate_operand" "=rm") (ashiftrt:QI (match_dup 1) (match_dup 2)))] - "ix86_match_ccmode (insn, CCNOmode) + "ix86_match_ccmode (insn, CCGOCmode) && (TARGET_PENTIUM || TARGET_PENTIUMPRO) && ix86_binary_operator_ok (ASHIFTRT, QImode, operands)" "sar{b}\\t%0" @@ -8370,7 +8370,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*ashrqi3_cmpno" +(define_insn "*ashrqi3_cmp" [(set (reg 17) (compare (ashiftrt:QI (match_operand:QI 1 "nonimmediate_operand" "0") @@ -8378,7 +8378,7 @@ (const_int 0))) (set (match_operand:QI 0 "nonimmediate_operand" "=rm") (ashiftrt:QI (match_dup 1) (match_dup 2)))] - "ix86_match_ccmode (insn, CCNOmode) + "ix86_match_ccmode (insn, CCGOCmode) && ix86_binary_operator_ok (ASHIFTRT, QImode, operands)" "sar{b}\\t{%2, %0|%0, %2}" [(set_attr "type" "ishift") @@ -8478,7 +8478,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*lshrsi3_cmpno_one_bit" +(define_insn "*lshrsi3_one_bit_cmp" [(set (reg 17) (compare (lshiftrt:SI (match_operand:SI 1 "nonimmediate_operand" "0") @@ -8499,7 +8499,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*lshrsi3_cmpno" +(define_insn "*lshrsi3_cmp" [(set (reg 17) (compare (lshiftrt:SI (match_operand:SI 1 "nonimmediate_operand" "0") @@ -8550,7 +8550,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*lshrhi3_cmpno_one_bit" +(define_insn "*lshrhi3_one_bit_cmp" [(set (reg 17) (compare (lshiftrt:HI (match_operand:HI 1 "nonimmediate_operand" "0") @@ -8571,7 +8571,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*lshrhi3_cmpno" +(define_insn "*lshrhi3_cmp" [(set (reg 17) (compare (lshiftrt:HI (match_operand:HI 1 "nonimmediate_operand" "0") @@ -8622,7 +8622,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*lshrqi2_cmpno_one_bit" +(define_insn "*lshrqi2_one_bit_cmp" [(set (reg 17) (compare (lshiftrt:QI (match_operand:QI 1 "nonimmediate_operand" "0") @@ -8643,7 +8643,7 @@ ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away. -(define_insn "*lshrqi2_cmpno" +(define_insn "*lshrqi2_cmp" [(set (reg 17) (compare (lshiftrt:QI (match_operand:QI 1 "nonimmediate_operand" "0") |