Changeset 87740 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Feb 12, 2021 4:36:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllAImpl.asm
r82968 r87740 1350 1350 ; Worker function for negating a 32-bit number in T1:T0 1351 1351 ; @uses None (T0,T1) 1352 iemAImpl_negate_T0_T1_u32: 1352 BEGINPROC iemAImpl_negate_T0_T1_u32 1353 1353 push 0 1354 1354 push 0 … … 1359 1359 add xSP, xCB*2 1360 1360 ret 1361 ENDPROC iemAImpl_negate_T0_T1_u32 1361 1362 1362 1363 %ifdef RT_ARCH_AMD64 … … 1364 1365 ; Worker function for negating a 64-bit number in T1:T0 1365 1366 ; @uses None (T0,T1) 1366 iemAImpl_negate_T0_T1_u64: 1367 BEGINPROC iemAImpl_negate_T0_T1_u64 1367 1368 push 0 1368 1369 push 0 … … 1373 1374 add xSP, xCB*2 1374 1375 ret 1376 ENDPROC iemAImpl_negate_T0_T1_u64 1375 1377 %endif 1376 1378 … … 1553 1555 test T1_32, T1_32 1554 1556 jns .both_positive 1555 call iemAImpl_negate_T0_T1_u321557 call NAME(iemAImpl_negate_T0_T1_u32) 1556 1558 .one_of_each: ; OK range is 2^(result-with - 1) + (divisor - 1). 1557 1559 push T0 ; Start off like unsigned below. … … 1572 1574 test T1_32, T1_32 1573 1575 jns .one_of_each 1574 call iemAImpl_negate_T0_T1_u321576 call NAME(iemAImpl_negate_T0_T1_u32) 1575 1577 .both_positive: ; Same as unsigned shifted by sign indicator bit. 1576 1578 shl T1_32, 1 … … 1632 1634 test T1, T1 1633 1635 jns .both_positive 1634 call iemAImpl_negate_T0_T1_u641636 call NAME(iemAImpl_negate_T0_T1_u64) 1635 1637 .one_of_each: ; OK range is 2^(result-with - 1) + (divisor - 1). 1636 1638 push T0 ; Start off like unsigned below. … … 1652 1654 test T1, T1 1653 1655 jns .one_of_each 1654 call iemAImpl_negate_T0_T1_u641656 call NAME(iemAImpl_negate_T0_T1_u64) 1655 1657 .both_positive: ; Same as unsigned shifted by sign indicator bit. 1656 1658 shl T1, 1
Note:
See TracChangeset
for help on using the changeset viewer.