[LLVMbugs] [Bug 14188] New: No option to turn off altivec/floating point in generated code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 26 07:36:25 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=14188

             Bug #: 14188
           Summary: No option to turn off altivec/floating point in
                    generated code
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: PowerPC
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nwhitehorn at freebsd.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


There doesn't seem to be a way to force the compiler to emit neither
floating-point or vector instructions on PowerPC. This is necessary to be able
to compile PPC FreeBSD kernels and may be necessary for other applications.

There is also a difference in flags to turn on Altivec (as mentioned, it can't
be turned off) with GCC: GCC uses -maltivec and LLVM -faltivec. Would be nice
to have a compatibility shim there.

-- 
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