This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/21047] New: arm: fpu_control.h: _FPU_GETCW/_FPU_SETCW is rejected by clang


https://sourceware.org/bugzilla/show_bug.cgi?id=21047

            Bug ID: 21047
           Summary: arm: fpu_control.h: _FPU_GETCW/_FPU_SETCW is rejected
                    by clang
           Product: glibc
           Version: unspecified
               URL: https://llvm.org/bugs/show_bug.cgi?id=23998
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: vapier at gentoo dot org
  Target Milestone: ---

we hit a bug building an audio package under clang as it rejected the inline
asm.  when reported to the clang guys, they said the asm as written was
incorrect.  see this bug report:
  https://llvm.org/bugs/show_bug.cgi?id=23998

their suggestion was to write the macros:
  "vmrs %0, fpscr"
  "vmsr fpscr, %0"

i'm not familiar enough with ARM assembly to judge this myself.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]