https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116615
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |internal-improvement, | |missed-optimization --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- History on LOGICAL_OP_NON_SHORT_CIRCUIT being able to defined differently from BRANCH_COST. It was originally added for powerpc (2002/2003ish) which had expensive cset at the time; and there was no possibility to use the crand/cror (etc.) instructions. Though now with ccmp is this is no longer true but powerpc has not implemented that yet. Anyways back to RISCV since defining it to 0 might seem wrong since cset (at least for integers) is cheap.