RFC: integer division by multiply with invariant reciprocal

Charles J. Tabony TabonyEE@austin.rr.com
Mon Mar 26 03:44:00 GMT 2007


> So I think that the easiest way to integrate this with the rest of the
> compiler is to have a target hook that emits trees to compute SHIFT, INV1
> and INV2.

(define_tree_expand "name"
  <template>
  "condition"
  {
    preparation statements;
  }
)

:-)



More information about the Gcc mailing list