================
@@ -2245,3 +2245,9 @@ let ArchGuard = "defined(__aarch64__)", TargetGuard =
"fp8,neon" in {
def FSCALE_V128 : WInst<"vscale", "..(.S)", "QdQfQh">;
def FSCALE_V64 : WInst<"vscale", "(.q)(.q)(.qS)", "fh">;
}
+
+let ArchGuard = "defined(__aarch64__)", TargetGuard = "fp-armv8" in {
----------------
kieroxide wrote:
We can enable fp-armv8 and disabled neon at the same time in llc. Look
[here](https://godbolt.org/z/T3xe91a8c)
For clang, we can also -march=armv8-a+nosimd to enable fp-armv8 and disable
neon.
But I believe that neon depends on fp-armv8, so if we enable neon, we also
enable fp-armv8.
We can have fp-armv8 with neon disabled. That is valid.
While testing this, I also found that without neon enabled but with fp-armv8
enabled, the current lowering does not select ldnp
This is due to legalization turning ldnp into four 64 bit stores/loads. But I
am sure I can look into fixing this.
@CarolineConcatto What do you think we should do? Should we require neon or
should I look into lowering it when neon is explicitly disabled?
https://github.com/llvm/llvm-project/pull/238416
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits