> gcc/ > * jump.c (FLAGS_EQ, FLAGS_LT, FLAGS_GT, FLAGS_UNORDERED, FLAGS_ORDER) > (FLAGS_SIGNED, FLAGS_UNSIGNED, FLAGS_SIGN_AGNOSTIC, FLAGS_SIGNEDNESS) > (FLAGS_TRAP_QNANS, FLAGS_TRAP_SNANS, FLAGS_TRAP_NANS, FLAGS_TRAP_NONE) > (FLAGS_TRAPS): New constants. > (condition_to_flags, flags_to_condition): New functions. > (swap_condition, unsigned_condition, signed_condition) > (comparison_dominates_p): Use them.
What's the run time cost of this? In particular, do the first 3 rewritten functions still have a trivial path for EQ/NE/...? -- Eric Botcazou