This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: integer division by multiply with invariant reciprocal
- From: "Charles J. Tabony" <TabonyEE at austin dot rr dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Joern Rennecke <amylaar at spamcop dot net>
- Date: Sun, 25 Mar 2007 21:22:36 -0500
- Subject: Re: RFC: integer division by multiply with invariant reciprocal
- Reply-to: "Charles J. Tabony" <TabonyEE at austin dot rr dot com>
> 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;
}
)
:-)