aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/s390
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2015-12-02 07:53:03 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2015-12-02 07:53:03 +0000
commita4a443cee2ea9c2db55e2802d46a4d5b6cbe1784 (patch)
treee6347c3ab91a44625029eaa54e311fdcef8f7a08 /gcc/config/s390
parent6f5a59d1d1a4a602ef5fbd581be09dff976cabdf (diff)
downloadgcc-a4a443cee2ea9c2db55e2802d46a4d5b6cbe1784.zip
gcc-a4a443cee2ea9c2db55e2802d46a4d5b6cbe1784.tar.gz
gcc-a4a443cee2ea9c2db55e2802d46a4d5b6cbe1784.tar.bz2
S/390: Fix vrepi constraint letter.
gcc/ChangeLog: 2015-12-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/vector.md ("*vec_splats<mode>"): Fix constraint latter I->K. gcc/testsuite/ChangeLog: 2015-12-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * gcc.target/s390/zvector/vec-splat-1.c: New test. From-SVN: r231153
Diffstat (limited to 'gcc/config/s390')
-rw-r--r--gcc/config/s390/vector.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/s390/vector.md b/gcc/config/s390/vector.md
index 16276e0..d8b9b07 100644
--- a/gcc/config/s390/vector.md
+++ b/gcc/config/s390/vector.md
@@ -370,11 +370,11 @@
(define_insn "*vec_splats<mode>"
[(set (match_operand:V_HW 0 "register_operand" "=v,v,v,v")
- (vec_duplicate:V_HW (match_operand:<non_vec> 1 "general_operand" "QR,I,v,d")))]
+ (vec_duplicate:V_HW (match_operand:<non_vec> 1 "general_operand" "QR,K,v,d")))]
"TARGET_VX"
"@
vlrep<bhfgq>\t%v0,%1
- vrepi<bhfgq>\t%v0,%1
+ vrepi<bhfgq>\t%v0,%h1
vrep<bhfgq>\t%v0,%v1,0
#"
[(set_attr "op_type" "VRX,VRI,VRI,*")])