tinygo/compileopts
Ayke van Laethem 37ee4bea40 arm: switch to Thumb instruction set on ARM
This reduces binary size substantially, for two reasons:

  - It switches to a much more architecture ARMv4 vs ARMv7.
  - It switches to Thumb2, which is a lot denser than regular ARM.

Practically all modern and not-so-modern ARM chips support Thumb2, so
this seems like a safe change to me.

The size in numbers:

  - Code size for testdata/stdlib.go is reduced by about 35%.
  - Binary size for testdata/stdlib.go (when compiling with -no-debug to
    strip debug information) is reduced by about 16%.
2021-09-15 15:28:10 +02:00
..
config.go BlackMagic (BMP) ARM JTAG/SWD debugger: 2021-08-31 10:03:40 +02:00
options.go all: add a flag to the command line to select the serial implementation 2021-06-25 17:58:39 +02:00
options_test.go compileopts: improve error reporting of unsupported flags 2020-05-16 23:29:47 +02:00
target.go arm: switch to Thumb instruction set on ARM 2021-09-15 15:28:10 +02:00
target_test.go compileopts: simplify copyProperties using reflection 2020-09-20 13:49:16 +02:00