Skip to content

Commit

Permalink
[javascript] Avoid using C++ inline asm when TI_EMSCRIPTENED (JS 6/n) (
Browse files Browse the repository at this point in the history
  • Loading branch information
AmesingFlank authored Jan 29, 2022
1 parent 1e094fe commit a0676f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taichi/program/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Program::Program(Arch desired_arch)
// backends (including CPUs).
#if defined(TI_ARCH_x64)
_MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON);
#else
#elif !defined(TI_EMSCRIPTENED)
// Enforce flush to zero on arm64 CPUs
// https://developer.arm.com/documentation/100403/0201/register-descriptions/advanced-simd-and-floating-point-registers/aarch64-register-descriptions/fpcr--floating-point-control-register?lang=en
std::uint64_t fpcr;
Expand Down

0 comments on commit a0676f0

Please sign in to comment.