mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-29 15:12:11 +00:00
ARM compile fixes
This commit is contained in:
parent
079f3bd78c
commit
8353c88506
2 changed files with 4 additions and 4 deletions
|
@ -73,8 +73,8 @@ SSAVec16ub::SSAVec16ub(SSAVec8s s0, SSAVec8s s1)
|
||||||
: v(0)
|
: v(0)
|
||||||
{
|
{
|
||||||
#ifdef ARM_TARGET
|
#ifdef ARM_TARGET
|
||||||
llvm::Value *int8x8_i0 = SSAScope::builder().CreateCall(SSAScope::intrinsic(llvm::Intrinsic::arm_neon_vqmovnsu, s0.v, SSAScope::hint());
|
llvm::Value *int8x8_i0 = SSAScope::builder().CreateCall(SSAScope::intrinsic(llvm::Intrinsic::arm_neon_vqmovnsu), s0.v, SSAScope::hint());
|
||||||
llvm::Value *int8x8_i1 = SSAScope::builder().CreateCall(SSAScope::intrinsic(llvm::Intrinsic::arm_neon_vqmovnsu, s1.v, SSAScope::hint());
|
llvm::Value *int8x8_i1 = SSAScope::builder().CreateCall(SSAScope::intrinsic(llvm::Intrinsic::arm_neon_vqmovnsu), s1.v, SSAScope::hint());
|
||||||
return shuffle(from_llvm(int8x8_i0), from_llvm(int8x8_i1), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
|
return shuffle(from_llvm(int8x8_i0), from_llvm(int8x8_i1), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
|
||||||
#else
|
#else
|
||||||
llvm::Value *values[2] = { s0.v, s1.v };
|
llvm::Value *values[2] = { s0.v, s1.v };
|
||||||
|
|
|
@ -63,8 +63,8 @@ SSAVec8s::SSAVec8s(SSAVec4i i0, SSAVec4i i1)
|
||||||
: v(0)
|
: v(0)
|
||||||
{
|
{
|
||||||
#ifdef ARM_TARGET
|
#ifdef ARM_TARGET
|
||||||
llvm::Value *int16x4_i0 = SSAScope::builder().CreateCall(SSAScope::intrinsic(llvm::Intrinsic::arm_neon_vqmovns, i0.v, SSAScope::hint());
|
llvm::Value *int16x4_i0 = SSAScope::builder().CreateCall(SSAScope::intrinsic(llvm::Intrinsic::arm_neon_vqmovns), i0.v, SSAScope::hint());
|
||||||
llvm::Value *int16x4_i1 = SSAScope::builder().CreateCall(SSAScope::intrinsic(llvm::Intrinsic::arm_neon_vqmovns, i1.v, SSAScope::hint());
|
llvm::Value *int16x4_i1 = SSAScope::builder().CreateCall(SSAScope::intrinsic(llvm::Intrinsic::arm_neon_vqmovns), i1.v, SSAScope::hint());
|
||||||
return shuffle(from_llvm(int16x4_i0), from_llvm(int16x4_i1), 0, 1, 2, 3, 4, 5, 6, 7);
|
return shuffle(from_llvm(int16x4_i0), from_llvm(int16x4_i1), 0, 1, 2, 3, 4, 5, 6, 7);
|
||||||
#else
|
#else
|
||||||
llvm::Value *values[2] = { i0.v, i1.v };
|
llvm::Value *values[2] = { i0.v, i1.v };
|
||||||
|
|
Loading…
Reference in a new issue