1 ;Testname=mpx; Arguments=-felf -ompx.o -O0; Files=stdout stderr mpx.o
9 bndmk bnd1
, [edx+1*eax+0x3]
14 bndmov bnd1
, [ecx+0x3]
15 bndmov bnd1
, [eax+ecx]
17 bndmov bnd1
, [edx+1*eax+0x3]
22 bndmov
[ecx+0x3], bnd1
23 bndmov
[eax+ecx], bnd1
25 bndmov
[edx+1*eax+0x3], bnd1
35 bndcl bnd1
, [edx+1*eax+0x3]
44 bndcu bnd1
, [edx+1*eax+0x3]
53 bndcn bnd1
, [edx+1*eax+0x3]
56 bndstx
[eax+ebx*1+0x3], bnd0
57 bndstx
[eax+0x3,ebx], bnd0
58 bndstx
[eax+0x3], bnd0
, ebx
59 bndstx
[eax+0x3], ebx, bnd0
62 bndstx
[0,ecx*1], bnd2
65 bndstx
[edx+0x399], bnd3
66 bndstx
[1*ebx+3], bnd2
67 bndstx
[3,1*ebx], bnd2
72 bndldx bnd0
, [eax+ebx*1+0x3]
73 bndldx bnd2
, [ebx+edx+3]
75 bndldx bnd3
, [edx+0x399]
76 bndldx bnd2
, [1*ebx+3]
83 bnd
jmp foo
; when it becomes a Jb form - short jmp (eb),
84 ; bnd prefix is silently dropped
85 bnd
jmp near 0 ; near jmp (opcode e9)
86 ; bnd jmp short 0 ; explicit short jmp (opcode eb) : error