armeabi-v7a assembler error
- Dominant language
- C
- Stars
- 2.5k
- Forks
- 560
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 163
Description
While building tensorflow lite (v2.11.0) for Android armeabi-v7a I get the following invalid assembly code error:
```
tflite-runtime/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/xnnpack/src/xnnpack/math.h:311:13: error: invalid output constraint \'=t\' in asm\n : [i] "=t" (i)
```
The XNNPACK master version shows the issue is here https://github.com/google/XNNPACK/blob/master/src/xnnpack/math.h#L316
Android arm64-v8a builds and runs without error..
With an earlier tensorflow lite version (v2.8.0) both architectures built and ran without error.
As I read it `=t` is documented as a valid constraint for "ARM family", but the assembler thinks this is not the case.
https://gcc.gnu.org/onlinedocs/gcc/Simple-Constraints.html#Simple-Constraints
https://gcc.gnu.org/onlinedocs/gcc/Machine-Constraints.html#Machine-Constraints
Contributor guide
Assessment
This issue has not been assessed yet.