ReinUsesLisp
8cfa8cda16
shader: Add integer division opcodes
4 years ago
ameerj
33d21ac2db
opengl: Implement LOP.CC
Used by MH:Rise
5 years ago
ReinUsesLisp
f158fe9359
shader: Remove IAbs64
5 years ago
ReinUsesLisp
8d77a943cc
glasm: Fix INeg32 on negative immediates
5 years ago
ReinUsesLisp
143db4b112
glasm: Catch more register leaks
Add support for null registers. These are used when an instruction has
no usages.
This comes handy when an instruction is only used for its CC value, with
the caveat of having to invalidate all pseudo-instructions before
defining the instruction itself in the register allocator. This commits
changes this.
Workaround a bug on Nvidia's condition codes conditional execution using
branches.
5 years ago
ReinUsesLisp
46edc93371
glasm: Implement int64 add and subtract
5 years ago
ReinUsesLisp
d95e33ac44
glasm: Implement 64-bit shifts
5 years ago
ameerj
a9a9dddd34
glasm: Implement IADD.CC
5 years ago
ReinUsesLisp
abcdcde851
glasm: Implement BFE.CC
5 years ago
ReinUsesLisp
55a293a9c8
glasm: Write result to scalar on integer comparison instructions
5 years ago
ReinUsesLisp
03f6d424ce
glasm: Rework control flow introducing a syntax list
This commit regresses VertexA shaders, their transformation pass has to
be adapted to the new control flow.
5 years ago
ReinUsesLisp
3e7dbc81f5
glasm: Review all GLASM insts to be aware of register aliasing
5 years ago
ReinUsesLisp
8a77a1426b
glasm: Implement IAbs64 and INeg64 on GLASM
5 years ago
ReinUsesLisp
cbac486530
glasm: Add conversion instructions to GLASM
5 years ago
ReinUsesLisp
06bd9acf07
glasm: Remove unnecesary new white space on Clamp GLASM
5 years ago
ameerj
fd6393cb14
emit_glasm: Implement more integer alu ops
5 years ago
ameerj
c13b6d8f86
glasm: Reimplement bitwise ops and BFI/BFE
5 years ago
ReinUsesLisp
04ed27a997
glasm: Make GLASM aware of types
5 years ago
ameerj
94ee083286
glasm: Use CMP.S for Select32
also fixes ADD and SUB to use U modifier
5 years ago
ameerj
b27f30fa2e
glasm: Implement more logical ops
5 years ago
ameerj
779ff6918b
glasm: Implement BFI, BFE
Along with implementations of common instructions along the way
5 years ago
ReinUsesLisp
6c0a696179
glasm: Implement basic GLASM instructions
5 years ago
ReinUsesLisp
d9b9c10f32
glasm: Add GLASM backend infrastructure
5 years ago