Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions riscv64/riscv64asm/objdumpext_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ func writeELF64(f *os.File, size int) error {
strtabsize := len("\x00.text\x00.riscv.attributes\x00.shstrtab\x00")
// RISC-V objdump needs the .riscv.attributes section to identify extensions.
exts := "rv64i2p0_m2p0_a2p0_f2p0_d2p0_q2p0_c2p0_v1p0_" +
"zawrs1p0_" +
"zicbom1p0_zicbop1p0_zicboz1p0_zicond1p0_zmmul1p0_" +
"zfh1p0_zfhmin1p0_zba1p0_zbb1p0_zbc1p0_zbs1p0_" +
"zvkg1p0_zvkned1p0_zvknha1p0_zvknhb1p0_zvksed1p0_zvksh1p0"
Expand Down
8 changes: 8 additions & 0 deletions riscv64/riscv64asm/tables.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions riscv64/riscv64asm/testdata/gnucases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,10 @@ a260| ld x1,8(x2)
b353530e| czero.eqz x7,x6,x5
b373530e| czero.nez x7,x6,x5

# 15. "Zawrs" Extension for Wait-on-Reservation-Set instructions, Version 1.01
7300d000| wrs.nto
7300d001| wrs.sto

# 19.6.1: Cache-Block Management Instructions (Zicbom), Version 1.0.0
0fa01200| cbo.clean (x5)
0fa02200| cbo.flush (x5)
Expand Down
4 changes: 4 additions & 0 deletions riscv64/riscv64asm/testdata/plan9cases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,10 @@ b3115228| BSET X5, X4, X3
b353530e| CZEROEQZ X5, X6, X7
b373530e| CZERONEZ X5, X6, X7

# 15. "Zawrs" Extension for Wait-on-Reservation-Set instructions, Version 1.01
7300d000| WRSNTO
7300d001| WRSSTO

# 19.6.1: Cache-Block Management Instructions (Zicbom), Version 1.0.0
0fa01200| CBOCLEAN (X5)
0fa02200| CBOFLUSH (X5)
Expand Down
1 change: 1 addition & 0 deletions riscv64/riscv64spec/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ var extensions = []string{
"rv_m",
"rv_q",
"rv_v",
"rv_zawrs",
"rv_zba",
"rv_zbb",
"rv_zbc",
Expand Down
Loading