Skip to content
Snippets Groups Projects
  1. May 19, 2016
  2. May 18, 2016
  3. May 13, 2016
  4. May 12, 2016
  5. Apr 21, 2016
  6. Apr 05, 2016
    • James Hogan's avatar
      tcg/mips: Fix type of tcg_target_reg_alloc_order[] · 2dc7553d
      James Hogan authored
      
      The MIPS TCG backend is the only one to have
      tcg_target_reg_alloc_order[] elements of type TCGReg rather than int.
      This resulted in commit 91478cef ("tcg: Allocate indirect_base
      temporaries in a different order") breaking the build on MIPS since the
      type differed from indirect_reg_alloc_order[]:
      
      tcg/tcg.c:1725:44: error: pointer type mismatch in conditional expression [-Werror]
           order = rev ? indirect_reg_alloc_order : tcg_target_reg_alloc_order;
                                                  ^
      
      Make it an array of ints to fix the build and match other architectures.
      
      Fixes: 91478cef ("tcg: Allocate indirect_base temporaries in a different order")
      Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
      Acked-by: default avatarAurelien Jarno <aurelien@aurel32.net>
      Message-Id: <1459522179-6584-1-git-send-email-james.hogan@imgtec.com>
      Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
      2dc7553d
  7. Mar 22, 2016
  8. Mar 01, 2016
    • Lluís Vilanova's avatar
      tcg: Move definition of type TCGv · 5d4e1a10
      Lluís Vilanova authored
      
      The target-dependant type TCGv must be defined in "tcg/tcg.h" before
      including the tracing helper wrappers in "tcg/tcg-op.h".
      
      It also makes more sense to define it here, where other TCG types are
      defined too.
      
      Signed-off-by: default avatarLluís Vilanova <vilanova@ac.upc.edu>
      Message-id: 145641860129.30295.17554707227384022653.stgit@localhost
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      5d4e1a10
    • Lluís Vilanova's avatar
      tcg: Add type for vCPU pointers · 1bcea73e
      Lluís Vilanova authored
      
      Adds the 'TCGv_env' type for pointers to 'CPUArchState' objects. The
      tracing infrastructure later needs to differentiate between regular
      pointers and pointers to vCPUs.
      
      Also changes all targets to use the new 'TCGv_env' type instead of the
      generic 'TCGv_ptr'. As of now, the change is merely cosmetic ('TCGv_env'
      translates into 'TCGv_ptr'), but that could change in the future to
      enforce the difference.
      
      Note that a 'TCGv_env' type (for 'CPUState') is not added, since all
      helpers currently receive the architecture-specific
      pointer ('CPUArchState').
      
      Signed-off-by: default avatarLluís Vilanova <vilanova@ac.upc.edu>
      Acked-by: default avatarRichard Henderson <rth@twiddle.net>
      Message-id: 145641859552.30295.7821536833590725201.stgit@localhost
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      1bcea73e
  9. Feb 23, 2016
  10. Feb 08, 2016
Loading