Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xtensa patches (18.x) (Do not merge, PR created for easier review only) #94

Open
wants to merge 261 commits into
base: xtensa_release_18.1.2_init
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
261 commits
Select commit Hold shift + click to select a range
a4b7994
[Xtensa] Lower SHIFT PARTS and shift operations.
andreisfr May 31, 2023
044c8ec
[Xtensa] Implement load pseudo operations and
andreisfr May 31, 2023
464a190
[Xtensa] Support for variable arguments
andreisfr May 31, 2023
c332776
[Xtensa] Implement lowering BR_JT operation
andreisfr May 31, 2023
4690431
[Xtensa] Support for address intrinsics.
andreisfr May 31, 2023
0c09ff5
[Xtensa] Add basic support for inline asm constraints
andreisfr May 31, 2023
db75848
[Xtensa] Implement volatile load/store.
andreisfr May 31, 2023
57ad6f6
[Xtensa] Implement branch analysis
andreisfr May 31, 2023
57d18b0
[Xtensa] Implement support for the BranchRelaxation
andreisfr May 31, 2023
336ee08
[Xtensa] Implement code density feature operations
andreisfr May 31, 2023
d6df053
[Xtensa] Add code size reduction pass.
andreisfr May 31, 2023
1321421
[Xtensa] Implement Windowed feature operations
andreisfr May 31, 2023
59dca5e
[Xtensa] Implement Windowed Call ABI
andreisfr May 31, 2023
aba9d26
[Xtensa] Reserve an emergency spill slot for
andreisfr May 31, 2023
110b181
[Xtensa] Implement Boolean feature operations
andreisfr May 31, 2023
99e7f23
[Xtensa] Implement Floating-Point feature operations.
andreisfr May 31, 2023
a8aed18
[Xtensa] Lowering Floating-Point Operations SELECT_CC/SETCC/BR_CC.
andreisfr May 31, 2023
fbb9a95
[Xtensa] Implement DAG Combine for FADD and FSUB operations.
andreisfr May 31, 2023
aa8b304
[Xtensa] Implement Loop, SEXT and NSA features.
andreisfr May 31, 2023
adf9fee
[Xtensa] Implement Mul32, Mul32High and Div32 features.
andreisfr May 31, 2023
1bf68de
[Xtensa] Implement Mac16 feature and operations.
andreisfr May 31, 2023
d6c26b2
[Xtensa] Implement Xtensa features and operations.
andreisfr May 31, 2023
848b267
[Xtensa] Implement Xtensa features and operations.
andreisfr May 31, 2023
7edb5a7
[Xtensa] Add the Xtensa target.
andreisfr May 31, 2023
3a52eb4
[Xtensa] Implement Xtensa ABI lowering.
andreisfr May 31, 2023
7777687
[Xtensa] Add subtargets ESP32. ESP8266 and ESP32-S2.
andreisfr May 31, 2023
aa40366
[Xtensa] Add esp32, esp8266 and esp32-s2 to valid cpu names.
andreisfr May 31, 2023
fd5371a
[Xtensa] Improve parsing of the SR and UR registers.
andreisfr May 31, 2023
ad4dca6
[Xtensa] Emit literals
andreisfr May 31, 2023
360664f
[Xtensa] Improve assembler parsing. Improve CFA support.
andreisfr May 31, 2023
fb45e70
[Xtensa] Lowering Exception Selector and Pointer Registers.
andreisfr May 31, 2023
dbfc1c9
[Xtensa] Lowering GLobalTLSAddress operation.
andreisfr May 31, 2023
efb4a02
[Xtensa] Lower ATOMIC_FENCE. Add Atomic Expand pass.
andreisfr May 31, 2023
1c95f6b
[Xtensa] Lower atomic_cmp_swap_(8/16/32) operations.
andreisfr May 31, 2023
766472c
[Xtensa] Lower atomic_swap_(8/16/32) operations.
andreisfr May 31, 2023
c1dc5c4
[Xtensa] Lower atomic operations.
andreisfr May 31, 2023
74cca1a
Implement Xtensa toolchain.
andreisfr May 31, 2023
6ef9b5e
[Xtensa] Implement multilib support
andreisfr May 31, 2023
6155a31
[Xtensa] Implemented builtins for Xtensa MAC16 instructions.
andreisfr Feb 1, 2024
6539c0d
Implemented builtins for Xtensa MAC16 instructions.
andreisfr May 31, 2023
675210a
Implement lowering llvm intrinsics fshr/fshl.
andreisfr May 31, 2023
530950f
Add functions needed to use as rust submodule.
andreisfr Sep 20, 2023
8f8431c
[Xtensa] Correct Call ABI for function return arguments.
andreisfr May 31, 2023
3ebc3df
[Xtensa] Implement rest part of FP instructions.
andreisfr May 31, 2023
a17f7bd
[Xtensa] Correct lowering BR_CC with FP operands.
andreisfr May 31, 2023
4726f74
[Xtensa] Use ctors for Xtensa target by default
andreisfr May 31, 2023
d2db1ed
Implement Hardware Loop optimization pass
andreisfr May 31, 2023
8d15597
[Xtensa] Change using of Frame Pointer.
andreisfr Feb 5, 2024
fa0fdab
esp/maint: Adds Github workfows
andreisfr May 31, 2023
614d272
[Xtensa] Implement esp32 psram cache fixes.
andreisfr Feb 5, 2024
058d859
Fix Hardware Loop optimization
andreisfr May 31, 2023
0ec32f0
Remove unnecessary MOVSP in epilogue.
andreisfr May 31, 2023
e0ce3d5
[Xtensa] Support 'f' Inline Assembly Constraint
andreisfr May 31, 2023
f6f7c4c
[Xtensa] Correction of the PSRAM fix pass
andreisfr May 31, 2023
11029d5
[Xtensa] Correction of the hardware loop instrinsics detection.
andreisfr May 31, 2023
1a6e1b6
[Xtensa] Correction of the ESP32-S2 target.
andreisfr May 31, 2023
c7f67c0
[Xtensa] Implement ESP32-S3 target.
andreisfr May 31, 2023
d96035c
[Xtensa] Define register type for CC
andreisfr May 31, 2023
e465cdb
[Xtensa] Correcting FP instructions and intrinsics.
andreisfr May 31, 2023
d1d8e96
[Xtensa] Implement MUL16 feature.
andreisfr May 31, 2023
ce46690
[Xtensa] Add a no-op -mlongcalls option for better compatibility
andreisfr May 31, 2023
3d367d7
[Xtensa] Add atomicrmw_xchg test.
andreisfr May 31, 2023
6db70e2
[Xtensa] Initialize MCSubtargetInfo with esp32.
andreisfr May 31, 2023
16f68b5
[Xtensa] Correction of the Hardware Loop pass.
andreisfr May 31, 2023
b5a004a
[Xtensa] Fix atomic swap for 8/16 bit operands.
andreisfr May 31, 2023
9adbe8c
[Xtensa] Initial porting compiler-rt library for Xtensa.
andreisfr May 31, 2023
38c63a1
[Xtensa] Add support of "-mcpu" option.
andreisfr May 31, 2023
b4bcd13
[Xtensa] Improve Xtensa multilib support in clang.
andreisfr May 31, 2023
06a3c81
[Xtensa] Add '--rtlib' option support for ESP Xtensa toolchain
andreisfr May 31, 2023
718d1a5
[Xtensa]: Add '-fuse-ld' option support to ESP Xtensa
andreisfr May 31, 2023
8d1bc2c
[Xtensa] Use B0 register for FP cmp operations.
andreisfr May 31, 2023
6e90d86
ci: add .gitlab-ci.yml to support CI/CD
andreisfr May 31, 2023
576156d
[Xtensa] Fix inline asm
andreisfr May 31, 2023
ce0331f
[Xtensa]: Fix handling of empty '-fuse-ld' option for ESP toolchain
andreisfr May 31, 2023
b2f5913
esp: Adds support for vendor 'Espressif' to target triple
andreisfr May 31, 2023
72d9a18
[Xtensa] Fix multilib support.
andreisfr Feb 6, 2024
830ded8
esp/riscv: Use GCC assembler for ESP RISCV chips
andreisfr May 31, 2023
a6820fb
esp/riscv: Adds support for 'riscv32-esp-elf' target triple
andreisfr May 31, 2023
fd19346
riscv: Add default multilib.
andreisfr Sep 26, 2023
8b6bbd9
esp/riscv: Add multilib support for 'riscv32-esp-elf' GCC toolcahin
andreisfr Sep 26, 2023
828f35c
esp/riscv: Add 'libnosys' to linker command line by default
andreisfr May 31, 2023
a43197f
esp/riscv: Exclude 'crt0.o' from linking in 'freestanding' mode
andreisfr May 31, 2023
6bc7aaa
riscv: Add ESP toolchain tests
andreisfr May 31, 2023
c4a8bf4
esp/ci: Adds Linux build
andreisfr May 31, 2023
91d41ff
esp/ci: Adds Mingw32 build
andreisfr May 31, 2023
3cb640e
[Xtensa] Remove redundant target features
andreisfr Sep 26, 2023
9293ff7
esp/ci: Upgrade universal toolchain to
andreisfr May 31, 2023
c69a38d
esp/ci: Allow failure for universal toolchain builds
andreisfr May 31, 2023
7342724
Implement support of the sysroot
andreisfr Sep 26, 2023
391f994
[Xtensa] Fix crtbegin/crtend implementation.
andreisfr May 31, 2023
ded532a
[Xtensa] Build compiler-rt libs.
andreisfr May 31, 2023
2885ecc
[Xtensa] Fix ill.n instruction econding
andreisfr May 31, 2023
c33a57b
ci: add jobs for arm64 toolchains
andreisfr May 31, 2023
ea0bf0c
ci/cd: fix clang version in gitlab-ci.yml
andreisfr May 31, 2023
d15105b
[Xtensa] fix compiler-rt crt build script
andreisfr Sep 26, 2023
42f1d83
[Xtensa] Implement asm macro for bbci/bbsi.
andreisfr May 31, 2023
d94a95a
[Xtensa] Implement support of literal and region asm directives in as…
andreisfr Sep 26, 2023
72519bd
[Xtensa] Corrected asm parser.
andreisfr May 31, 2023
538da6c
riscv/gnu: Adds `no-rtti` multilib support
andreisfr Sep 26, 2023
ba9278b
esp/ci: Adds MacOS x86_64/ARM64 universal toolchain builds
andreisfr May 31, 2023
48d92f9
esp/ci: Adds minimal distro with libraries/headres only
andreisfr May 31, 2023
1bfa188
esp/ci: Upgrade GCC toolchain to `esp-2022r1`
andreisfr May 31, 2023
684bab9
esp/ci: Move newlib build to separate job
andreisfr May 31, 2023
8419f9e
esp/ci: Adds Linux ARM/ARM64 universal toolchain builds
andreisfr May 31, 2023
f975fa1
esp/ci: Upgrade Clang ver to 15
andreisfr May 31, 2023
a5de039
esp/ci: Adds support to switch between legacy and universal toolchain…
andreisfr May 31, 2023
4eb677a
esp/ci: Adds MacOS binaries signing stage
andreisfr May 31, 2023
fae16f8
[Xtensa] Xtensa ABI 128bit arg alignment
andreisfr May 31, 2023
abbffc0
[Xtensa] Fix Call ABI for 16 byte alignment.
andreisfr Sep 26, 2023
6e4476c
[Xtensa] Add IR test for 16byte alignment.
andreisfr May 31, 2023
0f183aa
esp/ci: Run LLD tests. Output test logs in lld-tests.log
andreisfr May 31, 2023
39ae80e
[Xtensa] Fix atomic rmw operation.
andreisfr May 31, 2023
0217deb
[Xtensa] Fix Hardware Loop pass.
andreisfr May 31, 2023
f64bce8
[Xtensa] Add LLD linker support
andreisfr Apr 1, 2024
abe998c
[Xtensa][LLD] add more tests
andreisfr Apr 1, 2024
9368806
[Xtensa][LLD] Fix J formula
andreisfr Apr 1, 2024
0b3b4c6
[Xtensa] Add emit constant pool option.
andreisfr May 31, 2023
40de36c
[Xtensa] Add support of the mcmodel option.
andreisfr May 31, 2023
24d141c
[Xtensa] Fix lowering funnel shift left.
andreisfr May 31, 2023
f018c40
[Xtensa] Make it possible to use -fuse-ld when GCC
andreisfr May 31, 2023
a24105c
esp/ci: Fixes Windows release archives
andreisfr May 31, 2023
ed1b6c4
esp/ci: Check for OOM failures after build
andreisfr May 31, 2023
3a1fb0d
[PATCH 134/230] [LLD][Xtensa] Cover DIFF{8, 16, 32} relocations.
andreisfr May 31, 2023
40e2ac1
[Xtensa] Implement constant islands pass
andreisfr Sep 26, 2023
25481ce
[Xtensa] Disable hardware loops by default.
andreisfr May 31, 2023
bc62655
[Xtensa] Improve fixup error messages in asm backend.
andreisfr May 31, 2023
fe14d17
[Xtensa] Fix hwloop tests
andreisfr May 31, 2023
1938b6f
[Xtensa] Place aggregate constants in global
andreisfr May 31, 2023
3f0ad1b
esp/ci: change clang version to 16.
andreisfr May 31, 2023
920ac1c
toolchain: Adds compiler-rt multilibs support for Espressif toolchains
andreisfr Sep 27, 2023
899e30f
esp/ci: Build compiler-rt
andreisfr May 31, 2023
1636bc3
toolchain/xtensa: Enable `-frtti` by default for multilib dirs search
andreisfr Sep 27, 2023
444a85a
toolchain/esp: Add tests for 'compiler-rt' multilib
andreisfr May 31, 2023
23797f6
toolchain/xtensa: Use GNU linker when no GCC installation is detected
andreisfr Mar 25, 2024
06d09bd
tooclahin/xtensa: Add crt0.o to linker command line automatically
andreisfr May 31, 2023
e7da6e1
[Xtensa] Implement __ieee754_sqrtf builtin
andreisfr May 31, 2023
8630f5f
compiler-rt/tests: Adds specific build options for Espressif targets
andreisfr Sep 27, 2023
6dbc7a2
compiler-rt/tests: Disable tests failing for Espressif targets
andreisfr Mar 25, 2024
8ea7854
esp/ci: Update newlib branch
andreisfr May 31, 2023
6f1daf4
esp/ci: Saves log for 'test_x86_64-linux-gnu'
andreisfr May 31, 2023
34d7601
esp/ci: Update 'llvm-xtensa-testsuite' ref
andreisfr May 31, 2023
b5eea7e
esp/ci: Update 'xtensa-clang-toolchain' ref
andreisfr May 31, 2023
e9f70a3
esp/ci: Upload only x86_64-linux-gnu distro to HTTP server
andreisfr May 31, 2023
7c310e0
esp/ci: stick to binutils 2.35
andreisfr May 31, 2023
5ae81a5
[Xtensa] Fix i8/i16 ABI alignment.
andreisfr May 31, 2023
1f37125
esp/toolchain: Adds '-fdata-sections' to newlib target CFLAGS
andreisfr May 31, 2023
52980e9
toolchain/esp: Bring 'libgcc' back to the toolchain
andreisfr May 31, 2023
5785b02
[Xtensa] Respect srli assembler semantics
sstefan1 May 26, 2023
3f93de2
[LLD][Xtensa] Recognize bt instruction in lld
sstefan1 Jun 28, 2023
b590170
[Xtensa] Fix i8/i16 alignment.
andreisfr Jun 21, 2023
f6b185d
[Xtensa] Fix asm parsing of special registers.
andreisfr Mar 25, 2024
fbce94a
[Xtensa] Implement ESP32 S3 DSP instructions.
andreisfr Mar 25, 2024
ab418bf
[Xtensa][esp32s3] Fix encoding for immediates with step increment
sstefan1 Aug 8, 2023
41d18a5
[Xtensa] Fix FP mul-sub fusion
zRedShift Jul 13, 2023
370da79
[Xtensa] Add more valid FMA patterns and tests 1. Prefer `fneg.s` to …
zRedShift Jul 15, 2023
9023e52
[Xtensa] Add MINMAX feature
zRedShift Jul 16, 2023
0be7683
[Xtensa] Add CLAMPS feature
zRedShift Jul 16, 2023
a58f52c
[Xtensa] Connect `abs` to `llvm.abs`
zRedShift Jul 20, 2023
3a71d2b
[Xtensa] ADD support of the CLAMPS/MINMAX in target parser.
andreisfr Jul 29, 2023
af79bce
[Xtensa] Handle musttail
andreisfr Jul 6, 2023
40bcb37
[Xtensa] Implement CTLZ/CTTZ with NSAU
zRedShift Jul 16, 2023
bc03515
[Xtensa] Add spill slot for smaller estimaded stack size.
sstefan1 Jun 14, 2023
111f603
[Xtensa] Fix decoder namespace for ESP32S3.
andreisfr Sep 27, 2023
549abfc
[Xtensa] Fix hardware loop
andreisfr Aug 22, 2023
f48707f
[Xtensa] Fix _FAST_ int types.
andreisfr Mar 25, 2024
2fabfc2
esp/ci: Makes use of MacOS codesign scripts from external repo
gerekon Aug 31, 2023
62e6e72
esp/ci: Use gold linker for Linux builds
gerekon Sep 1, 2023
625fc0e
esp/ci: Adds cmake err/log artifacts
gerekon Sep 1, 2023
737368f
[lld][Xtensa] Fix sections placements.
andreisfr Oct 11, 2023
e7cd296
[lld][Xtensa] Improve literal sections placement.
andreisfr Oct 18, 2023
74617d4
[lld][Xtensa] Fix loop instruction relocation
andreisfr Oct 30, 2023
52bc4da
[Xtensa] Fix Clang builtins include directory
aykevl Oct 24, 2023
6ca30e5
[Utils][UpdateTestChecks] Add Xtensa support to update_llc_test_check…
andreisfr Dec 1, 2023
69184d9
[Xtensa] Fix wchar type. Add absent IR passes.
andreisfr Nov 7, 2023
6be8cfc
[Xtensa][Tests]: Fix call abi test.
andreisfr Mar 25, 2024
2e39012
esp/ci: Modify ci script to support Clang release 17.0.4
gerekon Dec 12, 2023
bed848c
esp/ci: Bump binutils version to esp-2.39.0_20230208
gerekon Dec 12, 2023
2834506
esp/ci: Use GNU components from GCC release 12.2.0_20230208
gerekon Dec 12, 2023
53f8350
[Toolchain][RISCV]: Add support for ISA 2.1 compliant multilib naming
gerekon Dec 12, 2023
3bbeb62
esp/ci: Remove legacy release CI code
gerekon Dec 12, 2023
df7b3ac
[Xtensa][RISCV] Fix multilib support
andreisfr Mar 26, 2024
9133085
esp/ci: Split MacOS sign job (one per arch) to fit into artifacts siz…
gerekon Dec 28, 2023
47c7839
esp/ci: Adds GH PR workflow to run tests
gerekon Dec 28, 2023
39a455a
[Toolchain][Xtensa][Tests] Fix calling clang++ in tests
gerekon Dec 29, 2023
e5e8a12
[Xtensa] Add definition of S3 output registers.
maciej-czekaj Sep 11, 2023
bf252f4
[Xtensa] Add Boolean Extension feature
maciej-czekaj Mar 27, 2023
afe0594
[Xtensa] Refactor loadImmediate
maciej-czekaj Mar 27, 2023
112442d
[Xtensa] Implement BRegFixupPass
maciej-czekaj Mar 27, 2023
2fe4e13
[Xtensa] Add LLVM tests for Boolean Extension
maciej-czekaj Mar 27, 2023
aee6c19
[Xtensa] Separate directory for Clang CodeGen tests
maciej-czekaj Mar 27, 2023
89eee79
[Xtensa] Add ABI test for xtbool
maciej-czekaj Mar 27, 2023
19493cf
[Xtensa] Implement conditional move instrinsics
maciej-czekaj Mar 27, 2023
0c47d5a
[Xtensa] Add basic float intrinsics
maciej-czekaj Mar 27, 2023
93b16cb
[Xtensa] Implement remaining floating point intrinsics
andreisfr Mar 26, 2024
e447780
[Xtensa] Add Cannonlake CPU
maciej-czekaj Mar 27, 2023
7215a08
[Xtensa] Make assembler output compatible with GAS
andreisfr Mar 26, 2024
ab4deb3
[Xtensa] Add HIFI3 intrinsic functions
maciej-czekaj Jun 29, 2023
6a0033c
[Xtensa] Add HIFI3 register classes
maciej-czekaj Jun 29, 2023
7080b87
[Xtensa] Add HIFI3 target feature
maciej-czekaj Jun 29, 2023
1b5c5c0
[Xtensa] Add HIFI3 instructions
maciej-czekaj Nov 13, 2023
22911f2
[Xtensa] Add support for boolean vectors
maciej-czekaj Jun 29, 2023
94e8aee
[Xtensa] Add HIFI3 instruction lowering
andreisfr Mar 26, 2024
a4a7623
[Xtensa] Fix alignment in LowerVACOPY()
maciej-czekaj Jun 30, 2023
ed47c29
[Xtensa] Add HIFI3 instruction selection patterns
maciej-czekaj Jun 29, 2023
a062cb0
[Xtensa] Add codegen tests for vector operators
maciej-czekaj Jun 29, 2023
f013015
[Xtensa] Add codegen support for HIFI3 intrinsics
maciej-czekaj Jun 29, 2023
81e701d
[Xtensa] Support bit vectors in BRegFixupPass
maciej-czekaj Jun 29, 2023
607935a
[Xtensa] Add codegen tests for bit vectors
maciej-czekaj Jun 29, 2023
0f41383
[Xtensa] Remove unsspported intrinsic xt_conjc_s
maciej-czekaj Jun 29, 2023
cbd147e
[Xtensa] Add HIFI3 intrinsic definitions to clang
maciej-czekaj Jun 29, 2023
f24eb62
[Xtensa] Add constant checks for HIFI3 intrinsics
maciej-czekaj Jun 29, 2023
959b982
[Xtensa] Support HIFI3 vectors in LLVM calls
maciej-czekaj Jun 29, 2023
9e3290d
[Xtensa] Add HIFI3 intrinsics to Clang codegen
andreisfr Mar 26, 2024
5b24470
[Xtensa] Fix xt_lsxp builtin definition
maciej-czekaj Jun 29, 2023
f2308b0
[Xtensa] Support bool vectors in LLVM calls
maciej-czekaj Jun 29, 2023
9245db2
[Xtensa] Add --text-section-literals option
maciej-czekaj Jun 29, 2023
2ea3ef3
[Xtensa] Add vector conversion builtins
andreisfr Mar 26, 2024
6d4e620
[Xtensa] Add HIFI3 C types and intrinsics
maciej-czekaj Jun 29, 2023
0d73ca1
[Xtensa] Add support for decoding from HIFI namespace
maciej-czekaj Oct 16, 2023
fbb3d27
[Xtensa] Implement support for `__attribute__((short__call))` and `_…
sstefan1 Feb 24, 2024
b21921c
[RISCV] Add 'tcontrol' CSR register
gerekon Oct 19, 2023
efb2b16
[Toolchain][RISCV][Xtensa] Add Espressif baremetal.
andreisfr Mar 27, 2024
8286130
[Toolchain][RISCV][Xtensa] Remove GCC installation support for Espres…
andreisfr Mar 28, 2024
0e66b3d
[Clang] Fix undefined std::errc for MinGW build
gerekon Feb 22, 2024
0ff979b
[LLD] Disable x86_64 specific test if target is no enabled
andreisfr Apr 1, 2024
1008e23
esp/ci: Use CMake-based build scripts
gerekon Oct 19, 2023
b0d3e02
[Xtensa] Fix disassembler.
andreisfr Mar 7, 2024
6b5bca8
[Xtensa] Add predefined macros for core configuration
gerekon Mar 15, 2024
ac4aa13
[Clang] Add stdint preprocessor tests for Xtensa
gerekon Mar 15, 2024
9a7c245
[LLVM][Xtensa] Remove DFP accelrator feature from ESP32-S3
gerekon Mar 15, 2024
09109f3
[Clang][Xtensa] Add tests for core config pre-defined macros
gerekon Mar 15, 2024
368640f
esp/ci: Upgrade GCC toolchain components version to '13.2.0_20240305'
gerekon Mar 21, 2024
6fe6ab4
[Clang][RISCV] Fix baremetal test
andreisfr Mar 28, 2024
468e952
[Toolchain][Espressif] Use custom prefixes for 'as' and 'ld'
gerekon Mar 27, 2024
57be64d
esp/ci: Switch to combined all-in-one toolchain
gerekon Mar 27, 2024
619480b
esp/ci: Add special build to run tests
gerekon Apr 12, 2024
f0f772f
[Xtensa] Fix LOOP* pseudo instructions.
andreisfr Apr 23, 2024
c784bd3
esp/ci: Upgrade docker image for Windows build to use MinGW 10
gerekon May 3, 2024
d7da292
[Xtensa] Fix issue with adding scavenging frame index
sstefan1 Apr 18, 2024
55758c3
esp/ci: Separate checksum files for toolchain and standalone libs dis…
gerekon May 14, 2024
6bc1f2c
[RISCV] Add user trap CSRs
gerekon May 14, 2024
74a35b5
[Xtensa] Add Xtensa builtins into last builtin ID calculation
gerekon Jul 5, 2024
255e3a3
[Xtensa] Support for asm underscore prefix
sstefan1 Jun 25, 2024
e9c8e60
[RISCV] Support for ESP32-P4 instructions in RISCV backend
sstefan1 May 22, 2024
8230af6
[RISCV][ESP32P4] Don't yet consider v16i8 and v4i32 legal
sstefan1 Aug 22, 2024
4cbf336
toolchain/esp: Add test for 'xesppie' multilib mapping for esp32-p4
gerekon Aug 21, 2024
8728786
esp/ci: Add esp-dsp build test job
gerekon Aug 22, 2024
8e1d87c
[RISCV] Fix registers class for esp32p4 HW loop instructions
gerekon Aug 27, 2024
8af78ed
[Xtensa] Fix atomic store operands order
gerekon Sep 10, 2024
7da6254
esp/ci: Use IDF from docker image for esp-dsp test build
gerekon Sep 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 40 additions & 0 deletions .github/workflows/esp-clang-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Clang Tests

permissions:
contents: read

on:
workflow_dispatch:
push:
ignore-forks: true
branches:
- '**_release_**'
paths:
- 'clang/**'
- '.github/workflows/esp-clang-tests.yml'
- '.github/workflows/llvm-project-tests.yml'
- '!llvm/**'
pull_request:
ignore-forks: true
branches:
- '**_release_**'
paths:
- 'clang/**'
- '.github/workflows/esp-clang-tests.yml'
- '.github/workflows/llvm-project-tests.yml'
- '!llvm/**'

concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
check_clang:
if: github.repository_owner == 'espressif'
name: Test clang
uses: ./.github/workflows/llvm-project-tests.yml
with:
build_target: check-clang
projects: clang
46 changes: 46 additions & 0 deletions .github/workflows/esp-llvm-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: LLVM Tests

permissions:
contents: read

on:
workflow_dispatch:
push:
ignore-forks: true
branches:
- '**_release_**'
paths:
- 'llvm/**'
- '.github/workflows/esp-llvm-tests.yml'
- '.github/workflows/llvm-project-tests.yml'
pull_request:
ignore-forks: true
branches:
- '**_release_**'
paths:
- 'llvm/**'
- '.github/workflows/esp-llvm-tests.yml'
- '.github/workflows/llvm-project-tests.yml'

concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
check_all:
if: github.repository_owner == 'espressif'
name: Test llvm,clang
uses: ./.github/workflows/llvm-project-tests.yml
with:
build_target: check-all
projects: clang

check_lld:
if: github.repository_owner == 'espressif'
name: Test lld
uses: ./.github/workflows/llvm-project-tests.yml
with:
build_target: check-lld
projects: lld
19 changes: 19 additions & 0 deletions .github/workflows/issue_comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Sync issue comments to JIRA

# This workflow will be triggered when new issue comment is created (including PR comments)
on: issue_comment

jobs:
sync_issue_comments_to_jira:
name: Sync Issue Comments to Jira
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Sync issue comments to JIRA
uses: espressif/github-actions/sync_issues_to_jira@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JIRA_PASS: ${{ secrets.JIRA_PASS }}
JIRA_PROJECT: LLVM
JIRA_URL: ${{ secrets.JIRA_URL }}
JIRA_USER: ${{ secrets.JIRA_USER }}
19 changes: 19 additions & 0 deletions .github/workflows/new_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Sync issues to Jira

# This workflow will be triggered when a new issue is opened
on: issues

jobs:
sync_issues_to_jira:
name: Sync issues to Jira
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Sync GitHub issues to Jira project
uses: espressif/github-actions/sync_issues_to_jira@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JIRA_PASS: ${{ secrets.JIRA_PASS }}
JIRA_PROJECT: LLVM
JIRA_URL: ${{ secrets.JIRA_URL }}
JIRA_USER: ${{ secrets.JIRA_USER }}
24 changes: 24 additions & 0 deletions .github/workflows/new_prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Sync remain PRs to Jira

# This workflow will be triggered every hour, to sync remaining PRs (i.e. PRs with zero comment) to Jira project
# Note that, PRs can also get synced when new PR comment is created
on:
schedule:
- cron: "0 * * * *"

jobs:
sync_prs_to_jira:
name: Sync PRs to Jira
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Sync PRs to Jira project
uses: espressif/github-actions/sync_issues_to_jira@master
with:
cron_job: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JIRA_PASS: ${{ secrets.JIRA_PASS }}
JIRA_PROJECT: LLVM
JIRA_URL: ${{ secrets.JIRA_URL }}
JIRA_USER: ${{ secrets.JIRA_USER }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@

# Nested build directory
/build*
/*/build-*
/_build
/_dist

#==============================================================================#
# Explicit files to ignore (only matches one).
Expand Down Expand Up @@ -70,3 +73,4 @@ pythonenv*
/clang/utils/analyzer/projects/*/RefScanBuildResults
# automodapi puts generated documentation files here.
/lldb/docs/python_api/
/dbg
Loading
Loading