From 9b340934694e541e99701346263cb0f6c53b4438 Mon Sep 17 00:00:00 2001 From: Kirill Yukhin Date: Tue, 8 Dec 2015 14:09:45 +0000 Subject: [PATCH] AVX-512. Fix assembler section for broadcast pattern. gcc/ * config/i386/sse.md (define_insn "_vec_dup_1"): Fix assembler to make source always 128bit. From-SVN: r231410 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/sse.md | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 093d9a252f4..d45a2a70f32 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-12-08 Kirill Yukhin + + * config/i386/sse.md (define_insn "_vec_dup_1"): Fix + assembler to make source always 128bit. + 2015-12-08 Jakub Jelinek PR c/48088 diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index eb49c419b9e..6740edf7a9f 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -17223,8 +17223,9 @@ (match_operand:VI_AVX512BW 1 "nonimmediate_operand" "v,m") (parallel [(const_int 0)]))))] "TARGET_AVX512F" - "vpbroadcast\t{%1, %0|%0, %1} - vpbroadcast\t{%x1, %0|%0, %x1}" + "@ + vpbroadcast\t{%x1, %0|%0, %x1} + vpbroadcast\t{%x1, %0|%0, %1}" [(set_attr "type" "ssemov") (set_attr "prefix" "evex") (set_attr "mode" "")]) -- 2.30.2