Changeset 11173 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Aug 6, 2008 4:20:58 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstInlineAsm.cpp
r10995 r11173 1069 1069 CHECKVAL(u64, UINT64_C(0x02b8f9a2aa74e3dc), "%#018RX64"); 1070 1070 #endif 1071 1072 u32 = ASMModU64ByU32RetU32(UINT64_C(0x0ffffff8c65d6731), UINT32_C(0x77d7daf8)); 1073 CHECKVAL(u32, UINT32_C(0x3B642451), "%#010RX32"); 1074 1075 int32_t i32; 1076 i32 = ASMModS64ByS32RetS32(INT64_C(-11), INT32_C(-2)); 1077 CHECKVAL(i32, INT32_C(-1), "%010RI32"); 1078 i32 = ASMModS64ByS32RetS32(INT64_C(-11), INT32_C(2)); 1079 CHECKVAL(i32, INT32_C(-1), "%010RI32"); 1080 i32 = ASMModS64ByS32RetS32(INT64_C(11), INT32_C(-2)); 1081 CHECKVAL(i32, INT32_C(1), "%010RI32"); 1082 1083 i32 = ASMModS64ByS32RetS32(INT64_C(92233720368547758), INT32_C(2147483647)); 1084 CHECKVAL(i32, INT32_C(2104533974), "%010RI32"); 1085 i32 = ASMModS64ByS32RetS32(INT64_C(-92233720368547758), INT32_C(2147483647)); 1086 CHECKVAL(i32, INT32_C(-2104533974), "%010RI32"); 1071 1087 } 1072 1088
Note:
See TracChangeset
for help on using the changeset viewer.