[PATCH] D50229: +fp16fml feature for ARM and AArch64

Bernard Ogden via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 3 01:46:16 PDT 2018


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

v8.4-A adds a few fp16 instructions that can optionally be implemented
in CPUs of v8.2-A and above.

This patch adds a feature to clang to permit selection of these
instructions. This interacts with the +fp16 option as follows:

1. Prior to v8.4-A

+fp16fml implies +fp16
+nofp16 implies +nofp16fml

2. From v8.4-A

The above conditions apply, additionally:
+fp16 implies +fp16fml


Repository:
  rC Clang

https://reviews.llvm.org/D50229

Files:
  lib/Driver/ToolChains/Arch/AArch64.cpp
  lib/Driver/ToolChains/Arch/ARM.cpp
  test/Driver/aarch64-cpus.c
  test/Driver/arm-cortex-cpus.c
  test/Preprocessor/aarch64-target-features.c
  test/Preprocessor/arm-target-features.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50229.158944.patch
Type: text/x-patch
Size: 40139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180803/8cec4bc1/attachment-0001.bin>


More information about the cfe-commits mailing list