Skip to content

Commit ffca567

Browse files
brooniectmarinas
authored andcommitted
kselftest/arm64: Remove unused ADRs from irritator handlers
The irritator handlers for the fp-stress test programs all use ADR to load an address into x0 which is then not referenced. Remove these ADRs as they just cause confusion. Acked-by: Mark Rutland <[email protected]> Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 94de486 commit ffca567

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

tools/testing/selftests/arm64/fp/fpsimd-test.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ function irritator_handler
142142
str x0, [x2, #ucontext_regs + 8 * 23]
143143

144144
// Corrupt some random V-regs
145-
adr x0, .text + (irritator_handler - .text) / 16 * 16
146145
movi v0.8b, #7
147146
movi v9.16b, #9
148147
movi v31.8b, #31

tools/testing/selftests/arm64/fp/sve-test.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ function irritator_handler
299299
str x0, [x2, #ucontext_regs + 8 * 23]
300300

301301
// Corrupt some random Z-regs
302-
adr x0, .text + (irritator_handler - .text) / 16 * 16
303302
movi v0.8b, #1
304303
movi v9.16b, #2
305304
movi v31.8b, #3

tools/testing/selftests/arm64/fp/za-test.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ function irritator_handler
158158

159159
// Corrupt some random ZA data
160160
#if 0
161-
adr x0, .text + (irritator_handler - .text) / 16 * 16
162161
movi v0.8b, #1
163162
movi v9.16b, #2
164163
movi v31.8b, #3

tools/testing/selftests/arm64/fp/zt-test.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ function irritator_handler
127127

128128
// Corrupt some random ZT data
129129
#if 0
130-
adr x0, .text + (irritator_handler - .text) / 16 * 16
131130
movi v0.8b, #1
132131
movi v9.16b, #2
133132
movi v31.8b, #3

0 commit comments

Comments
 (0)