[arch][arm] fix floating point test code on thumb2 only devices

This commit is contained in:
Travis Geiselbrecht
2014-07-14 17:33:07 -07:00
parent aacf2d1453
commit 4d011b03b1
3 changed files with 5 additions and 3 deletions

View File

@@ -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();
}

View File

@@ -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