diff options
| author | Richard Biener <rguenther@suse.de> | 2025-12-08 10:14:19 +0100 |
|---|---|---|
| committer | Richard Biener <rguenther@suse.de> | 2025-12-09 08:53:16 +0100 |
| commit | e3a60357520bc3d14a098ca748c49c44f97b03f5 (patch) | |
| tree | ad8ff71ba1b1072615298ff937dbbb0837bd0d0b /libjava/classpath/java/sql | |
| parent | cf22e30f0cfae65dd012966cab657583e2be667e (diff) | |
| download | gcc-e3a60357520bc3d14a098ca748c49c44f97b03f5.zip gcc-e3a60357520bc3d14a098ca748c49c44f97b03f5.tar.gz gcc-e3a60357520bc3d14a098ca748c49c44f97b03f5.tar.bz2 | |
target/123027 - handle min/max expansion when -ffinite-math-only
When we get a <= b ? b : a into ix86_expand_sse_fp_minmax we can
swap and invert this with -ffinite-math-only to get a < b ? a : b.
PR target/123027
* config/i386/i386-expand.cc (ix86_expand_sse_fp_minmax):
With !HONOR_NANS we can handle LE by swapping and inverting.
* gcc.target/i386/pr123027.c: New testcase.
* gcc.dg/torture/pr123027.c: Likewise.
Diffstat (limited to 'libjava/classpath/java/sql')
0 files changed, 0 insertions, 0 deletions
