mirror of git://gcc.gnu.org/git/gcc.git
Fix typo in vectorizing __bfloat16.
2025-10-17 Michael Meissner <meissner@linux.ibm.com> gcc/ * config/rs6000/float16.cc (fp16_vectorization): Fix typo in vectorizing __bfloat16. * config/rs6000/float16.md (xvcvhpsp_v8hf): Fix comment.
This commit is contained in:
parent
d23196f0d3
commit
1303873a51
|
@ -255,8 +255,8 @@ fp16_vectorization (enum rtx_code icode,
|
||||||
|
|
||||||
else if (result_mode == V8BFmode)
|
else if (result_mode == V8BFmode)
|
||||||
{
|
{
|
||||||
emit_insn (gen_vec_unpacks_hi_v8hf (op_hi[i], op_orig[i]));
|
emit_insn (gen_vec_unpacks_hi_v8bf (op_hi[i], op_orig[i]));
|
||||||
emit_insn (gen_vec_unpacks_lo_v8hf (op_lo[i], op_orig[i]));
|
emit_insn (gen_vec_unpacks_lo_v8bf (op_lo[i], op_orig[i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
|
@ -1030,7 +1030,7 @@
|
||||||
DONE;
|
DONE;
|
||||||
})
|
})
|
||||||
|
|
||||||
;; Used for vector conversion from __bfloat16
|
;; Used for vector conversion from _Float16
|
||||||
(define_insn "xvcvhpsp_v8hf"
|
(define_insn "xvcvhpsp_v8hf"
|
||||||
[(set (match_operand:V4SF 0 "vsx_register_operand" "=wa")
|
[(set (match_operand:V4SF 0 "vsx_register_operand" "=wa")
|
||||||
(unspec:V4SF [(match_operand:V8HF 1 "vsx_register_operand" "wa")]
|
(unspec:V4SF [(match_operand:V8HF 1 "vsx_register_operand" "wa")]
|
||||||
|
|
Loading…
Reference in New Issue