Displaying 1 result from an estimated 1 matches for "noise4".
Did you mean:
noise
2009 Dec 03
4
[LLVMdev] Win64 Calling Convention problem
Hi!
I have discovered a problem with LLVM's interpretation of the Win64
calling convention w.r.t. passing of aggregates as arguments. The
following code is part of my host application that is compiled with
Visual Studio 2005 in 64-bit debug mode. noise4 expects a structure of
four floats as its first and only argument, which is - in accordance
with the specs of the Win64 calling convention - passed by pointer.
--- snip ---
struct float4 { float x, y, z, w; }
float noise4(float4 v)
{
0000000140067AE0 mov qword ptr [rsp+8],rcx
00000001400...