Skip to content

feat: add SSE2 support and fix SSE4.1 paths for PADDSW and PSUBSW instructions#141

Merged
ran-j merged 2 commits into
ran-j:mainfrom
jeff-shulkin:mmio_paddsw_psubsw_sse2
Jul 4, 2026
Merged

feat: add SSE2 support and fix SSE4.1 paths for PADDSW and PSUBSW instructions#141
ran-j merged 2 commits into
ran-j:mainfrom
jeff-shulkin:mmio_paddsw_psubsw_sse2

Conversation

@jeff-shulkin

@jeff-shulkin jeff-shulkin commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Currently PADDSW and PSUBSW require SSE4.1 support due to the use of min and max instrinics. This PR rectifies that by implementing said intrinsics using SSE2 SIMD if SSE4.1 is not found.

Comment thread ps2xRuntime/include/ps2_runtime_macros.h Outdated
@jeff-shulkin jeff-shulkin requested a review from ran-j July 4, 2026 01:32
@jeff-shulkin jeff-shulkin changed the title feat: add SSE2 support for PADDSW and PSUBSW instructions feat: add SSE2 support and fix SSE4.1 paths for PADDSW and PSUBSW instructions Jul 4, 2026
@ran-j ran-j merged commit 3a2e0d6 into ran-j:main Jul 4, 2026
3 checks passed
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