mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-22 21:17:14 +00:00
Recompiler: write ppc_context.h
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef PPC_CONTEXT_H_INCLUDED
|
||||
#define PPC_CONTEXT_H_INCLUDED
|
||||
|
||||
#ifndef PPC_CONFIG_H_INCLUDED
|
||||
#error "ppc_config.h must be included before ppc_context.h"
|
||||
@@ -579,3 +580,5 @@ inline __m128i _mm_vsr(__m128i a, __m128i b)
|
||||
b = _mm_srli_epi64(_mm_slli_epi64(b, 61), 61);
|
||||
return _mm_castps_si128(_mm_insert_ps(_mm_castsi128_ps(_mm_srl_epi64(a, b)), _mm_castsi128_ps(_mm_srl_epi64(_mm_srli_si128(a, 4), b)), 0x10));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user