From 914651427fe8bf50616cb37951ab5d594874d285 Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Tue, 19 Apr 2011 09:43:10 +0000 Subject: add rotl% and rotr% instructions --- cgaas.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cgaas.c') diff --git a/cgaas.c b/cgaas.c index 6611607..0e95b8f 100644 --- a/cgaas.c +++ b/cgaas.c @@ -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; -- cgit v1.2.3