diff options
author | Marat Dukhan <maratek@google.com> | 2019-10-08 11:30:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-08 11:30:19 -0700 |
commit | 158098ac36d257bedd7d9c02d7276eb8b2077881 (patch) | |
tree | 40e0416d838ca00f05bbdbf51c142b695a61885c /src/threadpool-utils.h | |
parent | 0e275fe56094626349c55a524ea8b71a85daa64b (diff) | |
download | pthreadpool-158098ac36d257bedd7d9c02d7276eb8b2077881.tar.gz |
Make inline assembly compatible with old toolchain
Fix #4
Diffstat (limited to 'src/threadpool-utils.h')
-rw-r--r-- | src/threadpool-utils.h | 2 |
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__) |