diff options
author | John van Groningen | 2011-04-19 09:43:10 +0000 |
---|---|---|
committer | John van Groningen | 2011-04-19 09:43:10 +0000 |
commit | 914651427fe8bf50616cb37951ab5d594874d285 (patch) | |
tree | b9b45f4751a7fe679a06fc1c8d04b6a77b155852 /cgiwas.c | |
parent | use #NO_APP to assemble faster, remove space after r8 and r9 (diff) |
add rotl% and rotr% instructions
Diffstat (limited to 'cgiwas.c')
-rw-r--r-- | cgiwas.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -4016,6 +4016,18 @@ static void w_as_instructions (register struct instruction *instruction) case IMOD: w_as_floordiv_mod_instruction (instruction,1); break; + case IROTL: + w_as_shift_instruction (instruction,"rol"); + break; + case IROTR: + w_as_shift_instruction (instruction,"ror"); + break; + case IROTL_S: + w_as_shift_s_instruction (instruction,"rol"); + break; + case IROTR_S: + w_as_shift_s_instruction (instruction,"ror"); + break; case IFMOVE: instruction=w_as_fmove_instruction (instruction); break; |