Commit Graph
9460 Commits
Author SHA1 Message Date
Partouf e35fcdc1c7 replace mfem trunk with 4.7 gh-12328 2024-07-23 18:09:47 +02:00
Ofek 2aa1101a86 Increase defaultDelayAfterChange to 2s (#6703)
<!-- 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!
-->
gh-12319
2024-07-15 21:32:00 +03:00
Eric 1060c04a23 Add EricWF's contracts implementation (#6697) gh-12317 2024-07-15 20:19:48 +02:00
Ofek 42c10cf9b3 Fix #6083: rewrite demangleLabels (#6701)
This code had some problems:

https://github.com/compiler-explorer/compiler-explorer/blob/07d5c3312fce98d2742fa7ed738d4084f3a6975f/lib/demangler/base.ts#L200-L203
There

`PrefixTree.replaceAll` replaces mangled to demangled names 'blindly',
with no notion of labels. Later `demangleLabels` runs separate logic to
update the column-range of each label in hope of mimicking the
`replaceAll` action. This fails in some cases:
(1) the `demangleLables` code handles only a single occurrence of each
label in a line,
(2) It also diverges from `replaceAll` in case that a string which is a
label-name appears in the line *not* as part of a label (this does
happen!).

This fix makes `replaceAll` return detailed account of its actions, and
then use these to properly adjust the label ranges.

This fix might not address all the root issues, but it does make some
`label` decisions consistent where they weren't.
gh-12308
2024-07-13 17:38:32 +03:00
Boris Verkhovskiy 07d5c3312f Set -fverbose-asm/-fno-verbose-asm from Comment filter (#6462)
~~This removes useless comments (namely repeated function/label names,
`<n>-byte Folded Spill` and others) from the generated assembly.~~

Fixes #5964
gh-12296
2024-07-10 20:19:32 +03:00
Peter Waller 928f3b2ab0 Pass instructionSet, -mcpu, -march and -mtriple through to llvm-mca (#6682)
Currently if an MCA instance is constructed on a compiler, MCA runs with
the default target for the host it is running on.

Make it respect the target architecture by passing an -mtarget to MCA
conditioned on the detected instructionSet of the compiler.

Additionally, pass through any -mcpu, -march or -mtriple specified to
the compiler.
gh-12295
2024-07-10 06:53:45 -05:00
Johan Engelen a3554681ab Add LDC 1.39.0 and make it the default D compiler (#6688)
infra: https://github.com/compiler-explorer/infra/pull/1356
gh-12294
2024-07-10 06:53:16 -05:00
Matt Godbolt c0d23df2c0 Welcoming a new sponsor (#6696) gh-12293 2024-07-10 06:50:51 -05:00
Mateusz Pusz 61e90f1a9b mp-units 2.2.0 + fmt 11.0.0 (#6693) gh-12292 2024-07-10 06:50:41 -05:00
cepheus 5fbfed1bad Update test example for circt (#6694)
As the circt project has evolved over the past two years, the old
example no longer work with the current circt compiler. This commit
corrects the IR examples according to the new HW dialect, Seq dialect
definitions.
gh-12289
2024-07-10 09:04:05 +02:00
Matt Godbolt d70a9c02ce Latest batch of patrons: thank you! gh-12286 gh-12285 2024-07-08 19:33:01 -05:00
Patrick Quist 75acc5bd44 Attempt to detect faulty compiler/language population (#6610) gh-12276 2024-07-07 13:09:51 +02:00
Hana Dusíková f6d4d1ff92 Add p3309 (+ fix description of P3068 clang) (#6690) gh-12273 2024-07-05 22:20:37 +02:00
Steve Schnepp b67e926b16 Update to SDCC 4.4.0 (#6686) gh-12270 2024-07-04 22:25:15 +02:00
Yaxun (Sam) Liu fbe3e7a5cf Fix HIP/CUDA for rocm-6.1.2 (#6683) gh-12266 2024-07-04 00:55:39 +02:00
Ryan Davis 6cc2880a81 Adding ruby 3.2.2 to ruby.amazon.properties (#6679)
Not the latest 3.2 version, but what is listed at:


https://docs.aws.amazon.com/linux/al2023/release-notes/all-packages-AL2023.5.html
gh-12263
2024-07-02 22:10:27 -05:00
Afonso Bordado 1a4cc6b57e Add wasmtime versions 21.0.1 and 22.0.0 (#6655)
👋 Hey,

This PR adds the two latest major versions for wasmtime.

Related infra PR: https://github.com/compiler-explorer/infra/pull/1350
gh-12261
2024-07-01 21:44:23 -05:00
Matt Godbolt 79a4efccde Adds 'latest' manually configured for now (#6678) gh-12260 2024-07-01 21:32:06 -05:00
Matt Godbolt eb007d45a6 Adds new MSVC C compilers; updates aliases, points latest at v40 (#6677) gh-12257 2024-07-01 19:53:32 -05:00
Matt Godbolt 19ed6d000e Revert "Pull Request: nasm-hello.asm -> hello_nasm.asm (#6667)"
This reverts commit 173ceddcaa.
gh-12256
2024-07-01 19:52:01 -05:00
Patrick Quist f8f290b543 Add new msvc compilers gh-12253 2024-07-02 00:23:28 +02:00
Filippo Barbari 64595dd801 Added Intel OneAPI 2024.1 and 2024.2 (#6653) gh-12249 2024-07-01 22:35:18 +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!
gh-12248
2024-07-01 14:52:10 +02:00
github-actions[bot]andCompiler Explorer Bot 9054867b64 [bot] Update browsers list (#6674)
Automatic run of `npm run-update-browerslist` which needs to
 be done periodically to keep in-date.
See
[here](https://github.com/browserslist/browserslist#browsers-data-updating)
for more details.

Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
gh-12247
2024-07-01 14:51:55 +02:00
Matt Godbolt 003ad6cfe6 Whoops gh-12244 2024-06-29 19:58:00 -05:00
Matt Godbolt 00bb65d7b8 Add @je4d's p1974 clang (#6672)
CC @hanickadot @je4d
gh-12242
2024-06-29 16:19:55 -05:00
OfekandAbril Rincón Blanco 68ebf251f8 Change the default delay before re-compilation from 750 to 1500 ms (fix #6669)
Co-authored-by: Abril Rincón Blanco <git@rinconblanco.es>
gh-12239
2024-06-29 23:44:09 +03:00
Ofek b8a3a12371 Stop fixing stack-usage/opt-remarks font size (#6671)
Setting font-size in css does not respond to resizing:

![badresize](https://github.com/compiler-explorer/compiler-explorer/assets/73080/ab19084c-c494-4932-a94c-17733e8da2e5)

I suspect (1) this is a monaco limitation (based on
[this](https://github.com/microsoft/monaco-editor/discussions/3717#discussioncomment-5190536)),
and (2) they're not keen on improving their font control (based on
[this](https://github.com/microsoft/monaco-editor/issues/2242#issuecomment-1433466832)).

Reverting the css fontsize makes it behave properly:

![goodresize](https://github.com/compiler-explorer/compiler-explorer/assets/73080/f337bd99-9239-4a0f-8a1d-9b96f52265ce)


@RubenRBS Sorry, I too preferred your idea of smaller decoration text.
gh-12234
2024-06-29 18:10:19 +02:00
Tai Husk 173ceddcaa Pull Request: nasm-hello.asm -> hello_nasm.asm (#6667) gh-12225 2024-06-29 10:13:05 +02:00
Abril Rincón Blanco feb7b35754 Fix paneRenaming not affecting source editor (#6611) gh-12223 2024-06-29 03:06:11 +02:00
Patrick Quist cdb59644cc Add build info for libraries (#6639) gh-12222 2024-06-29 00:03:09 +02:00
Tai Husk 8d8d546ae5 Update default.asm for interactive Hello World example (#6647) gh-12215 2024-06-28 22:17:06 +02:00
Abril Rincón Blanco dc1355a4f4 Update Authors.md (#6659) gh-12213 2024-06-26 17:41:03 +02:00
kevinjeon-g 1c051bd479 Add R8 for Android (#6591)
R8 is a whole-program optimizer that converts Java byte code to
optimized dex code. It can be run with the same general steps (and JAR)
as the existing D8 compiler.

This change adds R8Compiler and the R8 keep-annotation library it relies
on, makes this lib + Android API stubs default libraries for Android
Java/Kotlin, and includes a small update to allow older versions of
dex2oat (33.10) to run.

https://r8.googlesource.com/r8
gh-12204
2024-06-25 18:43:02 -05:00
Ofek 925d259986 Fix objdumper for clang arm64 (#6643)
Fixes #6636
gh-12199
2024-06-24 21:55:18 -05:00
Filipp Zhinkin c0d537c936 Support Kotlin 2.0.0 (#6631) gh-12198 2024-06-24 21:53:31 -05:00
Jeremy Rifkin 42a3dcb895 Setup temporary msvc latest aliases for the latest versions we have (#6641)
Microsoft's latest versions were more recent, however, if we can at
least provide the latest we have links will be a little less broken.
gh-12197
2024-06-24 21:51:05 -05:00
kevinjeon-g 99617a29b2 Move dex2oat profiles from inline to template (#6621)
This change moves the dex2oat profiles for Android Java and Kotlin from
the inline comments (included as part of the default code example) to
being included as a separate file. Templates have been added for this.
gh-12196
2024-06-24 21:33:31 -05:00
Patrick Quist 955eeab865 Update c.amazon.properties gh-12195 2024-06-25 01:49:23 +02:00
Darius Neațu 738fd3b0c5 Add Beman.Optional26 library trunk version (#6652) gh-12194 2024-06-25 00:47:58 +02:00
Ofek 0671f8d26c re-fix #6622: upgrade to a nearer gcc-toolchain version (#6644)
<!-- 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!
-->
gh-12190
2024-06-22 23:18:30 +03:00
Jeremy Rifkin b78417200a Set instruction sets for msvc compilers (#6642)
Fixes #6189
Fixes #4788
gh-12187
2024-06-22 13:17:47 -05:00
Jeremy 1700ac295a Set a groupName on msvc arm gh-12186 2024-06-22 12:54:36 -05:00
Ofek 7972b7d115 Upgrade gcc-toolchain version used for clang 7-9 (#6640)
Fix #6622
gh-12181
2024-06-22 19:44:09 +03:00
Marc Poulhiès 6a97ce2cad Unbreak rustc_cg_gcc
Fix lib path.

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

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-12175 gh-12177
2024-06-22 16:34:34 +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>
gh-12174
2024-06-22 11:59:00 +02:00
Marc Poulhiès 924bdfa363 Adjust rustc_cg_gcc compiler invocation (#6583)
Adjust a bit how we call the compiler:
- panics are handled, no need to force abort (and -Cpanic=abord doesn't
work without other tuning)
- adjust some paths

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

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-12173
2024-06-21 20:31:40 +02:00
Partouf 1ba00a47ae add iwyu 0.22 gh-12166 2024-06-21 17:12:41 +02:00
Julien Marrec 66ac4c9e01 Add CLI11 version 2.4.2 (#6635) gh-12165 2024-06-21 16:03:02 +02:00
Partouf 88e94c9e90 fix toast notication z-index gh-12157 2024-06-21 02:59:31 +02:00