Skip to content
Snippets Groups Projects
  1. Aug 21, 2019
    • Paul A. Clarke's avatar
      ppc: Add support for 'mffsl' instruction · 31eb7ddd
      Paul A. Clarke authored
      
      ISA 3.0B added a set of Floating-Point Status and Control Register (FPSCR)
      instructions: mffsce, mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl.
      This patch adds support for 'mffsl'.
      
      'mffsl' is identical to 'mffs', except it only returns mode, status, and enable
      bits from the FPSCR.
      
      On CPUs without support for 'mffsl' (below ISA 3.0), the 'mffsl' instruction
      will execute identically to 'mffs'.
      
      Note: I renamed FPSCR_RN to FPSCR_RN0 so I could create an FPSCR_RN mask which
      is both bits of the FPSCR rounding mode, as defined in the ISA.
      
      I also fixed a typo in the definition of FPSCR_FR.
      
      Signed-off-by: default avatarPaul A. Clarke <pc@us.ibm.com>
      
      v4:
      - nit: added some braces to resolve a checkpatch complaint.
      
      v3:
      - Changed tcg_gen_and_i64 to tcg_gen_andi_i64, eliminating the need for a
        temporary, per review from Richard Henderson.
      
      v2:
      - I found that I copied too much of the 'mffs' implementation.
        The 'Rc' condition code bits are not needed for 'mffsl'.  Removed.
      - I now free the (renamed) 'tmask' temporary.
      - I now bail early for older ISA to the original 'mffs' implementation.
      
      Message-Id: <1565982203-11048-1-git-send-email-pc@us.ibm.com>
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      31eb7ddd
  2. Jun 27, 2019
  3. Jun 12, 2019
    • Markus Armbruster's avatar
      Include qemu-common.h exactly where needed · a8d25326
      Markus Armbruster authored
      
      No header includes qemu-common.h after this commit, as prescribed by
      qemu-common.h's file comment.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190523143508.25387-5-armbru@redhat.com>
      [Rebased with conflicts resolved automatically, except for
      include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
      block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
      target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
      target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
      target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
      target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
      net/tap-bsd.c fixed up]
      a8d25326
  4. May 13, 2019
  5. Apr 18, 2019
  6. Mar 19, 2019
  7. Mar 05, 2019
  8. Feb 27, 2019
  9. Jan 24, 2019
  10. Jan 11, 2019
  11. Jan 03, 2019
  12. Dec 25, 2018
Loading