DynASM/PPC: Add sub/shift/rotate/clear instruction aliases.

This commit is contained in:
Mike Pall
2015-04-12 01:27:17 +02:00
parent b2a5cc8233
commit 1c968d5b63
2 changed files with 88 additions and 12 deletions

View File

@@ -320,13 +320,6 @@
|
|//-----------------------------------------------------------------------
|
|// These basic macros should really be part of DynASM.
|.macro srwi, rx, ry, n; rlwinm rx, ry, 32-n, n, 31; .endmacro
|.macro slwi, rx, ry, n; rlwinm rx, ry, n, 0, 31-n; .endmacro
|.macro rotlwi, rx, ry, n; rlwinm rx, ry, n, 0, 31; .endmacro
|.macro rotlw, rx, ry, rn; rlwnm rx, ry, rn, 0, 31; .endmacro
|.macro subi, rx, ry, i; addi rx, ry, -i; .endmacro
|
|// Trap for not-yet-implemented parts.
|.macro NYI; tw 4, sp, sp; .endmacro
|