aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/mcode/ortho_code-x86-emits.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-06-20 05:45:24 +0200
committerTristan Gingold <tgingold@free.fr>2017-06-20 05:45:24 +0200
commit6f3f640e0571fb8f31a8622da088a0435490c359 (patch)
treeb18d60d1708f75a0f4388c1b51c5a6abd4c4ef6a /src/ortho/mcode/ortho_code-x86-emits.adb
parent446af5a87d33f5862f9058204b36f3a60829f9a3 (diff)
downloadghdl-6f3f640e0571fb8f31a8622da088a0435490c359.tar.gz
ghdl-6f3f640e0571fb8f31a8622da088a0435490c359.tar.bz2
ghdl-6f3f640e0571fb8f31a8622da088a0435490c359.zip
ortho: add comments.
Diffstat (limited to 'src/ortho/mcode/ortho_code-x86-emits.adb')
-rw-r--r--src/ortho/mcode/ortho_code-x86-emits.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ortho/mcode/ortho_code-x86-emits.adb b/src/ortho/mcode/ortho_code-x86-emits.adb
index 0e62eb6e3..4753aab85 100644
--- a/src/ortho/mcode/ortho_code-x86-emits.adb
+++ b/src/ortho/mcode/ortho_code-x86-emits.adb
@@ -1391,6 +1391,7 @@ package body Ortho_Code.X86.Emits is
Gen_Call (Sym);
if Abi.Flag_Sse2 and then not Flags.M64 and then Mode in Mode_Fp then
+ -- Convert return value from St0 to Xmm0.
declare
Sslot : constant Int32 := -Int32 (Cur_Subprg.Target.Fp_Slot);
begin