aboutsummaryrefslogtreecommitdiffstats
path: root/mpi/i386/mpih-lshift.S
diff options
context:
space:
mode:
Diffstat (limited to 'mpi/i386/mpih-lshift.S')
-rw-r--r--mpi/i386/mpih-lshift.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/mpi/i386/mpih-lshift.S b/mpi/i386/mpih-lshift.S
index 5e6387a4f..a7dad2c96 100644
--- a/mpi/i386/mpih-lshift.S
+++ b/mpi/i386/mpih-lshift.S
@@ -57,21 +57,21 @@ C_SYMBOL_NAME(mpihelp_lshift:)
movl (%esi,%edx,4),%ebx /* read most significant limb */
xorl %eax,%eax
- shldl %cl,%ebx,%eax /* compute carry limb */
+ shldl %ebx,%eax /* compute carry limb */
decl %edx
jz Lend
pushl %eax /* push carry limb onto stack */
- testb $1,%edx
+ testb $1,%dl
jnz L1 /* enter loop in the middle */
movl %ebx,%eax
ALIGN (3)
Loop: movl (%esi,%edx,4),%ebx /* load next lower limb */
- shldl %cl,%ebx,%eax /* compute result limb */
+ shldl %ebx,%eax /* compute result limb */
movl %eax,(%edi,%edx,4) /* store it */
decl %edx
L1: movl (%esi,%edx,4),%eax
- shldl %cl,%eax,%ebx
+ shldl %eax,%ebx
movl %ebx,(%edi,%edx,4)
decl %edx
jnz Loop