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 --- cgcalc.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'cgcalc.c') diff --git a/cgcalc.c b/cgcalc.c index 34a9128..fdf83a7 100644 --- a/cgcalc.c +++ b/cgcalc.c @@ -2426,6 +2426,10 @@ void calculate_graph_register_uses (INSTRUCTION_GRAPH graph) case GLSL: case GLSR: case GASR: +#ifdef I486 + case GROTL: + case GROTR: +#endif calculate_shift_operator (graph); return; case GCREATE: @@ -2762,6 +2766,10 @@ void count_graph (INSTRUCTION_GRAPH graph) case GSUB_O: case GEOR: case GASR: +#ifdef I486 + case GROTL: + case GROTR: +#endif case GCOPY: case GBOUNDS: #ifdef G_POWER @@ -2978,6 +2986,10 @@ void mark_graph_2 (register INSTRUCTION_GRAPH graph) case GSUB_O: case GEOR: case GASR: +#ifdef I486 + case GROTL: + case GROTR: +#endif case GCOPY: case GBOUNDS: #ifdef G_POWER @@ -3210,6 +3222,10 @@ void mark_graph_1 (register INSTRUCTION_GRAPH graph) case GSUB_O: case GEOR: case GASR: +#ifdef I486 + case GROTL: + case GROTR: +#endif case GCOPY: case GBOUNDS: #ifdef G_POWER -- cgit v1.2.3