Lines Matching refs:EncVal
464 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType1() local
465 return (EncVal << 32) | EncVal; in decodeAdvSIMDModImmType1()
479 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType2() local
480 return (EncVal << 40) | (EncVal << 8); in decodeAdvSIMDModImmType2()
494 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType3() local
495 return (EncVal << 48) | (EncVal << 16); in decodeAdvSIMDModImmType3()
509 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType4() local
510 return (EncVal << 56) | (EncVal << 24); in decodeAdvSIMDModImmType4()
525 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType5() local
526 return (EncVal << 48) | (EncVal << 32) | (EncVal << 16) | EncVal; in decodeAdvSIMDModImmType5()
541 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType6() local
542 return (EncVal << 56) | (EncVal << 40) | (EncVal << 24) | (EncVal << 8); in decodeAdvSIMDModImmType6()
556 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType7() local
557 return (EncVal << 40) | (EncVal << 8) | 0x000000ff000000ffULL; in decodeAdvSIMDModImmType7()
567 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType8() local
568 return (EncVal << 48) | (EncVal << 16) | 0x0000ffff0000ffffULL; in decodeAdvSIMDModImmType8()
587 uint64_t EncVal = Imm; in decodeAdvSIMDModImmType9() local
588 EncVal |= (EncVal << 8); in decodeAdvSIMDModImmType9()
589 EncVal |= (EncVal << 16); in decodeAdvSIMDModImmType9()
590 EncVal |= (EncVal << 32); in decodeAdvSIMDModImmType9()
591 return EncVal; in decodeAdvSIMDModImmType9()
626 uint8_t EncVal = BitA; in encodeAdvSIMDModImmType10() local
627 EncVal <<= 1; in encodeAdvSIMDModImmType10()
628 EncVal |= BitB; in encodeAdvSIMDModImmType10()
629 EncVal <<= 1; in encodeAdvSIMDModImmType10()
630 EncVal |= BitC; in encodeAdvSIMDModImmType10()
631 EncVal <<= 1; in encodeAdvSIMDModImmType10()
632 EncVal |= BitD; in encodeAdvSIMDModImmType10()
633 EncVal <<= 1; in encodeAdvSIMDModImmType10()
634 EncVal |= BitE; in encodeAdvSIMDModImmType10()
635 EncVal <<= 1; in encodeAdvSIMDModImmType10()
636 EncVal |= BitF; in encodeAdvSIMDModImmType10()
637 EncVal <<= 1; in encodeAdvSIMDModImmType10()
638 EncVal |= BitG; in encodeAdvSIMDModImmType10()
639 EncVal <<= 1; in encodeAdvSIMDModImmType10()
640 EncVal |= BitH; in encodeAdvSIMDModImmType10()
641 return EncVal; in encodeAdvSIMDModImmType10()
645 uint64_t EncVal = 0; in decodeAdvSIMDModImmType10() local
646 if (Imm & 0x80) EncVal |= 0xff00000000000000ULL; in decodeAdvSIMDModImmType10()
647 if (Imm & 0x40) EncVal |= 0x00ff000000000000ULL; in decodeAdvSIMDModImmType10()
648 if (Imm & 0x20) EncVal |= 0x0000ff0000000000ULL; in decodeAdvSIMDModImmType10()
649 if (Imm & 0x10) EncVal |= 0x000000ff00000000ULL; in decodeAdvSIMDModImmType10()
650 if (Imm & 0x08) EncVal |= 0x00000000ff000000ULL; in decodeAdvSIMDModImmType10()
651 if (Imm & 0x04) EncVal |= 0x0000000000ff0000ULL; in decodeAdvSIMDModImmType10()
652 if (Imm & 0x02) EncVal |= 0x000000000000ff00ULL; in decodeAdvSIMDModImmType10()
653 if (Imm & 0x01) EncVal |= 0x00000000000000ffULL; in decodeAdvSIMDModImmType10()
654 return EncVal; in decodeAdvSIMDModImmType10()
675 uint8_t EncVal = BitA; in encodeAdvSIMDModImmType11() local
676 EncVal <<= 1; in encodeAdvSIMDModImmType11()
677 EncVal |= BitB; in encodeAdvSIMDModImmType11()
678 EncVal <<= 1; in encodeAdvSIMDModImmType11()
679 EncVal |= BitC; in encodeAdvSIMDModImmType11()
680 EncVal <<= 1; in encodeAdvSIMDModImmType11()
681 EncVal |= BitD; in encodeAdvSIMDModImmType11()
682 EncVal <<= 1; in encodeAdvSIMDModImmType11()
683 EncVal |= BitE; in encodeAdvSIMDModImmType11()
684 EncVal <<= 1; in encodeAdvSIMDModImmType11()
685 EncVal |= BitF; in encodeAdvSIMDModImmType11()
686 EncVal <<= 1; in encodeAdvSIMDModImmType11()
687 EncVal |= BitG; in encodeAdvSIMDModImmType11()
688 EncVal <<= 1; in encodeAdvSIMDModImmType11()
689 EncVal |= BitH; in encodeAdvSIMDModImmType11()
690 return EncVal; in encodeAdvSIMDModImmType11()
694 uint64_t EncVal = 0; in decodeAdvSIMDModImmType11() local
695 if (Imm & 0x80) EncVal |= 0x80000000ULL; in decodeAdvSIMDModImmType11()
696 if (Imm & 0x40) EncVal |= 0x3e000000ULL; in decodeAdvSIMDModImmType11()
697 else EncVal |= 0x40000000ULL; in decodeAdvSIMDModImmType11()
698 if (Imm & 0x20) EncVal |= 0x01000000ULL; in decodeAdvSIMDModImmType11()
699 if (Imm & 0x10) EncVal |= 0x00800000ULL; in decodeAdvSIMDModImmType11()
700 if (Imm & 0x08) EncVal |= 0x00400000ULL; in decodeAdvSIMDModImmType11()
701 if (Imm & 0x04) EncVal |= 0x00200000ULL; in decodeAdvSIMDModImmType11()
702 if (Imm & 0x02) EncVal |= 0x00100000ULL; in decodeAdvSIMDModImmType11()
703 if (Imm & 0x01) EncVal |= 0x00080000ULL; in decodeAdvSIMDModImmType11()
704 return (EncVal << 32) | EncVal; in decodeAdvSIMDModImmType11()
724 uint8_t EncVal = BitA; in encodeAdvSIMDModImmType12() local
725 EncVal <<= 1; in encodeAdvSIMDModImmType12()
726 EncVal |= BitB; in encodeAdvSIMDModImmType12()
727 EncVal <<= 1; in encodeAdvSIMDModImmType12()
728 EncVal |= BitC; in encodeAdvSIMDModImmType12()
729 EncVal <<= 1; in encodeAdvSIMDModImmType12()
730 EncVal |= BitD; in encodeAdvSIMDModImmType12()
731 EncVal <<= 1; in encodeAdvSIMDModImmType12()
732 EncVal |= BitE; in encodeAdvSIMDModImmType12()
733 EncVal <<= 1; in encodeAdvSIMDModImmType12()
734 EncVal |= BitF; in encodeAdvSIMDModImmType12()
735 EncVal <<= 1; in encodeAdvSIMDModImmType12()
736 EncVal |= BitG; in encodeAdvSIMDModImmType12()
737 EncVal <<= 1; in encodeAdvSIMDModImmType12()
738 EncVal |= BitH; in encodeAdvSIMDModImmType12()
739 return EncVal; in encodeAdvSIMDModImmType12()
743 uint64_t EncVal = 0; in decodeAdvSIMDModImmType12() local
744 if (Imm & 0x80) EncVal |= 0x8000000000000000ULL; in decodeAdvSIMDModImmType12()
745 if (Imm & 0x40) EncVal |= 0x3fc0000000000000ULL; in decodeAdvSIMDModImmType12()
746 else EncVal |= 0x4000000000000000ULL; in decodeAdvSIMDModImmType12()
747 if (Imm & 0x20) EncVal |= 0x0020000000000000ULL; in decodeAdvSIMDModImmType12()
748 if (Imm & 0x10) EncVal |= 0x0010000000000000ULL; in decodeAdvSIMDModImmType12()
749 if (Imm & 0x08) EncVal |= 0x0008000000000000ULL; in decodeAdvSIMDModImmType12()
750 if (Imm & 0x04) EncVal |= 0x0004000000000000ULL; in decodeAdvSIMDModImmType12()
751 if (Imm & 0x02) EncVal |= 0x0002000000000000ULL; in decodeAdvSIMDModImmType12()
752 if (Imm & 0x01) EncVal |= 0x0001000000000000ULL; in decodeAdvSIMDModImmType12()
753 return (EncVal << 32) | EncVal; in decodeAdvSIMDModImmType12()