Could you tell me what I need to add/change in MipsFrameLowering::emitPrologue in order to emit the correct cfi_offset directives when double precision callee-saved registers are saved? Currently, the following directive gets emitted when double register $f20 is saved,<br>
.cfi_offset -1, -8<br><br>instead of something like this:<br>.cfi_offset 53, -4<br>.cfi_offset 52, -8<br><br>Should I just push back two MachineMoves (one for each of the paired single precision registers)? <br><br>Thank you.<br>
<br><div class="gmail_quote">On Fri, May 27, 2011 at 8:44 AM, Rafael Avila de Espindola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
If I understand it correctly, the proper way to encode a D register in DWARF is with something like<br>
<br>
DW_OP_reg 32 DW_OP_piece 4 DW_OP_reg 33<br>
<br>
The attached patch drops the DwarfRegNum from the D registers. Is it OK?<br>
<br>
Cheers,<br><font color="#888888">
Rafael<br>
</font></blockquote></div><br>