2018-05-06 05:19:59 +08:00
|
|
|
# RUN: llc -mtriple=i386-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=ALL --check-prefix=X32
|
|
|
|
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=ALL --check-prefix=X64
|
2017-05-01 14:30:16 +08:00
|
|
|
|
|
|
|
--- |
|
2017-07-10 17:07:34 +08:00
|
|
|
define i8 @test_zext_i1toi8(i1 %a) {
|
|
|
|
%r = zext i1 %a to i8
|
|
|
|
ret i8 %r
|
|
|
|
}
|
|
|
|
|
|
|
|
define i16 @test_zext_i1toi16(i1 %a) {
|
|
|
|
%r = zext i1 %a to i16
|
|
|
|
ret i16 %r
|
|
|
|
}
|
|
|
|
|
2017-05-10 14:52:58 +08:00
|
|
|
define i32 @test_zext_i1(i1 %a) {
|
|
|
|
%r = zext i1 %a to i32
|
|
|
|
ret i32 %r
|
|
|
|
}
|
|
|
|
|
2017-05-01 14:30:16 +08:00
|
|
|
define i32 @test_zext_i8(i8 %val) {
|
|
|
|
%r = zext i8 %val to i32
|
|
|
|
ret i32 %r
|
|
|
|
}
|
|
|
|
|
|
|
|
define i32 @test_zext_i16(i16 %val) {
|
|
|
|
%r = zext i16 %val to i32
|
|
|
|
ret i32 %r
|
|
|
|
}
|
|
|
|
|
|
|
|
define i32 @test_sext_i8(i8 %val) {
|
|
|
|
%r = sext i8 %val to i32
|
|
|
|
ret i32 %r
|
|
|
|
}
|
|
|
|
|
|
|
|
define i32 @test_sext_i16(i16 %val) {
|
|
|
|
%r = sext i16 %val to i32
|
|
|
|
ret i32 %r
|
|
|
|
}
|
|
|
|
|
2017-09-11 17:41:13 +08:00
|
|
|
define void @test_anyext_i1toi8() { ret void }
|
|
|
|
define void @test_anyext_i1toi16() { ret void }
|
|
|
|
define void @test_anyext_i1toi32() { ret void }
|
|
|
|
define void @test_anyext_i8toi16() { ret void }
|
|
|
|
define void @test_anyext_i8toi32() { ret void }
|
|
|
|
define void @test_anyext_i16toi32() { ret void }
|
|
|
|
|
2017-07-10 17:07:34 +08:00
|
|
|
...
|
|
|
|
---
|
|
|
|
name: test_zext_i1toi8
|
|
|
|
# ALL-LABEL: name: test_zext_i1toi8
|
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary:
This catches malformed mir files which specify alignment as log2 instead of pow2.
See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
2019-09-11 19:16:48 +08:00
|
|
|
alignment: 16
|
2017-07-10 17:07:34 +08:00
|
|
|
legalized: true
|
|
|
|
regBankSelected: true
|
2018-01-23 23:48:50 +08:00
|
|
|
# X32: registers:
|
|
|
|
# X32-NEXT: - { id: 0, class: gr32_abcd, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 2, class: gr8, preferred-register: '' }
|
|
|
|
#
|
|
|
|
# X64: registers:
|
|
|
|
# X64-NEXT: - { id: 0, class: gr32, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 2, class: gr8, preferred-register: '' }
|
2017-07-10 17:07:34 +08:00
|
|
|
registers:
|
|
|
|
- { id: 0, class: gpr, preferred-register: '' }
|
|
|
|
- { id: 1, class: gpr, preferred-register: '' }
|
2018-01-23 23:48:50 +08:00
|
|
|
- { id: 2, class: gpr, preferred-register: '' }
|
2018-02-01 06:04:26 +08:00
|
|
|
# X32: %0:gr32_abcd = COPY $edi
|
|
|
|
# X64: %0:gr32 = COPY $edi
|
2018-01-23 23:48:50 +08:00
|
|
|
# ALL_NEXT: %1:gr8 = COPY %0.sub_8bit
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL_NEXT: %2:gr8 = AND8ri %1, 1, implicit-def $eflags
|
|
|
|
# ALL_NEXT: $al = COPY %2
|
|
|
|
# ALL_NEXT: RET 0, implicit $al
|
2017-07-10 17:07:34 +08:00
|
|
|
body: |
|
|
|
|
bb.1 (%ir-block.0):
|
2018-02-01 06:04:26 +08:00
|
|
|
liveins: $edi
|
2017-07-10 17:07:34 +08:00
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
%0(s32) = COPY $edi
|
2018-01-23 23:48:50 +08:00
|
|
|
%1(s1) = G_TRUNC %0(s32)
|
|
|
|
%2(s8) = G_ZEXT %1(s1)
|
2018-02-01 06:04:26 +08:00
|
|
|
$al = COPY %2(s8)
|
|
|
|
RET 0, implicit $al
|
2017-07-10 17:07:34 +08:00
|
|
|
|
|
|
|
...
|
|
|
|
---
|
|
|
|
name: test_zext_i1toi16
|
|
|
|
# ALL-LABEL: name: test_zext_i1toi16
|
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary:
This catches malformed mir files which specify alignment as log2 instead of pow2.
See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
2019-09-11 19:16:48 +08:00
|
|
|
alignment: 16
|
2017-07-10 17:07:34 +08:00
|
|
|
legalized: true
|
|
|
|
regBankSelected: true
|
2018-01-23 23:48:50 +08:00
|
|
|
# X32: registers:
|
|
|
|
# X32-NEXT: - { id: 0, class: gr32_abcd, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 2, class: gr16, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 3, class: gr16, preferred-register: '' }
|
|
|
|
#
|
|
|
|
# X64: registers:
|
|
|
|
# X64-NEXT: - { id: 0, class: gr32, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 2, class: gr16, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 3, class: gr16, preferred-register: '' }
|
2017-07-10 17:07:34 +08:00
|
|
|
registers:
|
|
|
|
- { id: 0, class: gpr, preferred-register: '' }
|
|
|
|
- { id: 1, class: gpr, preferred-register: '' }
|
2018-01-23 23:48:50 +08:00
|
|
|
- { id: 2, class: gpr, preferred-register: '' }
|
2018-02-01 06:04:26 +08:00
|
|
|
# X32: %0:gr32_abcd = COPY $edi
|
|
|
|
# X64: %0:gr32 = COPY $edi
|
2018-01-23 23:48:50 +08:00
|
|
|
# ALL_NEXT: %1:gr8 = COPY %0.sub_8bit
|
|
|
|
# ALL_NEXT: %3:gr16 = SUBREG_TO_REG 0, %1, %subreg.sub_8bit
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL_NEXT: %2:gr16 = AND16ri8 %3, 1, implicit-def $eflags
|
|
|
|
# ALL_NEXT: $ax = COPY %2
|
|
|
|
# ALL_NEXT: RET 0, implicit $ax
|
2017-07-10 17:07:34 +08:00
|
|
|
body: |
|
|
|
|
bb.1 (%ir-block.0):
|
2018-02-01 06:04:26 +08:00
|
|
|
liveins: $edi
|
2017-07-10 17:07:34 +08:00
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
%0(s32) = COPY $edi
|
2018-01-23 23:48:50 +08:00
|
|
|
%1(s1) = G_TRUNC %0(s32)
|
|
|
|
%2(s16) = G_ZEXT %1(s1)
|
2018-02-01 06:04:26 +08:00
|
|
|
$ax = COPY %2(s16)
|
|
|
|
RET 0, implicit $ax
|
2017-07-10 17:07:34 +08:00
|
|
|
|
2017-05-10 14:52:58 +08:00
|
|
|
...
|
|
|
|
---
|
|
|
|
name: test_zext_i1
|
|
|
|
# ALL-LABEL: name: test_zext_i1
|
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary:
This catches malformed mir files which specify alignment as log2 instead of pow2.
See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
2019-09-11 19:16:48 +08:00
|
|
|
alignment: 16
|
2017-05-10 14:52:58 +08:00
|
|
|
legalized: true
|
|
|
|
regBankSelected: true
|
2018-01-23 23:48:50 +08:00
|
|
|
# X32: registers:
|
|
|
|
# X32-NEXT: - { id: 0, class: gr32_abcd, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 2, class: gr32, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 3, class: gr32, preferred-register: '' }
|
|
|
|
#
|
|
|
|
# X64: registers:
|
|
|
|
# X64-NEXT: - { id: 0, class: gr32, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 2, class: gr32, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 3, class: gr32, preferred-register: '' }
|
2017-05-10 14:52:58 +08:00
|
|
|
registers:
|
|
|
|
- { id: 0, class: gpr }
|
|
|
|
- { id: 1, class: gpr }
|
2018-01-23 23:48:50 +08:00
|
|
|
- { id: 2, class: gpr }
|
2018-02-01 06:04:26 +08:00
|
|
|
# X32: %0:gr32_abcd = COPY $edi
|
|
|
|
# X64: %0:gr32 = COPY $edi
|
2018-01-23 23:48:50 +08:00
|
|
|
# ALL_NEXT: %1:gr8 = COPY %0.sub_8bit
|
|
|
|
# ALL_NEXT: %3:gr32 = SUBREG_TO_REG 0, %1, %subreg.sub_8bit
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL_NEXT: %2:gr32 = AND32ri8 %3, 1, implicit-def $eflags
|
|
|
|
# ALL_NEXT: $eax = COPY %2
|
|
|
|
# ALL_NEXT: RET 0, implicit $eax
|
2017-05-10 14:52:58 +08:00
|
|
|
body: |
|
|
|
|
bb.1 (%ir-block.0):
|
2018-02-01 06:04:26 +08:00
|
|
|
liveins: $edi
|
2017-05-10 14:52:58 +08:00
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
%0(s32) = COPY $edi
|
2018-01-23 23:48:50 +08:00
|
|
|
%1(s1) = G_TRUNC %0(s32)
|
|
|
|
%2(s32) = G_ZEXT %1(s1)
|
2018-02-01 06:04:26 +08:00
|
|
|
$eax = COPY %2(s32)
|
|
|
|
RET 0, implicit $eax
|
2017-05-10 14:52:58 +08:00
|
|
|
|
2017-05-01 14:30:16 +08:00
|
|
|
...
|
|
|
|
---
|
|
|
|
name: test_zext_i8
|
|
|
|
# ALL-LABEL: name: test_zext_i8
|
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary:
This catches malformed mir files which specify alignment as log2 instead of pow2.
See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
2019-09-11 19:16:48 +08:00
|
|
|
alignment: 16
|
2017-05-01 14:30:16 +08:00
|
|
|
legalized: true
|
|
|
|
regBankSelected: true
|
|
|
|
# ALL: registers:
|
2017-06-06 16:16:19 +08:00
|
|
|
# ALL-NEXT: - { id: 0, class: gr8, preferred-register: '' }
|
|
|
|
# ALL-NEXT: - { id: 1, class: gr32, preferred-register: '' }
|
2017-05-01 14:30:16 +08:00
|
|
|
registers:
|
|
|
|
- { id: 0, class: gpr }
|
|
|
|
- { id: 1, class: gpr }
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL: %0:gr8 = COPY $dil
|
2017-10-25 02:04:54 +08:00
|
|
|
# ALL-NEXT: %1:gr32 = MOVZX32rr8 %0
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL-NEXT: $eax = COPY %1
|
|
|
|
# ALL-NEXT: RET 0, implicit $eax
|
2017-05-01 14:30:16 +08:00
|
|
|
body: |
|
|
|
|
bb.1 (%ir-block.0):
|
2018-02-01 06:04:26 +08:00
|
|
|
liveins: $edi
|
2017-05-01 14:30:16 +08:00
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
%0(s8) = COPY $dil
|
2017-05-01 14:30:16 +08:00
|
|
|
%1(s32) = G_ZEXT %0(s8)
|
2018-02-01 06:04:26 +08:00
|
|
|
$eax = COPY %1(s32)
|
|
|
|
RET 0, implicit $eax
|
2017-05-01 14:30:16 +08:00
|
|
|
|
|
|
|
...
|
|
|
|
---
|
|
|
|
name: test_zext_i16
|
|
|
|
# ALL-LABEL: name: test_zext_i16
|
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary:
This catches malformed mir files which specify alignment as log2 instead of pow2.
See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
2019-09-11 19:16:48 +08:00
|
|
|
alignment: 16
|
2017-05-01 14:30:16 +08:00
|
|
|
legalized: true
|
|
|
|
regBankSelected: true
|
|
|
|
# ALL: registers:
|
2017-06-06 16:16:19 +08:00
|
|
|
# ALL-NEXT: - { id: 0, class: gr16, preferred-register: '' }
|
|
|
|
# ALL-NEXT: - { id: 1, class: gr32, preferred-register: '' }
|
2017-05-01 14:30:16 +08:00
|
|
|
registers:
|
|
|
|
- { id: 0, class: gpr }
|
|
|
|
- { id: 1, class: gpr }
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL: %0:gr16 = COPY $di
|
2017-10-25 02:04:54 +08:00
|
|
|
# ALL-NEXT: %1:gr32 = MOVZX32rr16 %0
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL-NEXT: $eax = COPY %1
|
|
|
|
# ALL-NEXT: RET 0, implicit $eax
|
2017-05-01 14:30:16 +08:00
|
|
|
body: |
|
|
|
|
bb.1 (%ir-block.0):
|
2018-02-01 06:04:26 +08:00
|
|
|
liveins: $edi
|
2017-05-01 14:30:16 +08:00
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
%0(s16) = COPY $di
|
2017-05-01 14:30:16 +08:00
|
|
|
%1(s32) = G_ZEXT %0(s16)
|
2018-02-01 06:04:26 +08:00
|
|
|
$eax = COPY %1(s32)
|
|
|
|
RET 0, implicit $eax
|
2017-05-01 14:30:16 +08:00
|
|
|
|
|
|
|
...
|
|
|
|
---
|
|
|
|
name: test_sext_i8
|
|
|
|
# ALL-LABEL: name: test_sext_i8
|
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary:
This catches malformed mir files which specify alignment as log2 instead of pow2.
See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
2019-09-11 19:16:48 +08:00
|
|
|
alignment: 16
|
2017-05-01 14:30:16 +08:00
|
|
|
legalized: true
|
|
|
|
regBankSelected: true
|
|
|
|
# ALL: registers:
|
2017-06-06 16:16:19 +08:00
|
|
|
# ALL-NEXT: - { id: 0, class: gr8, preferred-register: '' }
|
|
|
|
# ALL-NEXT: - { id: 1, class: gr32, preferred-register: '' }
|
2017-05-01 14:30:16 +08:00
|
|
|
registers:
|
|
|
|
- { id: 0, class: gpr }
|
|
|
|
- { id: 1, class: gpr }
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL: %0:gr8 = COPY $dil
|
2017-10-25 02:04:54 +08:00
|
|
|
# ALL-NEXT: %1:gr32 = MOVSX32rr8 %0
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL-NEXT: $eax = COPY %1
|
|
|
|
# ALL-NEXT: RET 0, implicit $eax
|
2017-05-01 14:30:16 +08:00
|
|
|
body: |
|
|
|
|
bb.1 (%ir-block.0):
|
2018-02-01 06:04:26 +08:00
|
|
|
liveins: $edi
|
2017-05-01 14:30:16 +08:00
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
%0(s8) = COPY $dil
|
2017-05-01 14:30:16 +08:00
|
|
|
%1(s32) = G_SEXT %0(s8)
|
2018-02-01 06:04:26 +08:00
|
|
|
$eax = COPY %1(s32)
|
|
|
|
RET 0, implicit $eax
|
2017-05-01 14:30:16 +08:00
|
|
|
|
|
|
|
...
|
|
|
|
---
|
|
|
|
name: test_sext_i16
|
|
|
|
# ALL-LABEL: name: test_sext_i16
|
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary:
This catches malformed mir files which specify alignment as log2 instead of pow2.
See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
2019-09-11 19:16:48 +08:00
|
|
|
alignment: 16
|
2017-05-01 14:30:16 +08:00
|
|
|
legalized: true
|
|
|
|
regBankSelected: true
|
|
|
|
# ALL: registers:
|
2017-06-06 16:16:19 +08:00
|
|
|
# ALL-NEXT: - { id: 0, class: gr16, preferred-register: '' }
|
|
|
|
# ALL-NEXT: - { id: 1, class: gr32, preferred-register: '' }
|
2017-05-01 14:30:16 +08:00
|
|
|
registers:
|
|
|
|
- { id: 0, class: gpr }
|
|
|
|
- { id: 1, class: gpr }
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL: %0:gr16 = COPY $di
|
2017-10-25 02:04:54 +08:00
|
|
|
# ALL-NEXT: %1:gr32 = MOVSX32rr16 %0
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL-NEXT: $eax = COPY %1
|
|
|
|
# ALL-NEXT: RET 0, implicit $eax
|
2017-05-01 14:30:16 +08:00
|
|
|
body: |
|
|
|
|
bb.1 (%ir-block.0):
|
2018-02-01 06:04:26 +08:00
|
|
|
liveins: $edi
|
2017-05-01 14:30:16 +08:00
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
%0(s16) = COPY $di
|
2017-05-01 14:30:16 +08:00
|
|
|
%1(s32) = G_SEXT %0(s16)
|
2018-02-01 06:04:26 +08:00
|
|
|
$eax = COPY %1(s32)
|
|
|
|
RET 0, implicit $eax
|
2017-05-01 14:30:16 +08:00
|
|
|
|
|
|
|
...
|
2017-09-11 17:41:13 +08:00
|
|
|
---
|
|
|
|
name: test_anyext_i1toi8
|
|
|
|
# ALL-LABEL: name: test_anyext_i1toi8
|
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary:
This catches malformed mir files which specify alignment as log2 instead of pow2.
See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
2019-09-11 19:16:48 +08:00
|
|
|
alignment: 16
|
2017-09-11 17:41:13 +08:00
|
|
|
legalized: true
|
|
|
|
regBankSelected: true
|
|
|
|
# X32: registers:
|
|
|
|
# X32-NEXT: - { id: 0, class: gr32_abcd, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 2, class: gr8, preferred-register: '' }
|
|
|
|
#
|
|
|
|
# X64: registers:
|
|
|
|
# X64-NEXT: - { id: 0, class: gr32, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 2, class: gr8, preferred-register: '' }
|
|
|
|
registers:
|
|
|
|
- { id: 0, class: gpr }
|
|
|
|
- { id: 1, class: gpr }
|
|
|
|
- { id: 2, class: gpr }
|
2018-02-01 06:04:26 +08:00
|
|
|
# X32: %0:gr32_abcd = COPY $edi
|
|
|
|
# X64: %0:gr32 = COPY $edi
|
2017-10-25 02:04:54 +08:00
|
|
|
# ALL-NEXT: %1:gr8 = COPY %0.sub_8bit
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL-NEXT: $al = COPY %1
|
|
|
|
# ALL-NEXT: RET 0, implicit $al
|
2017-09-11 17:41:13 +08:00
|
|
|
body: |
|
|
|
|
bb.1 (%ir-block.0):
|
2018-02-01 06:04:26 +08:00
|
|
|
liveins: $edi
|
2017-09-11 17:41:13 +08:00
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
%0(s32) = COPY $edi
|
2017-09-11 17:41:13 +08:00
|
|
|
%1(s1) = G_TRUNC %0(s32)
|
|
|
|
%2(s8) = G_ANYEXT %1(s1)
|
2018-02-01 06:04:26 +08:00
|
|
|
$al = COPY %2(s8)
|
|
|
|
RET 0, implicit $al
|
2017-09-11 17:41:13 +08:00
|
|
|
...
|
|
|
|
---
|
|
|
|
name: test_anyext_i1toi16
|
|
|
|
# ALL-LABEL: name: test_anyext_i1toi16
|
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary:
This catches malformed mir files which specify alignment as log2 instead of pow2.
See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
2019-09-11 19:16:48 +08:00
|
|
|
alignment: 16
|
2017-09-11 17:41:13 +08:00
|
|
|
legalized: true
|
|
|
|
regBankSelected: true
|
|
|
|
# X32: registers:
|
|
|
|
# X32-NEXT: - { id: 0, class: gr32_abcd, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 2, class: gr16, preferred-register: '' }
|
|
|
|
#
|
|
|
|
# X64: registers:
|
|
|
|
# X64-NEXT: - { id: 0, class: gr32, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 2, class: gr16, preferred-register: '' }
|
|
|
|
registers:
|
|
|
|
- { id: 0, class: gpr }
|
|
|
|
- { id: 1, class: gpr }
|
|
|
|
- { id: 2, class: gpr }
|
2018-02-01 06:04:26 +08:00
|
|
|
# X32: %0:gr32_abcd = COPY $edi
|
|
|
|
# X64: %0:gr32 = COPY $edi
|
2017-10-25 02:04:54 +08:00
|
|
|
# ALL-NEXT: %1:gr8 = COPY %0.sub_8bit
|
2017-11-07 05:46:06 +08:00
|
|
|
# ALL-NEXT: %2:gr16 = SUBREG_TO_REG 0, %1, %subreg.sub_8bit
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL-NEXT: $ax = COPY %2
|
|
|
|
# ALL-NEXT: RET 0, implicit $ax
|
2017-09-11 17:41:13 +08:00
|
|
|
body: |
|
|
|
|
bb.1 (%ir-block.0):
|
2018-02-01 06:04:26 +08:00
|
|
|
liveins: $edi
|
2017-09-11 17:41:13 +08:00
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
%0(s32) = COPY $edi
|
2017-09-11 17:41:13 +08:00
|
|
|
%1(s1) = G_TRUNC %0(s32)
|
|
|
|
%2(s16) = G_ANYEXT %1(s1)
|
2018-02-01 06:04:26 +08:00
|
|
|
$ax = COPY %2(s16)
|
|
|
|
RET 0, implicit $ax
|
2017-09-11 17:41:13 +08:00
|
|
|
...
|
|
|
|
---
|
|
|
|
name: test_anyext_i1toi32
|
|
|
|
# ALL-LABEL: name: test_anyext_i1toi32
|
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary:
This catches malformed mir files which specify alignment as log2 instead of pow2.
See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
2019-09-11 19:16:48 +08:00
|
|
|
alignment: 16
|
2017-09-11 17:41:13 +08:00
|
|
|
legalized: true
|
|
|
|
regBankSelected: true
|
|
|
|
# X32: registers:
|
|
|
|
# X32-NEXT: - { id: 0, class: gr32_abcd, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 2, class: gr32, preferred-register: '' }
|
|
|
|
#
|
|
|
|
# X64: registers:
|
|
|
|
# X64-NEXT: - { id: 0, class: gr32, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 2, class: gr32, preferred-register: '' }
|
|
|
|
registers:
|
|
|
|
- { id: 0, class: gpr }
|
|
|
|
- { id: 1, class: gpr }
|
|
|
|
- { id: 2, class: gpr }
|
2018-02-01 06:04:26 +08:00
|
|
|
# X32: %0:gr32_abcd = COPY $edi
|
|
|
|
# X64: %0:gr32 = COPY $edi
|
2017-10-25 02:04:54 +08:00
|
|
|
# ALL-NEXT: %1:gr8 = COPY %0.sub_8bit
|
2017-11-07 05:46:06 +08:00
|
|
|
# ALL-NEXT: %2:gr32 = SUBREG_TO_REG 0, %1, %subreg.sub_8bit
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL-NEXT: $eax = COPY %2
|
|
|
|
# ALL-NEXT: RET 0, implicit $eax
|
2017-09-11 17:41:13 +08:00
|
|
|
body: |
|
|
|
|
bb.1 (%ir-block.0):
|
2018-02-01 06:04:26 +08:00
|
|
|
liveins: $edi
|
2017-09-11 17:41:13 +08:00
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
%0(s32) = COPY $edi
|
2017-09-11 17:41:13 +08:00
|
|
|
%1(s1) = G_TRUNC %0(s32)
|
|
|
|
%2(s32) = G_ANYEXT %1(s1)
|
2018-02-01 06:04:26 +08:00
|
|
|
$eax = COPY %2(s32)
|
|
|
|
RET 0, implicit $eax
|
2017-09-11 17:41:13 +08:00
|
|
|
...
|
|
|
|
---
|
|
|
|
name: test_anyext_i8toi16
|
|
|
|
# ALL-LABEL: name: test_anyext_i8toi16
|
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary:
This catches malformed mir files which specify alignment as log2 instead of pow2.
See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
2019-09-11 19:16:48 +08:00
|
|
|
alignment: 16
|
2017-09-11 17:41:13 +08:00
|
|
|
legalized: true
|
|
|
|
regBankSelected: true
|
|
|
|
# X32: registers:
|
2020-01-15 05:02:02 +08:00
|
|
|
# X32-NEXT: - { id: 0, class: gr32, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 1, class: gr8_abcd_l, preferred-register: '' }
|
2017-09-11 17:41:13 +08:00
|
|
|
# X32-NEXT: - { id: 2, class: gr16, preferred-register: '' }
|
|
|
|
#
|
|
|
|
# X64: registers:
|
|
|
|
# X64-NEXT: - { id: 0, class: gr32, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 2, class: gr16, preferred-register: '' }
|
|
|
|
registers:
|
|
|
|
- { id: 0, class: gpr }
|
|
|
|
- { id: 1, class: gpr }
|
|
|
|
- { id: 2, class: gpr }
|
2020-01-15 05:02:02 +08:00
|
|
|
# X32: %0:gr32 = COPY $edi
|
|
|
|
# X32-NEXT: %4:gr32_abcd = COPY %0
|
|
|
|
# X32-NEXT: %1:gr8_abcd_l = COPY %4.sub_8bit
|
|
|
|
|
|
|
|
# X64: %0:gr32 = COPY $edi
|
|
|
|
# X64-NEXT: %1:gr8 = COPY %0.sub_8bit
|
|
|
|
|
|
|
|
# ALL-NEXT: %3:gr32 = MOVZX32rr8 %1
|
|
|
|
# ALL-NEXT: %2:gr16 = COPY %3.sub_16bit
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL-NEXT: $ax = COPY %2
|
|
|
|
# ALL-NEXT: RET 0, implicit $ax
|
2017-09-11 17:41:13 +08:00
|
|
|
body: |
|
|
|
|
bb.1 (%ir-block.0):
|
2018-02-01 06:04:26 +08:00
|
|
|
liveins: $edi
|
2017-09-11 17:41:13 +08:00
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
%0(s32) = COPY $edi
|
2017-09-11 17:41:13 +08:00
|
|
|
%1(s8) = G_TRUNC %0(s32)
|
|
|
|
%2(s16) = G_ANYEXT %1(s8)
|
2018-02-01 06:04:26 +08:00
|
|
|
$ax = COPY %2(s16)
|
|
|
|
RET 0, implicit $ax
|
2017-09-11 17:41:13 +08:00
|
|
|
...
|
|
|
|
---
|
|
|
|
name: test_anyext_i8toi32
|
|
|
|
# ALL-LABEL: name: test_anyext_i8toi32
|
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary:
This catches malformed mir files which specify alignment as log2 instead of pow2.
See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
2019-09-11 19:16:48 +08:00
|
|
|
alignment: 16
|
2017-09-11 17:41:13 +08:00
|
|
|
legalized: true
|
|
|
|
regBankSelected: true
|
|
|
|
# X32: registers:
|
2020-01-15 05:02:02 +08:00
|
|
|
# X32-NEXT: - { id: 0, class: gr32, preferred-register: '' }
|
|
|
|
# X32-NEXT: - { id: 1, class: gr8_abcd_l, preferred-register: '' }
|
2017-09-11 17:41:13 +08:00
|
|
|
# X32-NEXT: - { id: 2, class: gr32, preferred-register: '' }
|
|
|
|
#
|
|
|
|
# X64: registers:
|
|
|
|
# X64-NEXT: - { id: 0, class: gr32, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 1, class: gr8, preferred-register: '' }
|
|
|
|
# X64-NEXT: - { id: 2, class: gr32, preferred-register: '' }
|
|
|
|
registers:
|
|
|
|
- { id: 0, class: gpr }
|
|
|
|
- { id: 1, class: gpr }
|
|
|
|
- { id: 2, class: gpr }
|
2020-01-15 05:02:02 +08:00
|
|
|
# X32: %0:gr32 = COPY $edi
|
|
|
|
# X32-NEXT: %3:gr32_abcd = COPY %0
|
|
|
|
# X32-NEXT: %1:gr8_abcd_l = COPY %3.sub_8bit
|
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
# X64: %0:gr32 = COPY $edi
|
2020-01-15 05:02:02 +08:00
|
|
|
# X64-NEXT: %1:gr8 = COPY %0.sub_8bit
|
|
|
|
|
2017-10-25 02:04:54 +08:00
|
|
|
# ALL-NEXT: %2:gr32 = MOVZX32rr8 %1
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL-NEXT: $eax = COPY %2
|
|
|
|
# ALL-NEXT: RET 0, implicit $eax
|
2017-09-11 17:41:13 +08:00
|
|
|
body: |
|
|
|
|
bb.1 (%ir-block.0):
|
2018-02-01 06:04:26 +08:00
|
|
|
liveins: $edi
|
2017-09-11 17:41:13 +08:00
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
%0(s32) = COPY $edi
|
2017-09-11 17:41:13 +08:00
|
|
|
%1(s8) = G_TRUNC %0(s32)
|
|
|
|
%2(s32) = G_ANYEXT %1(s8)
|
2018-02-01 06:04:26 +08:00
|
|
|
$eax = COPY %2(s32)
|
|
|
|
RET 0, implicit $eax
|
2017-09-11 17:41:13 +08:00
|
|
|
...
|
|
|
|
---
|
|
|
|
name: test_anyext_i16toi32
|
|
|
|
# ALL-LABEL: name: test_anyext_i16toi32
|
[Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing
Summary:
This catches malformed mir files which specify alignment as log2 instead of pow2.
See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
2019-09-11 19:16:48 +08:00
|
|
|
alignment: 16
|
2017-09-11 17:41:13 +08:00
|
|
|
legalized: true
|
|
|
|
regBankSelected: true
|
|
|
|
# ALL: registers:
|
|
|
|
# ALL-NEXT: - { id: 0, class: gr32, preferred-register: '' }
|
|
|
|
# ALL-NEXT: - { id: 1, class: gr16, preferred-register: '' }
|
2019-08-28 01:47:06 +08:00
|
|
|
# ALL-NEXT: - { id: 2, class: low32_addr_access_rbp, preferred-register: '' }
|
|
|
|
# ALL-NEXT: - { id: 3, class: low32_addr_access_rbp, preferred-register: '' }
|
2017-09-11 17:41:13 +08:00
|
|
|
registers:
|
|
|
|
- { id: 0, class: gpr }
|
|
|
|
- { id: 1, class: gpr }
|
|
|
|
- { id: 2, class: gpr }
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL: %0:gr32 = COPY $edi
|
2017-10-25 02:04:54 +08:00
|
|
|
# ALL-NEXT: %1:gr16 = COPY %0.sub_16bit
|
2019-08-28 01:47:06 +08:00
|
|
|
# ALL-NEXT: %3:low32_addr_access_rbp = IMPLICIT_DEF
|
|
|
|
# ALL-NEXT: %2:low32_addr_access_rbp = INSERT_SUBREG %3, %1, %subreg.sub_16bit
|
2018-02-01 06:04:26 +08:00
|
|
|
# ALL-NEXT: $eax = COPY %2
|
|
|
|
# ALL-NEXT: RET 0, implicit $eax
|
2017-09-11 17:41:13 +08:00
|
|
|
body: |
|
|
|
|
bb.1 (%ir-block.0):
|
2018-02-01 06:04:26 +08:00
|
|
|
liveins: $edi
|
2017-09-11 17:41:13 +08:00
|
|
|
|
2018-02-01 06:04:26 +08:00
|
|
|
%0(s32) = COPY $edi
|
2017-09-11 17:41:13 +08:00
|
|
|
%1(s16) = G_TRUNC %0(s32)
|
|
|
|
%2(s32) = G_ANYEXT %1(s16)
|
2018-02-01 06:04:26 +08:00
|
|
|
$eax = COPY %2(s32)
|
|
|
|
RET 0, implicit $eax
|
2017-09-11 17:41:13 +08:00
|
|
|
...
|