mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
AVX-512: Added mask and rounding mode for scalar arithmetics
Added more tests for scalar instructions to destinguish between AVX and AVX-512 forms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230891 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -215,11 +215,17 @@ static inline bool inheritsFrom(InstructionContext child,
|
||||
return inheritsFrom(child, IC_EVEX_W_K) ||
|
||||
inheritsFrom(child, IC_EVEX_L_W_K);
|
||||
case IC_EVEX_XS_K:
|
||||
case IC_EVEX_XS_K_B:
|
||||
case IC_EVEX_XS_KZ_B:
|
||||
return inheritsFrom(child, IC_EVEX_W_XS_K) ||
|
||||
inheritsFrom(child, IC_EVEX_L_W_XS_K);
|
||||
case IC_EVEX_XD_K:
|
||||
case IC_EVEX_XD_K_B:
|
||||
case IC_EVEX_XD_KZ_B:
|
||||
return inheritsFrom(child, IC_EVEX_W_XD_K) ||
|
||||
inheritsFrom(child, IC_EVEX_L_W_XD_K);
|
||||
case IC_EVEX_XS_B:
|
||||
case IC_EVEX_XD_B:
|
||||
case IC_EVEX_K_B:
|
||||
case IC_EVEX_KZ:
|
||||
return false;
|
||||
@ -253,6 +259,12 @@ static inline bool inheritsFrom(InstructionContext child,
|
||||
case IC_EVEX_W_KZ:
|
||||
case IC_EVEX_W_XS_KZ:
|
||||
case IC_EVEX_W_XD_KZ:
|
||||
case IC_EVEX_W_XS_B:
|
||||
case IC_EVEX_W_XD_B:
|
||||
case IC_EVEX_W_XS_K_B:
|
||||
case IC_EVEX_W_XD_K_B:
|
||||
case IC_EVEX_W_XS_KZ_B:
|
||||
case IC_EVEX_W_XD_KZ_B:
|
||||
case IC_EVEX_W_OPSIZE_KZ:
|
||||
case IC_EVEX_W_OPSIZE_KZ_B:
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user