Skip to content

Hexagon patch series

Taylor Simpson qemu-devel 10 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest35 patches 64 repliesIn review
  2. v735 patches 27 repliesSuperseded
  3. v635 patches 14 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v5 RFC posting 2/233 patches7 repliesSuperseded
v5 RFC posting 1/233 patches0 repliesSuperseded
v4 RFC posting 2/229 patches23 repliesSuperseded
v4 RFC posting 1/229 patches0 repliesSuperseded
v3 RFC34 patches86 repliesSuperseded
v2 RFC67 patches4 repliesSuperseded
v1 RFC66 patches26 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/35Hexagon Update MAINTAINERS fileMAINTAINERS+9 -00 replies
2/35Hexagon (target/hexagon) READMEtarget/hexagon/README+235 -00 replies
3/35Hexagon (include/elf.h) ELF machine definitioninclude/elf.h+1 -00 replies
4/35Hexagon (target/hexagon) scalar core definitiontarget/hexagon/cpu-param.h target/hexagon/cpu.c target/hexagon/cpu.h +2 more+599 -00 replies
5/35Hexagon (disas) disassemblerdisas/hexagon.c disas/meson.build include/disas/dis-asm.h+67 -00 replies
6/35Hexagon (target/hexagon) register namestarget/hexagon/hex_regs.h+83 -00 replies
7/35Hexagon (target/hexagon) scalar core helperstarget/hexagon/helper.h target/hexagon/op_helper.c+1152 -00 replies
8/35Hexagon (target/hexagon) GDB Stubtarget/hexagon/gdbstub.c target/hexagon/internal.h+49 -00 replies
9/35Hexagon (target/hexagon) architecture typestarget/hexagon/hex_arch_types.h+38 -02 replies
10/35Hexagon (target/hexagon) instruction and packet typestarget/hexagon/insn.h+74 -01 reply
11/35Hexagon (target/hexagon) register fieldstarget/hexagon/reg_fields.c target/hexagon/reg_fields.h target/hexagon/reg_fields_def.h.inc+104 -01 reply
12/35Hexagon (target/hexagon) instruction attributestarget/hexagon/attribs.h target/hexagon/attribs_def.h.inc+132 -01 reply
13/35Hexagon (target/hexagon) instruction/packet decodetarget/hexagon/decode.c target/hexagon/decode.h+989 -02 replies
14/35Hexagon (target/hexagon) instruction printingtarget/hexagon/printinsn.c target/hexagon/printinsn.h+173 -01 reply
15/35Hexagon (target/hexagon/arch.[ch]) utility functionstarget/hexagon/arch.c target/hexagon/arch.h+334 -02 replies
16/35Hexagon (target/hexagon/conv_emu.[ch]) utility functionstarget/hexagon/conv_emu.c target/hexagon/conv_emu.h+208 -07 replies
17/35Hexagon (target/hexagon/fma_emu.[ch]) utility functionstarget/hexagon/fma_emu.c target/hexagon/fma_emu.h+738 -03 replies
18/35Hexagon (target/hexagon/imported) arch importtarget/hexagon/imported/allidefs.def target/hexagon/imported/alu.idef target/hexagon/imported/branch.idef +11 more+9236 -00 replies
19/35Hexagon (target/hexagon) generator phase 1 - C preprocessor for semanticstarget/hexagon/gen_semantics.c+88 -01 reply
20/35Hexagon (target/hexagon) generator phase 2 - generate header filestarget/hexagon/gen_helper_funcs.py target/hexagon/gen_helper_protos.py target/hexagon/gen_op_attribs.py +7 more+1565 -01 reply
21/35Hexagon (target/hexagon) generator phase 3 - C preprocessor for decode treetarget/hexagon/gen_dectree_import.c+188 -01 reply
22/35Hexagon (target/hexagon) generater phase 4 - decode treetarget/hexagon/dectree.py+351 -01 reply
23/35Hexagon (target/hexagon) opcode data structurestarget/hexagon/opcodes.c target/hexagon/opcodes.h+200 -02 replies
24/35Hexagon (target/hexagon) macrostarget/hexagon/macros.h+592 -01 reply
25/35Hexagon (target/hexagon) instruction classestarget/hexagon/iclass.c target/hexagon/iclass.h target/hexagon/imported/iclass.def+174 -02 replies
26/35Hexagon (target/hexagon) TCG generationtarget/hexagon/genptr.c target/hexagon/genptr.h+356 -08 replies
27/35Hexagon (target/hexagon) TCG for instructions with multiple definitionstarget/hexagon/gen_tcg.h+198 -04 replies
28/35Hexagon (target/hexagon) TCG for floating point instructionstarget/hexagon/gen_tcg.h+121 -01 reply
29/35Hexagon (target/hexagon) translationtarget/hexagon/translate.c target/hexagon/translate.h+841 -06 replies
30/35Hexagon (linux-user/hexagon) Linux user emulationlinux-user/elfload.c linux-user/hexagon/cpu_loop.c linux-user/hexagon/signal.c +12 more+1012 -00 replies
31/35Hexagon (tests/tcg/hexagon) TCG tests - multiarchtests/tcg/configure.sh tests/tcg/hexagon/Makefile.target tests/tcg/hexagon/float_convs.ref +1 more+1549 -12 replies
32/35Hexagon (tests/tcg/hexagon) TCG tests - atomics/load/store/misctests/tcg/hexagon/Makefile.target tests/tcg/hexagon/atomics.c tests/tcg/hexagon/dual_stores.c +4 more+1147 -01 reply
33/35Hexagon (tests/tcg/hexagon) TCG tests - floating pointtests/tcg/hexagon/Makefile.target tests/tcg/hexagon/fpstuff.c+371 -01 reply
34/35Hexagon build infrastructuredefault-configs/targets/hexagon-linux-user.mak meson.build scripts/qemu-binfmt-conf.sh +2 more+201 -11 reply
35/35Add Dockerfile for hexagontests/docker/dockerfiles/debian-hexagon-cross-build-local.docker tests/docker/dockerfiles/debian-hexagon-cross.build-toolchain.sh tests/docker/dockerfiles/debian-hexagon-cross.docker +1 more+164 -05 replies

Reviews trailers per patch

25 of 35 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéRichard HendersonTaylor Simpson
SeriesT-b
1/35R-b
2/35
3/35R-b T-b R-b
4/35
5/35T-b R-b
6/35R-b R-b
7/35
8/35R-b R-b
9/35R-b R-b
10/35R-b
11/35R-b
12/35R-b R-b
13/35R-b
14/35R-b R-b
15/35
16/35
17/35R-b
18/35A-b
19/35R-b R-b
20/35R-b
21/35R-b R-b
22/35R-b
23/35R-b R-b
24/35R-b
25/35R-b
26/35
27/35
28/35R-b
29/35
30/35R-b
31/35R-b R-b
32/35
33/35R-b
34/35R-b
35/35T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v8 thread

Cover letter [PATCH v8 00/35] Hexagon patch series

This series adds support for the Hexagon processor with Linux user support

See patch 02 Hexagon README for detailed information.

This series assumes int128_or() is implemented.
https://lists.nongnu.org/archive/html/qemu-devel/2020-10/msg06004.html

The series is also available at https://github.com/quic/qemu on branch small_series_v8.

Once the series is applied, the Hexagon port will pass "make check-tcg". The series also includes Hexagon-specific tests in tcg/tests/hexagon.

The final patch in the series add docker support. Thanks to Alessandro Di Federico <[email protected]> and Brian Cain <[email protected]> for making this happen. The default container (debian-hexagon-cross) uses a toolchain built by rev.ng. Alternatively, there is a container that will build the toolchain locally (debian-hexagon-cross-build-local).

Here are the commands to verify the code:

    mkdir build
    cd build
    ../configure --target-list=hexagon-linux-user
    make
    make check-tcg

*** Known checkpatch issues ***

The following are known checkpatch errors in the series

    target/hexagon/reg_fields.h         Complex macro
    target/hexagon/attribs.h            Complex macro
    target/hexagon/decode.c             Complex macro
    target/hexagon/decode.c             Macro needs do - while
    target/hexagon/printinsn.c          Macro needs do - while
    target/hexagon/gen_semantics.c      Suspicious ; after while (0)

target/hexagon/gen_dectree_import.c Complex macro target/hexagon/gen_dectree_import.c Suspicious ; after while (0)
target/hexagon/opcodes.c Complex macro
target/hexagon/iclass.h Complex macro
configure.sh Line over 90 characters
tests/tcg/configure.sh Line over 90 characters
scripts/qemu-binfmt-conf.sh Line over 90 characters

The following are known checkpatch warnings in the series

    target/hexagon/fma_emu.c            Comments inside macro definition
    target/hexagon/gen_tcg_funcs.py     Line over 80 characters
    scripts/qemu-binfmt-conf.sh         Line over 80 characters

*** Changes in v8 ***
Address feedback from Philippe Mathieu-Daud� <[email protected]>
Make RAISE_FP_EXCEPTION conditional on CONFIG_USER_ONLY Enable build in 32-bit mode
Remove extern from function prototypes in header files Fixed issues running under gitlab-ci
Use qemu .inc file naming convention

Address feedback from Richard Henderson <<[email protected]>
Don't set PC at the beginning of every packet
Don't set slot_cancelled at the beginning of every packet Don't set pred_written at the beginning of every packet Only update execution counters at the end of TB

Reduce the amount of code that gets compiled when HEX_DEBUG is off

Fix bug uncovered in sanitizers-enabled build
Fix bug uncovered in clang build

*** Changes in v7 ***
Address feedback from Philippe Mathieu-Daud� <[email protected]>
Update copyright to 2021
Use GString instead of <string.h> for disassembly
Remove mixed declarations (interleaving statements and declarations) Change 4 to sizeof(uint32_t)

Address feedback from Alex Benn�e <[email protected]>
Break TCG tests patch into multiple patches
Remove pthread_cancel test (submitted as a standalone patch)

*** Changes in v6 ***
Correct QEMU_GENERATE implementations for fLSBNEW0/fLSBNEW1 Change Python file handling to use with statement
Change import hex_common to be explicit
Generator cleanup
Change N?N (new value) to value instead of register number for consistency Fixed bud in reading control register pair
Add ctx_log_reg_write_pair
Clean up control reg offset from HEX_REG_SA0
Fix errors in FP instructions uncovered by musl libc-tests
Added unit tests

*** Changes in v5 ***
Bug fixes
Properly implement circular addressing
memw(r1++I:circ(m0)) = r2
Make gen_cmpnd_cmp_jmp execute in 2 parts

Address remaining blocker items from Richard Henderson's review.
Use qemu softfloat
Use const where appropriate
Break tcg_funcs_generated.h into two files - functions and table Change struct and enum type names to CamelCase
Include packet in raw bytes in assembly
Use DEF_HELPER_FLAGS where possible
Fix merge_bytes endianness and overlap test by doing the store before load Use bitmask instead of string in decoding
Add comments to decoder
Use qemu/int128.h
Use qemu/bitops.h for instruction attributes
Add bitmask for ctx->reg_log
Note we still have the array/idx for iteration during gen_commit_packet
Change opcode_syntax to be created at compile time in gen_dectree_import.c Remove unused tmp variables
Isolate hex_arch_types to imported files
Fix git am whitespace warnings

Address items from Philippe Mathieu-Daud�'s review
Split utility functions patch into 3 digestable patches Fixed type "definition"
Change all exit codes to be either 0 or 1 Validated build with gcc 4.8, 5.5, and ***** Removed qemu/osdep.h and qemu/host-utils.h from macros.h

Address items from Laurent Vivier's review
Don't filter out __NR_syscalls
Remove syscall_nr_generators from linux-user/hexagon/meson.build Remove subdir('hexagon') from linux-user/meson.build Generate syscall_nr.h from 5.5 Linux kernel

*** Changes in v4 ***
Convert target/hexagon/Makefile.objs to meson.build

Address portions of feedback from Richard Henderson. Here is the table of items from Richard's review.

Patch   Item                                                 Blocker Status
        Use qemu softfloat                                   Yes
        Use qemu decodetree.py                               No
Several Use const when appropriate                           Yes
Several Remove anything after g_assert_not_reached           Yes     DONE
Several Fix log_store32/64 add/remove/add in patch series    Yes     DONE
Several Follow naming guidelines for structs and enums       Yes
4       Move decls to cpu-param.h                            Yes     DONE
4       Remove CONFIG_USER_ONLY ifdef's                      Yes     DONE
4       Remove DEBUG_HEXAGON                                 Yes     Partially
4       Remove stack pointer modification hack               Yes     DONE
4       Add property x-lldb-compat to control output         Yes     DONE
6       Include instruction and raw bytes in disassembly     Yes
7       Use DEF_HELPER_FLAGS                                 No
07, 26  Endianness of merge_bytes                            Yes
7       Fix overlap test                                     Yes
7       Remove HELPER(debug_value)/HELPER(debug_value_i64)   Yes     DONE
9       Include "qemu/osdep.h" instead of <stdint.h>         Yes     DONE
Several Stick with stdint.h types except in imported files   Yes     DONE
11      Remove description from reg field definitions        Yes     DONE
13      Move regmap.h into decode.c                          Yes     DONE
14, 27  Use bit mask instead of strings in decoding          No
14      Add comments to decoder                              Yes
16      Use qemu/int128.h                                    No
17      Squash patches dealing with imported files           Yes     DONE
24      Use qemu/bitops.h for instruction attributes         No
24      Fix initialization of opcode_short_semantics         Yes     DONE
24      Change if (p == NULL) { g_assert_not_reached(); }
        to assert(p != NULL)                                 No      DONE
25      Expand DECL/READ/WRITE/FREE macros in generator      Yes     DONE
26      Rewrite fINSERT*, fEXTRACT*, f?XTN macros            Yes     DONE
26      Investigate fRND macro                               No      DONE
26      Change REG = REG to (VOID)REG to suppress warning    Yes     DONE
27      Remove multiple includes of imported/iclass.def      Yes     DONE
28      Move genptr_helpers.h into genptr.c                  Yes     DONE
28      Remove unneeded temps                                No      DONE
28      Use tcg_gen_deposit_tl and tcg_gen_extract_tl
        when dealing with p3_0                               No      DONE
29      Size opcode_genptr[] properly and initialize
        with [TAG] = generate_##TAG                          Yes     DONE
30      Don't generate helpers for overridden instructions   Yes     DONE
        Don't include "gen_tcg.h" in helper.h                Yes     DONE
31      Use bitmask for ctx->reg_log instead of an array     Yes

31 Use tcg_gen_extract_i32 for gen_slot_cancelled_check Yes DONE
31 Properly deal with reading instructions across
a page boundary and too many instructions before
finding end-of-packet Yes DONE

31      Don't set PC at the beginning of every packet        No
31      Don't set slot_cancelled unless needed               No
31      Don't set hex_pred_written unless needed             No
31      Change cancelled variable to not local               Yes     DONE
31      Remove unnecessary temp                              Yes     DONE
31      Let tcg_gen_addi_tl check for zero                   Yes     DONE
31      Move gen_exec_counters to end of TB                  No
31      Move end of TB handling to hexagon_tr_tb_stop        Yes     DONE

Generate two lists for TCG functions instead of
the DEF_TCG_FUNC macro Yes DONE

*** Changes in v3 ***
Remove substantial portions of the code to facilitate review
- Plan to submit subsequent patches
- Hexagon Vector eXtensions (HVX)
- Circular and bit-reverse addressiong
- Add/sub-with-carry
- Unused insn_t and pkt_t fields
- Unused instruction attributes
- All TCG overrides except instructions with multiple definitions
- Unused macros
- Unused reg fields
- COUNT_HEX_HELPERS
Use Laurent's gensyscall.sh script to generate linux-user/hexagon/syscall_nr.h Handle mem_noshuf
Remove "RsV = RsV" per review feedback
Simplify include file structure
Add directed tests in <qemu>/tests/tcg/hexagon
Change fWRAP_* macros to fGEN_TCG_*

*** Changes in v2 ***
- Use scripts/git.orderfile
- Create a README with the code overview in patch 0001
- Change #define's in hex_regs.h to an enum
- Replace hard coded disassembly buffer length (1028) with #define
- Move Hexagon architecture types patch earlier in series
- Replace #include standard header files with #include "qemu/osdep.h"
- Prefix all header file #ifndef's with HEXAGON_
- Update python version to python3
- #include "tcg/tcg.h" in genptr_helpers.h
- Change target/hexagon/Makefile.objs to support out-of-tree build
- Updated copyright to include year 2020
- Bug fixes
Fix some problems with HEX_DEBUG output
Fix bug in circular addressing
- Optimizations to reduce the amount of TCG code generated Change pred_written from an array to a bit mask

Alessandro Di Federico (1):
Add Dockerfile for hexagon

Taylor Simpson (34):
Hexagon Update MAINTAINERS file
Hexagon (target/hexagon) README
Hexagon (include/elf.h) ELF machine definition
Hexagon (target/hexagon) scalar core definition
Hexagon (disas) disassembler
Hexagon (target/hexagon) register names
Hexagon (target/hexagon) scalar core helpers
Hexagon (target/hexagon) GDB Stub
Hexagon (target/hexagon) architecture types
Hexagon (target/hexagon) instruction and packet types Hexagon (target/hexagon) register fields
Hexagon (target/hexagon) instruction attributes
Hexagon (target/hexagon) instruction/packet decode
Hexagon (target/hexagon) instruction printing
Hexagon (target/hexagon/arch.[ch]) utility functions Hexagon (target/hexagon/conv_emu.[ch]) utility functions Hexagon (target/hexagon/fma_emu.[ch]) utility functions Hexagon (target/hexagon/imported) arch import
Hexagon (target/hexagon) generator phase 1 - C preprocessor for
semantics
Hexagon (target/hexagon) generator phase 2 - generate header files Hexagon (target/hexagon) generator phase 3 - C preprocessor for decode
tree
Hexagon (target/hexagon) generater phase 4 - decode tree Hexagon (target/hexagon) opcode data structures
Hexagon (target/hexagon) macros
Hexagon (target/hexagon) instruction classes
Hexagon (target/hexagon) TCG generation
Hexagon (target/hexagon) TCG for instructions with multiple
definitions
Hexagon (target/hexagon) TCG for floating point instructions Hexagon (target/hexagon) translation
Hexagon (linux-user/hexagon) Linux user emulation
Hexagon (tests/tcg/hexagon) TCG tests - multiarch
Hexagon (tests/tcg/hexagon) TCG tests - atomics/load/store/misc Hexagon (tests/tcg/hexagon) TCG tests - floating point Hexagon build infrastructure

 default-configs/targets/hexagon-linux-user.mak     |    1 +
 meson.build                                        |    1 +
 include/disas/dis-asm.h                            |    1 +
 include/elf.h                                      |    1 +
 linux-user/hexagon/sockbits.h                      |   18 +
 linux-user/hexagon/syscall_nr.h                    |  322 +++
 linux-user/hexagon/target_cpu.h                    |   44 +
 linux-user/hexagon/target_elf.h                    |   40 +
 linux-user/hexagon/target_fcntl.h                  |   18 +
 linux-user/hexagon/target_signal.h                 |   34 +
 linux-user/hexagon/target_structs.h                |   54 +
 linux-user/hexagon/target_syscall.h                |   36 +
 linux-user/hexagon/termbits.h                      |   18 +
 linux-user/qemu.h                                  |    2 +
 linux-user/syscall_defs.h                          |   33 +
 target/hexagon/arch.h                              |   34 +
 target/hexagon/attribs.h                           |   35 +
 target/hexagon/conv_emu.h                          |   31 +
 target/hexagon/cpu-param.h                         |   29 +
 target/hexagon/cpu.h                               |  159 ++
 target/hexagon/cpu_bits.h                          |   58 +
 target/hexagon/decode.h                            |   32 +
 target/hexagon/fma_emu.h                           |   36 +
 target/hexagon/gen_tcg.h                           |  319 +++
 target/hexagon/genptr.h                            |   25 +
 target/hexagon/helper.h                            |   88 +
 target/hexagon/hex_arch_types.h                    |   38 +
 target/hexagon/hex_regs.h                          |   83 +
 target/hexagon/iclass.h                            |   50 +
 target/hexagon/insn.h                              |   74 +
 target/hexagon/internal.h                          |   37 +
 target/hexagon/macros.h                            |  592 ++++++
 target/hexagon/opcodes.h                           |   58 +
 target/hexagon/printinsn.h                         |   27 +
 target/hexagon/reg_fields.h                        |   36 +
 target/hexagon/translate.h                         |   93 +
 target/hexagon/attribs_def.h.inc                   |   97 +
 target/hexagon/reg_fields_def.h.inc                |   41 +
 disas/hexagon.c                                    |   65 +
 linux-user/elfload.c                               |   16 +
 linux-user/hexagon/cpu_loop.c                      |  100 +
 linux-user/hexagon/signal.c                        |  276 +++
 target/hexagon/arch.c                              |  300 +++
 target/hexagon/conv_emu.c                          |  177 ++
 target/hexagon/cpu.c                               |  318 +++
 target/hexagon/decode.c                            |  957 +++++++++
 target/hexagon/fma_emu.c                           |  702 +++++++
 target/hexagon/gdbstub.c                           |   47 +
 target/hexagon/gen_dectree_import.c                |  188 ++
 target/hexagon/gen_semantics.c                     |   88 +
 target/hexagon/genptr.c                            |  331 +++
 target/hexagon/iclass.c                            |   73 +
 target/hexagon/op_helper.c                         | 1064 ++++++++++
 target/hexagon/opcodes.c                           |  142 ++
 target/hexagon/printinsn.c                         |  146 ++
 target/hexagon/reg_fields.c                        |   27 +
 target/hexagon/translate.c                         |  748 +++++++
 tests/tcg/hexagon/atomics.c                        |  139 ++
 tests/tcg/hexagon/dual_stores.c                    |   60 +
 tests/tcg/hexagon/fpstuff.c                        |  370 ++++
 tests/tcg/hexagon/mem_noshuf.c                     |  328 +++
 tests/tcg/hexagon/misc.c                           |  380 ++++
 tests/tcg/hexagon/preg_alias.c                     |  169 ++
 MAINTAINERS                                        |    9 +
 disas/meson.build                                  |    1 +
 scripts/gensyscalls.sh                             |    1 +
 scripts/qemu-binfmt-conf.sh                        |    6 +-
 target/hexagon/README                              |  235 +++
 target/hexagon/dectree.py                          |  351 ++++
 target/hexagon/gen_helper_funcs.py                 |  220 ++
 target/hexagon/gen_helper_protos.py                |  150 ++
 target/hexagon/gen_op_attribs.py                   |   39 +
 target/hexagon/gen_op_regs.py                      |  110 +
 target/hexagon/gen_opcodes_def.py                  |   36 +
 target/hexagon/gen_printinsn.py                    |  173 ++
 target/hexagon/gen_shortcode.py                    |   60 +
 target/hexagon/gen_tcg_func_table.py               |   58 +
 target/hexagon/gen_tcg_funcs.py                    |  485 +++++
 target/hexagon/hex_common.py                       |  234 +++
 target/hexagon/imported/allidefs.def               |   30 +
 target/hexagon/imported/alu.idef                   | 1258 ++++++++++++
 target/hexagon/imported/branch.idef                |  326 +++
 target/hexagon/imported/compare.idef               |  619 ++++++
 target/hexagon/imported/encode.def                 |  124 ++
 target/hexagon/imported/encode_pp.def              | 2110 ++++++++++++++++++++
 target/hexagon/imported/encode_subinsn.def         |  149 ++
 target/hexagon/imported/float.idef                 |  312 +++
 target/hexagon/imported/iclass.def                 |   51 +
 target/hexagon/imported/ldst.idef                  |  286 +++
 target/hexagon/imported/macros.def                 | 1531 ++++++++++++++
 target/hexagon/imported/mpy.idef                   | 1208 +++++++++++
 target/hexagon/imported/shift.idef                 | 1066 ++++++++++
 target/hexagon/imported/subinsns.idef              |  149 ++
 target/hexagon/imported/system.idef                |   68 +
 target/hexagon/meson.build                         |  193 ++
 target/meson.build                                 |    1 +
 .../debian-hexagon-cross-build-local.docker        |   18 +
 .../debian-hexagon-cross.build-toolchain.sh        |  141 ++
 .../docker/dockerfiles/debian-hexagon-cross.docker |    1 +
 tests/tcg/configure.sh                             |    8 +-
 tests/tcg/hexagon/Makefile.target                  |   46 +
 tests/tcg/hexagon/first.S                          |   56 +
 tests/tcg/hexagon/float_convs.ref                  |  748 +++++++
 tests/tcg/hexagon/float_madds.ref                  |  768 +++++++
 104 files changed, 23339 insertions(+), 2 deletions(-)
 create mode 100644 default-configs/targets/hexagon-linux-user.mak
 create mode 100644 linux-user/hexagon/sockbits.h
 create mode 100644 linux-user/hexagon/syscall_nr.h
 create mode 100644 linux-user/hexagon/target_cpu.h
 create mode 100644 linux-user/hexagon/target_elf.h
 create mode 100644 linux-user/hexagon/target_fcntl.h
 create mode 100644 linux-user/hexagon/target_signal.h
 create mode 100644 linux-user/hexagon/target_structs.h
 create mode 100644 linux-user/hexagon/target_syscall.h
 create mode 100644 linux-user/hexagon/termbits.h
 create mode 100644 target/hexagon/arch.h
 create mode 100644 target/hexagon/attribs.h
 create mode 100644 target/hexagon/conv_emu.h
 create mode 100644 target/hexagon/cpu-param.h
 create mode 100644 target/hexagon/cpu.h
 create mode 100644 target/hexagon/cpu_bits.h
 create mode 100644 target/hexagon/decode.h
 create mode 100644 target/hexagon/fma_emu.h
 create mode 100644 target/hexagon/gen_tcg.h
 create mode 100644 target/hexagon/genptr.h
 create mode 100644 target/hexagon/helper.h
 create mode 100644 target/hexagon/hex_arch_types.h
 create mode 100644 target/hexagon/hex_regs.h
 create mode 100644 target/hexagon/iclass.h
 create mode 100644 target/hexagon/insn.h
 create mode 100644 target/hexagon/internal.h
 create mode 100644 target/hexagon/macros.h
 create mode 100644 target/hexagon/opcodes.h
 create mode 100644 target/hexagon/printinsn.h
 create mode 100644 target/hexagon/reg_fields.h
 create mode 100644 target/hexagon/translate.h
 create mode 100644 target/hexagon/attribs_def.h.inc
 create mode 100644 target/hexagon/reg_fields_def.h.inc
 create mode 100644 disas/hexagon.c
 create mode 100644 linux-user/hexagon/cpu_loop.c
 create mode 100644 linux-user/hexagon/signal.c
 create mode 100644 target/hexagon/arch.c
 create mode 100644 target/hexagon/conv_emu.c
 create mode 100644 target/hexagon/cpu.c
 create mode 100644 target/hexagon/decode.c
 create mode 100644 target/hexagon/fma_emu.c
 create mode 100644 target/hexagon/gdbstub.c
 create mode 100644 target/hexagon/gen_dectree_import.c
 create mode 100644 target/hexagon/gen_semantics.c
 create mode 100644 target/hexagon/genptr.c
 create mode 100644 target/hexagon/iclass.c
 create mode 100644 target/hexagon/op_helper.c
 create mode 100644 target/hexagon/opcodes.c
 create mode 100644 target/hexagon/printinsn.c
 create mode 100644 target/hexagon/reg_fields.c
 create mode 100644 target/hexagon/translate.c
 create mode 100644 tests/tcg/hexagon/atomics.c
 create mode 100644 tests/tcg/hexagon/dual_stores.c
 create mode 100644 tests/tcg/hexagon/fpstuff.c
 create mode 100644 tests/tcg/hexagon/mem_noshuf.c
 create mode 100644 tests/tcg/hexagon/misc.c
 create mode 100644 tests/tcg/hexagon/preg_alias.c
 create mode 100644 target/hexagon/README
 create mode 100755 target/hexagon/dectree.py
 create mode 100755 target/hexagon/gen_helper_funcs.py
 create mode 100755 target/hexagon/gen_helper_protos.py
 create mode 100755 target/hexagon/gen_op_attribs.py
 create mode 100755 target/hexagon/gen_op_regs.py
 create mode 100755 target/hexagon/gen_opcodes_def.py
 create mode 100755 target/hexagon/gen_printinsn.py
 create mode 100755 target/hexagon/gen_shortcode.py
 create mode 100755 target/hexagon/gen_tcg_func_table.py
 create mode 100755 target/hexagon/gen_tcg_funcs.py
 create mode 100755 target/hexagon/hex_common.py
 create mode 100644 target/hexagon/imported/allidefs.def
 create mode 100644 target/hexagon/imported/alu.idef
 create mode 100644 target/hexagon/imported/branch.idef
 create mode 100644 target/hexagon/imported/compare.idef
 create mode 100644 target/hexagon/imported/encode.def
 create mode 100644 target/hexagon/imported/encode_pp.def
 create mode 100644 target/hexagon/imported/encode_subinsn.def
 create mode 100644 target/hexagon/imported/float.idef
 create mode 100644 target/hexagon/imported/iclass.def
 create mode 100644 target/hexagon/imported/ldst.idef
 create mode 100755 target/hexagon/imported/macros.def
 create mode 100644 target/hexagon/imported/mpy.idef
 create mode 100644 target/hexagon/imported/shift.idef
 create mode 100644 target/hexagon/imported/subinsns.idef
 create mode 100644 target/hexagon/imported/system.idef
 create mode 100644 target/hexagon/meson.build
 create mode 100644 tests/docker/dockerfiles/debian-hexagon-cross-build-local.docker
 create mode 100755 tests/docker/dockerfiles/debian-hexagon-cross.build-toolchain.sh
 create mode 100644 tests/docker/dockerfiles/debian-hexagon-cross.docker
 create mode 100644 tests/tcg/hexagon/Makefile.target
 create mode 100644 tests/tcg/hexagon/first.S
 create mode 100644 tests/tcg/hexagon/float_convs.ref
 create mode 100644 tests/tcg/hexagon/float_madds.ref
Signature · 1 line
2.7.4