[arch][arm] fix floating point test code on thumb2 only devices
This commit is contained in:
@@ -69,8 +69,10 @@ static void float_instruction_trap_test(void)
|
||||
{
|
||||
printf("testing fpu trap\n");
|
||||
|
||||
#if !ARM_ONLY_THUMB
|
||||
float_vfp_arm_instruction_test();
|
||||
float_neon_arm_instruction_test();
|
||||
#endif
|
||||
float_vfp_thumb_instruction_test();
|
||||
float_neon_thumb_instruction_test();
|
||||
}
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
vmov s0, r0
|
||||
.endm
|
||||
|
||||
#if !ARM_ONLY_THUMB
|
||||
.arm
|
||||
|
||||
FUNCTION(float_vfp_arm_instruction_test)
|
||||
@@ -64,6 +65,7 @@ FUNCTION(float_vfp_arm_instruction_test)
|
||||
FUNCTION(float_neon_arm_instruction_test)
|
||||
neon_instructions
|
||||
bx lr
|
||||
#endif
|
||||
|
||||
.thumb
|
||||
|
||||
|
||||
Reference in New Issue
Block a user