File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -881,10 +881,10 @@ AIX Support
881
881
WebAssembly Support
882
882
^^^^^^^^^^^^^^^^^^^
883
883
884
- The -mcpu=generic configuration now enables multivalue feature, which is
885
- standardized and available in all major engines. Enabling multivalue here only
886
- enables the language feature but does not turn on the multivalue ABI (this
887
- enables non-ABI uses of multivalue, like exnref).
884
+ The -mcpu=generic configuration now enables multivalue and reference-types.These
885
+ proposals are standardized and available in all major engines. Enabling
886
+ multivalue here only enables the language feature but does not turn on the
887
+ multivalue ABI (this enables non-ABI uses of multivalue, like exnref).
888
888
889
889
AVR Support
890
890
^^^^^^^^^^^
Original file line number Diff line number Diff line change @@ -153,6 +153,7 @@ bool WebAssemblyTargetInfo::initFeatureMap(
153
153
auto addGenericFeatures = [&]() {
154
154
Features[" multivalue" ] = true ;
155
155
Features[" mutable-globals" ] = true ;
156
+ Features[" reference-types" ] = true ;
156
157
Features[" sign-ext" ] = true ;
157
158
};
158
159
auto addBleedingEdgeFeatures = [&]() {
@@ -164,7 +165,6 @@ bool WebAssemblyTargetInfo::initFeatureMap(
164
165
Features[" half-precision" ] = true ;
165
166
Features[" multimemory" ] = true ;
166
167
Features[" nontrapping-fptoint" ] = true ;
167
- Features[" reference-types" ] = true ;
168
168
Features[" tail-call" ] = true ;
169
169
setSIMDLevel (Features, RelaxedSIMD, true );
170
170
};
Original file line number Diff line number Diff line change 164
164
//
165
165
// GENERIC-INCLUDE-DAG: #define __wasm_multivalue__ 1{{$}}
166
166
// GENERIC-INCLUDE-DAG: #define __wasm_mutable_globals__ 1{{$}}
167
+ // GENERIC-INCLUDE-DAG: #define __wasm_reference_types__ 1{{$}}
167
168
// GENERIC-INCLUDE-DAG: #define __wasm_sign_ext__ 1{{$}}
168
169
//
169
170
// RUN: %clang -E -dM %s -o - 2>&1 \
180
181
// GENERIC-NOT: #define __wasm_half_precision__ 1{{$}}
181
182
// GENERIC-NOT: #define __wasm_multimemory__ 1{{$}}
182
183
// GENERIC-NOT: #define __wasm_nontrapping_fptoint__ 1{{$}}
183
- // GENERIC-NOT: #define __wasm_reference_types__ 1{{$}}
184
184
// GENERIC-NOT: #define __wasm_relaxed_simd__ 1{{$}}
185
185
// GENERIC-NOT: #define __wasm_simd128__ 1{{$}}
186
186
// GENERIC-NOT: #define __wasm_tail_call__ 1{{$}}
You can’t perform that action at this time.
0 commit comments