Attributes of asm_operands insn
Le Ton Chanh
letonchanh@yahoo.com
Sat Dec 6 00:15:00 GMT 2008
Hi all,
I have a trouble with define_asm_attributes. My backend port in GCC have an automata to do scheduling. I have to consider the asm in source code, so I defined attribute for them with:
(define_asm_attributes
[(set_attr "type" "normal")])
and I also have
(define_insn_reservation "normal_insn" 1 (eq_attr "type" "normal")
"decode")
for the automata.
But when I ran cc1 and generated the scheduling debug file *.sched2, I had the result
;; 0--> 11 asm_operands :nothing
while the output I respected is
;; 0--> 11 asm_operands :decode
It seems that the automata doesn't know the type of asm_operands is normal.
I hope for receiving your help soon. Thanks in advance.
Le Ton Chanh
email:letonchanh at yahoo dot com
More information about the Gcc-help
mailing list