Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: inline-asm
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: n dot pipenbrinck at cubic dot org
GCC host triplet: x86
GCC target triplet: x86
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37621
--- Comment #3 from n dot pipenbrinck at cubic dot org 2008-09-24 22:41
---
ROL/ROR on the native integer size is not supported via intrinsics, but the
compiler will fold two shifts into a rotate.
If I want to manipulate only the lower 16 bit of an 32 bit integer (e.g. issue
a rolw
Consider this simple loop:
int shift_integer (int value, unsigned int amount)
{
unsigned int i;
for (i=0; ihttp://gcc.gnu.org/bugzilla/show_bug.cgi?id=36020
--- Comment #2 from n dot pipenbrinck at cubic dot org 2008-04-22 23:10
---
(In reply to comment #1)
> this is not strength reduction but the reverse operation, final value
> calculation.
Ooops. Sorry for that. Should I rename the entry or can we just live with it?
--