Skip to content
  1. Jan 16, 2013
  2. Jan 15, 2013
  3. Jan 14, 2013
    • Shuxin Yang's avatar
      This change is to implement following rules under the condition C_A and/or C_R · 320f52a4
      Shuxin Yang authored
       
       ---------------------------------------------------------------------------
       C_A: reassociation is allowed
       C_R: reciprocal of a constant C is appropriate, which means 
          - 1/C is exact, or 
          - reciprocal is allowed and 1/C is neither a special value nor a denormal.
       -----------------------------------------------------------------------------
      
       rule1:  (X/C1) / C2 => X / (C2*C1)  (if C_A)
                           => X * (1/(C2*C1))  (if C_A && C_R)
       rule 2:  X*C1 / C2 => X * (C1/C2)  if C_A
       rule 3: (X/Y)/Z = > X/(Y*Z)  (if C_A && at least one of Y and Z is symbolic value)
       rule 4: Z/(X/Y) = > (Z*Y)/X  (similar to rule3)
      
       rule 5: C1/(X*C2) => (C1/C2) / X (if C_A)
       rule 6: C1/(X/C2) => (C1*C2) / X (if C_A)
       rule 7: C1/(C2/X) => (C1/C2) * X (if C_A)
      
      llvm-svn: 172488
      320f52a4
    • Chad Rosier's avatar
      [ms-inline asm] Extend support for parsing Intel bracketed memory operands that · 5c118fd2
      Chad Rosier authored
      have an arbitrary ordering of the base register, index register and displacement.
      rdar://12527141
      
      llvm-svn: 172484
      5c118fd2
Loading