Page MenuHomeFreeBSD

arm64: Use sysinsn.h to generate tlbi instructions
Needs ReviewPublic

Authored by andrew on Mon, Aug 24, 4:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 5, 5:28 PM
Unknown Object (File)
Sat, Sep 5, 8:10 AM
Unknown Object (File)
Sat, Sep 5, 4:14 AM
Unknown Object (File)
Sat, Sep 5, 3:59 AM
Unknown Object (File)
Sat, Sep 5, 2:08 AM
Unknown Object (File)
Fri, Sep 4, 7:07 PM
Unknown Object (File)
Fri, Sep 4, 7:03 PM
Unknown Object (File)
Fri, Sep 4, 8:10 AM
Subscribers

Details

Reviewers
jhb
alc
manu
Group Reviewers
arm64
Summary

Some toolchains may not understand these instructions.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76054
Build 72937: arc lint + arc unit

Event Timeline

It's not quite true that binutils doesn't "understand the instructions", it's more that different toolchains use different ways to enable access to optional instructions. According to the bug I posted earlier, older versions of LLVM matched binutils in that they required -march= for this particular case before the .arch_extension was added. I'm not a huge fan of hand-assembling vs trusting the assembler to do that job, but it does work, and the pattern does seem to match up quite well with how opcodes are described in the ARM ARM at least.