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.
Adding bincode Rust crate support. Serialization/deserialization is perf
sensitive, so adding bincode crate support helps evaluate bincode
assembly generation for different struct types.
infra repo PR is: https://github.com/compiler-explorer/infra/pull/1287
The current Rust formatter on site doesn't support modern rust syntax
like async/await. This is because the formatter in production runs using
Rust 2015. Forcing edition=2018 allows more modern rust code to be
formatted properly.
Rustfmt is also shipped directly as a Rust component now, so we don't
have to install it separately.
For what it's worth, attempting to "Ctrl Shift I" format the code in
this shortlink demonstrates the problem https://godbolt.org/z/aP4669KEW
Demangled Rust identifiers under the `legacy` name mangling scheme rely
on a hash to disambiguate items with the same name, such as different
monomorphisations of the same function or different closures’
`call_once` methods.
In the `v0` mangling scheme, this is no longer a problem. However,
configuring the demangler to show hashes in `legacy` names will include
crate-id hashes in `v0` names, which are [mostly
unneeded](https://rust-lang.github.io/rfcs/2603-rust-symbol-name-mangling-v0.html#appendix-a---suggested-demangling).
This PR introduces a new checkbox *Options...* → *Verbose demangling*
that lets the user select if they want to include disambiguating hashes
in demangled identifiers.
This checkbox is only shown for compilers that support verbose
demangling, and deactivated when the *Demangle identifiers* checkbox is
unchecked.
Resolves#1754.
Resolves#6255.
Resolves#5983.
This is not 100% accurate as it matches `target-cpu=native` without a
preceding `-C`, but there isn’t an obvious case where this would occur
in an otherwise valid compiler invocation, so it’s probably good enough?
I noticed the default Rust version was outdated, and we didn't have an
upgrade of the `objdumper` and `linker` for a while, so I decided to
send this in advance of tomorrow's Rust version upgrade.
I don't know what is the policy to update `objdumper` and `linker`
though. We have 13.2, 13.1, 12.1, 11.2 and 11.1 around, so I went with
the latest. Hopefully that is OK, please let me know if there is some
kind of rule about it.
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
The Rust frontend for GCC is developed in the github project:
https://github.com/Rust-GCC/gccrs
This is the compiler denoted by '(GCCRS master)'.
The frontend has been contributed to the main GCC repository and has
been enabled in our nightly builds of the GCC master branch: this is the
compiler denoted by '(GCC master)'.
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gccrs is still in heavy dev and to avoid anyone missing this crucial info, it
has introduced a very explicit option and required option:
-frust-incomplete-and-experimental-compiler-do-not-use
The compiler emits a very verbose error if this option is missing.
refs https://github.com/Rust-GCC/gccrs/pull/1540
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* Add Rust license info
* Add hipclang license info
Same as C++'s rocm one
* Add license info for Ada compilers
* Add licenses to most C compilers
* Add license to Nim compiler
* Add license to FPC
* Add license to Python
* Add license to Zig
* Add licenses for Scala
Separates it between 2 and 3 as it changed quite a lot,
so that we can more easily add new versions to it in the future
* Add license for Pony compiler
* Add Ocaml license
* Add Mlir license
* Add license to LLVM pseudolang
* Fix mlir license props
* Add license to Kotlin
* Add OpenJDK license
* Add Jakt license
* Add GHC licenses
* Remove licenses from platspec compilers
* Add C++ licenses
* Add link to open issue if license is wrong
* Fix button link