[LLVMbugs] [Bug 6215] New: Target dependent selection of intrinsics
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Feb 2 14:27:18 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6215
Summary: Target dependent selection of intrinsics
Product: libraries
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: llvm at henning-thielemann.de
CC: llvmbugs at cs.uiuc.edu
Using the LLVM interface for Haskell I generate, compile and run llvm code at
runtime of a Haskell program. I want to make use of special SSE commands like
'haddps', 'minps', 'dpps' if the corresponding SSE intruction set is available
on the machine the program runs on. I have found that X86Subtarget has methods
hasSSE3 and friends that would solve the problem. However, they do not seem to
be available in the C interface.
Thus my feature request is to add according functions to the C interface to
LLVM or to extend documentation by a paragraph on how to access hasSSE checks
with the current C interface. Maybe I have to write such C wrappers myself?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list