by userbinator · 12y ago · 0 comments
x && y || !x && z
In this absence of side-effects, this basically implements a 2-input multiplexer and is identical to x ? y : z
In the 54-line condition the first obvious thing I'd factor out is SUBREG_REG(in) and GET_MODE(SUBREG_REG(in)), and then work out what else is duplicated from there. Here's my attempt at making this a little more readable. It's only 2 lines less, but this gets rid of all the repeated uppercase:The same goes for "GET_MODE_PRECISION(msrirp)" which was replaced with "msrirp."