Commit Graph
34 Commits
Author SHA1 Message Date
Jan d96094c93a use OSACA v0.6.1 (#6961)
Updated OSACA from v0.5.2 to v0.6.1, which includes bug fixes, more
supported instructions for existing architectures and new architectures
like Intel Sapphire Rapids, Nvidia Grace Superchip/Neoverse V2, and AMD
Zen 4.
2024-10-20 15:24:10 -05:00
Marc Poulhiès 99a9e3ebbc hppa: add new GCC cross compiler (#6904)
(+ some cosmetic changes that should, of course, not change behavior)

fixes #6878

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-09-25 16:34:07 +02:00
Marc Poulhiès 8449a12361 Add 23 cross GCC 14.2 (#6755)
Left out sh GNAT and GDC.

But they are installed, so at least GDC 14.2 can be added along with the
rest in
https://github.com/compiler-explorer/compiler-explorer/issues/6520.

refs https://github.com/compiler-explorer/compiler-explorer/issues/6741

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-08-10 12:02:52 +02:00
Marc Poulhiès a7261f635d Add GCC 14.2 native intel (#6743) 2024-08-08 22:06:41 +02:00
Nicholas Hubbard a9257430f3 Add assembly documentation for PowerPC platform (#6665)
<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE
IT
Thanks for taking the time to improve CE. We really appreciate it.
Before opening the PR, please make sure that the tests & linter pass
their checks,
  by running `make check`.
In the best case scenario, you are also adding tests to back up your
changes,
  but don't sweat it if you don't. We can discuss them at a later date.
Feel free to append your name to the CONTRIBUTORS.md file
Thanks again, we really appreciate this!
-->

Hello all, I've added assembly documentation for the PowerPC platform
with this PR.

There's a couple of notes to keep in mind, mostly regarding automatic
processing:

1. Unfortunately, IBM made their documentation site very difficult to
automatically scrape. It uses dynamic rendering with a documentation API
that's protected by cookies, requiring the use of Selenium to scrape it.
2. While it is possible to scrape the documentation pages, it's
maddeningly difficult to do so, because the structure of the pages is
not guaranteed.
- Some pages have invisible elements in their headers that make matching
elements very difficult.
     - Some pages are missing entire sections.
- Some pages are written without an introduction for the instruction
mnemonic, making the resulting documentation impossible to understand.
- Some pages, specifically for instructions without arguments, are
missing the table that lists the mnemonics out in order.
- I could go on, but I abandoned trying to do automatic processing after
running into this many roadblocks.
3. The automatic processing script is available in the docenizers
directory, but since it's not complete, feel free to ask to remove it.
4. I couldn't test the actual mnemonics appearing the editor, because my
local test setup kept trying to map the PowerPC instructions into AMD64
documentation, with predictably unusual results.
5. I didn't include AltiVec instructions, because there isn't any
webpage that documents them; they are only documented in a PDF file
provided by NXP.

Please let me know if there's anything else I need to do for this to
work. Thank you so much for your wonderful service!
2024-07-01 14:52:10 +02:00
Marc Poulhiès f133d869e8 Add GCC 12.4 for native and cross (#6637)
12.4 config for native and 20 cross GCC.

For https://github.com/compiler-explorer/compiler-explorer/issues/659

---------

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-06-22 11:59:00 +02:00
Marc Poulhiès 538eba3930 Add GCC 14.1 for sparc-leon (#6536)
fixes https://github.com/compiler-explorer/compiler-explorer/issues/6406

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-29 14:26:12 +02:00
Marc Poulhiès 53369581bb Add 23 cross GCC 13.3 (#6519)
fixes #6478

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-23 18:58:18 +02:00
Marc Poulhiès ecfd2d79f2 Add GCC 13.3.0 native (#6515)
fixes #6479

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-22 12:17:29 +02:00
Marc Poulhiès 76eb8f81ef Add 21 cross compilers for GCC 14.1 (#6453)
For 8 different languages.

fixes https://github.com/compiler-explorer/compiler-explorer/issues/6406

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-08 19:09:28 +02:00
Marc Poulhiès 98624bbb96 Add GCC 14.1 for native (intel) (#6447)
fixes https://github.com/compiler-explorer/compiler-explorer/issues/6446

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-07 13:42:46 +02:00
Marc Poulhiès 6821e916cc gcc: add old renovated versions (#6414)
Add 3.4.6, 4.0.4 and 6.5.0.

fixes #6323

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-03 20:46:15 +02:00
Marc Poulhiès f8d9e703e9 Add ppc64(le) nightly compilers (#6068)
Add ppc64 and ppc64le nightly compilers.

fixes https://github.com/compiler-explorer/compiler-explorer/issues/5881

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-02-12 21:29:58 +01:00
Marc Poulhiès 6498a2a490 vax: add built 10.5.0 gcc-vax cross compiler (#5778)
The compiler has an explicit reference to a timestamp corresponding to
the NetBSD commit used to build the compiler.

It corresponds to (using
https://github.com/NetBSD/src/commit/cd217f2d265f3f9781aa873c348052ee05002ce6):

```
   commit cd217f2d265f3f9781aa873c348052ee05002ce6
   Author: msaitoh <msaitoh@NetBSD.org>
   Date:   Wed Nov 15 03:50:22 2023 +0000

       ixgbe: Clear the WTHRESH bit field before writing it.
```

fixes https://github.com/compiler-explorer/compiler-explorer/issues/5708

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-11-28 23:15:34 +01:00
David Spickett e15619abfe Add llvm-dwarfdump tool for C/C++ languages (#5726)
https://llvm.org/docs/CommandGuide/llvm-dwarfdump.html

This dumps the DWARF debugging information in a human readable form:
```
<source>: file format ELF64-x86-64

.debug_info contents:
0x00000000: Compile Unit: length = 0x00000063 version = 0x0004 abbr_offset = ... 

0x0000000b: DW_TAG_compile_unit
              DW_AT_producer  ("GNU C17 9.4.0 ...)
```

This tool would be useful to have when comparing the debug output of two
compiler versions or compiler targets. For instance I wanted to find out
recently how AArch64 and X86 targets represent TLS variables.

The tool runs on the compiled binary, so is post compilation. If the
binary
has no debug information the tool does not crash, it just tells you that
there is no information.

To fit the other llvm/clang tools, I've just added an "llvm-dwarfdump
(trunk)"
like llvm-mca has done. Added it to c/c++/objc/objc++ (open CL can't
compile
to binary so skipped those). MSVC is excluded because it produces PDB
files
instead.

The tool works for at least ELF and XCOFF files, I haven't been able to
test
any others.
2023-11-12 14:21:52 -06:00
Patrick Quist 4481bd0f3a Show up to date version for trunk compilers (#5571) 2023-10-15 15:56:43 +02:00
Jan f9a6191907 updated OSACA version to v0.5.2 (#5399)
Updated OSACA from v0.5.0 to v0.5.2
2023-08-21 21:12:27 -05:00
Marc Poulhiès a4256ba5ec Add cross gcc 13.2 (#5329)
For 22 targets that already have 13.1.

fixes #5283

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-08-02 09:48:27 +02:00
Marc Poulhiès e771771a03 Add GCC 13.2.0 native (#5296)
Following 13.2.0 release:
https://inbox.sourceware.org/gcc/nycvar.YFH.7.77.849.2307270924461.12935@jbgna.fhfr.qr/T/#u

refs https://github.com/compiler-explorer/compiler-explorer/issues/5283

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-07-27 21:39:53 +02:00
Marc Poulhiès 6580fe90f4 gcc: add native gcc 10.5.0 (#5248)
fixes #5222

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-07-09 22:37:15 +02:00
Marc Poulhiès 25989a7cda Add GCC 11.4.0 and 12.3.0 for cross targets (#5141)
Adds 12.3.0 for 20 cross targets.
Adds 11.4.0 for 4 targets.

Not listing all languages as it depends on the targets, but the goal is
always to enable as much as possible.

fixes #5088
fixes #5087

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-06-13 23:00:53 +02:00
Marc Poulhiès 5ccb18fa42 Add native GCC 11.4.0 (#5090)
GCC 11.4.0 has been released:

https://inbox.sourceware.org/gcc/20230529101203.u1gOJtp3gjkZM4Kahj3TgGmIRlZDagFSKcgleNN33_U@z/T/#t

fixes #5089

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-05-29 21:34:11 +02:00
Marc Poulhiès 9c6fd8dad6 Add native GCC 12.3.0 (#5036)
GCC 12.3.0 has been released:

https://inbox.sourceware.org/gcc/nycvar.YFH.7.77.849.2305081249040.4723@jbgna.fhfr.qr/T/#u

fixes #5030

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-05-10 10:26:48 +02:00
Marc Poulhiès 1c1f872fca Add 22 new GCC 13.1 cross + new m68k GCC/clang (#5019)
Add needed config for 22 cross gcc bumped to newly released 13.1.0.

Also introduce the m68k target (+ add the clang alias to have it listed)

fixes #4987 and #4904

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-05-10 10:25:31 +02:00
Marc Poulhiès b661063e94 Fix sparc-leon gcc 12.2.0 (#4996)
The compiler was incorrectly built using gcc's master branch instead of
12.2.0 release tarball.
A correct 12.2.0 is now avail as 12.2.0-1. The previous one is kept, but
hidden to preserve possible existing shared link.

fixes #4994

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-04-26 21:40:12 +02:00
Marc Poulhiès 7b692d73da Add native GCC 13.1, bump binutils to 2.40 (#4998)
https://gcc.gnu.org/pipermail/gcc/2023-April/241196.html

Also bump binutils to 2.40 at the same time and update all refs to demangler/objdump.

fixes #4997

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-04-26 14:14:30 +02:00
Marc Poulhiès 1305eedd05 Add nightly riscv32 and riscv64 compilers (#4945)
Add riscv32/64 nightly gcc. Also refactor a bit the grouping and properties.

Fix the fortran compiler that was using some tools from the native compiler....

refs https://github.com/compiler-explorer/compiler-explorer/issues/4900

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-04-11 21:21:48 +02:00
Jan 13d16fcb7b updated OSACA version to 0.5.0 (#4903)
Updated OSACA to version 0.5.0 with more supported uarchs and functionalities.
Please see also the corresponding [PR #979 in compiler-explorer/infra](https://github.com/compiler-explorer/infra/pull/979).
2023-04-01 17:04:09 -05:00
Marc Poulhiès 2f6902a536 Disable execution for VAX
It was wrongly left enabled.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-03-29 11:43:14 +02:00
Marc Poulhiès cd8a9e8e72 Really fix VAX sysroot
Bad copypasto :(

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-03-29 11:01:54 +02:00
Marc Poulhiès 24f50a0784 Minor name fix for VAX compiler
Messed up naming of VAX. Group is semver, but this one and only compiler
will probably be the only NetBSDelf compiler, so setting a name for it
explicitely.

refs https://github.com/compiler-explorer/compiler-explorer/issues/4783

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-03-29 10:40:16 +02:00
Marc Poulhiès 0e4b492138 First support for VAX cross compiler (#4905)
Add vax-netbsdelf cross compilers for C, C++ and Objective-C.

Also fix minor naming inconsistencies in ppc compilers.

fixes #4783

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-03-29 10:17:15 +02:00
Marc Poulhiès cb9e8037a4 fix: objective-c rv* names
Compiler group was missing semVer.

Small cleanup in alternative rust compilers.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-01-21 13:28:50 +01:00
Marc Poulhiès 28928a44cf Initial support for Objective-C/Objective-C++
Currently only list GCC compilers as a first step.
Will add clang in a followup change.

Port gcc.js to Typescript (simple renaming).

Package the objectivec language support for Monaco.

Add very basic example. Something more objc/objc++ specific would be better.

fixes #2942

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-01-21 10:01:11 +01:00