Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Apx add ndd - #13916

#13916
Draft
jlb6740 wants to merge 3 commits into
bytecodealliance:mainbytecodealliance/wasmtime:mainfrom
jlb6740:apx-add-nddjlb6740/wasmtime:apx-add-nddCopy head branch name to clipboard
Draft

Apx add ndd#13916
jlb6740 wants to merge 3 commits into
bytecodealliance:mainbytecodealliance/wasmtime:mainfrom
jlb6740:apx-add-nddjlb6740/wasmtime:apx-add-nddCopy head branch name to clipboard

Conversation

@jlb6740

@jlb6740 jlb6740 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

No description provided.

jlb6740 added 3 commits July 20, 2026 18:14
Add the runtime EVEX map-4 prefix builder (ND/NF/EGPR bits per APX
spec rev 8, Fig. 3.3), wire it into the meta code generator, and enable
the NDD `addq` instruction. Verified with a byte-exact encoding test
(62 F4 F4 18 01 C2).

Instruction selection (ISLE lowering) and EGPR register allocation are
not part of this change; the `.clif` filetest cannot select these
instructions yet.
Add a `use_apx` ISLE predicate and lower 64-bit `iadd` to the NDD form of
`addq` (EVEX map 4) when the `has_apx` target flag is enabled. Gate the
instruction on the `apx` assembler feature and align the NDD destination
with the EVEX `vvvv` operand so the result is written to a fresh register
without clobbering either input. Add filetests exercising the new lowering
and the `has_apx` flag parsing.
@github-actions github-actions Bot added cranelift Issues related to the Cranelift code generator cranelift:area:x64 Issues related to x64 codegen cranelift:meta Everything related to the meta-language. isle Related to the ISLE domain-specific language labels Jul 21, 2026
@github-actions

Copy link
Copy Markdown

Subscribe to Label Action

cc @cfallin, @fitzgen

Details This issue or pull request has been labeled: "cranelift", "cranelift:area:x64", "cranelift:meta", "isle"

Thus the following users have been cc'd because of the following labels:

  • cfallin: isle
  • fitzgen: isle

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift:area:x64 Issues related to x64 codegen cranelift:meta Everything related to the meta-language. cranelift Issues related to the Cranelift code generator isle Related to the ISLE domain-specific language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.