This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: integer division by multiply with invariant reciprocal


> 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;
  }
)

:-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]