s390x: Support scalar min/max clif instructions (#5762)

We don't have ISA instructions for that, so simply expand them
to icmp + select.

Also enable fuzzing for those clif instructions now.
This commit is contained in:
Ulrich Weigand
2023-02-15 12:45:09 +01:00
committed by GitHub
parent 255fd6be0a
commit e10094dcd6
3 changed files with 273 additions and 6 deletions

View File

@@ -509,10 +509,6 @@ fn valid_for_target(triple: &Triple, op: Opcode, args: &[Type], rets: &[Type]) -
(Opcode::Sdiv, &[I128, I128]),
(Opcode::Urem, &[I128, I128]),
(Opcode::Srem, &[I128, I128]),
(Opcode::Smin),
(Opcode::Smax),
(Opcode::Umin),
(Opcode::Umax),
(Opcode::Band, &[F32, F32]),
(Opcode::Band, &[F64, F64]),
(Opcode::Bor, &[F32, F32]),