On 11/19/2015 03:28 PM, Ilya Enkovich wrote:
This is a refactoring patch discussed in another thread [1]. It gets rid of CODE_FOR_nothing usage in optabs-tree.c by introducing boolean predicated in optabs-query. Bootstrapped and regtesed on x86_64-unknown-linux-gnu.
Looks pretty reasonable, but I think we have to start saying "not now" after the end of stage 1.
+/* Return 1 id there is a valid insn code to convert fixed-point mode
"true", not "1" (elsewhere too), and "if".
+{ + return get_fix_icode (fixmode, fltmode, unsignedp, truncp_ptr) + != CODE_FOR_nothing;
Formatting. Bernd