[PR #3153] [MERGED] V_CMP_EQ_U64 support #3266

Closed
opened 2026-02-27 22:03:03 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3153
Author: @nickci2002
Created: 6/23/2025
Status: Merged
Merged: 7/2/2025
Merged by: @georgemoralis

Base: mainHead: v_cmp_u64-support


📝 Commits (7)

  • 0f12a4c Added V_CMP_EQ_U64 shader opcode support and added 64-bit relational operators (<,>,<=,>=)
  • 2ba88fe Merge branch 'shadps4-emu:main' into v_cmp_u64-support
  • d59df1d Fixed clang-format crying because I typed xargs clang-format instead of xargs clang-format-19
  • 14d619e Merge branch 'shadps4-emu:main' into v_cmp_u64-support
  • 544ff1d Replaced V_CMP_EQ_U64 code to match V_CMP_U32 to test
  • c5c7546 Merge branch 'shadps4-emu:main' into v_cmp_u64-support
  • 072287d Updated V_CMP_U64 for future addons

📊 Changes

8 files changed (+145 additions, -64 deletions)

View changed files

📝 src/shader_recompiler/backend/spirv/emit_spirv_instructions.h (+12 -6)
📝 src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp (+30 -6)
📝 src/shader_recompiler/frontend/translate/translate.h (+2 -2)
📝 src/shader_recompiler/frontend/translate/vector_alu.cpp (+24 -29)
📝 src/shader_recompiler/ir/ir_emitter.cpp (+38 -6)
📝 src/shader_recompiler/ir/ir_emitter.h (+3 -3)
📝 src/shader_recompiler/ir/opcodes.inc (+12 -6)
📝 src/shader_recompiler/ir/passes/constant_propagation_pass.cpp (+24 -6)

📄 Description

Added V_CMP_EQ_U64 opcode support for Dead Rising 4 (https://github.com/shadps4-emu/shadPS4/issues/496#issuecomment-2933971873) and added 64-bit relational operators (<,>,<=,>=).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/3153 **Author:** [@nickci2002](https://github.com/nickci2002) **Created:** 6/23/2025 **Status:** ✅ Merged **Merged:** 7/2/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `v_cmp_u64-support` --- ### 📝 Commits (7) - [`0f12a4c`](https://github.com/shadps4-emu/shadPS4/commit/0f12a4c485894375700cb666723081df563ae8e8) Added V_CMP_EQ_U64 shader opcode support and added 64-bit relational operators (<,>,<=,>=) - [`2ba88fe`](https://github.com/shadps4-emu/shadPS4/commit/2ba88fe46ac0f8b03949b9ef224736ff1ecd919a) Merge branch 'shadps4-emu:main' into v_cmp_u64-support - [`d59df1d`](https://github.com/shadps4-emu/shadPS4/commit/d59df1d5e0cee83ba6e93419192d49af3e402ec3) Fixed clang-format crying because I typed xargs clang-format instead of xargs clang-format-19 - [`14d619e`](https://github.com/shadps4-emu/shadPS4/commit/14d619e5aeda1dcbc1696e35129037fff4edf479) Merge branch 'shadps4-emu:main' into v_cmp_u64-support - [`544ff1d`](https://github.com/shadps4-emu/shadPS4/commit/544ff1dfc5c6afa9056b40534c2bc8731d7e151c) Replaced V_CMP_EQ_U64 code to match V_CMP_U32 to test - [`c5c7546`](https://github.com/shadps4-emu/shadPS4/commit/c5c7546552b4bb76cd70f4c5103d81475e788559) Merge branch 'shadps4-emu:main' into v_cmp_u64-support - [`072287d`](https://github.com/shadps4-emu/shadPS4/commit/072287d0abdd640759fee1b1aa28a6ce69a23dfd) Updated V_CMP_U64 for future addons ### 📊 Changes **8 files changed** (+145 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/backend/spirv/emit_spirv_instructions.h` (+12 -6) 📝 `src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp` (+30 -6) 📝 `src/shader_recompiler/frontend/translate/translate.h` (+2 -2) 📝 `src/shader_recompiler/frontend/translate/vector_alu.cpp` (+24 -29) 📝 `src/shader_recompiler/ir/ir_emitter.cpp` (+38 -6) 📝 `src/shader_recompiler/ir/ir_emitter.h` (+3 -3) 📝 `src/shader_recompiler/ir/opcodes.inc` (+12 -6) 📝 `src/shader_recompiler/ir/passes/constant_propagation_pass.cpp` (+24 -6) </details> ### 📄 Description Added V_CMP_EQ_U64 opcode support for Dead Rising 4 (https://github.com/shadps4-emu/shadPS4/issues/496#issuecomment-2933971873) and added 64-bit relational operators (<,>,<=,>=). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:03 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3266
No description provided.