1#Test the special case of the index bits, 0x4, in SIB.
2
3	.text
4	.allow_index_reg
5foo:
6	mov	-30,%ebx
7	mov	-30(,%eiz),%ebx
8	mov	-30(,%eiz,1),%eax
9	mov	-30(,%eiz,2),%eax
10	mov	-30(,%eiz,4),%eax
11	mov	-30(,%eiz,8),%eax
12	mov	30,%eax
13	mov	30(,%eiz),%eax
14	mov	30(,%eiz,1),%eax
15	mov	30(,%eiz,2),%eax
16	mov	30(,%eiz,4),%eax
17	mov	30(,%eiz,8),%eax
18	mov	(%ebx),%eax
19	mov	(%ebx,%eiz),%eax
20	mov	(%ebx,%eiz,1),%eax
21	mov	(%ebx,%eiz,2),%eax
22	mov	(%ebx,%eiz,4),%eax
23	mov	(%ebx,%eiz,8),%eax
24	mov	(%esp),%eax
25	mov	(%esp,%eiz,1),%eax
26	mov	(%esp,%eiz,2),%eax
27	mov	(%esp,%eiz,4),%eax
28	mov	(%esp,%eiz,8),%eax
29	.intel_syntax noprefix
30        mov    eax,DWORD PTR [eiz*1-30]
31        mov    eax,DWORD PTR [eiz*2-30]
32        mov    eax,DWORD PTR [eiz*4-30]
33        mov    eax,DWORD PTR [eiz*8-30]
34        mov    eax,DWORD PTR [eiz*1+30]
35        mov    eax,DWORD PTR [eiz*2+30]
36        mov    eax,DWORD PTR [eiz*4+30]
37        mov    eax,DWORD PTR [eiz*8+30]
38        mov    eax,DWORD PTR [ebx+eiz]
39        mov    eax,DWORD PTR [ebx+eiz*1]
40        mov    eax,DWORD PTR [ebx+eiz*2]
41        mov    eax,DWORD PTR [ebx+eiz*4]
42        mov    eax,DWORD PTR [ebx+eiz*8]
43        mov    eax,DWORD PTR [esp]
44        mov    eax,DWORD PTR [esp+eiz]
45        mov    eax,DWORD PTR [esp+eiz*1]
46        mov    eax,DWORD PTR [esp+eiz*2]
47        mov    eax,DWORD PTR [esp+eiz*4]
48        mov    eax,DWORD PTR [esp+eiz*8]
49	.p2align 4
50