diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2012-04-26 15:59:48 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2012-04-26 16:04:44 -0400 |
commit | 3c391ad51b24383cb75f171355ca42a66b6b2bc9 (patch) | |
tree | cf94f43a5676dfe3c07fc5347f231650d37f3d25 | |
parent | cfc32fe75f51f4feef4d4308220f46c56bceefa3 (diff) | |
download | rockbox-3c391ad51b24383cb75f171355ca42a66b6b2bc9.tar.gz rockbox-3c391ad51b24383cb75f171355ca42a66b6b2bc9.zip |
Coldfire (m68k): Add macros for tpf.w/l instructions.
Better than inserting ".word 0x51fc/b". Assembler doesn't support
them but does the plain "tpf" without extension words as well as
"trapf".
Change-Id: I929c0ec84c6e76e0573ff6308634542fd8aee738
-rw-r--r-- | firmware/export/config.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 254128c844..d85cf1e784 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -867,6 +867,17 @@ Lyre prototype 1 */ | |||
867 | .endm | 867 | .endm |
868 | #endif | 868 | #endif |
869 | 869 | ||
870 | #if defined(CPU_COLDFIRE) && defined(__ASSEMBLER__) | ||
871 | /* Assembler doesn't support these as mnemonics but does tpf */ | ||
872 | .macro tpf.w | ||
873 | .word 0x51fa | ||
874 | .endm | ||
875 | |||
876 | .macro tpf.l | ||
877 | .word 0x51fb | ||
878 | .endm | ||
879 | #endif | ||
880 | |||
870 | #ifndef CODEC_SIZE | 881 | #ifndef CODEC_SIZE |
871 | #define CODEC_SIZE 0 | 882 | #define CODEC_SIZE 0 |
872 | #endif | 883 | #endif |