OSDN Git Service

Fix arm64 fenv warnings, and make warnings errors.
authorChristopher Ferris <cferris@google.com>
Fri, 23 Oct 2015 22:42:27 +0000 (15:42 -0700)
committerChristopher Ferris <cferris@google.com>
Fri, 23 Oct 2015 23:41:17 +0000 (16:41 -0700)
commitfa7752986da7a5cdd4f0cd9aff6c315ae0c83c0e
tree069fef01477831a4f74098dda5fef9130bc92ceb
parentca430d9787f1c11c2df8e908c64fe2ef2e6d54ed
Fix arm64 fenv warnings, and make warnings errors.

Even though the control registers being read/written in fenv.c only
have 32 bits that are used, the instructions take a 64 bit register.
Make sure the inline assembler in the macros use 64 bit values.

Verified that before the change and after the change, the disassembly
is exactly the same.

In addition, add -Werror to the cflags.

Change-Id: I6603779327488c23e3aab13300edf2e02b101916
libm/Android.mk
libm/arm64/fenv.c