Browse Source

Merge pull request #1538 from martin-frbg/arm7utest

Fix handling of zero INCX, INCY in ArmV7 AXPY and ROT
tags/v0.3.0^2
Martin Kroeker GitHub 8 years ago
parent
commit
1da365312a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions
  1. +2
    -2
      kernel/arm/axpy_vfp.S
  2. +8
    -2
      kernel/arm/rot_vfp.S

+ 2
- 2
kernel/arm/axpy_vfp.S View File

@@ -440,13 +440,13 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

cmp N, #0
ble axpy_kernel_L999
/*
cmp INC_X, #0
beq axpy_kernel_L999

cmp INC_Y, #0
beq axpy_kernel_L999
*/
cmp INC_X, #1
bne axpy_kernel_S_BEGIN



+ 8
- 2
kernel/arm/rot_vfp.S View File

@@ -483,13 +483,13 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

cmp N, #0
ble rot_kernel_L999
/*
cmp INC_X, #0
beq rot_kernel_L999

cmp INC_Y, #0
beq rot_kernel_L999
*/
cmp INC_X, #1
bne rot_kernel_S_BEGIN

@@ -584,6 +584,12 @@ rot_kernel_S1:
rot_kernel_S10:

KERNEL_S1
cmp INC_X, #0
beq rot_kernel_L999

cmp INC_Y, #0
beq rot_kernel_L999

subs I, I, #1
bne rot_kernel_S10


Loading…
Cancel
Save