Skip to content
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

fix duplicate not keyword #265

Merged
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
10 changes: 4 additions & 6 deletions arch/inst/C/c.lui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
c.lui:
long_name: Load the non-zero 6-bit immediate field into bits 17–12 of the destination register
description: |
C.LUI loads the non-zero 6-bit immediate field into bits 17–12 of the destination register, clears the bottom 12 bits, and sign-extends bit 17 into all higher bits of the destination.
C.LUI expands into `lui rd, imm`.
C.LUI is only valid when rd≠x0 and rd≠x2, and when the immediate is not equal to zero.
C.LUI loads the non-zero 6-bit immediate field into bits 17–12 of the destination register, clears the bottom 12 bits, and sign-extends bit 17 into all higher bits of the destination.
C.LUI expands into `lui rd, imm`.
C.LUI is only valid when rd≠x0 and rd≠x2, and when the immediate is not equal to zero.
The code points with imm=0 are reserved; the remaining code points with rd=x0 are HINTs; and the remaining code points with rd=x2 correspond to the C.ADDI16SP instruction
definedBy:
anyOf:
Expand All @@ -20,8 +20,7 @@ c.lui:
left_shift: 12
- name: rd
location: 11-7
not: 0
not: 2
not: [0, 2]
access:
s: always
u: always
Expand All @@ -33,4 +32,3 @@ c.lui:
}

X[rd] = imm;

2 changes: 1 addition & 1 deletion lib/arch_obj_models/instruction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def pretty_name
elsif excludes.size == 1
"#{name} != #{excludes[0]}"
else
"#{name} != {#{excludes[0].join(',')}}"
"#{name} != {#{excludes.join(',')}}"
end
end

Expand Down
Loading