Fixup divider save_restore for floating point too; improve tests (#405)
- The divider state needs to be saved for __aeabi_ddiv, __aeabi_fdiv, __aeabi_dtan and __aeabi_ftan or they won't work in interrupts *(probably not used much youd hope), or on an RTOS context switch - Refactored code out for the integer and floating point cases - Improved the floating point 'tests' in passing to check more return values against GCC implementations - Added floating point usage to the IRQ nesting test case
This commit is contained in:
@ -12,7 +12,7 @@ if (PICO_ON_DEVICE)
|
||||
pico_add_extra_outputs(pico_divider_test)
|
||||
|
||||
target_compile_definitions(pico_divider_test PRIVATE
|
||||
PICO_DIVIDER_DISABLE_INTERRUPTS=1
|
||||
# PICO_DIVIDER_DISABLE_INTERRUPTS=1
|
||||
# TURBO
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user