[PATCH] D88062: [ARM] add .f16 -> .16 token alias

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 06:00:59 PDT 2020


dmgreen added a reviewer: ostannard.
dmgreen added a comment.

Hmm...

2cf294a213c01d074c35f1a6d579092da8caa54c possibly pre-dates when fp16 was a common thing in the ARM backend.

vmov.16 r3, s6 (or vmov.p8 r5, s2) seems like an odd instruction to me if they are aliases of vmov, but we are reaching the limit of my very narrow assembler knowledge. It seems that gcc will treat vmov.16 as a vmov.f16 (and require fullfp16). It will not accept vmov.p8, but other assemblers will and treat them like a vmov.

Is this to ease porting between gcc and clang?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88062/new/

https://reviews.llvm.org/D88062



More information about the llvm-commits mailing list