mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
crypto/sha1: add real workaround for msvc/arm64 bad codegen
This commit is contained in:
@ -293,10 +293,6 @@ private:
|
||||
template <size_t Func>
|
||||
static inline constexpr State FourRounds(State state, uint32x4_t w)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
// FIXME it seems the msvc optimizer gets a little too happy
|
||||
_ReadBarrier();
|
||||
#endif
|
||||
return {f<Func>(state, w), vsha1h_u32(vgetq_lane_u32(state.abcd, 0))};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user