diff options
author | Tristan Gingold <tgingold@free.fr> | 2015-11-11 04:40:07 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2015-11-11 04:40:07 +0100 |
commit | 15baf16d632f9425e8a955e0344a8376409db814 (patch) | |
tree | c0366d94605524c6a5b69731e374e1c8ce9b5d3d /src/ortho/mcode/ortho_code-x86-insns.ads | |
parent | 8b20df13007f67f5c25a9801e917ae4feea0826b (diff) | |
download | ghdl-15baf16d632f9425e8a955e0344a8376409db814.tar.gz ghdl-15baf16d632f9425e8a955e0344a8376409db814.tar.bz2 ghdl-15baf16d632f9425e8a955e0344a8376409db814.zip |
mcode x86: wip: sse support.
Diffstat (limited to 'src/ortho/mcode/ortho_code-x86-insns.ads')
-rw-r--r-- | src/ortho/mcode/ortho_code-x86-insns.ads | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ortho/mcode/ortho_code-x86-insns.ads b/src/ortho/mcode/ortho_code-x86-insns.ads index 9411737a0..fc20ed522 100644 --- a/src/ortho/mcode/ortho_code-x86-insns.ads +++ b/src/ortho/mcode/ortho_code-x86-insns.ads @@ -15,11 +15,15 @@ -- along with GCC; see the file COPYING. If not, write to the Free -- Software Foundation, 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. +with Ortho_Code.Exprs; use Ortho_Code.Exprs; + package Ortho_Code.X86.Insns is function Reg_Used (Reg : Regs_R32) return Boolean; -- Split enodes of SUBPRG into instructions. procedure Gen_Subprg_Insns (Subprg : Subprogram_Data_Acc); + -- Convert a KIND to a reg. + function Ekind_Unsigned_To_Cc (Kind : OE_Kind_Cmp) return O_Reg; + function Ekind_Signed_To_Cc (Kind : OE_Kind_Cmp) return O_Reg; end Ortho_Code.X86.Insns; - |