1# Check AVX scalar instructions
2
3	.allow_index_reg
4	.text
5_start:
6
7# Tests for op xmm/mem64, xmm, xmm
8	vfmadd132sd %xmm4,%xmm6,%xmm2
9	vfmadd132sd (%ecx),%xmm6,%xmm2
10	vfmadd213sd %xmm4,%xmm6,%xmm2
11	vfmadd213sd (%ecx),%xmm6,%xmm2
12	vfmadd231sd %xmm4,%xmm6,%xmm2
13	vfmadd231sd (%ecx),%xmm6,%xmm2
14	vfmsub132sd %xmm4,%xmm6,%xmm2
15	vfmsub132sd (%ecx),%xmm6,%xmm2
16	vfmsub213sd %xmm4,%xmm6,%xmm2
17	vfmsub213sd (%ecx),%xmm6,%xmm2
18	vfmsub231sd %xmm4,%xmm6,%xmm2
19	vfmsub231sd (%ecx),%xmm6,%xmm2
20	vfnmadd132sd %xmm4,%xmm6,%xmm2
21	vfnmadd132sd (%ecx),%xmm6,%xmm2
22	vfnmadd213sd %xmm4,%xmm6,%xmm2
23	vfnmadd213sd (%ecx),%xmm6,%xmm2
24	vfnmadd231sd %xmm4,%xmm6,%xmm2
25	vfnmadd231sd (%ecx),%xmm6,%xmm2
26	vfnmsub132sd %xmm4,%xmm6,%xmm2
27	vfnmsub132sd (%ecx),%xmm6,%xmm2
28	vfnmsub213sd %xmm4,%xmm6,%xmm2
29	vfnmsub213sd (%ecx),%xmm6,%xmm2
30	vfnmsub231sd %xmm4,%xmm6,%xmm2
31	vfnmsub231sd (%ecx),%xmm6,%xmm2
32
33# Tests for op xmm/mem32, xmm, xmm
34	vfmadd132ss %xmm4,%xmm6,%xmm2
35	vfmadd132ss (%ecx),%xmm6,%xmm2
36	vfmadd213ss %xmm4,%xmm6,%xmm2
37	vfmadd213ss (%ecx),%xmm6,%xmm2
38	vfmadd231ss %xmm4,%xmm6,%xmm2
39	vfmadd231ss (%ecx),%xmm6,%xmm2
40	vfmsub132ss %xmm4,%xmm6,%xmm2
41	vfmsub132ss (%ecx),%xmm6,%xmm2
42	vfmsub213ss %xmm4,%xmm6,%xmm2
43	vfmsub213ss (%ecx),%xmm6,%xmm2
44	vfmsub231ss %xmm4,%xmm6,%xmm2
45	vfmsub231ss (%ecx),%xmm6,%xmm2
46	vfnmadd132ss %xmm4,%xmm6,%xmm2
47	vfnmadd132ss (%ecx),%xmm6,%xmm2
48	vfnmadd213ss %xmm4,%xmm6,%xmm2
49	vfnmadd213ss (%ecx),%xmm6,%xmm2
50	vfnmadd231ss %xmm4,%xmm6,%xmm2
51	vfnmadd231ss (%ecx),%xmm6,%xmm2
52	vfnmsub132ss %xmm4,%xmm6,%xmm2
53	vfnmsub132ss (%ecx),%xmm6,%xmm2
54	vfnmsub213ss %xmm4,%xmm6,%xmm2
55	vfnmsub213ss (%ecx),%xmm6,%xmm2
56	vfnmsub231ss %xmm4,%xmm6,%xmm2
57	vfnmsub231ss (%ecx),%xmm6,%xmm2
58
59	.intel_syntax noprefix
60
61# Tests for op xmm/mem64, xmm, xmm
62	vfmadd132sd xmm2,xmm6,xmm4
63	vfmadd132sd xmm2,xmm6,QWORD PTR [ecx]
64	vfmadd132sd xmm2,xmm6,[ecx]
65	vfmadd213sd xmm2,xmm6,xmm4
66	vfmadd213sd xmm2,xmm6,QWORD PTR [ecx]
67	vfmadd213sd xmm2,xmm6,[ecx]
68	vfmadd231sd xmm2,xmm6,xmm4
69	vfmadd231sd xmm2,xmm6,QWORD PTR [ecx]
70	vfmadd231sd xmm2,xmm6,[ecx]
71	vfmsub132sd xmm2,xmm6,xmm4
72	vfmsub132sd xmm2,xmm6,QWORD PTR [ecx]
73	vfmsub132sd xmm2,xmm6,[ecx]
74	vfmsub213sd xmm2,xmm6,xmm4
75	vfmsub213sd xmm2,xmm6,QWORD PTR [ecx]
76	vfmsub213sd xmm2,xmm6,[ecx]
77	vfmsub231sd xmm2,xmm6,xmm4
78	vfmsub231sd xmm2,xmm6,QWORD PTR [ecx]
79	vfmsub231sd xmm2,xmm6,[ecx]
80	vfnmadd132sd xmm2,xmm6,xmm4
81	vfnmadd132sd xmm2,xmm6,QWORD PTR [ecx]
82	vfnmadd132sd xmm2,xmm6,[ecx]
83	vfnmadd213sd xmm2,xmm6,xmm4
84	vfnmadd213sd xmm2,xmm6,QWORD PTR [ecx]
85	vfnmadd213sd xmm2,xmm6,[ecx]
86	vfnmadd231sd xmm2,xmm6,xmm4
87	vfnmadd231sd xmm2,xmm6,QWORD PTR [ecx]
88	vfnmadd231sd xmm2,xmm6,[ecx]
89	vfnmsub132sd xmm2,xmm6,xmm4
90	vfnmsub132sd xmm2,xmm6,QWORD PTR [ecx]
91	vfnmsub132sd xmm2,xmm6,[ecx]
92	vfnmsub213sd xmm2,xmm6,xmm4
93	vfnmsub213sd xmm2,xmm6,QWORD PTR [ecx]
94	vfnmsub213sd xmm2,xmm6,[ecx]
95	vfnmsub231sd xmm2,xmm6,xmm4
96	vfnmsub231sd xmm2,xmm6,QWORD PTR [ecx]
97	vfnmsub231sd xmm2,xmm6,[ecx]
98
99# Tests for op xmm/mem32, xmm, xmm
100	vfmadd132ss xmm2,xmm6,xmm4
101	vfmadd132ss xmm2,xmm6,DWORD PTR [ecx]
102	vfmadd132ss xmm2,xmm6,[ecx]
103	vfmadd213ss xmm2,xmm6,xmm4
104	vfmadd213ss xmm2,xmm6,DWORD PTR [ecx]
105	vfmadd213ss xmm2,xmm6,[ecx]
106	vfmadd231ss xmm2,xmm6,xmm4
107	vfmadd231ss xmm2,xmm6,DWORD PTR [ecx]
108	vfmadd231ss xmm2,xmm6,[ecx]
109	vfmsub132ss xmm2,xmm6,xmm4
110	vfmsub132ss xmm2,xmm6,DWORD PTR [ecx]
111	vfmsub132ss xmm2,xmm6,[ecx]
112	vfmsub213ss xmm2,xmm6,xmm4
113	vfmsub213ss xmm2,xmm6,DWORD PTR [ecx]
114	vfmsub213ss xmm2,xmm6,[ecx]
115	vfmsub231ss xmm2,xmm6,xmm4
116	vfmsub231ss xmm2,xmm6,DWORD PTR [ecx]
117	vfmsub231ss xmm2,xmm6,[ecx]
118	vfnmadd132ss xmm2,xmm6,xmm4
119	vfnmadd132ss xmm2,xmm6,DWORD PTR [ecx]
120	vfnmadd132ss xmm2,xmm6,[ecx]
121	vfnmadd213ss xmm2,xmm6,xmm4
122	vfnmadd213ss xmm2,xmm6,DWORD PTR [ecx]
123	vfnmadd213ss xmm2,xmm6,[ecx]
124	vfnmadd231ss xmm2,xmm6,xmm4
125	vfnmadd231ss xmm2,xmm6,DWORD PTR [ecx]
126	vfnmadd231ss xmm2,xmm6,[ecx]
127	vfnmsub132ss xmm2,xmm6,xmm4
128	vfnmsub132ss xmm2,xmm6,DWORD PTR [ecx]
129	vfnmsub132ss xmm2,xmm6,[ecx]
130	vfnmsub213ss xmm2,xmm6,xmm4
131	vfnmsub213ss xmm2,xmm6,DWORD PTR [ecx]
132	vfnmsub213ss xmm2,xmm6,[ecx]
133	vfnmsub231ss xmm2,xmm6,xmm4
134	vfnmsub231ss xmm2,xmm6,DWORD PTR [ecx]
135	vfnmsub231ss xmm2,xmm6,[ecx]
136