Browse Source

Merge pull request #4588 from XiWeiGu/loongarch_fixed_dzamax

loongarch: Fixed dzamax
tags/v0.3.27
Martin Kroeker GitHub 2 years ago
parent
commit
8267fcfda8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      kernel/loongarch64/camax_lasx.S
  2. +1
    -0
      kernel/loongarch64/camax_lsx.S

+ 1
- 0
kernel/loongarch64/camax_lasx.S View File

@@ -60,6 +60,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PROLOGUE PROLOGUE
xvxor.v VM0, VM0, VM0 xvxor.v VM0, VM0, VM0
xvxor.v res0, res0, res0 xvxor.v res0, res0, res0
xvxor.v $xr20, $xr20, $xr20
bge $r0, N, .L999 bge $r0, N, .L999
bge $r0, INCX, .L999 bge $r0, INCX, .L999
li.d TEMP, 1 li.d TEMP, 1


+ 1
- 0
kernel/loongarch64/camax_lsx.S View File

@@ -60,6 +60,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PROLOGUE PROLOGUE
vxor.v VM0, VM0, VM0 vxor.v VM0, VM0, VM0
vxor.v res0, res0, res0 vxor.v res0, res0, res0
vxor.v $vr20, $vr20, $vr20
bge $r0, N, .L999 bge $r0, N, .L999
bge $r0, INCX, .L999 bge $r0, INCX, .L999
li.d TEMP, 1 li.d TEMP, 1


Loading…
Cancel
Save