[LLVMbugs] [Bug 436] NEW: [interpreter/jit] Data layout broken for arch's with wierd alignment requirements
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Sep 13 12:04:37 PDT 2004
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=436
Summary: [interpreter/jit] Data layout broken for arch's with
wierd alignment requirements
Product: libraries
Version: 1.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Generic Execution Engine Support
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sabre at nondot.org
The ExecutionEngine::LoadValueFromMemory, and StoreValueToMemory methods in
lib/ExecutionEngine/ExecutionEngine.cpp do not work on architectures that have
strange alignment requirements. For example, on PPC, bool has an alignment of 4
bytes, and the target is big-endian. The code in those methods stores the 0 or
1 in the wrong byte.
These methods are used to initialize global variables for the JIT and
interpreter, and is used to handle load/store instructions for the interpreter.
They are both performance critical, so whatever is done shouldn't be too slow.
-Chris
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list