Skip to content

Commit 2d0929f

Browse files
authored
Move the test for zero incx,incy in ARMV7 ROT
to pass the related utest (see #1469)
1 parent 125343c commit 2d0929f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

kernel/arm/rot_vfp.S

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,13 +483,13 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
483483

484484
cmp N, #0
485485
ble rot_kernel_L999
486-
486+
/*
487487
cmp INC_X, #0
488488
beq rot_kernel_L999
489489

490490
cmp INC_Y, #0
491491
beq rot_kernel_L999
492-
492+
*/
493493
cmp INC_X, #1
494494
bne rot_kernel_S_BEGIN
495495

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

586586
KERNEL_S1
587+
588+
cmp INC_X, #0
589+
beq rot_kernel_L999
590+
591+
cmp INC_Y, #0
592+
beq rot_kernel_L999
587593

588594
subs I, I, #1
589595
bne rot_kernel_S10

0 commit comments

Comments
 (0)