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:
Michael Meissner 2025-10-17 02:07:45 -04:00
parent d23196f0d3
commit 1303873a51
2 changed files with 3 additions and 3 deletions

View File

@ -255,8 +255,8 @@ fp16_vectorization (enum rtx_code icode,
else if (result_mode == V8BFmode)
{
emit_insn (gen_vec_unpacks_hi_v8hf (op_hi[i], op_orig[i]));
emit_insn (gen_vec_unpacks_lo_v8hf (op_lo[i], op_orig[i]));
emit_insn (gen_vec_unpacks_hi_v8bf (op_hi[i], op_orig[i]));
emit_insn (gen_vec_unpacks_lo_v8bf (op_lo[i], op_orig[i]));
}
else

View File

@ -1030,7 +1030,7 @@
DONE;
})
;; Used for vector conversion from __bfloat16
;; Used for vector conversion from _Float16
(define_insn "xvcvhpsp_v8hf"
[(set (match_operand:V4SF 0 "vsx_register_operand" "=wa")
(unspec:V4SF [(match_operand:V8HF 1 "vsx_register_operand" "wa")]