This repository was archived by the owner on Apr 23, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -267,15 +267,6 @@ def FeatureD16PreservesUnusedBits : SubtargetFeature<
267
267
// Subtarget Features (options and debugging)
268
268
//===------------------------------------------------------------===//
269
269
270
- // Some instructions do not support denormals despite this flag. Using
271
- // fp32 denormals also causes instructions to run at the double
272
- // precision rate for the device.
273
- def FeatureFP32Denormals : SubtargetFeature<"fp32-denormals",
274
- "FP32Denormals",
275
- "true",
276
- "Enable single precision denormal handling"
277
- >;
278
-
279
270
// Denormal handling for fp64 and fp16 is controlled by the same
280
271
// config register when fp16 supported.
281
272
// TODO: Do we need a separate f16 setting when not legal?
Original file line number Diff line number Diff line change @@ -19,6 +19,15 @@ def FeatureFMA : SubtargetFeature<"fmaf",
19
19
"Enable single precision FMA (not as fast as mul+add, but fused)"
20
20
>;
21
21
22
+ // Some instructions do not support denormals despite this flag. Using
23
+ // fp32 denormals also causes instructions to run at the double
24
+ // precision rate for the device.
25
+ def FeatureFP32Denormals : SubtargetFeature<"fp32-denormals",
26
+ "FP32Denormals",
27
+ "true",
28
+ "Enable single precision denormal handling"
29
+ >;
30
+
22
31
class SubtargetFeatureLocalMemorySize <int Value> : SubtargetFeature<
23
32
"localmemorysize"#Value,
24
33
"LocalMemorySize",
You can’t perform that action at this time.
0 commit comments