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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to