qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 08895c: qemu/int128: Add int128_or


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 08895c: qemu/int128: Add int128_or
Date: Thu, 18 Feb 2021 08:39:31 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 08895cda3a57fe2d72ef621800606ddc2f5eb612
      
https://github.com/qemu/qemu/commit/08895cda3a57fe2d72ef621800606ddc2f5eb612
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M include/qemu/int128.h

  Log Message:
  -----------
  qemu/int128: Add int128_or

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20201021045149.1582203-2-richard.henderson@linaro.org>


  Commit: 5f508bc2e950e125edef22001da206834c6dc766
      
https://github.com/qemu/qemu/commit/5f508bc2e950e125edef22001da206834c6dc766
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  Hexagon Update MAINTAINERS file

Add Taylor Simpson as the Hexagon target maintainer

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-2-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c3fb76b9b779198c8c7b9e0eee19dc57abc921fc
      
https://github.com/qemu/qemu/commit/c3fb76b9b779198c8c7b9e0eee19dc57abc921fc
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/README

  Log Message:
  -----------
  Hexagon (target/hexagon) README

Gives an introduction and overview to the Hexagon target

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <1612763186-18161-3-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 560f5a10e85ef025ced5e8bb21c9bb1c8431dcd5
      
https://github.com/qemu/qemu/commit/560f5a10e85ef025ced5e8bb21c9bb1c8431dcd5
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M include/elf.h

  Log Message:
  -----------
  Hexagon (include/elf.h) ELF machine definition

Define EM_HEXAGON 164

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-4-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 45183ccd72363f295f0d87cf33faf43f6d686261
      
https://github.com/qemu/qemu/commit/45183ccd72363f295f0d87cf33faf43f6d686261
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/cpu-param.h
    A target/hexagon/cpu.c
    A target/hexagon/cpu.h
    A target/hexagon/cpu_bits.h
    A target/hexagon/internal.h

  Log Message:
  -----------
  Hexagon (target/hexagon) scalar core definition

Add target state header, target definitions and initialization routines

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <1612763186-18161-5-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: a00cfed0ed9c366a383fe39c2d283362ebaaefd3
      
https://github.com/qemu/qemu/commit/a00cfed0ed9c366a383fe39c2d283362ebaaefd3
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A disas/hexagon.c
    M disas/meson.build
    M include/disas/dis-asm.h

  Log Message:
  -----------
  Hexagon (disas) disassembler

Add hexagon to disas/meson.build
Add disas/hexagon.c
Add hexagon to include/disas/dis-asm.h

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1612763186-18161-6-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 045e0405cd912159e2652012e82c9577d5db6099
      
https://github.com/qemu/qemu/commit/045e0405cd912159e2652012e82c9577d5db6099
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/hex_regs.h

  Log Message:
  -----------
  Hexagon (target/hexagon) register names

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1612763186-18161-7-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: b5ed786fec896755c30dc60f4804f4f257a3f6a4
      
https://github.com/qemu/qemu/commit/b5ed786fec896755c30dc60f4804f4f257a3f6a4
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/helper.h
    A target/hexagon/op_helper.c

  Log Message:
  -----------
  Hexagon (target/hexagon) scalar core helpers

The majority of helpers are generated.  Define the helper functions needed
then include the generated file

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <1612763186-18161-8-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 9def75f915370e08a61776b7692b17e2447d1224
      
https://github.com/qemu/qemu/commit/9def75f915370e08a61776b7692b17e2447d1224
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/gdbstub.c
    M target/hexagon/internal.h

  Log Message:
  -----------
  Hexagon (target/hexagon) GDB Stub

GDB register read and write routines

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1612763186-18161-9-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: f456fe960afb072fe3d45808d13e155c18baac85
      
https://github.com/qemu/qemu/commit/f456fe960afb072fe3d45808d13e155c18baac85
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/hex_arch_types.h

  Log Message:
  -----------
  Hexagon (target/hexagon) architecture types

Define types used in files imported from the Hexagon architecture library

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1612763186-18161-10-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 3e474055c7cac1daa74aaeb63c41d96e97cf7c23
      
https://github.com/qemu/qemu/commit/3e474055c7cac1daa74aaeb63c41d96e97cf7c23
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/insn.h

  Log Message:
  -----------
  Hexagon (target/hexagon) instruction and packet types

The insn_t and packet_t are the interface between instruction decoding and
TCG code generation

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-11-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: ba385122b5e5467033019b8b5123dbf02f327c2a
      
https://github.com/qemu/qemu/commit/ba385122b5e5467033019b8b5123dbf02f327c2a
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/reg_fields.c
    A target/hexagon/reg_fields.h
    A target/hexagon/reg_fields_def.h.inc

  Log Message:
  -----------
  Hexagon (target/hexagon) register fields

Declare bitfields within registers such as user status register (USR)

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-12-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 1118d7fa0eea6d2e9b788ef9d7159bcef9431f1a
      
https://github.com/qemu/qemu/commit/1118d7fa0eea6d2e9b788ef9d7159bcef9431f1a
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/attribs.h
    A target/hexagon/attribs_def.h.inc

  Log Message:
  -----------
  Hexagon (target/hexagon) instruction attributes

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-13-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 66d29a5e80b042164eee17289f533f8ec0e85db5
      
https://github.com/qemu/qemu/commit/66d29a5e80b042164eee17289f533f8ec0e85db5
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/decode.c
    A target/hexagon/decode.h

  Log Message:
  -----------
  Hexagon (target/hexagon) instruction/packet decode

Take the words from instruction memory and build a packet_t for TCG code
generation

The following operations are performed
    Convert the .new encoded offset to the register number of the producer
    Reorder the packet so .new producer is before consumer
    Apply constant extenders
    Separate subinsn's into two instructions
    Break compare-jumps into two instructions
    Create instructions for :endloop

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-14-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 3f33e7875f7c156b27364945d97b2dd1e5f233e7
      
https://github.com/qemu/qemu/commit/3f33e7875f7c156b27364945d97b2dd1e5f233e7
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/printinsn.c
    A target/hexagon/printinsn.h

  Log Message:
  -----------
  Hexagon (target/hexagon) instruction printing

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-15-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: b239168178692ebf3611fe1dcd23af2b0632e822
      
https://github.com/qemu/qemu/commit/b239168178692ebf3611fe1dcd23af2b0632e822
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/arch.c
    A target/hexagon/arch.h

  Log Message:
  -----------
  Hexagon (target/hexagon/arch.[ch]) utility functions

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <1612763186-18161-16-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 62d6bb500e93c92920d6a3935b3aaf21dd22e919
      
https://github.com/qemu/qemu/commit/62d6bb500e93c92920d6a3935b3aaf21dd22e919
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/conv_emu.c
    A target/hexagon/conv_emu.h

  Log Message:
  -----------
  Hexagon (target/hexagon/conv_emu.[ch]) utility functions

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <1612763186-18161-17-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: becbf4b8a017ac8fcf1e5bde31b94a66c20b6748
      
https://github.com/qemu/qemu/commit/becbf4b8a017ac8fcf1e5bde31b94a66c20b6748
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/fma_emu.c
    A target/hexagon/fma_emu.h

  Log Message:
  -----------
  Hexagon (target/hexagon/fma_emu.[ch]) utility functions

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1612763186-18161-18-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 7cf9345c95cb2a5d909eb289254d3ca9f3379a61
      
https://github.com/qemu/qemu/commit/7cf9345c95cb2a5d909eb289254d3ca9f3379a61
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/imported/allidefs.def
    A target/hexagon/imported/alu.idef
    A target/hexagon/imported/branch.idef
    A target/hexagon/imported/compare.idef
    A target/hexagon/imported/encode.def
    A target/hexagon/imported/encode_pp.def
    A target/hexagon/imported/encode_subinsn.def
    A target/hexagon/imported/float.idef
    A target/hexagon/imported/ldst.idef
    A target/hexagon/imported/macros.def
    A target/hexagon/imported/mpy.idef
    A target/hexagon/imported/shift.idef
    A target/hexagon/imported/subinsns.idef
    A target/hexagon/imported/system.idef

  Log Message:
  -----------
  Hexagon (target/hexagon/imported) arch import

Imported from the Hexagon architecture library
    imported/macros.def
        The macro definitions specify instruction attributes that are applied
        to each instruction that references the macro. The generator will
        recursively apply attributes to each instruction that used the macro.
    imported/allidefs.def
        Top level instruction definition file
    imported/*.idef
        Instruction definition files
        These files are input to the first phase of the generator
        (gen_semantics.c) to create a python include file with the
        instruction semantics and attributes.  The python include
        file is fed to the second phase to generate various header files.
    imported/encode*.def
        Instruction encoding bit patterns for every instruction

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-19-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: f7a9e80d5bf646077a25ecb0228321d3ecf0a055
      
https://github.com/qemu/qemu/commit/f7a9e80d5bf646077a25ecb0228321d3ecf0a055
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/gen_semantics.c

  Log Message:
  -----------
  Hexagon (target/hexagon) generator phase 1 - C preprocessor for semantics

Run the C preprocessor across the instruction definition files and macro
definition file to expand macros and prepare the semantics_generated.pyinc
file.  The resulting file contains one entry with the semantics for each
instruction and one line with the instruction attributes associated with
each macro.

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-20-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 793958c93a08e933f9319b5e165767ea03849c58
      
https://github.com/qemu/qemu/commit/793958c93a08e933f9319b5e165767ea03849c58
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/gen_helper_funcs.py
    A target/hexagon/gen_helper_protos.py
    A target/hexagon/gen_op_attribs.py
    A target/hexagon/gen_op_regs.py
    A target/hexagon/gen_opcodes_def.py
    A target/hexagon/gen_printinsn.py
    A target/hexagon/gen_shortcode.py
    A target/hexagon/gen_tcg_func_table.py
    A target/hexagon/gen_tcg_funcs.py
    A target/hexagon/hex_common.py

  Log Message:
  -----------
  Hexagon (target/hexagon) generator phase 2 - generate header files

Python scripts generate the following files
    helper_protos_generated.h.inc
        For each instruction we create DEF_HELPER function prototype
    helper_funcs_generated.c.inc
        For each instruction we create the helper function definition
    tcg_funcs_generated.c.inc
        For each instruction we create TCG code to generate call to helper
    tcg_func_table_generated.c.inc
        Table of function pointers indexed by opcode
    shortcode_generated.h.inc
        Generate a table of instruction "shortcode" semantics
    opcodes_def_generated.h.inc
        Gives a list of all the opcodes
    op_attribs_generated.h.inc
        Lists all the attributes associated with each instruction
    op_regs_generated.h.inc
        Lists the register and immediate operands for each instruction
    printinsn_generated.h.inc
        Data for printing (disassembling) each instruction (format
        string + operands)

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-21-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: ece6cd1e4288642add0b9319dc9b85099c758bff
      
https://github.com/qemu/qemu/commit/ece6cd1e4288642add0b9319dc9b85099c758bff
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/gen_dectree_import.c

  Log Message:
  -----------
  Hexagon (target/hexagon) generator phase 3 - C preprocessor for decode tree

Run the C preprocessor across the instruction definition and encoding
files to expand macros and prepare the iset.py file.  The resulting
fill contains python data structures used to build the decode tree.

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-22-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 469c2cbbbcc6c000b016e93907cf886b65602f85
      
https://github.com/qemu/qemu/commit/469c2cbbbcc6c000b016e93907cf886b65602f85
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/dectree.py

  Log Message:
  -----------
  Hexagon (target/hexagon) generater phase 4 - decode tree

Python script that emits the decode tree in dectree_generated.h.

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-23-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: e3c00c2ed75a1ec3f4185f8bba9f3b5e07096e14
      
https://github.com/qemu/qemu/commit/e3c00c2ed75a1ec3f4185f8bba9f3b5e07096e14
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/opcodes.c
    A target/hexagon/opcodes.h

  Log Message:
  -----------
  Hexagon (target/hexagon) opcode data structures

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1612763186-18161-24-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: a646e99cb90b370e983685146782f9d99dc6b7e0
      
https://github.com/qemu/qemu/commit/a646e99cb90b370e983685146782f9d99dc6b7e0
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/macros.h

  Log Message:
  -----------
  Hexagon (target/hexagon) macros

macros to interface with the generator
macros referenced in instruction semantics

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-25-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 471d4b2dc6b84332a051814ba2b7ff6997ba9673
      
https://github.com/qemu/qemu/commit/471d4b2dc6b84332a051814ba2b7ff6997ba9673
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/iclass.c
    A target/hexagon/iclass.h
    A target/hexagon/imported/iclass.def

  Log Message:
  -----------
  Hexagon (target/hexagon) instruction classes

Determine legal VLIW slots for each instruction

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-26-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 57acfcdeb2d3fbafb24986f87521fc9c1eab78fa
      
https://github.com/qemu/qemu/commit/57acfcdeb2d3fbafb24986f87521fc9c1eab78fa
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/genptr.c
    A target/hexagon/genptr.h

  Log Message:
  -----------
  Hexagon (target/hexagon) TCG generation

Include the generated files and set up the data structures

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <1612763186-18161-27-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 6542aa2eb1804d0995d8461ca55f522f74368940
      
https://github.com/qemu/qemu/commit/6542aa2eb1804d0995d8461ca55f522f74368940
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/gen_tcg.h

  Log Message:
  -----------
  Hexagon (target/hexagon) TCG for instructions with multiple definitions

Helpers won't work if there are multiple definitions, so we override these
instructions using #define fGEN_TCG_<tag>.

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <1612763186-18161-28-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: d9dcdf8ac798ab610d9dec5c54ee5f89065de7f8
      
https://github.com/qemu/qemu/commit/d9dcdf8ac798ab610d9dec5c54ee5f89065de7f8
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M target/hexagon/gen_tcg.h

  Log Message:
  -----------
  Hexagon (target/hexagon) TCG for floating point instructions

The imported code uses host floating point.  We override them
to use qemu softfloat

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-29-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 8b453a2b2b2d12ebd0ae315d1308ed39ac412319
      
https://github.com/qemu/qemu/commit/8b453a2b2b2d12ebd0ae315d1308ed39ac412319
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A target/hexagon/translate.c
    A target/hexagon/translate.h

  Log Message:
  -----------
  Hexagon (target/hexagon) translation

Read the instruction memory
Create a packet data structure
Generate TCG code for the start of the packet
Invoke the generate function for each instruction
Generate TCG code for the end of the packet

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <1612763186-18161-30-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: d2a56bd242de92961c7804f9dabac2d27139d16a
      
https://github.com/qemu/qemu/commit/d2a56bd242de92961c7804f9dabac2d27139d16a
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M linux-user/elfload.c
    A linux-user/hexagon/cpu_loop.c
    A linux-user/hexagon/signal.c
    A linux-user/hexagon/sockbits.h
    A linux-user/hexagon/syscall_nr.h
    A linux-user/hexagon/target_cpu.h
    A linux-user/hexagon/target_elf.h
    A linux-user/hexagon/target_fcntl.h
    A linux-user/hexagon/target_signal.h
    A linux-user/hexagon/target_structs.h
    A linux-user/hexagon/target_syscall.h
    A linux-user/hexagon/termbits.h
    M linux-user/qemu.h
    M linux-user/syscall_defs.h
    M scripts/gensyscalls.sh

  Log Message:
  -----------
  Hexagon (linux-user/hexagon) Linux user emulation

Implementation of Linux user emulation for Hexagon
Some common files modified in addition to new files in linux-user/hexagon

Acked-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-31-git-send-email-tsimpson@quicinc.com>
[rth: Fix termbits.h on review by Laurent]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: dff2441c21f76a5eebd37367f9c3b33bbac64d2e
      
https://github.com/qemu/qemu/commit/dff2441c21f76a5eebd37367f9c3b33bbac64d2e
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M tests/tcg/configure.sh
    A tests/tcg/hexagon/Makefile.target
    A tests/tcg/hexagon/float_convs.ref
    A tests/tcg/hexagon/float_madds.ref

  Log Message:
  -----------
  Hexagon (tests/tcg/hexagon) TCG tests - multiarch

Enable multiarch tests for Hexagon
Modify tests/tcg/configure.sh
Add reference files to tests/tcg/hexagon

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1612763186-18161-32-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 825d6eba7ccb7fb4a5ce4a06ec83efcf52066762
      
https://github.com/qemu/qemu/commit/825d6eba7ccb7fb4a5ce4a06ec83efcf52066762
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M tests/tcg/hexagon/Makefile.target
    A tests/tcg/hexagon/atomics.c
    A tests/tcg/hexagon/dual_stores.c
    A tests/tcg/hexagon/first.S
    A tests/tcg/hexagon/mem_noshuf.c
    A tests/tcg/hexagon/misc.c
    A tests/tcg/hexagon/preg_alias.c

  Log Message:
  -----------
  Hexagon (tests/tcg/hexagon) TCG tests - atomics/load/store/misc

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <1612763186-18161-33-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 703c08d98ae6ac6481d460a0ddc5c118bdc4e97e
      
https://github.com/qemu/qemu/commit/703c08d98ae6ac6481d460a0ddc5c118bdc4e97e
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M tests/tcg/hexagon/Makefile.target
    A tests/tcg/hexagon/fpstuff.c

  Log Message:
  -----------
  Hexagon (tests/tcg/hexagon) TCG tests - floating point

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-34-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 3e7a84eeccc3b3a9b43c6dfb52bd98ea5acebf0a
      
https://github.com/qemu/qemu/commit/3e7a84eeccc3b3a9b43c6dfb52bd98ea5acebf0a
  Author: Taylor Simpson <tsimpson@quicinc.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    A default-configs/targets/hexagon-linux-user.mak
    M meson.build
    M scripts/qemu-binfmt-conf.sh
    A target/hexagon/meson.build
    M target/meson.build

  Log Message:
  -----------
  Hexagon build infrastructure

Add file to default-configs
Add hexagon to meson.build
Add hexagon to target/meson.build
Add target/hexagon/meson.build
Change scripts/qemu-binfmt-conf.sh

We can build a hexagon-linux-user target and run programs on
the Hexagon scalar core.  With hexagon-linux-clang installed,
"make check-tcg" will pass.

Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-35-git-send-email-tsimpson@quicinc.com>
[rth: Use top-level python variable]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c79f01c9450bcf90c08a77f13fbf67bdba59a316
      
https://github.com/qemu/qemu/commit/c79f01c9450bcf90c08a77f13fbf67bdba59a316
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M MAINTAINERS
    A default-configs/targets/hexagon-linux-user.mak
    A disas/hexagon.c
    M disas/meson.build
    M include/disas/dis-asm.h
    M include/elf.h
    M include/qemu/int128.h
    M linux-user/elfload.c
    A linux-user/hexagon/cpu_loop.c
    A linux-user/hexagon/signal.c
    A linux-user/hexagon/sockbits.h
    A linux-user/hexagon/syscall_nr.h
    A linux-user/hexagon/target_cpu.h
    A linux-user/hexagon/target_elf.h
    A linux-user/hexagon/target_fcntl.h
    A linux-user/hexagon/target_signal.h
    A linux-user/hexagon/target_structs.h
    A linux-user/hexagon/target_syscall.h
    A linux-user/hexagon/termbits.h
    M linux-user/qemu.h
    M linux-user/syscall_defs.h
    M meson.build
    M scripts/gensyscalls.sh
    M scripts/qemu-binfmt-conf.sh
    A target/hexagon/README
    A target/hexagon/arch.c
    A target/hexagon/arch.h
    A target/hexagon/attribs.h
    A target/hexagon/attribs_def.h.inc
    A target/hexagon/conv_emu.c
    A target/hexagon/conv_emu.h
    A target/hexagon/cpu-param.h
    A target/hexagon/cpu.c
    A target/hexagon/cpu.h
    A target/hexagon/cpu_bits.h
    A target/hexagon/decode.c
    A target/hexagon/decode.h
    A target/hexagon/dectree.py
    A target/hexagon/fma_emu.c
    A target/hexagon/fma_emu.h
    A target/hexagon/gdbstub.c
    A target/hexagon/gen_dectree_import.c
    A target/hexagon/gen_helper_funcs.py
    A target/hexagon/gen_helper_protos.py
    A target/hexagon/gen_op_attribs.py
    A target/hexagon/gen_op_regs.py
    A target/hexagon/gen_opcodes_def.py
    A target/hexagon/gen_printinsn.py
    A target/hexagon/gen_semantics.c
    A target/hexagon/gen_shortcode.py
    A target/hexagon/gen_tcg.h
    A target/hexagon/gen_tcg_func_table.py
    A target/hexagon/gen_tcg_funcs.py
    A target/hexagon/genptr.c
    A target/hexagon/genptr.h
    A target/hexagon/helper.h
    A target/hexagon/hex_arch_types.h
    A target/hexagon/hex_common.py
    A target/hexagon/hex_regs.h
    A target/hexagon/iclass.c
    A target/hexagon/iclass.h
    A target/hexagon/imported/allidefs.def
    A target/hexagon/imported/alu.idef
    A target/hexagon/imported/branch.idef
    A target/hexagon/imported/compare.idef
    A target/hexagon/imported/encode.def
    A target/hexagon/imported/encode_pp.def
    A target/hexagon/imported/encode_subinsn.def
    A target/hexagon/imported/float.idef
    A target/hexagon/imported/iclass.def
    A target/hexagon/imported/ldst.idef
    A target/hexagon/imported/macros.def
    A target/hexagon/imported/mpy.idef
    A target/hexagon/imported/shift.idef
    A target/hexagon/imported/subinsns.idef
    A target/hexagon/imported/system.idef
    A target/hexagon/insn.h
    A target/hexagon/internal.h
    A target/hexagon/macros.h
    A target/hexagon/meson.build
    A target/hexagon/op_helper.c
    A target/hexagon/opcodes.c
    A target/hexagon/opcodes.h
    A target/hexagon/printinsn.c
    A target/hexagon/printinsn.h
    A target/hexagon/reg_fields.c
    A target/hexagon/reg_fields.h
    A target/hexagon/reg_fields_def.h.inc
    A target/hexagon/translate.c
    A target/hexagon/translate.h
    M target/meson.build
    M tests/tcg/configure.sh
    A tests/tcg/hexagon/Makefile.target
    A tests/tcg/hexagon/atomics.c
    A tests/tcg/hexagon/dual_stores.c
    A tests/tcg/hexagon/first.S
    A tests/tcg/hexagon/float_convs.ref
    A tests/tcg/hexagon/float_madds.ref
    A tests/tcg/hexagon/fpstuff.c
    A tests/tcg/hexagon/mem_noshuf.c
    A tests/tcg/hexagon/misc.c
    A tests/tcg/hexagon/preg_alias.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-hex-20210218' into 
staging

Initial commit for the Qualcomm Hexagon processor.

# gpg: Signature made Thu 18 Feb 2021 16:26:52 GMT
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" 
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* remotes/rth-gitlab/tags/pull-hex-20210218: (35 commits)
  Hexagon build infrastructure
  Hexagon (tests/tcg/hexagon) TCG tests - floating point
  Hexagon (tests/tcg/hexagon) TCG tests - atomics/load/store/misc
  Hexagon (tests/tcg/hexagon) TCG tests - multiarch
  Hexagon (linux-user/hexagon) Linux user emulation
  Hexagon (target/hexagon) translation
  Hexagon (target/hexagon) TCG for floating point instructions
  Hexagon (target/hexagon) TCG for instructions with multiple definitions
  Hexagon (target/hexagon) TCG generation
  Hexagon (target/hexagon) instruction classes
  Hexagon (target/hexagon) macros
  Hexagon (target/hexagon) opcode data structures
  Hexagon (target/hexagon) generater phase 4 - decode tree
  Hexagon (target/hexagon) generator phase 3 - C preprocessor for decode tree
  Hexagon (target/hexagon) generator phase 2 - generate header files
  Hexagon (target/hexagon) generator phase 1 - C preprocessor for semantics
  Hexagon (target/hexagon/imported) arch import
  Hexagon (target/hexagon/fma_emu.[ch]) utility functions
  Hexagon (target/hexagon/conv_emu.[ch]) utility functions
  Hexagon (target/hexagon/arch.[ch]) utility functions
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/b826fb8002e6...c79f01c9450b



reply via email to

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