Giter Club home page Giter Club logo

Comments (4)

xta0 avatar xta0 commented on July 22, 2024 1

@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.

Maratyszcza avatar Maratyszcza commented on July 22, 2024

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.

xta0 avatar xta0 commented on July 22, 2024

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_SRCScan'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.

Maratyszcza avatar Maratyszcza commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.