summaryrefslogtreecommitdiff
path: root/cg.c
diff options
context:
space:
mode:
authorJohn van Groningen2006-03-28 14:46:31 +0000
committerJohn van Groningen2006-03-28 14:46:31 +0000
commit619a0929ee805feaf3393c837825cc722e44e1fd (patch)
tree717618e7b7e5bcaa02fa432102f78b18dbc28362 /cg.c
parentremove use of scratch register on IA32 for shift instructions (by adding (diff)
intel_asm is only defined on IA32 and AMD64
Diffstat (limited to 'cg.c')
-rw-r--r--cg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cg.c b/cg.c
index d86d89c..9d06db9 100644
--- a/cg.c
+++ b/cg.c
@@ -613,7 +613,9 @@ static void argument_error (VOID)
extern int compiler_id;
#endif
+#ifdef I486
extern int intel_asm;
+#endif
#ifdef MAIN_CLM
# if !(defined (__MWERKS__) && defined (__cplusplus))
@@ -699,8 +701,10 @@ int main (int argc,char **argv)
else if (!strcmp (s,"pt"))
profile_table_flag=1;
#endif
+#ifdef I486
else if (!strcmp (s,"intelasm"))
intel_asm=1;
+#endif
else if (!strcmp (s,"mc68000")){
mc68000_flag=1;
mc68881_flag=0;