From: Kyrylo Tkachov Date: Mon, 1 Feb 2021 23:03:49 +0000 (+0000) Subject: aarch64: Update flags for bfloat16 builtins X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13d8be91218950707bf38bdb1c554cf1605e4501;p=gcc.git aarch64: Update flags for bfloat16 builtins This patch updates the flags for the bfloat16 builtins. The bfdot ones aren't affected by the FPCR/FPSR so can be AUTO_FP whereas the bfmlal ones follow the normal floating-point instructions and get FP. gcc/ChangeLog: * config/aarch64/aarch64-simd-builtins.def (bfdot_lane, bfdot_laneq): Use AUTO_FP flags. (bfmlalb_lane, bfmlalt_lane, bfmlalb_lane_q, bfmlalt_lane_q): Use FP flags. --- diff --git a/gcc/config/aarch64/aarch64-simd-builtins.def b/gcc/config/aarch64/aarch64-simd-builtins.def index d711e5c8b9a..92dc27ec04b 100644 --- a/gcc/config/aarch64/aarch64-simd-builtins.def +++ b/gcc/config/aarch64/aarch64-simd-builtins.def @@ -816,8 +816,8 @@ /* Implemented by aarch64_bfdot{_lane}{q}. */ VAR2 (TERNOP, bfdot, 0, AUTO_FP, v2sf, v4sf) - VAR2 (QUADOP_LANE_PAIR, bfdot_lane, 0, ALL, v2sf, v4sf) - VAR2 (QUADOP_LANE_PAIR, bfdot_laneq, 0, ALL, v2sf, v4sf) + VAR2 (QUADOP_LANE_PAIR, bfdot_lane, 0, AUTO_FP, v2sf, v4sf) + VAR2 (QUADOP_LANE_PAIR, bfdot_laneq, 0, AUTO_FP, v2sf, v4sf) /* Implemented by aarch64_bfmmlaqv4sf */ VAR1 (TERNOP, bfmmlaq, 0, AUTO_FP, v4sf) @@ -825,10 +825,10 @@ /* Implemented by aarch64_bfmlal{_lane{q}}v4sf */ VAR1 (TERNOP, bfmlalb, 0, FP, v4sf) VAR1 (TERNOP, bfmlalt, 0, FP, v4sf) - VAR1 (QUADOP_LANE, bfmlalb_lane, 0, ALL, v4sf) - VAR1 (QUADOP_LANE, bfmlalt_lane, 0, ALL, v4sf) - VAR1 (QUADOP_LANE, bfmlalb_lane_q, 0, ALL, v4sf) - VAR1 (QUADOP_LANE, bfmlalt_lane_q, 0, ALL, v4sf) + VAR1 (QUADOP_LANE, bfmlalb_lane, 0, FP, v4sf) + VAR1 (QUADOP_LANE, bfmlalt_lane, 0, FP, v4sf) + VAR1 (QUADOP_LANE, bfmlalb_lane_q, 0, FP, v4sf) + VAR1 (QUADOP_LANE, bfmlalt_lane_q, 0, FP, v4sf) /* Implemented by aarch64_vget_lo/hi_halfv8bf. */ VAR1 (UNOP, vget_lo_half, 0, AUTO_FP, v8bf)