aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarat Dukhan <maratek@google.com>2019-10-08 11:30:19 -0700
committerGitHub <noreply@github.com>2019-10-08 11:30:19 -0700
commit158098ac36d257bedd7d9c02d7276eb8b2077881 (patch)
tree40e0416d838ca00f05bbdbf51c142b695a61885c /src
parent0e275fe56094626349c55a524ea8b71a85daa64b (diff)
downloadpthreadpool-158098ac36d257bedd7d9c02d7276eb8b2077881.tar.gz
Make inline assembly compatible with old toolchain
Fix #4
Diffstat (limited to 'src')
-rw-r--r--src/threadpool-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threadpool-utils.h b/src/threadpool-utils.h
index 882c596..65c7fb0 100644
--- a/src/threadpool-utils.h
+++ b/src/threadpool-utils.h
@@ -47,7 +47,7 @@ static inline void disable_fpu_denormals() {
uint32_t fpscr;
__asm__ __volatile__(
"VMRS %[fpscr], fpscr\n"
- "ORR %[fpscr], 0x1000000\n"
+ "ORR %[fpscr], #0x1000000\n"
"VMSR fpscr, %[fpscr]\n"
: [fpscr] "=r" (fpscr));
#elif defined(__aarch64__)