Skip to content

Commit

Permalink
Enable testing Thumb-2 mode on ARMv7
Browse files Browse the repository at this point in the history
Just by adding `-DTHUMB` to the compiler command line.
ARMv7-a and ARMv7-r support both Thumb-2 and ARM A32 classic.
  • Loading branch information
xavierleroy committed Sep 29, 2024
1 parent 45a140b commit 1eb3496
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions runtime/arm/sysdeps.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@
// System dependencies

#if defined(MODEL_armv7m)
// Thumb2-only
// Thumb-2 only
#define THUMB
#else
#elsif defined(MODEL_armv6) || defined(MODEL_armv6t2)
// ARM-A32 only
#undef THUMB
#endif

Expand Down

0 comments on commit 1eb3496

Please sign in to comment.