gccint: Mnemonic Attribute

1 
1 17.19.7 Mnemonic Attribute
1 --------------------------
1 
1 The 'mnemonic' attribute is a string type attribute holding the
1 instruction mnemonic for an insn alternative.  The attribute values will
1 automatically be generated by the machine description parser if there is
1 an attribute definition in the md file:
1 
1      (define_attr "mnemonic" "unknown" (const_string "unknown"))
1 
1  The default value can be freely chosen as long as it does not collide
1 with any of the instruction mnemonics.  This value will be used whenever
1 the machine description parser is not able to determine the mnemonic
1 string.  This might be the case for output templates containing more
1 than a single instruction as in '"mvcle\t%0,%1,0\;jo\t.-4"'.
1 
1  The 'mnemonic' attribute set is not generated automatically if the
1 instruction string is generated via C code.
1 
1  An existing 'mnemonic' attribute set in an insn definition will not be
1 overriden by the md file parser.  That way it is possible to manually
1 set the instruction mnemonics for the cases where the md file parser
1 fails to determine it automatically.
1 
1  The 'mnemonic' attribute is useful for dealing with instruction
1 specific properties in the pipeline description without defining
1 additional insn attributes.
1 
1      (define_attr "ooo_expanded" ""
1        (cond [(eq_attr "mnemonic" "dlr,dsgr,d,dsgf,stam,dsgfr,dlgr")
1               (const_int 1)]
1              (const_int 0)))
1