tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] x86-64


From: grischka
Subject: [Tinycc-devel] x86-64
Date: Tue, 09 Jun 2009 18:56:55 +0200
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Shinichiro Hamaji wrote at
http://repo.or.cz/w/tinycc.git?a=commitdiff;h=8ea83051

+alloca:
+    pop     %rdx
+    mov     %rdi,%rax
+    add     $3,%rax
+    and     $-4,%rax
+    jz      p3

We might need align=16, e.g. for SSE:
+    add     $15,%rax
+    and     $-16,%rax

As to PE32+ (WIN64), there are some differences with calling convention,
one being that it uses only 4 register for arguments (RDX, RCX, R8, R9)
--> http://msdn.microsoft.com/en-us/library/ms235286.aspx

However don't worry now.

--- grischka




reply via email to

[Prev in Thread] Current Thread [Next in Thread]