Skip to content

Commit dcef17c

Browse files
authored
add handling of dummy2 flag
1 parent 43484f7 commit dcef17c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

kernel/mips64/zscal.S

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
#define TEMP $3
4949

5050
#define XX $5
51+
#define DUMMY2 $6
5152

5253
#define ALPHA_R $f15
5354
#define ALPHA_I $f16
@@ -74,6 +75,9 @@
7475
blez N, .L999
7576
dsll INCX, INCX, ZBASE_SHIFT
7677

78+
LDARG DUMMY2, 8(sp)
79+
dsll DUMMY2, DUMMY2, ZBASE_SHIFT
80+
7781
CMPEQ $fcc0, ALPHA_R, a1
7882
CMPEQ $fcc1, ALPHA_I, a1
7983

@@ -83,6 +87,8 @@
8387
bc1f $fcc1, .L50
8488
NOP
8589

90+
beq DUMMY2, TEMP, .L50
91+
8692
bne INCX, TEMP, .L20
8793
dsra I, N, 2
8894

0 commit comments

Comments
 (0)