Delay Slot Filling for SPARC V9

M.V.S. Phani Narasimham phanimvs@wipinfo.soft.net
Thu Dec 23 19:47:00 GMT 1999


hai,
i have a doubt rearding the function eligible_for_delay 
 function.

 This function for the SPARC, checks if any of the
 operands to loads and stores is code_labels, or symbol_ref.
 Then it doesn't puts in the delay slot.

 In the sparc.md file for the loads and stores if the
 operands happen to be any sybolic_ref or code_label
 it is assigning 2 to the attribute length.

 Why is the attribute length 2, if any of the operands
 to load and store is symbol_ref,code_label.
 If we are not acessiong any code segement or test segment
 the remaining thing is(if i am correct) loads or stores 
 related to stack.

 This means any loads from the stack or stores to the stack
 are given a length of one.

 The stack ,  data segment ,  code segment all of them are from
 memory only. Then why different values are given to the
 attribute length for these insn.
phani.





More information about the Gcc-help mailing list