Library /sys$common/syshlp/dbg$help.hlb DEBUG, SET, VECTOR_MODE, Examples *Conan The Librarian (sorry for the slow response - running on an old VAX) |
1.DBG> SET VECTOR_MODE SYNCHRONIZED This command causes the debugger to force synchronization between the scalar and vector processors after each vector instruction is executed. 2.DBG> SHOW VECTOR_MODE Vector mode is nonsynchronized DBG> SET VECTOR_MODE SYNCHRONIZED 1 DBG> SHOW VECTOR_MODE Vector mode is synchronized DBG> STEP 2 stepped to .MAIN.\SUB\%LINE 99 99: VVDIVD V1,V0,V2 DBG> STEP 3 %SYSTEM-F-VARITH, vector arithmetic fault, summary=00000002, mask=00000004, PC=000002E1, PSL=03C00010 break on unhandled exception preceding .MAIN.\SUB\%LINE 100 100: CLRL R0 DBG> The comments that follow refer to the callouts in the previous example: 1 The SET VECTOR_MODE SYNCHRONIZED command causes the debugger to force automatic synchronization between the scalar and vector processors whenever a vector instruction is executed. 2 This STEP command suspends program execution on line 99, just before a VVDIVD instruction is executed. Assume that, in this example, the instruction will trigger a floating- point divide-by-zero exception. 3 This STEP command executes the VVDIVD instruction, which triggers the exception. The vector exception is delivered immediately because the debugger is being operated in synchronized vector mode.
|