Changeset 40024 in vbox for trunk/src/VBox/VMM/testcase
- Timestamp:
- Feb 7, 2012 9:50:43 PM (13 years ago)
- Location:
- trunk/src/VBox/VMM/testcase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstX86-1.cpp
r40001 r40024 70 70 DECLASM(int32_t) x861_Test3(void); 71 71 DECLASM(int32_t) x861_Test4(void); 72 DECLASM(int32_t) x861_Test5(void); 72 73 73 74 … … 217 218 */ 218 219 int32_t rc; 219 #if 1220 #if 0 220 221 RTTestSub(hTest, "Misc 1"); 221 222 rc = x861_Test1(); … … 232 233 if (rc != 0) 233 234 RTTestFailed(hTest, "x861_Test3 -> %d", rc); 234 #endif235 235 RTTestSub(hTest, "Multibyte NOPs"); 236 236 rc = x861_Test4(); 237 237 if (rc != 0) 238 238 RTTestFailed(hTest, "x861_Test4 -> %d", rc); 239 RTTestSub(hTest, "Odd floating point encodings"); 240 #endif 241 rc = x861_Test5(); 242 if (rc != 0) 243 RTTestFailed(hTest, "x861_Test5 -> %d", rc); 239 244 } 240 245 -
trunk/src/VBox/VMM/testcase/tstX86-1A.asm
r40008 r40024 1277 1277 ENDPROC x861_Test4 1278 1278 1279 1280 1281 ;; 1282 ; Tests some odd floating point instruction encodings. 1283 ; 1284 BEGINPROC x861_Test5 1285 SAVE_ALL_PROLOGUE 1286 1287 ; standard stuff... 1288 fld dword [.r32V1] 1289 fld qword [.r64V1] 1290 fld tword [.r80V1] 1291 1292 ShouldTrap X86_XCPT_UD, db 0d9h, 008h 1293 ShouldTrap X86_XCPT_UD, db 0d9h, 009h 1294 ShouldTrap X86_XCPT_UD, db 0d9h, 00ah 1295 ShouldTrap X86_XCPT_UD, db 0d9h, 00bh 1296 ShouldTrap X86_XCPT_UD, db 0d9h, 00ch 1297 ShouldTrap X86_XCPT_UD, db 0d9h, 00dh 1298 ShouldTrap X86_XCPT_UD, db 0d9h, 00eh 1299 ShouldTrap X86_XCPT_UD, db 0d9h, 00fh 1300 1301 ShouldTrap X86_XCPT_UD, db 0d9h, 0d1h 1302 ShouldTrap X86_XCPT_UD, db 0d9h, 0d2h 1303 ShouldTrap X86_XCPT_UD, db 0d9h, 0d3h 1304 ShouldTrap X86_XCPT_UD, db 0d9h, 0d4h 1305 ShouldTrap X86_XCPT_UD, db 0d9h, 0d5h 1306 ShouldTrap X86_XCPT_UD, db 0d9h, 0d6h 1307 ShouldTrap X86_XCPT_UD, db 0d9h, 0d7h 1308 db 0d9h, 0d8h ; fnop? 1309 db 0d9h, 0d9h ; fnop? 1310 db 0d9h, 0dah ; fnop? 1311 db 0d9h, 0dbh ; fnop? 1312 db 0d9h, 0dch ; fnop? 1313 db 0d9h, 0ddh ; fnop? 1314 db 0d9h, 0deh ; fnop? 1315 db 0d9h, 0dfh ; fnop? 1316 ShouldTrap X86_XCPT_UD, db 0d9h, 0e2h 1317 ShouldTrap X86_XCPT_UD, db 0d9h, 0e3h 1318 ShouldTrap X86_XCPT_UD, db 0d9h, 0e6h 1319 ShouldTrap X86_XCPT_UD, db 0d9h, 0e7h 1320 ShouldTrap X86_XCPT_UD, db 0d9h, 0efh 1321 1322 1323 .success: 1324 xor eax, eax 1325 .return: 1326 SAVE_ALL_EPILOGUE 1327 ret 1328 1329 .r32V1: dd 3.2 1330 .r64V1: dq 6.4 1331 .r80V1: dt 8.0 1332 1333 ENDPROC x861_Test5 1334 1335 1279 1336 ;; 1280 1337 ; Terminate the trap info array with a NIL entry.
Note:
See TracChangeset
for help on using the changeset viewer.