From 6ee04b19dc6106932e7498e34c1b4938a94bf074 Mon Sep 17 00:00:00 2001 From: xleroy Date: Wed, 27 Nov 2013 08:53:19 +0000 Subject: Rename "-fno-sse" into "-fno-fpu" and honor it on PowerPC as well. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2374 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- driver/Clflags.ml | 2 +- driver/Driver.ml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'driver') diff --git a/driver/Clflags.ml b/driver/Clflags.ml index 88983d1..4871222 100644 --- a/driver/Clflags.ml +++ b/driver/Clflags.ml @@ -20,7 +20,7 @@ let option_fstruct_return = ref false let option_fbitfields = ref false let option_fvararg_calls = ref true let option_fpacked_structs = ref false -let option_fsse = ref true +let option_ffpu = ref true let option_ffloatconstprop = ref 2 let option_ftailcalls = ref true let option_falignfunctions = ref (None: int option) diff --git a/driver/Driver.ml b/driver/Driver.ml index 4f5100e..5f0ae7e 100644 --- a/driver/Driver.ml +++ b/driver/Driver.ml @@ -387,7 +387,7 @@ Language support options (use -fno- to turn off -f) : -fall Activate all language support options above -fnone Turn off all language support options above Code generation options: (use -fno- to turn off -f) : - -fsse (IA32) Use SSE2 instructions for some integer operations [on] + -ffpu Use FP registers for some integer operations [on] -fsmall-data Set maximal size for allocation in small data area -fsmall-const Set maximal size for allocation in small constant area -ffloat-const-prop Control constant propagation of floats @@ -508,7 +508,8 @@ let cmdline_actions = @ f_opt "vararg-calls" option_fvararg_calls @ f_opt "packed-structs" option_fpacked_structs @ f_opt "inline-asm" option_finline_asm - @ f_opt "sse" option_fsse + @ f_opt "fpu" option_ffpu + @ f_opt "sse" option_ffpu (* backward compatibility *) let _ = Gc.set { (Gc.get()) with Gc.minor_heap_size = 524288 }; -- cgit v1.2.3