summaryrefslogtreecommitdiff
path: root/cgcalc.c
diff options
context:
space:
mode:
authorJohn van Groningen2011-04-19 09:43:10 +0000
committerJohn van Groningen2011-04-19 09:43:10 +0000
commit914651427fe8bf50616cb37951ab5d594874d285 (patch)
treeb9b45f4751a7fe679a06fc1c8d04b6a77b155852 /cgcalc.c
parentuse #NO_APP to assemble faster, remove space after r8 and r9 (diff)
add rotl% and rotr% instructions
Diffstat (limited to 'cgcalc.c')
-rw-r--r--cgcalc.c16
1 files changed, 16 insertions, 0 deletions
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