-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[X86][MC] Support Enc/Dec for EGPR for promoted SHA instruction #75582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
452f812
[X86][MC] Support Enc/Dec for EGPR for promoted SHA instruction
XinWang10 6fb9e33
resolve comments
XinWang10 ed82355
Add 1 blank line end of file
XinWang10 4939541
resolve comment and fix 1 test
XinWang10 c0bb6be
clang format
XinWang10 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL | ||
|
||
# ATT: sha1msg1 %xmm13, %xmm12 | ||
# INTEL: sha1msg1 xmm12, xmm13 | ||
0x45,0x0f,0x38,0xc9,0xe5 | ||
|
||
# ATT: sha1msg1 291(%r28,%r29,4), %xmm12 | ||
# INTEL: sha1msg1 xmm12, xmmword ptr [r28 + 4*r29 + 291] | ||
0x62,0x1c,0x78,0x08,0xd9,0xa4,0xac,0x23,0x01,0x00,0x00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL | ||
|
||
# ATT: sha1msg2 %xmm13, %xmm12 | ||
# INTEL: sha1msg2 xmm12, xmm13 | ||
0x45,0x0f,0x38,0xca,0xe5 | ||
|
||
# ATT: sha1msg2 291(%r28,%r29,4), %xmm12 | ||
# INTEL: sha1msg2 xmm12, xmmword ptr [r28 + 4*r29 + 291] | ||
0x62,0x1c,0x78,0x08,0xda,0xa4,0xac,0x23,0x01,0x00,0x00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL | ||
|
||
# ATT: sha1nexte %xmm13, %xmm12 | ||
# INTEL: sha1nexte xmm12, xmm13 | ||
0x45,0x0f,0x38,0xc8,0xe5 | ||
|
||
# ATT: sha1nexte 291(%r28,%r29,4), %xmm12 | ||
# INTEL: sha1nexte xmm12, xmmword ptr [r28 + 4*r29 + 291] | ||
0x62,0x1c,0x78,0x08,0xd8,0xa4,0xac,0x23,0x01,0x00,0x00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL | ||
|
||
# ATT: sha1rnds4 $123, %xmm13, %xmm12 | ||
# INTEL: sha1rnds4 xmm12, xmm13, 123 | ||
0x45,0x0f,0x3a,0xcc,0xe5,0x7b | ||
|
||
# ATT: sha1rnds4 $123, 291(%r28,%r29,4), %xmm12 | ||
# INTEL: sha1rnds4 xmm12, xmmword ptr [r28 + 4*r29 + 291], 123 | ||
0x62,0x1c,0x78,0x08,0xd4,0xa4,0xac,0x23,0x01,0x00,0x00,0x7b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL | ||
|
||
# ATT: sha256msg1 %xmm13, %xmm12 | ||
# INTEL: sha256msg1 xmm12, xmm13 | ||
0x45,0x0f,0x38,0xcc,0xe5 | ||
|
||
# ATT: sha256msg1 291(%r28,%r29,4), %xmm12 | ||
# INTEL: sha256msg1 xmm12, xmmword ptr [r28 + 4*r29 + 291] | ||
0x62,0x1c,0x78,0x08,0xdc,0xa4,0xac,0x23,0x01,0x00,0x00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL | ||
|
||
# ATT: sha256msg2 %xmm13, %xmm12 | ||
# INTEL: sha256msg2 xmm12, xmm13 | ||
0x45,0x0f,0x38,0xcd,0xe5 | ||
|
||
# ATT: sha256msg2 291(%r28,%r29,4), %xmm12 | ||
# INTEL: sha256msg2 xmm12, xmmword ptr [r28 + 4*r29 + 291] | ||
0x62,0x1c,0x78,0x08,0xdd,0xa4,0xac,0x23,0x01,0x00,0x00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT | ||
# RUN: llvm-mc --disassemble %s -triple=x86_64 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL | ||
|
||
# ATT: sha256rnds2 %xmm0, %xmm13, %xmm12 | ||
# INTEL: sha256rnds2 xmm12, xmm13, xmm0 | ||
0x45,0x0f,0x38,0xcb,0xe5 | ||
|
||
# ATT: sha256rnds2 %xmm0, 291(%r28,%r29,4), %xmm12 | ||
# INTEL: sha256rnds2 xmm12, xmmword ptr [r28 + 4*r29 + 291], xmm0 | ||
0x62,0x1c,0x78,0x08,0xdb,0xa4,0xac,0x23,0x01,0x00,0x00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# RUN: llvm-mc -triple x86_64 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha1msg1 %xmm13, %xmm12 | ||
# CHECK: encoding: [0x45,0x0f,0x38,0xc9,0xe5] | ||
sha1msg1 %xmm13, %xmm12 | ||
|
||
# CHECK: sha1msg1 291(%r28,%r29,4), %xmm12 | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xd9,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha1msg1 291(%r28,%r29,4), %xmm12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# RUN: llvm-mc -triple x86_64 -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha1msg1 xmm12, xmm13 | ||
# CHECK: encoding: [0x45,0x0f,0x38,0xc9,0xe5] | ||
sha1msg1 xmm12, xmm13 | ||
|
||
# CHECK: sha1msg1 xmm12, xmmword ptr [r28 + 4*r29 + 291] | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xd9,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha1msg1 xmm12, xmmword ptr [r28 + 4*r29 + 291] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# RUN: llvm-mc -triple x86_64 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha1msg2 %xmm13, %xmm12 | ||
# CHECK: encoding: [0x45,0x0f,0x38,0xca,0xe5] | ||
sha1msg2 %xmm13, %xmm12 | ||
|
||
# CHECK: sha1msg2 291(%r28,%r29,4), %xmm12 | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xda,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha1msg2 291(%r28,%r29,4), %xmm12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# RUN: llvm-mc -triple x86_64 -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha1msg2 xmm12, xmm13 | ||
# CHECK: encoding: [0x45,0x0f,0x38,0xca,0xe5] | ||
sha1msg2 xmm12, xmm13 | ||
|
||
# CHECK: sha1msg2 xmm12, xmmword ptr [r28 + 4*r29 + 291] | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xda,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha1msg2 xmm12, xmmword ptr [r28 + 4*r29 + 291] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# RUN: llvm-mc -triple x86_64 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha1nexte %xmm13, %xmm12 | ||
# CHECK: encoding: [0x45,0x0f,0x38,0xc8,0xe5] | ||
sha1nexte %xmm13, %xmm12 | ||
|
||
# CHECK: sha1nexte 291(%r28,%r29,4), %xmm12 | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xd8,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha1nexte 291(%r28,%r29,4), %xmm12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# RUN: llvm-mc -triple x86_64 -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha1nexte xmm12, xmm13 | ||
# CHECK: encoding: [0x45,0x0f,0x38,0xc8,0xe5] | ||
sha1nexte xmm12, xmm13 | ||
|
||
# CHECK: sha1nexte xmm12, xmmword ptr [r28 + 4*r29 + 291] | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xd8,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha1nexte xmm12, xmmword ptr [r28 + 4*r29 + 291] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# RUN: llvm-mc -triple x86_64 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha1rnds4 $123, %xmm13, %xmm12 | ||
# CHECK: encoding: [0x45,0x0f,0x3a,0xcc,0xe5,0x7b] | ||
sha1rnds4 $123, %xmm13, %xmm12 | ||
|
||
# CHECK: sha1rnds4 $123, 291(%r28,%r29,4), %xmm12 | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xd4,0xa4,0xac,0x23,0x01,0x00,0x00,0x7b] | ||
sha1rnds4 $123, 291(%r28,%r29,4), %xmm12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# RUN: llvm-mc -triple x86_64 -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha1rnds4 xmm12, xmm13, 123 | ||
# CHECK: encoding: [0x45,0x0f,0x3a,0xcc,0xe5,0x7b] | ||
sha1rnds4 xmm12, xmm13, 123 | ||
|
||
# CHECK: sha1rnds4 xmm12, xmmword ptr [r28 + 4*r29 + 291], 123 | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xd4,0xa4,0xac,0x23,0x01,0x00,0x00,0x7b] | ||
sha1rnds4 xmm12, xmmword ptr [r28 + 4*r29 + 291], 123 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# RUN: llvm-mc -triple x86_64 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha256msg1 %xmm13, %xmm12 | ||
# CHECK: encoding: [0x45,0x0f,0x38,0xcc,0xe5] | ||
sha256msg1 %xmm13, %xmm12 | ||
|
||
# CHECK: sha256msg1 291(%r28,%r29,4), %xmm12 | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xdc,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha256msg1 291(%r28,%r29,4), %xmm12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# RUN: llvm-mc -triple x86_64 -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha256msg1 xmm12, xmm13 | ||
# CHECK: encoding: [0x45,0x0f,0x38,0xcc,0xe5] | ||
sha256msg1 xmm12, xmm13 | ||
|
||
# CHECK: sha256msg1 xmm12, xmmword ptr [r28 + 4*r29 + 291] | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xdc,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha256msg1 xmm12, xmmword ptr [r28 + 4*r29 + 291] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# RUN: llvm-mc -triple x86_64 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha256msg2 %xmm13, %xmm12 | ||
# CHECK: encoding: [0x45,0x0f,0x38,0xcd,0xe5] | ||
sha256msg2 %xmm13, %xmm12 | ||
|
||
# CHECK: sha256msg2 291(%r28,%r29,4), %xmm12 | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xdd,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha256msg2 291(%r28,%r29,4), %xmm12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# RUN: llvm-mc -triple x86_64 -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha256msg2 xmm12, xmm13 | ||
# CHECK: encoding: [0x45,0x0f,0x38,0xcd,0xe5] | ||
sha256msg2 xmm12, xmm13 | ||
|
||
# CHECK: sha256msg2 xmm12, xmmword ptr [r28 + 4*r29 + 291] | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xdd,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha256msg2 xmm12, xmmword ptr [r28 + 4*r29 + 291] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# RUN: llvm-mc -triple x86_64 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha256rnds2 %xmm0, %xmm13, %xmm12 | ||
# CHECK: encoding: [0x45,0x0f,0x38,0xcb,0xe5] | ||
sha256rnds2 %xmm0, %xmm13, %xmm12 | ||
|
||
# CHECK: sha256rnds2 %xmm0, 291(%r28,%r29,4), %xmm12 | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xdb,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha256rnds2 %xmm0, 291(%r28,%r29,4), %xmm12 | ||
XinWang10 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# CHECK: sha256rnds2 %xmm0, 291(%r28,%r29,4), %xmm12 | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xdb,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha256rnds2 291(%r28,%r29,4), %xmm12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
# RUN: llvm-mc -triple x86_64 -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s | ||
|
||
# CHECK: sha256rnds2 xmm12, xmm13, xmm0 | ||
# CHECK: encoding: [0x45,0x0f,0x38,0xcb,0xe5] | ||
sha256rnds2 xmm12, xmm13, xmm0 | ||
|
||
# CHECK: sha256rnds2 xmm12, xmmword ptr [r28 + 4*r29 + 291], xmm0 | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xdb,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha256rnds2 xmm12, xmmword ptr [r28 + 4*r29 + 291], xmm0 | ||
XinWang10 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# CHECK: sha256rnds2 xmm12, xmmword ptr [r28 + 4*r29 + 291], xmm0 | ||
# CHECK: encoding: [0x62,0x1c,0x78,0x08,0xdb,0xa4,0xac,0x23,0x01,0x00,0x00] | ||
sha256rnds2 xmm12, xmmword ptr [r28 + 4*r29 + 291] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be better to use file/cpuid instead of file/instruction to organize the test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a justification...
We used to organize the test by cpuid. But the folder name
apx
here is the already about cpuid, and we have so many instructions for apx, if we put it into a test file, it would be very huge.