summaryrefslogtreecommitdiff
path: root/gcc/config/s390
diff options
context:
space:
mode:
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-02 07:53:03 +0000
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-02 07:53:03 +0000
commit724bafd17bb17763a946a84c50cbeb9f03331a89 (patch)
treee6347c3ab91a44625029eaa54e311fdcef8f7a08 /gcc/config/s390
parentd46ab84caa512d35ad644e8b26158ae1e86bc624 (diff)
downloadgcc-724bafd17bb17763a946a84c50cbeb9f03331a89.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231153 138bc75d-0d04-0410-961f-82ee72b054a4
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 16276e0de36..d8b9b07a24a 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,*")])