Skip to content

Commit

Permalink
improv(compiler) Enabled aarch64 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Jan 14, 2022
1 parent 69478cd commit 26d334f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ ifeq ($(ENABLE_SINGLEPASS), 1)
ifeq ($(IS_AMD64), 1)
compilers_engines += singlepass-universal
endif
ifeq ($(IS_AARCH64), 1)
compilers_engines += singlepass-universal
endif
endif
endif

Expand Down
2 changes: 1 addition & 1 deletion lib/compiler-singlepass/src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl Compiler for SinglepassCompiler {
))
}
}
if target.triple().architecture != Architecture::X86_64
if target.triple().architecture == Architecture::X86_64
&& !target.cpu_features().contains(CpuFeature::AVX)
{
return Err(CompileError::UnsupportedTarget(
Expand Down

0 comments on commit 26d334f

Please sign in to comment.