1. 09 1月, 2014 2 次提交
    • P
      target-arm: Use VFP_BINOP macro for min, max, minnum, maxnum · f71a2ae5
      Peter Maydell 提交于
      Use the VFP_BINOP macro to provide helpers for min, max, minnum
      and maxnum, rather than hand-rolling them. (The float64 max
      version is not used by A32 but will be needed for A64.)
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      f71a2ae5
    • P
      target-arm: Widen exclusive-access support struct fields to 64 bits · 03d05e2d
      Peter Maydell 提交于
      In preparation for adding support for A64 load/store exclusive instructions,
      widen the fields in the CPU state struct that deal with address and data values
      for exclusives from 32 to 64 bits. Although in practice AArch64 and AArch32
      exclusive accesses will be generally separate there are some odd theoretical
      corner cases (eg you should be able to do the exclusive load in AArch32, take
      an exception to AArch64 and successfully do the store exclusive there), and it's
      also easier to reason about.
      
      The changes in semantics for the variables are:
       exclusive_addr  -> extended to 64 bits; -1ULL for "monitor lost",
         otherwise always < 2^32 for AArch32
       exclusive_val   -> extended to 64 bits. 64 bit exclusives in AArch32 now
         use the high half of exclusive_val instead of a separate exclusive_high
       exclusive_high  -> is no longer used in AArch32; extended to 64 bits as
         it will be needed for AArch64's pair-of-64-bit-values exclusives.
       exclusive_test  -> extended to 64 bits, as it is an address. Since this is
         a linux-user-only field, in arm-linux-user it will always have the top
         32 bits zero.
       exclusive_info  -> stays 32 bits, as it is neither data nor address, but
         simply holds register indexes etc. AArch64 will be able to fit all its
         information into 32 bits as well.
      
      Note that the refactoring of gen_store_exclusive() coincidentally fixes
      a minor bug where ldrexd would incorrectly update the first CPU register
      even if the load for the second register faulted.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      03d05e2d
  2. 08 1月, 2014 1 次提交
  3. 18 12月, 2013 3 次提交
  4. 10 12月, 2013 5 次提交
  5. 11 10月, 2013 1 次提交
  6. 11 9月, 2013 8 次提交
  7. 03 9月, 2013 1 次提交
  8. 01 9月, 2013 1 次提交
  9. 20 8月, 2013 1 次提交
  10. 23 7月, 2013 1 次提交
  11. 16 7月, 2013 2 次提交
  12. 15 7月, 2013 1 次提交
  13. 10 7月, 2013 1 次提交
  14. 28 6月, 2013 1 次提交
  15. 03 6月, 2013 1 次提交
  16. 01 6月, 2013 1 次提交
  17. 26 5月, 2013 9 次提交