From: Matthias Braun Date: Fri, 7 Mar 2008 10:07:56 +0000 (+0000) Subject: enable more long long tests X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=8dbc7d7876f1686352414837f1a7482c049deb8b;p=libfirm enable more long long tests [r17988] --- diff --git a/ir/be/test/ll.c b/ir/be/test/ll.c index ddc330a29..295c479b5 100644 --- a/ir/be/test/ll.c +++ b/ir/be/test/ll.c @@ -67,7 +67,6 @@ ll_t abs_ll(ll_t a) { return a < 0 ? -a : a; } -#if 0 double conv_ll_d(ll_t a) { return (double)a; } @@ -75,7 +74,6 @@ double conv_ll_d(ll_t a) { ll_t conv_d_ll(double a) { return (ll_t)a; } -#endif /* unsigned */ @@ -147,10 +145,8 @@ int main(void) { printf("%lld >> %d = %lld\n", c, 33, shr_ll(c, 33)); printf("abs(%lld) = %lld\n", c, abs_ll(c)); printf("neg(%lld) = %lld\n", b, neg_ll(b)); -#if 0 printf("conv(%lld) = %lf\n", c, conv_ll_d(c)); printf("conv(%lf) = %lld\n", d, conv_d_ll(d)); -#endif printf("%llu * %llu = %llu\n", ua, ub, mul_ull(ua, ub)); printf("%llu + %llu = %llu\n", ua, ub, add_ull(ua, ub));