https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105034
--- Comment #5 from Roger Sayle <roger at nextmovesoftware dot com> --- The latest CSiBE results on x86_64-pc-linux-gnu: With -Os the total size is 3696263, and with -Os -mno-stv the total size is 3966887, i.e. 624 bytes larger. The worst regression from -mno-stv is teem-1.6.0-src/src/nrrd/parseNrrd which 402 bytes larger, and the best improvement from -mno-stv is linux-2.4.23-pre3-testplatform/net/ipv4/route which is 134 bytes smaller. So I think this is a fine tuning problem. cmp/cmov is much shorter than a pmax or a pmin, so SImode MAX/MIN should have negative gain with -Os. Likewise for const0_rtx.