| Subject: | Re: PATCH: Add x86 integer intrinsics |
|---|---|
| From: | Paul Brook |
| Date: | Wed, 10 Jun 2009 16:43:52 +0100 |
> Well, it isn't the case. At -O2, I got
>
> #include <x86intrin.h>
>
> int
> rol(int x, int y)
> {
> return (x << y) | (x >> (32 - y));
> }
Your code is bogus. Use unsigned int.
Paul
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: PATCH: Add x86 integer intrinsics, Paolo Bonzini |
|---|---|
| Next by Date: | Re: [patch][lto merge] Remove the comdat_group langhook, Rafael Espindola |
| Previous by Thread: | Re: PATCH: Add x86 integer intrinsics, Richard Henderson |
| Next by Thread: | [PATCH] Fix trunk profiledbootstrap in fortran FE, Jakub Jelinek |
| Indexes: | [Date] [Thread] [Top] [All Lists] |