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 /cgaas.c | |
parent | use #NO_APP to assemble faster, remove space after r8 and r9 (diff) |
add rotl% and rotr% instructions
Diffstat (limited to 'cgaas.c')
-rw-r--r-- | cgaas.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -4397,6 +4397,18 @@ static void as_instructions (struct instruction *instruction) case IDIVDU: as_divdu_instruction (instruction); break; + case IROTL: + as_shift_instruction (instruction,0); + break; + case IROTR: + as_shift_instruction (instruction,1); + break; + case IROTL_S: + as_shift_s_instruction (instruction,0); + break; + case IROTR_S: + as_shift_s_instruction (instruction,1); + break; case IWORD: store_c (instruction->instruction_parameters[0].parameter_data.i); break; |