[PATCH] D50228: [ARM/AArch64] Support FP16 +fp16fml instructions

Bernard Ogden via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 3 01:42:07 PDT 2018


bogden created this revision.
bogden added a reviewer: SjoerdMeijer.
Herald added a reviewer: javed.absar.
Herald added subscribers: llvm-commits, chrib, kristof.beyls.

Add +fp16fml feature for new FP16 instructions, which are a
mandatory part of FP16 from v8.4-A and an optional part of FP16
from v8.2-A. It doesn't seem to be possible to model this in
LLVM, but the relationship between the options is handled by
the related clang patch.

In keeping with what I think is the usual practice, the fp16fml
extension is accepted regardless of base architecture version.

Builds on/replaces Sjoerd Meijer's patch to add these instructions at
https://reviews.llvm.org/D49839.


Repository:
  rL LLVM

https://reviews.llvm.org/D50228

Files:
  include/llvm/Support/AArch64TargetParser.def
  include/llvm/Support/ARMTargetParser.def
  include/llvm/Support/TargetParser.h
  lib/Support/TargetParser.cpp
  lib/Target/AArch64/AArch64.td
  lib/Target/AArch64/AArch64InstrFormats.td
  lib/Target/AArch64/AArch64InstrInfo.td
  lib/Target/AArch64/AArch64Subtarget.h
  lib/Target/ARM/ARM.td
  lib/Target/ARM/ARMInstrFormats.td
  lib/Target/ARM/ARMInstrInfo.td
  lib/Target/ARM/ARMInstrNEON.td
  lib/Target/ARM/ARMSubtarget.h
  lib/Target/ARM/ARMTargetTransformInfo.h
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  test/MC/AArch64/armv8a-fpmul-error.s
  test/MC/AArch64/armv8a-fpmul.s
  test/MC/ARM/armv8a-fpmul-error.s
  test/MC/ARM/armv8a-fpmul.s
  test/MC/Disassembler/AArch64/armv8a-fpmul-err.txt
  test/MC/Disassembler/AArch64/armv8a-fpmul.txt
  test/MC/Disassembler/ARM/armv8a-fpmul-a32.txt
  test/MC/Disassembler/ARM/armv8a-fpmul-t32.txt
  unittests/Support/TargetParserTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50228.158943.patch
Type: text/x-patch
Size: 54658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180803/bda16755/attachment.bin>


More information about the llvm-commits mailing list