Comments (4)
@Maratyszcza I found the issue. It was a typo in CMakeLists.txt at line #1464. XNNPACK_AARCH64_ASM_UKERNELS
doesn't exist. Same for the armv7. Will open a PR .
from xnnpack.
The file you mentioned doesn't use the -march=armv8.2-a+fp16
flag, so it is something else.
Which version of XCode do you use? Do you see this error with other files?
from xnnpack.
yea, you're right, nothing to do with -march=armv8.2-a+fp16
. Sorry for the confusion. I'm using XCode 11.3.1. Basically, all files inXNNPACK_AARCH64_ASM_MICROKERNEL_SRCS
can't be compiled on my machine. The errors are different, but mainly complain about the unknown assembly syntax.
...
/Users/taox/Projects/XNNPACK/src/f32-gemm/gen-inc/6x8-aarch64-neonfma-cortex-a73.S:653:21: error: brackets expression not supported on this target
/Users/taox/Projects/XNNPACK/src/f32-gemm/gen-inc/6x8-aarch64-neonfma-cortex-a73.S:657:1: error: assembler local symbol 'LO' not defined
/Users/taox/Projects/XNNPACK/src/f32-gemm/gen-inc/6x8-aarch64-neonfma-cortex-a73.S:657:1: error: assembler local symbol 'LS' not defined
However, after I disabled the ASM by commenting out XNNPACK_AARCH64_ASM_MICROKERNEL_SRCS
and disabling the macro XNN_ENABLE_ASSEMBLY
, it worked. The generated libXNNPACK.a
was 1.1 MB.
from xnnpack.
The assembly snippets in LLVM test suite seems to use #
(hash) before the offset in memory instructions: https://github.com/llvm/llvm-project/blob/364b8f5fbe0ac496931dcbd6f0493781f0677e82/llvm/test/MC/AArch64/basic-a64-instructions.s#L3016
Could you check if adding a hash (LDP d8, d9, [sp], 64
-> LDP d8, d9, [sp], #64
) helps?
from xnnpack.
Related Issues (20)
- ARMv7 (with NEON) can not support on Linux but only support ARMv7 (with NEON) on Android HOT 3
- Enable HEXAGON to build XNNPack
- Work with the gvisor team on this
- scripts/build-android-armv7.sh fails with NDK 21
- `xnn_weights_cache_provider` look_up doesn't work? HOT 3
- How can I parallelize the execution of this benchmark? (https://github.com/google/XNNPACK/blob/master/bench/spmm-benchmark.h) HOT 1
- cmake build failure with XNNPACK_BUILD_TESTS=ON and XNNPACK_LIBRARY_TYPE=shared
- test/sigmoid_nc_test fails on Hexagon simulator HOT 1
- Load-from-misaligned-address failures on Hexagon simulator HOT 3
- XNNPACK tests that use mmap() fail on Hexagon devices
- Default condition missing for xnnpack_aggregate_library HOT 1
- unsupported instruction `vpdpbusd' HOT 4
- tests for vbinary f16_vsqrdiffc_test are missing a bazel build target
- Add benchmarks for vbinary microkernels HOT 1
- Possible null pointer dereference in logging
- Dynamic shape support follow-up HOT 1
- Enable WASM build on GitHub Actions HOT 1
- Enable QC8/QS8 GEMM/IGEMM for Wasm relaxed integer dot product instruction on x64
- 4x16s4 fp32-gemm kernel have better performance than default(5x16) kernel for meteor lake HOT 1
- QB4W Development
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xnnpack.