Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
dhower-qc committed Oct 29, 2024
2 parents 6ede2fb + 95cfa7c commit cd83543
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion arch/inst/A/lr.w.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ lr.w:
Software should not set the _rl_ bit on an LR instruction unless the _aq_ bit is also set.
LR.rl and SC.aq instructions are not guaranteed to provide any stronger ordering than those
with both bits clear, but may result in lower performance.
definedBy: A
definedBy:
anyOf: [A, Zalrsc]
assembly: xd, xs1
encoding:
match: 00010--00000-----010-----0101111
Expand Down
3 changes: 2 additions & 1 deletion arch/inst/A/sc.d.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ sc.d:
Software should not set the _rl_ bit on an LR instruction unless the _aq_ bit is also set.
LR.rl and SC.aq instructions are not guaranteed to provide any stronger ordering than those
with both bits clear, but may result in lower performance.
definedBy: A
definedBy:
anyOf: [A, Zalrsc]
assembly: xd, xs2, xs1
encoding:
match: 00011------------011-----0101111
Expand Down
3 changes: 2 additions & 1 deletion arch/inst/A/sc.w.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ sc.w:
Software should not set the _rl_ bit on an LR instruction unless the _aq_ bit is also set.
LR.rl and SC.aq instructions are not guaranteed to provide any stronger ordering than those
with both bits clear, but may result in lower performance.
definedBy: A
definedBy:
anyOf: [A, Zalrsc]
assembly: xd, xs2, xs1
encoding:
match: 00011------------010-----0101111
Expand Down
2 changes: 1 addition & 1 deletion backends/ext_pdf_doc/tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ rule %r{#{$root}/gen/ext_pdf_doc/.*/adoc/.*_extension\.adoc} => proc { |tname|
end
raise "Can't find extension '#{ext_name}'" if arch_yaml_paths.empty?

stamp = config_name == "_" ? "#{$root}/.stamps/arch-gen.stamp" : "#{$root}/.stamps/arch-gen-#{config_name}.stamp"
stamp = config_name == "_" ? "#{$root}/.stamps/arch-gen-_64.stamp" : "#{$root}/.stamps/arch-gen-#{config_name}.stamp"

[
stamp,
Expand Down
4 changes: 1 addition & 3 deletions backends/ext_pdf_doc/templates/ext_pdf.adoc.erb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
:preface-title: Licensing and Acknowledgements
:colophon:
:appendix-caption: Appendix
<%- if ext.company["name"] =~ /RISCV/ -%>
<%- if !ext.company.nil? && (ext.company["name"] =~ /RISCV/) -%>
:title-logo-image: image:risc-v_logo.png["RISC-V International Logo",pdfwidth=3.25in,align=center]
:back-cover-image: image:riscv-horizontal-color.svg[opacity=25%]
<%- end -%>
Expand Down Expand Up @@ -208,7 +208,6 @@ The following <%= ext.instructions.size %> instructions are added by this extens
<%- unless ext.implies.empty? -%>
=== Instructions by sub-extension

[%autowidth]
|===
| Mnemonic | `<%= ext.name %>` | <%= ext.implies.map { |e| "`#{e.name}`" }.join(" | ") %>
Expand Down Expand Up @@ -379,7 +378,6 @@ This CSR may return a value that is different from what is stored in hardware.
<%- end -%>
<%- unless ext.instructions.empty? -%>

<<<
[#insns,reftext="Instructions (in alphabetical order)"]
== Instructions (in alphabetical order)
Expand Down

0 comments on commit cd83543

Please sign in to comment.