.text .align 4 .globl _shift1 _shift1: movl $1000000,%eax L1: rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx rorl $8,%ecx decl %eax jne L1 ret .align 4 .globl _shift2 _shift2: movl $1000000,%eax L2: leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx leal 0(,%ecx,8),%ecx decl %eax jne L2 ret .align 4 .globl _shift3 _shift3: movl $1000000,%eax L3: xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah xchgb %al,%ah decl %eax jne L3 ret