This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR 18503, "sse2_movhpd" issues



>(define_insn "sse2_movhpd" > [(set (match_operand:DF "nonimmediate_operand" "=x,m") > (vec_select:DF > (match_operand:V2DF 1 "nonimmediate_operand" "m,x") > (parallel [(const_int 1)])))] > "TARGET_SSE2 && (GET_CODE (operands[1]) == MEM" > "movhpd\t{%1, %0|%0, %1}" > [(set_attr "type" "ssecvt") > (set_attr "mode" "V2DF")])

problems is that sse2_movhpd produces a V2DF, where the low part is the __same__ and the hi part is loaded from the argument. your code evaluates to a DF !!!
regards



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]