Browse Source

Allow negative INCX (API change from version 3.10 of the reference implementation)

tags/v0.3.24
Martin Kroeker GitHub 2 years ago
parent
commit
07e32c4cb8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      kernel/x86/nrm2.S
  2. +1
    -1
      kernel/x86/nrm2_sse.S
  3. +1
    -1
      kernel/x86/znrm2.S
  4. +1
    -1
      kernel/x86/znrm2_sse.S

+ 1
- 1
kernel/x86/nrm2.S View File

@@ -78,7 +78,7 @@
testl M, M
jle .L999
testl INCX, INCX
jle .L999
je .L999

sall $BASE_SHIFT, INCX
fldz


+ 1
- 1
kernel/x86/nrm2_sse.S View File

@@ -69,7 +69,7 @@
jle .L999
pxor %xmm1, %xmm1
testl INCX, INCX
jle .L999
je .L999

leal (, INCX, SIZE), INCX
cmpl $SIZE, INCX


+ 1
- 1
kernel/x86/znrm2.S View File

@@ -78,7 +78,7 @@
testl M, M
jle .L999
testl INCX, INCX
jle .L999
je .L999

sall $ZBASE_SHIFT, INCX
fldz


+ 1
- 1
kernel/x86/znrm2_sse.S View File

@@ -69,7 +69,7 @@
jle .L999
pxor %xmm1, %xmm1
testl INCX, INCX
jle .L999
je .L999

sall $ZBASE_SHIFT, INCX



Loading…
Cancel
Save