Changes between Version 16 and Version 17 of Commentary/Compiler/Backends/LLVM/DevelopmentNotes
- Jul 18, 2010 4:13:43 PM (6 years ago)
v16 v17 38 38 The better solution would be to change GHC to keep the stack at 16n - 4 alignment on function. This will require changing the RTS (StgCRun.hs) to set the stack properly before calling into Stg land and also fixing up the NCG to align code properly. There may also be a problem with the C backend as currently all function prolouge and epilouge code is stripped out, which means all the stack manipulation code generated by GCC is removed. This works fine now since the stack is already 16 byte aligned on entry, but if it is now 16n - 4 byte aligned then some stack manipulation will be required. 39 39 40 === QuickHull (DPH Example, OSX) === 40 === QuickHull (DPH Example, OSX) === 41 41 42 42 The Quickhull example segfaults under OS X.