This is the mail archive of the
mailing list for the GCC project.
Re: Data dependence merge
On Mon, Oct 11, 2004 at 02:01:45PM -0400, Daniel Berlin wrote:
> For the moment, i'm just going to add some testcases that we expect to
> be interchanged, and verify that we interchange them.
> Runtime tests that the transformation was performed correctly are going
> to take more time.
> It's on my list for today.
> >+#define FLOOR(x,y) (CEIL (x, y) - ((int_divides_p (y, x)) ? 0 : 1))
> FLOOR_DIV(X, Y) is simply ((X) / (Y)) in C
> Or, if you really want to not deal with truncation, (x - (x % y)) / y
> Unless you have to handle negative numbers, in which case i guess the
> above is better ;)
Correct my definition as you think is better. Thanks.