1. 26 9月, 2012 3 次提交
  2. 22 9月, 2012 1 次提交
  3. 14 12月, 2011 1 次提交
  4. 02 11月, 2011 2 次提交
  5. 30 10月, 2011 1 次提交
  6. 01 10月, 2011 1 次提交
  7. 22 8月, 2011 1 次提交
  8. 04 6月, 2011 2 次提交
  9. 20 1月, 2011 1 次提交
  10. 02 12月, 2010 1 次提交
  11. 16 6月, 2010 1 次提交
    • R
      tcg: Optionally sign-extend 32-bit arguments for 64-bit hosts. · 2bece2c8
      Richard Henderson 提交于
      Some hosts (amd64, ia64) have an ABI that ignores the high bits
      of the 64-bit register when passing 32-bit arguments.  Others
      require the value to be properly sign-extended for the type.
      I.e. "int32_t" must be sign-extended and "uint32_t" must be
      zero-extended to 64-bits.
      
      To effect this, extend the "sizemask" parameter to tcg_gen_callN
      to include the signedness of the type of each parameter.  If the
      tcg target requires it, extend each 32-bit argument into a 64-bit
      temp and pass that to the function call.
      
      This ABI feature is required by sparc64, ppc64 and s390x.
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      2bece2c8
  12. 29 5月, 2010 1 次提交
  13. 27 3月, 2010 8 次提交
  14. 15 3月, 2010 2 次提交
  15. 20 2月, 2010 2 次提交
  16. 08 2月, 2010 2 次提交
  17. 07 2月, 2010 1 次提交
  18. 04 10月, 2009 1 次提交
    • A
      tcg: add ext{8,16,32}u_i{32,64} TCG ops · cfc86988
      Aurelien Jarno 提交于
      Currently zero extensions ops are implemented by a and op with a
      constant. This is then catched in some backend, and replaced by
      a zero extension instruction. While this works well on RISC
      machines, this adds a useless register move on non-RISC machines.
      
      Example on x86:
        ext16u_i32 r1, r2
      is translated into
        mov    %eax,%ebx
        movzwl %bx, %ebx
      while the optimized version should be:
        movzwl %ax, %ebx
      
      This patch adds ext{8,16,32}u_i{32,64} TCG ops that can be
      implemented in the backends to avoid emitting useless register
      moves.
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      cfc86988
  19. 17 9月, 2009 1 次提交
  20. 18 7月, 2009 1 次提交
  21. 29 3月, 2009 2 次提交
  22. 13 3月, 2009 4 次提交