Lines Matching refs:EncVal
438 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType1() local
439 return (EncVal << 32) | EncVal; in decodeAdvSIMDModImmType1()
453 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType2() local
454 return (EncVal << 40) | (EncVal << 8); in decodeAdvSIMDModImmType2()
468 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType3() local
469 return (EncVal << 48) | (EncVal << 16); in decodeAdvSIMDModImmType3()
483 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType4() local
484 return (EncVal << 56) | (EncVal << 24); in decodeAdvSIMDModImmType4()
499 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType5() local
500 return (EncVal << 48) | (EncVal << 32) | (EncVal << 16) | EncVal; in decodeAdvSIMDModImmType5()
515 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType6() local
516 return (EncVal << 56) | (EncVal << 40) | (EncVal << 24) | (EncVal << 8); in decodeAdvSIMDModImmType6()
530 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType7() local
531 return (EncVal << 40) | (EncVal << 8) | 0x000000ff000000ffULL; in decodeAdvSIMDModImmType7()
541 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType8() local
542 return (EncVal << 48) | (EncVal << 16) | 0x0000ffff0000ffffULL; in decodeAdvSIMDModImmType8()
561 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType9() local
562 EncVal |= (EncVal << 8); in decodeAdvSIMDModImmType9()
563 EncVal |= (EncVal << 16); in decodeAdvSIMDModImmType9()
564 EncVal |= (EncVal << 32); in decodeAdvSIMDModImmType9()
565 return EncVal; in decodeAdvSIMDModImmType9()
600 uint8_t EncVal = BitA; in encodeAdvSIMDModImmType10() local
601 EncVal <<= 1; in encodeAdvSIMDModImmType10()
602 EncVal |= BitB; in encodeAdvSIMDModImmType10()
603 EncVal <<= 1; in encodeAdvSIMDModImmType10()
604 EncVal |= BitC; in encodeAdvSIMDModImmType10()
605 EncVal <<= 1; in encodeAdvSIMDModImmType10()
606 EncVal |= BitD; in encodeAdvSIMDModImmType10()
607 EncVal <<= 1; in encodeAdvSIMDModImmType10()
608 EncVal |= BitE; in encodeAdvSIMDModImmType10()
609 EncVal <<= 1; in encodeAdvSIMDModImmType10()
610 EncVal |= BitF; in encodeAdvSIMDModImmType10()
611 EncVal <<= 1; in encodeAdvSIMDModImmType10()
612 EncVal |= BitG; in encodeAdvSIMDModImmType10()
613 EncVal <<= 1; in encodeAdvSIMDModImmType10()
614 EncVal |= BitH; in encodeAdvSIMDModImmType10()
615 return EncVal; in encodeAdvSIMDModImmType10()
619 uint64_t EncVal = 0; in decodeAdvSIMDModImmType10() local
620 if (Imm & 0x80) EncVal |= 0xff00000000000000ULL; in decodeAdvSIMDModImmType10()
621 if (Imm & 0x40) EncVal |= 0x00ff000000000000ULL; in decodeAdvSIMDModImmType10()
622 if (Imm & 0x20) EncVal |= 0x0000ff0000000000ULL; in decodeAdvSIMDModImmType10()
623 if (Imm & 0x10) EncVal |= 0x000000ff00000000ULL; in decodeAdvSIMDModImmType10()
624 if (Imm & 0x08) EncVal |= 0x00000000ff000000ULL; in decodeAdvSIMDModImmType10()
625 if (Imm & 0x04) EncVal |= 0x0000000000ff0000ULL; in decodeAdvSIMDModImmType10()
626 if (Imm & 0x02) EncVal |= 0x000000000000ff00ULL; in decodeAdvSIMDModImmType10()
627 if (Imm & 0x01) EncVal |= 0x00000000000000ffULL; in decodeAdvSIMDModImmType10()
628 return EncVal; in decodeAdvSIMDModImmType10()
649 uint8_t EncVal = BitA; in encodeAdvSIMDModImmType11() local
650 EncVal <<= 1; in encodeAdvSIMDModImmType11()
651 EncVal |= BitB; in encodeAdvSIMDModImmType11()
652 EncVal <<= 1; in encodeAdvSIMDModImmType11()
653 EncVal |= BitC; in encodeAdvSIMDModImmType11()
654 EncVal <<= 1; in encodeAdvSIMDModImmType11()
655 EncVal |= BitD; in encodeAdvSIMDModImmType11()
656 EncVal <<= 1; in encodeAdvSIMDModImmType11()
657 EncVal |= BitE; in encodeAdvSIMDModImmType11()
658 EncVal <<= 1; in encodeAdvSIMDModImmType11()
659 EncVal |= BitF; in encodeAdvSIMDModImmType11()
660 EncVal <<= 1; in encodeAdvSIMDModImmType11()
661 EncVal |= BitG; in encodeAdvSIMDModImmType11()
662 EncVal <<= 1; in encodeAdvSIMDModImmType11()
663 EncVal |= BitH; in encodeAdvSIMDModImmType11()
664 return EncVal; in encodeAdvSIMDModImmType11()
668 uint64_t EncVal = 0; in decodeAdvSIMDModImmType11() local
669 if (Imm & 0x80) EncVal |= 0x80000000ULL; in decodeAdvSIMDModImmType11()
670 if (Imm & 0x40) EncVal |= 0x3e000000ULL; in decodeAdvSIMDModImmType11()
671 else EncVal |= 0x40000000ULL; in decodeAdvSIMDModImmType11()
672 if (Imm & 0x20) EncVal |= 0x01000000ULL; in decodeAdvSIMDModImmType11()
673 if (Imm & 0x10) EncVal |= 0x00800000ULL; in decodeAdvSIMDModImmType11()
674 if (Imm & 0x08) EncVal |= 0x00400000ULL; in decodeAdvSIMDModImmType11()
675 if (Imm & 0x04) EncVal |= 0x00200000ULL; in decodeAdvSIMDModImmType11()
676 if (Imm & 0x02) EncVal |= 0x00100000ULL; in decodeAdvSIMDModImmType11()
677 if (Imm & 0x01) EncVal |= 0x00080000ULL; in decodeAdvSIMDModImmType11()
678 return (EncVal << 32) | EncVal; in decodeAdvSIMDModImmType11()
698 uint8_t EncVal = BitA; in encodeAdvSIMDModImmType12() local
699 EncVal <<= 1; in encodeAdvSIMDModImmType12()
700 EncVal |= BitB; in encodeAdvSIMDModImmType12()
701 EncVal <<= 1; in encodeAdvSIMDModImmType12()
702 EncVal |= BitC; in encodeAdvSIMDModImmType12()
703 EncVal <<= 1; in encodeAdvSIMDModImmType12()
704 EncVal |= BitD; in encodeAdvSIMDModImmType12()
705 EncVal <<= 1; in encodeAdvSIMDModImmType12()
706 EncVal |= BitE; in encodeAdvSIMDModImmType12()
707 EncVal <<= 1; in encodeAdvSIMDModImmType12()
708 EncVal |= BitF; in encodeAdvSIMDModImmType12()
709 EncVal <<= 1; in encodeAdvSIMDModImmType12()
710 EncVal |= BitG; in encodeAdvSIMDModImmType12()
711 EncVal <<= 1; in encodeAdvSIMDModImmType12()
712 EncVal |= BitH; in encodeAdvSIMDModImmType12()
713 return EncVal; in encodeAdvSIMDModImmType12()
717 uint64_t EncVal = 0; in decodeAdvSIMDModImmType12() local
718 if (Imm & 0x80) EncVal |= 0x8000000000000000ULL; in decodeAdvSIMDModImmType12()
719 if (Imm & 0x40) EncVal |= 0x3fc0000000000000ULL; in decodeAdvSIMDModImmType12()
720 else EncVal |= 0x4000000000000000ULL; in decodeAdvSIMDModImmType12()
721 if (Imm & 0x20) EncVal |= 0x0020000000000000ULL; in decodeAdvSIMDModImmType12()
722 if (Imm & 0x10) EncVal |= 0x0010000000000000ULL; in decodeAdvSIMDModImmType12()
723 if (Imm & 0x08) EncVal |= 0x0008000000000000ULL; in decodeAdvSIMDModImmType12()
724 if (Imm & 0x04) EncVal |= 0x0004000000000000ULL; in decodeAdvSIMDModImmType12()
725 if (Imm & 0x02) EncVal |= 0x0002000000000000ULL; in decodeAdvSIMDModImmType12()
726 if (Imm & 0x01) EncVal |= 0x0001000000000000ULL; in decodeAdvSIMDModImmType12()
727 return (EncVal << 32) | EncVal; in decodeAdvSIMDModImmType12()