1 ;; Support file for testcase Wmisleading-indentation.c
2 ;; Adapted from gcc/config/i386/i386.md
3 (define_attr "cpu" "none,pentium,pentiumpro,geode,k6,athlon,k8,core2,nehalem,
4 atom,slm,generic,amdfam10,bdver1,bdver2,bdver3,bdver4,
6 (const (symbol_ref "ix86_schedule")))
8 ;; A basic instruction type. Refinements due to arguments to be
9 ;; provided in other attributes.
12 alu,alu1,negnot,imov,imovx,lea,
13 incdec,ishift,ishiftx,ishift1,rotate,rotatex,rotate1,
14 imul,imulx,idiv,icmp,test,ibr,setcc,icmov,
15 push,pop,call,callv,leave,
17 fmov,fop,fsgn,fmul,fdiv,fpspc,fcmov,fcmp,
18 fxch,fistp,fisttp,frndint,
19 sse,ssemov,sseadd,sseadd1,sseiadd,sseiadd1,
20 ssemul,sseimul,ssediv,sselog,sselog1,
21 sseishft,sseishft1,ssecmp,ssecomi,
22 ssecvt,ssecvt1,sseicvt,sseins,
23 sseshuf,sseshuf1,ssemuladd,sse4arg,
25 mmx,mmxmov,mmxadd,mmxmul,mmxcmp,mmxcvt,mmxshft,
26 mpxmov,mpxmk,mpxchk,mpxld,mpxst"
27 (const_string "other"))
29 ;; Main data type used by the insn
31 "unknown,none,QI,HI,SI,DI,TI,OI,XI,SF,DF,XF,TF,V16SF,V8SF,V4DF,V4SF,
33 (const_string "unknown"))
35 ;; The CPU unit operations uses.
36 (define_attr "unit" "integer,i387,sse,mmx,unknown"
37 (cond [(eq_attr "type" "fmov,fop,fsgn,fmul,fdiv,fpspc,fcmov,fcmp,
38 fxch,fistp,fisttp,frndint")
40 (eq_attr "type" "sse,ssemov,sseadd,sseadd1,sseiadd,sseiadd1,
41 ssemul,sseimul,ssediv,sselog,sselog1,
42 sseishft,sseishft1,ssecmp,ssecomi,
43 ssecvt,ssecvt1,sseicvt,sseins,
44 sseshuf,sseshuf1,ssemuladd,sse4arg,mskmov")
46 (const_string "integer")))