<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 11/04/2013 02:49 PM, Eric
      Christopher wrote:<br>
    </div>
    <blockquote
cite="mid:CALehDX6gdR29s5=rYfNkuies=jpxBWgLKERkcZq2+8iuZL35YQ@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Mon, Nov 4, 2013 at 2:48 PM, reed
            kotler <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:rkotler@mips.com" target="_blank">rkotler@mips.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <div>I will take care of this right. I was already in
                  the process of doing as you suggest.<br>
                  Some code I wanted as a record in the source control
                  so I can see where I need to fix things.<span
                    class="HOEnZb"><font color="#888888"><br>
                      <br>
                    </font></span></div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>This isn't the right way to do it, I'm sorry. You can
              use local version control if you want to keep in progress
              patches.</div>
            <div><br>
            </div>
            <div>
              -eric</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    Okay. Understood. I'm making the changes you suggested.<br>
    <br>
    <blockquote
cite="mid:CALehDX6gdR29s5=rYfNkuies=jpxBWgLKERkcZq2+8iuZL35YQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <div><span class="HOEnZb"><font color="#888888"> Reed</font></span>
                  <div>
                    <div class="h5"><br>
                      <br>
                      On 11/04/2013 02:33 PM, Eric Christopher wrote:<br>
                    </div>
                  </div>
                </div>
                <div>
                  <div class="h5">
                    <blockquote type="cite">
                      <div dir="ltr">
                        <div class="gmail_extra">
                          <div class="gmail_quote">
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex"><br>
                              +      
                               STI(&TM.getSubtarget<MipsSubtarget>()),
                              MF(0), MCP(0),
                              PrescannedForConstants(false){}<br>
                              <br>
                            </blockquote>
                            <div><br>
                            </div>
                            <div>80-col.</div>
                            <div><br>
                            </div>
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex"><br>
                              +#ifdef IN_PROGRESS<br>
                            </blockquote>
                            <div><br>
                            </div>
                            <div>No. Please remove this sort of code.</div>
                            <div><br>
                            </div>
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex"><br>
                              +#ifdef IN_PROGRESS<br>
                              +        case ARM::t2BR_JT:<br>
                            </blockquote>
                            <div><br>
                            </div>
                            <div>Especially not when you've just copied
                              code out of the ARM port.</div>
                            <div> </div>
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex"> +<br>
                              +      }<br>
                              +<br>
                              +<br>
                              +      if (Opc == Mips::CONSTPOOL_ENTRY)<br>
                              +        continue;<br>
                              +<br>
                              +<br>
                            </blockquote>
                            <div><br>
                            </div>
                            <div>I'm a fan of vertical whitespace, but
                              this is a bit much.</div>
                            <div> </div>
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex"><br>
                              +#ifdef IN_PROGRESS<br>
                              +          // Taking the address of a CP
                              entry.<br>
                              +          case ARM::LEApcrel:<br>
                            </blockquote>
                            <div><br>
                            </div>
                            <div>Again.</div>
                            <div> </div>
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex"> +<br>
                              +  // On Thumb, offsets==2 mod 4 are
                              rounded down by the hardware for<br>
                              +  // purposes of the displacement
                              computation; compensate for that here.<br>
                              +  // For unknown alignments, getMaxDisp()
                              constrains the range instead.<br>
                              +#ifdef IN_PROGRESS<br>
                              +  if (isThumb &&
                              U.KnownAlignment)<br>
                              +    UserOffset &= ~3u;<br>
                              +#endif<br>
                            </blockquote>
                            <div><br>
                            </div>
                            <div>Again. There are many more cases in the
                              rest of the code.</div>
                            <div> </div>
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex"> +///
                              isCPEntryInRange - Returns true if the
                              distance between specific MI and<br>
                              +/// specific ConstPool entry instruction
                              can fit in MI's displacement field.<br>
                              +bool
                              MipsConstantIslands::isCPEntryInRange(MachineInstr
                              *MI, unsigned UserOffset,<br>
                              +                                    
                               MachineInstr *CPEMI, unsigned MaxDisp,<br>
                              +                                    
                               bool NegOk, bool DoDump) {<br>
                            </blockquote>
                            <div><br>
                            </div>
                            <div>Why a DoDump variable?</div>
                            <div> </div>
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex"> +  // Avoid
                              splitting an IT block.<br>
                            </blockquote>
                            <div><br>
                            </div>
                            <div>You have IT blocks? This is why we
                              don't just copy code.</div>
                            <div><br>
                            </div>
                            <div>Again, please remove all of the
                              non-mips code out of this immediately.</div>
                            <div><br>
                            </div>
                            <div>-eric</div>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                    <br>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>