On 5/25/21 8:06 AM, Richard Henderson wrote:
+which = parts_minmax(&pa, &pb, s, flags, &float32_params);
+if (unlikely(which < 0)) {
+/* Some sort of nan, need to repack default and silenced nans. */
+return float32_round_pack_canonical(&pa, s);
+}
+return which ?
On 6/2/21 1:36 PM, Alex Bennée wrote:
Richard Henderson writes:
Rename to parts$N_minmax. Combine 3 bool arguments to a bitmask,
return a tri-state value to indicate nan vs unchanged operand.
Introduce ftype_minmax functions as a common optimization point.
Fold bfloat16 expansions into the s
Richard Henderson writes:
> Rename to parts$N_minmax. Combine 3 bool arguments to a bitmask,
> return a tri-state value to indicate nan vs unchanged operand.
> Introduce ftype_minmax functions as a common optimization point.
> Fold bfloat16 expansions into the same macro as the other types.
>
On 25.05.21 17:06, Richard Henderson wrote:
Rename to parts$N_minmax. Combine 3 bool arguments to a bitmask,
return a tri-state value to indicate nan vs unchanged operand.
Introduce ftype_minmax functions as a common optimization point.
Fold bfloat16 expansions into the same macro as the other t
Rename to parts$N_minmax. Combine 3 bool arguments to a bitmask,
return a tri-state value to indicate nan vs unchanged operand.
Introduce ftype_minmax functions as a common optimization point.
Fold bfloat16 expansions into the same macro as the other types.
Signed-off-by: Richard Henderson
---