diff options
author | Tristan Gingold | 2015-11-07 09:45:08 +0100 |
---|---|---|
committer | Tristan Gingold | 2015-11-07 09:45:08 +0100 |
commit | 5cccf1ca28d378a8044ec1990edb8eec628e6920 (patch) | |
tree | fa386e6a0f9af6c99de0559adaa3621026f537b1 /src/ortho/mcode/ortho_code-x86-abi.ads | |
parent | 282ac48d51693239253429fa8c6bffd8f0565575 (diff) | |
download | ghdl-5cccf1ca28d378a8044ec1990edb8eec628e6920.tar.gz ghdl-5cccf1ca28d378a8044ec1990edb8eec628e6920.tar.bz2 ghdl-5cccf1ca28d378a8044ec1990edb8eec628e6920.zip |
mcode: WIP for sse/sse2 generation.
Diffstat (limited to 'src/ortho/mcode/ortho_code-x86-abi.ads')
-rw-r--r-- | src/ortho/mcode/ortho_code-x86-abi.ads | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ortho/mcode/ortho_code-x86-abi.ads b/src/ortho/mcode/ortho_code-x86-abi.ads index 7b166da..97393cb 100644 --- a/src/ortho/mcode/ortho_code-x86-abi.ads +++ b/src/ortho/mcode/ortho_code-x86-abi.ads @@ -37,6 +37,9 @@ package Ortho_Code.X86.Abi is Flag_Type_Completer : constant Boolean := False; Flag_Lower_Stmt : constant Boolean := True; + -- If True, use SSE/SSE2 instructions instead of FPU one. The code is + -- still compliant with the ABI (ie FP values are returned in st0). + -- TODO: this is still work in progress. Flag_Sse2 : Boolean := False; -- Procedures to layout a subprogram declaration. |