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 --- cgawas.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cgawas.c') diff --git a/cgawas.c b/cgawas.c index 4a0b336..f1522d6 100644 --- a/cgawas.c +++ b/cgawas.c @@ -3537,6 +3537,18 @@ static void w_as_instructions (register struct instruction *instruction) case IDIVDU: w_as_divdu_instruction (instruction); 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: w_as_fmove_instruction (instruction); break; -- cgit v1.2.3