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
This commit is contained in:
Michael Sevakis 2012-04-26 15:59:48 -04:00
parent cfc32fe75f
commit 3c391ad51b

View file

@ -867,6 +867,17 @@ Lyre prototype 1 */
.endm .endm
#endif #endif
#if defined(CPU_COLDFIRE) && defined(__ASSEMBLER__)
/* Assembler doesn't support these as mnemonics but does tpf */
.macro tpf.w
.word 0x51fa
.endm
.macro tpf.l
.word 0x51fb
.endm
#endif
#ifndef CODEC_SIZE #ifndef CODEC_SIZE
#define CODEC_SIZE 0 #define CODEC_SIZE 0
#endif #endif