mirror of
				https://github.com/hedge-dev/XenonRecomp.git
				synced 2025-10-30 07:11:38 +00:00 
			
		
		
		
	Correct fround constants
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
This commit is contained in:
		
							parent
							
								
									aad99be74d
								
							
						
					
					
						commit
						60e421da46
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -2034,19 +2034,19 @@ bool Recompiler::Recompile( | |||
|     case PPC_INST_VRFIM: | ||||
|     case PPC_INST_VRFIM128: | ||||
|         printSetFlushMode(true); | ||||
|         println("\tsimde_mm_store_ps({}.f32, simde_mm_round_ps(simde_mm_load_ps({}.f32), _MM_FROUND_TO_NEG_INF | _MM_FROUND_NO_EXC));", v(insn.operands[0]), v(insn.operands[1])); | ||||
|         println("\tsimde_mm_store_ps({}.f32, simde_mm_round_ps(simde_mm_load_ps({}.f32), SIMDE_MM_FROUND_TO_NEG_INF | SIMDE_MM_FROUND_NO_EXC));", v(insn.operands[0]), v(insn.operands[1])); | ||||
|         break; | ||||
| 
 | ||||
|     case PPC_INST_VRFIN: | ||||
|     case PPC_INST_VRFIN128: | ||||
|         printSetFlushMode(true); | ||||
|         println("\tsimde_mm_store_ps({}.f32, simde_mm_round_ps(simde_mm_load_ps({}.f32), _MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC));", v(insn.operands[0]), v(insn.operands[1])); | ||||
|         println("\tsimde_mm_store_ps({}.f32, simde_mm_round_ps(simde_mm_load_ps({}.f32), SIMDE_MM_FROUND_TO_NEAREST_INT | SIMDE_MM_FROUND_NO_EXC));", v(insn.operands[0]), v(insn.operands[1])); | ||||
|         break; | ||||
| 
 | ||||
|     case PPC_INST_VRFIZ: | ||||
|     case PPC_INST_VRFIZ128: | ||||
|         printSetFlushMode(true); | ||||
|         println("\tsimde_mm_store_ps({}.f32, simde_mm_round_ps(simde_mm_load_ps({}.f32), _MM_FROUND_TO_ZERO | _MM_FROUND_NO_EXC));", v(insn.operands[0]), v(insn.operands[1])); | ||||
|         println("\tsimde_mm_store_ps({}.f32, simde_mm_round_ps(simde_mm_load_ps({}.f32), SIMDE_MM_FROUND_TO_ZERO | SIMDE_MM_FROUND_NO_EXC));", v(insn.operands[0]), v(insn.operands[1])); | ||||
|         break; | ||||
| 
 | ||||
|     case PPC_INST_VRLIMI128: | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Isaac Marovitz
						Isaac Marovitz