Madeline Busig 8d23f2cf09 Fix fixed point number compilation failures during attempted inlining
Currently, some fixed point operations (notably multiplication) fail to
compile when used in Thumb-mode routines. This occurs because GCC
attempts to inline the operation into the Thumb-mode routine, but the
operation uses ARM-mode only instructions. This commit adds the ".arm"
directive into the inline assembly of the implementation, which informs
GCC that the assembly uses ARM-mode instructions and prevents inlining.
As a result, fixed point numbers can be used from both ARM-mode and
Thumb-mode code without issues! Usage in ARM-mode should still be
preferred for optimal performance though.
2024-08-02 22:10:39 -06:00
..
2024-03-13 00:36:58 -06:00
2024-07-21 21:55:13 -06:00
2024-07-28 18:08:21 -06:00
2024-07-26 11:03:08 -06:00
2024-03-25 21:17:03 -06:00
2024-03-25 21:17:03 -06:00
2024-03-26 23:06:58 -06:00
2024-07-30 11:43:21 -06:00
2024-07-30 11:49:07 -06:00
2024-07-25 22:55:47 -06:00