mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-07 11:59:09 +00:00
[WebAssembly] Update bleeding-edge CPU features
Summary: This adds bulk memory and tail call to "bleeding-edge" CPU, since their implementation in LLVM/clang seems mostly complete. Reviewers: tlively Subscribers: dschuff, sbc100, jgravelle-google, sunfish, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D73322
This commit is contained in:
parent
ba6f3e7cdb
commit
3ef629d443
@ -102,7 +102,8 @@ def : ProcessorModel<"generic", NoSchedModel, []>;
|
||||
def : ProcessorModel<"bleeding-edge", NoSchedModel,
|
||||
[FeatureSIMD128, FeatureAtomics,
|
||||
FeatureNontrappingFPToInt, FeatureSignExt,
|
||||
FeatureMutableGlobals]>;
|
||||
FeatureMutableGlobals, FeatureBulkMemory,
|
||||
FeatureTailCall]>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Target Declaration
|
||||
|
@ -83,13 +83,16 @@ attributes #2 = { "target-features"="+reference-types" }
|
||||
; SIMD128-NEXT: .int8 7
|
||||
; SIMD128-NEXT: .ascii "simd128"
|
||||
|
||||
; +atomics, +mutable-globals, +nontrapping-fptoint, +reference-types, +sign-ext,
|
||||
; +simd128
|
||||
; BLEEDING-EDGE-NEXT: .int8 6
|
||||
; +atomics, +bulk-memory, +mutable-globals, +nontrapping-fptoint,
|
||||
; +reference-types, +sign-ext, +simd128, +tail-call
|
||||
; BLEEDING-EDGE-NEXT: .int8 8
|
||||
; BLEEDING-EDGE-NEXT: .int8 43
|
||||
; BLEEDING-EDGE-NEXT: .int8 7
|
||||
; BLEEDING-EDGE-NEXT: .ascii "atomics"
|
||||
; BLEEDING-EDGE-NEXT: .int8 43
|
||||
; BLEEDING-EDGE-NEXT: .int8 11
|
||||
; BLEEDING-EDGE-NEXT: .ascii "bulk-memory"
|
||||
; BLEEDING-EDGE-NEXT: .int8 43
|
||||
; BLEEDING-EDGE-NEXT: .int8 15
|
||||
; BLEEDING-EDGE-NEXT: .ascii "mutable-globals"
|
||||
; BLEEDING-EDGE-NEXT: .int8 43
|
||||
@ -104,5 +107,8 @@ attributes #2 = { "target-features"="+reference-types" }
|
||||
; BLEEDING-EDGE-NEXT: .int8 43
|
||||
; BLEEDING-EDGE-NEXT: .int8 7
|
||||
; BLEEDING-EDGE-NEXT: .ascii "simd128"
|
||||
; BLEEDING-EDGE-NEXT: .int8 43
|
||||
; BLEEDING-EDGE-NEXT: .int8 9
|
||||
; BLEEDING-EDGE-NEXT: .ascii "tail-call"
|
||||
|
||||
; CHECK-NEXT: .text
|
||||
|
Loading…
x
Reference in New Issue
Block a user