File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1035,10 +1035,10 @@ AIX Support
1035
1035
WebAssembly Support
1036
1036
^^^^^^^^^^^^^^^^^^^
1037
1037
1038
- The -mcpu=generic configuration now enables multivalue feature, which is
1039
- standardized and available in all major engines. Enabling multivalue here only
1040
- enables the language feature but does not turn on the multivalue ABI (this
1041
- enables non-ABI uses of multivalue, like exnref).
1038
+ The -mcpu=generic configuration now enables multivalue and reference-types.
1039
+ These proposals are standardized and available in all major engines. Enabling
1040
+ multivalue here only enables the language feature but does not turn on the
1041
+ multivalue ABI (this enables non-ABI uses of multivalue, like exnref).
1042
1042
1043
1043
AVR Support
1044
1044
^^^^^^^^^^^
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