Home | History | Annotate | Download | only in EbcDxe

Lines Matching refs:Operands

21 // size of operands or data.

432 they can share the code that does the fetch of operands and the write-back
433 of the result. This function performs the fetch of the operands (even if
443 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
490 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
560 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
577 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
603 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
629 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
648 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
667 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
743 they can share the code that does the fetch of operands and the write-back
744 of the result. This function performs the fetch of the operands (even if
753 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
765 they can share the code that does the fetch of operands and the write-back
766 of the result. This function performs the fetch of the operands (even if
775 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
792 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
809 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
833 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
857 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
1159 @return Op1 >> Op2 (unsigned operands)
1250 // Once we retrieve the operands for the data manipulation instructions,
1545 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
1556 UINT8 Operands;
1571 // Get the operands byte so we can get R1 and R2
1573 Operands = GETOPERANDS (VmPtr);
1584 // is 2 (opcode + operands). Add to this size each index specified.
1676 if (OPERAND2_INDIRECT (Operands)) {
1680 Source = (UINTN) (VmPtr->Gpr[OPERAND2_REGNUM (Operands)] + Index64Op2);
1716 Data64 = (UINT64) (VmPtr->Gpr[OPERAND2_REGNUM (Operands)] + Index64Op2);
1735 if ((OPERAND2_REGNUM (Operands) == 0) &&
1736 (!OPERAND2_INDIRECT (Operands)) &&
1738 (OPERAND1_REGNUM (Operands) == 0) &&
1739 (OPERAND1_INDIRECT (Operands))
1748 if (OPERAND1_INDIRECT (Operands)) {
1752 Source = (UINTN) (VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index64Op1);
1800 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] = Data64 & DataMask;
1824 UINT8 Operands;
1831 Operands = GETOPERANDS (VmPtr);
1832 switch (Operands) {
1944 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
2166 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
2176 UINT8 Operands;
2184 // Get the opcode and operands byte so we can get R1 and R2
2187 Operands = GETOPERANDS (VmPtr);
2192 if ((Operands & MOVI_M_IMMDATA) != 0) {
2225 if (!OPERAND1_INDIRECT (Operands)) {
2229 if ((Operands & MOVI_M_IMMDATA) != 0) {
2240 if ((Operands & MOVI_M_MOVEWIDTH) == MOVI_MOVEWIDTH8) {
2242 } else if ((Operands & MOVI_M_MOVEWIDTH) == MOVI_MOVEWIDTH16) {
2244 } else if ((Operands & MOVI_M_MOVEWIDTH) == MOVI_MOVEWIDTH32) {
2250 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] = ImmData64 & Mask64;
2255 Op1 = (UINT64) VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16;
2256 if ((Operands & MOVI_M_MOVEWIDTH) == MOVI_MOVEWIDTH8) {
2258 } else if ((Operands & MOVI_M_MOVEWIDTH) == MOVI_MOVEWIDTH16) {
2260 } else if ((Operands & MOVI_M_MOVEWIDTH) == MOVI_MOVEWIDTH32) {
2284 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
2294 UINT8 Operands;
2303 // Get the opcode and operands byte so we can get R1 and R2
2306 Operands = GETOPERANDS (VmPtr);
2311 if ((Operands & MOVI_M_IMMDATA) != 0) {
2346 if (!OPERAND1_INDIRECT (Operands)) {
2351 if ((Operands & MOVI_M_IMMDATA) != 0) {
2360 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] = ImmedIndex64;
2365 Op1 = (UINT64) VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16;
2386 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
2396 UINT8 Operands;
2404 // Get the opcode and operands byte so we can get R1 and R2
2407 Operands = GETOPERANDS (VmPtr);
2412 if ((Operands & MOVI_M_IMMDATA) != 0) {
2446 if (!OPERAND1_INDIRECT (Operands)) {
2450 if ((Operands & MOVI_M_IMMDATA) != 0) {
2459 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] = (VM_REGISTER) Op2;
2466 Op1 = (UINT64) VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16;
2492 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
2502 UINT8 Operands;
2512 Operands = GETOPERANDS (VmPtr);
2521 if (OPERAND1_INDIRECT (Operands)) {
2539 if (OPERAND2_INDIRECT (Operands)) {
2550 Op2 = (UINT64)(INT64)(INTN)(VmPtr->Gpr[OPERAND2_REGNUM (Operands)] + Op2Index);
2551 if (OPERAND2_INDIRECT (Operands)) {
2557 if (!OPERAND1_INDIRECT (Operands)) {
2558 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] = Op2;
2560 VmWriteMemN (VmPtr, (UINTN) (VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Op1Index), (UINTN) Op2);
2585 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
2595 UINT8 Operands;
2605 Operands = GETOPERANDS (VmPtr);
2614 if (OPERAND1_INDIRECT (Operands)) {
2632 if (OPERAND2_INDIRECT (Operands)) {
2643 Op2 = (UINT64)(INT64)(INTN)(INT64)(VmPtr->Gpr[OPERAND2_REGNUM (Operands)] + Op2Index);
2644 if (OPERAND2_INDIRECT (Operands)) {
2650 if (!OPERAND1_INDIRECT (Operands)) {
2651 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] = Op2;
2653 VmWriteMemN (VmPtr, (UINTN) (VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Op1Index), (UINTN) Op2);
2680 UINT8 Operands;
2685 // Get opcode and operands
2688 Operands = GETOPERANDS (VmPtr);
2694 if (OPERAND1_INDIRECT (Operands)) {
2708 if (OPERAND1_INDIRECT (Operands)) {
2709 DataN = VmReadMemN (VmPtr, (UINTN) (VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16));
2711 DataN = (UINTN) (VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16);
2739 UINT8 Operands;
2745 // Get opcode and operands
2748 Operands = GETOPERANDS (VmPtr);
2753 if (OPERAND1_INDIRECT (Operands)) {
2768 if (OPERAND1_INDIRECT (Operands)) {
2769 Data64 = VmReadMem64 (VmPtr, (UINTN) (VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16));
2771 Data64 = (UINT64) VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16;
2782 if (OPERAND1_INDIRECT (Operands)) {
2783 Data32 = VmReadMem32 (VmPtr, (UINTN) (VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16));
2785 Data32 = (UINT32) VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16;
2815 UINT8 Operands;
2820 // Get opcode and operands
2823 Operands = GETOPERANDS (VmPtr);
2828 if (OPERAND1_INDIRECT (Operands)) {
2847 if (OPERAND1_INDIRECT (Operands)) {
2848 VmWriteMemN (VmPtr, (UINTN) (VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16), DataN);
2850 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] = (INT64) (UINT64) ((UINTN) DataN + Index16);
2874 UINT8 Operands;
2880 // Get opcode and operands
2883 Operands = GETOPERANDS (VmPtr);
2888 if (OPERAND1_INDIRECT (Operands)) {
2911 if (OPERAND1_INDIRECT (Operands)) {
2912 VmWriteMem64 (VmPtr, (UINTN) (VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16), Data64);
2914 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] = Data64 + Index16;
2925 if (OPERAND1_INDIRECT (Operands)) {
2926 VmWriteMem32 (VmPtr, (UINTN) (VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16), Data32);
2928 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] = (INT64) Data32 + Index16;
2958 UINT8 Operands;
2965 // Get opcode and operands
2968 Operands = GETOPERANDS (VmPtr);
2987 if (OPERAND1_INDIRECT (Operands)) {
3002 if ((Operands & OPERAND_M_NATIVE_CALL) == 0) {
3016 if ((Operands & OPERAND_M_NATIVE_CALL) == 0) {
3030 if (OPERAND1_REGNUM (Operands) != 0) {
3031 Immed64 = (UINT64) (UINTN) VmPtr->Gpr[OPERAND1_REGNUM (Operands)];
3036 if (OPERAND1_INDIRECT (Operands)) {
3044 if ((Operands & OPERAND_M_NATIVE_CALL) == 0) {
3049 if ((Operands & OPERAND_M_RELATIVE_ADDR) != 0) {
3058 if ((Operands & OPERAND_M_RELATIVE_ADDR) != 0) {
3129 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
3139 UINT8 Operands;
3147 // Get opcode and operands
3150 Operands = GETOPERANDS (VmPtr);
3154 Op1 = VmPtr->Gpr[OPERAND1_REGNUM (Operands)];
3159 if (OPERAND2_INDIRECT (Operands)) {
3173 if (OPERAND2_INDIRECT (Operands)) {
3175 Op2 = (INT64) VmReadMem64 (VmPtr, (UINTN) (VmPtr->Gpr[OPERAND2_REGNUM (Operands)] + Index16));
3180 Op2 = (INT64) (UINT64) ((UINT32) VmReadMem32 (VmPtr, (UINTN) (VmPtr->Gpr[OPERAND2_REGNUM (Operands)] + Index16)));
3183 Op2 = VmPtr->Gpr[OPERAND2_REGNUM (Operands)] + Index16;
3290 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
3300 UINT8 Operands;
3308 // Get opcode and operands
3311 Operands = GETOPERANDS (VmPtr);
3317 if ((Operands & OPERAND_M_CMPI_INDEX) != 0) {
3326 Op1 = (INT64) VmPtr->Gpr[OPERAND1_REGNUM (Operands)];
3327 if (OPERAND1_INDIRECT (Operands)) {
3341 if ((Operands & OPERAND_M_CMPI_INDEX) != 0) {
3893 @return Op1 >> Op2 (unsigned operands)
4048 they can share the code that does the fetch of operands and the write-back
4049 of the result. This function performs the fetch of the operands (even if
4058 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
4078 they can share the code that does the fetch of operands and the write-back
4079 of the result. This function performs the fetch of the operands (even if
4088 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
4108 they can share the code that does the fetch of operands and the write-back
4109 of the result. This function performs the fetch of the operands (even if
4119 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
4131 UINT8 Operands;
4138 // Get opcode and operands
4141 Operands = GETOPERANDS (VmPtr);
4150 if (OPERAND2_INDIRECT (Operands)) {
4164 Op2 = (UINT64) VmPtr->Gpr[OPERAND2_REGNUM (Operands)] + Index16;
4165 if (OPERAND2_INDIRECT (Operands)) {
4194 Op1 = (UINT64) VmPtr->Gpr[OPERAND1_REGNUM (Operands)];
4195 if (OPERAND1_INDIRECT (Operands)) {
4236 if (OPERAND1_INDIRECT (Operands)) {
4237 Op1 = (UINT64) VmPtr->Gpr[OPERAND1_REGNUM (Operands)];
4248 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] = Op2;
4250 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] &= 0xFFFFFFFF;
4269 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
4278 UINT8 Operands;
4281 // Get the operands
4283 Operands = GETOPERANDS (VmPtr);
4288 switch (OPERAND1_REGNUM (Operands)) {
4297 VmPtr->Flags = (VmPtr->Flags &~VMFLAGS_ALL_VALID) | (VmPtr->Gpr[OPERAND2_REGNUM (Operands)] & VMFLAGS_ALL_VALID);
4323 @retval EFI_UNSUPPORTED The opcodes/operands is not supported.
4332 UINT8 Operands;
4335 // Get the operands
4337 Operands = GETOPERANDS (VmPtr);
4342 switch (OPERAND2_REGNUM (Operands)) {
4350 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] = (UINT64) (VmPtr->Flags & VMFLAGS_ALL_VALID);
4357 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] = (UINT64) (UINTN) VmPtr->Ip + 2;