This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.
In pa.md, I was looking at various "fpalu" patterns tryig to learn about them, and saw this one which left me a bit confused: ;; This pattern forces (set (reg:DF ...) (float:DF (const_int ...))) ;; to be reloaded by putting the constant into memory. ;; It must come before the more general floatsidf2 pattern. (define_insn "" [(set (match_operand:DF 0 "register_operand" "=f") (float:DF (match_operand:SI 1 "const_int_operand" "m")))] "! TARGET_SOFT_FLOAT" "fldw%F1 %1,%0\;fcnvxf,sgl,dbl %0,%0" [(set_attr "type" "fpalu") (set_attr "length" "8")]) Most of the insn patterns I saw would set "type" to have an entry for each assembly instruction. Should this one set type to "fpload,fpalu"? Jerry -- Jerry Quinn Tel: (514) 761-8737 jquinn@nortelnetworks.com Fax: (514) 761-8505 Speech Recognition Research