qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 622302: target-sparc: Remove unused gen_op_su


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 622302: target-sparc: Remove unused gen_op_subi_cc and gen...
Date: Thu, 22 Jan 2015 04:30:07 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 622302901065ebcb21201310d34b22d107fe851e
      
https://github.com/qemu/qemu/commit/622302901065ebcb21201310d34b22d107fe851e
  Author: Peter Maydell <address@hidden>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M target-sparc/translate.c

  Log Message:
  -----------
  target-sparc: Remove unused gen_op_subi_cc and gen_op_addi_cc

The functions gen_op_addi_cc() and gen_op_subi_cc() are unused; remove them.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: e60538c79fc7285e72f5b431281986737db1607b
      
https://github.com/qemu/qemu/commit/e60538c79fc7285e72f5b431281986737db1607b
  Author: Peter Maydell <address@hidden>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M target-sparc/ldst_helper.c

  Log Message:
  -----------
  target-sparc: address_mask(), asi_address_mask() are TARGET_SPARC64 only

The address_mask() and asi_address_mask() functions are only used in
TARGET_SPARC64 configs, so guard with ifdefs to avoid warnings about
unused functions in 32-bit builds.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: 69694625e86aebb135b56c4aaafefd5c1d17bb3c
      
https://github.com/qemu/qemu/commit/69694625e86aebb135b56c4aaafefd5c1d17bb3c
  Author: Peter Maydell <address@hidden>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M target-sparc/ldst_helper.c

  Log Message:
  -----------
  target-sparc: is_translating_asi() is TARGET_SPARC64 only

Move the is_translating_asi() inside the TARGET_SPARC64 ifdef (and remove
the unimplemented 32-bit codepath), as it is only called from TARGET_SPARC64
code. This fixes a clang 3.4 unused-function warning.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: a2035e83fd60e5b66644d321816ed634b908b4ee
      
https://github.com/qemu/qemu/commit/a2035e83fd60e5b66644d321816ed634b908b4ee
  Author: Peter Maydell <address@hidden>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M target-sparc/translate.c

  Log Message:
  -----------
  target-sparc: Mark gen_load_trap_state_at_tl() as !CONFIG_USER_ONLY

The function gen_load_trap_state_at_tl() is only used in the softmmu
configs; wrap it in #ifndef CONFIG_USER_ONLY to avoid clang compiler
warnings in linux-user builds.

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: 7230818a2b54df826e5ecdd83bd20632c9a8b07c
      
https://github.com/qemu/qemu/commit/7230818a2b54df826e5ecdd83bd20632c9a8b07c
  Author: Peter Maydell <address@hidden>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M disas/sparc.c

  Log Message:
  -----------
  disas/sparc: Remove unused data sparc_opcode_archs[]

Remove sparc_opcode_archs and the macros which use it, because we don't
use them in QEMU and they provoke clang warnings:

disas/sparc.c:307:39: warning: unused variable 'sparc_opcode_archs' 
[-Wunused-const-variable]
static const struct sparc_opcode_arch sparc_opcode_archs[] =
                                ^

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: a805ca54015bd123e2bc2454ec59619d0ed106c2
      
https://github.com/qemu/qemu/commit/a805ca54015bd123e2bc2454ec59619d0ed106c2
  Author: Peter Maydell <address@hidden>
  Date:   2015-01-22 (Thu, 22 Jan 2015)

  Changed paths:
    M disas/sparc.c
    M target-sparc/ldst_helper.c
    M target-sparc/translate.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/mcayland/tags/qemu-sparc-signed' into 
staging

qemu-sparc update

# gpg: Signature made Wed 21 Jan 2015 16:56:31 GMT using RSA key ID AE0F321F
# gpg: Good signature from "Mark Cave-Ayland <address@hidden>"

* remotes/mcayland/tags/qemu-sparc-signed:
  disas/sparc: Remove unused data sparc_opcode_archs[]
  target-sparc: Mark gen_load_trap_state_at_tl() as !CONFIG_USER_ONLY
  target-sparc: is_translating_asi() is TARGET_SPARC64 only
  target-sparc: address_mask(), asi_address_mask() are TARGET_SPARC64 only
  target-sparc: Remove unused gen_op_subi_cc and gen_op_addi_cc

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/699eae17b841...a805ca54015b

reply via email to

[Prev in Thread] Current Thread [Next in Thread]