aboutsummaryrefslogtreecommitdiff
path: root/tools/test/xregs_sig/c2x2c_aarch64.S
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/xregs_sig/c2x2c_aarch64.S')
-rw-r--r--tools/test/xregs_sig/c2x2c_aarch64.S18
1 files changed, 10 insertions, 8 deletions
diff --git a/tools/test/xregs_sig/c2x2c_aarch64.S b/tools/test/xregs_sig/c2x2c_aarch64.S
index 6f1637f5bcdf..f53550b867fd 100644
--- a/tools/test/xregs_sig/c2x2c_aarch64.S
+++ b/tools/test/xregs_sig/c2x2c_aarch64.S
@@ -5,9 +5,11 @@
* $FreeBSD$
*/
- .global cpu_to_xregs
- .type cpu_to_xregs, @function
-cpu_to_xregs:
+ .text
+
+ .globl cpu_to_vfp
+ .type cpu_to_vfp, @function
+cpu_to_vfp:
stp q0, q1, [x0, #( 0 * 16)]
stp q2, q3, [x0, #( 2 * 16)]
stp q4, q5, [x0, #( 4 * 16)]
@@ -26,12 +28,12 @@ cpu_to_xregs:
stp q30, q31, [x0, #(30 * 16)]
ret
- .size cpu_to_xregs, . - cpu_to_xregs
+ .size cpu_to_vfp, . - cpu_to_vfp
- .global xregs_to_cpu
- .type xregs_to_cpu, @function
-xregs_to_cpu:
+ .globl vfp_to_cpu
+ .type vfp_to_cpu, @function
+vfp_to_cpu:
ldp q0, q1, [x0, #( 0 * 16)]
ldp q2, q3, [x0, #( 2 * 16)]
ldp q4, q5, [x0, #( 4 * 16)]
@@ -50,6 +52,6 @@ xregs_to_cpu:
ldp q30, q31, [x0, #(30 * 16)]
ret
- .size xregs_to_cpu, . - xregs_to_cpu
+ .size vfp_to_cpu, . - vfp_to_cpu
.section .note.GNU-stack,"",@progbits