diff options
author | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2009-10-09 15:18:48 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2009-10-09 15:18:48 +0000 |
commit | 22d72dbce467332ed31367c512fb34bcc82758f6 (patch) | |
tree | f8b9585066b09e50567118ffd3513ff5d7105add /gcc/config/s390 | |
parent | 6aa7cd49e8a03386ab71b07ef4761cbc44e913fd (diff) | |
download | gcc-22d72dbce467332ed31367c512fb34bcc82758f6.zip gcc-22d72dbce467332ed31367c512fb34bcc82758f6.tar.gz gcc-22d72dbce467332ed31367c512fb34bcc82758f6.tar.bz2 |
s390.md ("prefetch"): Remove stcmh for prefetching.
2009-10-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.md ("prefetch"): Remove stcmh for prefetching.
From-SVN: r152590
Diffstat (limited to 'gcc/config/s390')
-rw-r--r-- | gcc/config/s390/s390.md | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index db326ee..90ed18b 100644 --- a/gcc/config/s390/s390.md +++ b/gcc/config/s390/s390.md @@ -8941,18 +8941,16 @@ ; (define_insn "prefetch" - [(prefetch (match_operand 0 "address_operand" "ZQZS,ZRZT,X") - (match_operand:SI 1 "const_int_operand" " n, n,n") - (match_operand:SI 2 "const_int_operand" " n, n,n"))] - "TARGET_ZARCH && s390_tune == PROCESSOR_2097_Z10" + [(prefetch (match_operand 0 "address_operand" "ZQZRZSZT,X") + (match_operand:SI 1 "const_int_operand" " n,n") + (match_operand:SI 2 "const_int_operand" " n,n"))] + "TARGET_Z10" { switch (which_alternative) { case 0: - return INTVAL (operands[1]) == 1 ? "stcmh\t2,0,%a0" : "stcmh\t1,0,%a0"; - case 1: return INTVAL (operands[1]) == 1 ? "pfd\t2,%a0" : "pfd\t1,%a0"; - case 2: + case 1: if (larl_operand (operands[0], Pmode)) return INTVAL (operands[1]) == 1 ? "pfdrl\t2,%a0" : "pfdrl\t1,%a0"; default: @@ -8963,10 +8961,9 @@ return ""; } } - [(set_attr "type" "store,load,larl") - (set_attr "op_type" "RSY,RXY,RIL") - (set_attr "z10prop" "z10_super") - (set_attr "cpu_facility" "*,z10,z10")]) + [(set_attr "type" "load,larl") + (set_attr "op_type" "RXY,RIL") + (set_attr "z10prop" "z10_super")]) ; |