Skip to content

mips: add Ingenic MXU, MXU2 and MXU3 detection - #188

Merged
nihui merged 7 commits into
masterfrom
mips-mxu-detection
Sep 1, 2026
Merged

mips: add Ingenic MXU, MXU2 and MXU3 detection#188
nihui merged 7 commits into
masterfrom
mips-mxu-detection

Conversation

@nihui

@nihui nihui commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Add runtime ISA probes for Ingenic MIPS SIMD extensions:

  • mxu: classic XBurst MXU via s32and xr0,xr0,xr0
  • mxu2: 128-bit MXU2 via andv $vr0,$vr0,$vr0
  • mxu3: 512-bit MXU3 via andv $vr0,$vr0,$vr0

The probes use raw instruction encodings, matching ruapu's existing MIPS detection style and avoiding a dependency on Ingenic-specific assembler support.

Also expose the three features in the example program.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@nihui
nihui merged commit f6a57c0 into master Sep 1, 2026
13 of 14 checks passed
@nihui
nihui deleted the mips-mxu-detection branch September 1, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants