|
[V8] Implement SIMD Boolean vector types to allow mask registers.
- Adds new machine types SimdBool4/8/16 for the different boolean vector types.
- Adds a kSimdMaskRegisters flag for each platform. These are all false for now.
- Removes Create, ExtractLane, ReplaceLane, Equal, NotEqual, Swizzle and Shuffle
opcodes from the Boolean types. These are unlikely to be well supported natively,
and can be synthesized using Select.
- Changes the signature of Relational opcodes to return boolean vectors.
- Changes the signature of Select opcodes to take boolean vectors.
- Updates the ARM implementation of Relational and Select opcodes.
LOG=N
BUG= v8:4124
Review-Url: https://codereview.chromium.org/2700813002
Cr-Commit-Position: refs/heads/master@{#43348}
Committed: https://chromium.googlesource.com/v8/v8/+/9fe0b4c7080daf0f52aaabf91ddaf0c6632cfbf8
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+556 lines, -247 lines) |
Patch |
|
M |
src/arm/assembler-arm.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/arm64/assembler-arm64.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/arm/code-generator-arm.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -19 lines |
0 comments
|
Download
|
|
M |
src/compiler/arm/instruction-selector-arm.cc
|
View
|
1
2
3
4
|
6 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler/arm64/instruction-selector-arm64.cc
|
View
|
1
2
3
4
|
5 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/ia32/instruction-selector-ia32.cc
|
View
|
1
2
3
4
|
4 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/instruction.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/instruction.cc
|
View
|
1
2
3
4
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/instruction-selector.h
|
View
|
1
2
3
4
5
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/instruction-selector.cc
|
View
|
1
2
3
4
5
|
9 chunks |
+26 lines, -26 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-native-context-specialization.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/load-elimination.cc
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/machine-graph-verifier.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/machine-operator.h
|
View
|
|
3 chunks |
+0 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/compiler/machine-operator.cc
|
View
|
1
2
3
4
|
8 chunks |
+13 lines, -19 lines |
0 comments
|
Download
|
|
M |
src/compiler/mips/instruction-selector-mips.cc
|
View
|
1
2
3
4
|
5 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/mips64/instruction-selector-mips64.cc
|
View
|
1
2
3
4
|
6 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/opcodes.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+0 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/compiler/ppc/instruction-selector-ppc.cc
|
View
|
1
2
3
4
|
4 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/register-allocator.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/representation-change.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/s390/instruction-selector-s390.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/simplified-lowering.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/x64/instruction-selector-x64.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/x87/instruction-selector-x87.cc
|
View
|
1
2
3
4
|
4 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/assembler-ia32.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/machine-type.h
|
View
|
1
2
3
4
|
4 chunks |
+30 lines, -1 line |
0 comments
|
Download
|
|
M |
src/machine-type.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/mips/assembler-mips.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/mips64/assembler-mips64.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/ppc/assembler-ppc.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/s390/assembler-s390.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/wasm/function-body-decoder.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/wasm/function-body-decoder-impl.h
|
View
|
1
2
3
4
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/wasm/module-decoder.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+13 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/wasm/wasm-opcodes.h
|
View
|
1
2
3
4
|
12 chunks |
+86 lines, -47 lines |
0 comments
|
Download
|
|
M |
src/x64/assembler-x64.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/x87/assembler-x87.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/wasm/test-run-wasm-simd.cc
|
View
|
|
10 chunks |
+170 lines, -80 lines |
0 comments
|
Download
|
Total messages: 40 (31 generated)
|