| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-09-20 | Auto merge of #88321 - glaubitz:m68k-linux, r=wesleywiser | bors | -0/+32 | |
| Add initial support for m68k This patch series adds initial support for m68k making use of the new M68k backend introduced with LLVM-13. Additional changes will be needed to be able to actually use the backend for this target. | ||||
| 2021-09-18 | Querify `fn_abi_of_{fn_ptr,instance}`. | Eduard-Mihai Burtescu | -0/+1 | |
| 2021-09-18 | ty::layout: intern `FnAbi`s as `&'tcx`. | Eduard-Mihai Burtescu | -11/+11 | |
| 2021-09-18 | ty::layout: propagate errors up to (but not out of) `FnAbi::of_*`. | Eduard-Mihai Burtescu | -2/+25 | |
| 2021-09-18 | rustc_target: `adjust_for_cabi` -> `adjust_for_foreign_abi`. | Eduard-Mihai Burtescu | -1/+1 | |
| 2021-09-17 | compiler/rustc_target: Add support for m68k-linux-gnu | John Paul Adrian Glaubitz | -0/+32 | |
| 2021-09-13 | enum niche allocation grows toward zero if possible | Andreas Liljeqvist | -9/+43 | |
| 2021-09-09 | bugfix | Andreas Liljeqvist | -1/+1 | |
| 2021-09-09 | Wrap | Andreas Liljeqvist | -1/+1 | |
| 2021-09-09 | rename `is_valid_for` to `is_valid` | Andreas Liljeqvist | -2/+2 | |
| 2021-09-09 | Rename `(un)signed` to `(un)signed_int` | Andreas Liljeqvist | -6/+6 | |
| 2021-09-09 | Move `unsigned_max` etc into `Size` again | Andreas Liljeqvist | -7/+22 | |
| 2021-09-09 | Make `abi::Abi` `Copy` and remove a *lot* of refs | Andreas Liljeqvist | -19/+19 | |
| fix fix Remove more refs and clones fix more fix | ||||
| 2021-09-09 | Fix docstring | Andreas Liljeqvist | -2/+1 | |
| 2021-09-09 | Use special `Debug` format when `start` > `end` | Andreas Liljeqvist | -1/+5 | |
| 2021-09-09 | Remove `contains_zero`, respect the compiler | Andreas Liljeqvist | -8/+1 | |
| 2021-09-09 | derive Copy for WrappingRange and Scalar | Andreas Liljeqvist | -5/+5 | |
| 2021-09-09 | fix match | Andreas Liljeqvist | -2/+4 | |
| 2021-09-09 | Add methods for checking for full ranges to `Scalar` and `WrappingRange` | Andreas Liljeqvist | -21/+15 | |
| Move *_max methods back to util change to inline instead of inline(always) Remove valid_range_exclusive from scalar Use WrappingRange instead implement always_valid_for in a safer way Fix accidental edit | ||||
| 2021-09-02 | rustc_target: move `LayoutOf` to `ty::layout`. | Eduard-Mihai Burtescu | -41/+0 | |
| 2021-08-30 | rustc_target: remove `LayoutOf` bound from `TyAbiInterface`. | Eduard-Mihai Burtescu | -61/+51 | |
| 2021-08-30 | rustc_target: `TyAndLayout::field` should never error. | Eduard-Mihai Burtescu | -9/+8 | |
| 2021-08-27 | rustc_target: require `TyAbiInterface` in `LayoutOf`. | Eduard-Mihai Burtescu | -2/+2 | |
| 2021-08-27 | rustc_target: rename `TyAndLayoutMethods` to `TyAbiInterface`. | Eduard-Mihai Burtescu | -65/+71 | |
| 2021-08-27 | rustc_target: add lifetime parameter to `LayoutOf`. | Eduard-Mihai Burtescu | -79/+64 | |
| 2021-08-26 | `#[inline]` non-generic `pub fn`s in `rustc_target::abi` and `ty::layout`. | Eduard-Mihai Burtescu | -0/+21 | |
| 2021-08-26 | Auto merge of #88308 - eddyb:cooked-layouts, r=nagisa | bors | -1/+1 | |
| Morph `layout_raw` query into `layout_of`. Before this PR, `LayoutCx::layout_of` wrapped the `layout_raw` query, to: * normalize the type, before attempting to compute the layout * pass the layout to `record_layout_for_printing`, for `-Zprint-type-sizes` Moving those two responsibilities into the query may reduce overhead (due to cached calls skipping those steps), but I want to do a perf run to know. One of the changes I had to make was changing the return type of the query, to be able to both get out the type produced by normalizing inside the query *and* to match the signature of the old `TyCtxt::layout_of`. This change may be worse, perf-wise, so that's another reason I want to check. r? `@nagisa` cc `@oli-obk` | ||||
| 2021-08-25 | use undef for uninitialized bytes in constants | Erik Desjardins | -0/+38 | |
| 2021-08-24 | Morph `layout_raw` query into `layout_of`. | Eduard-Mihai Burtescu | -1/+1 | |
| 2021-08-24 | use convention for with_* methods | Andreas Liljeqvist | -7/+9 | |
| 2021-08-24 | Force inline: small functions and single call-site | Andreas Liljeqvist | -2/+4 | |
| 2021-08-23 | Simplify zero check | Andreas Liljeqvist | -1/+1 | |
| 2021-08-23 | add `with_start` and `with_end` | Andreas Liljeqvist | -1/+11 | |
| 2021-08-23 | implement debug in similar way to RangeInclusive | Andreas Liljeqvist | -1/+8 | |
| 2021-08-23 | Rename to WrappingRange | Andreas Liljeqvist | -5/+5 | |
| 2021-08-23 | implement contains_zero method | Andreas Liljeqvist | -3/+9 | |
| 2021-08-23 | Use ref | Andreas Liljeqvist | -2/+2 | |
| 2021-08-23 | Removed fixed fixme | Andreas Liljeqvist | -3/+0 | |
| 2021-08-22 | Use custom wrap-around type instead of Range | Andreas Liljeqvist | -30/+43 | |
| 2021-08-12 | Add c_enum_min_bits to target spec | Manish Goregaokar | -0/+17 | |
| 2021-06-23 | Point to the updated version of some dead links | Smitty | -1/+1 | |
| 2021-06-23 | Use HTTPS links where possible | Smitty | -5/+5 | |
| 2021-06-14 | Use the now available implementation of `IntoIterator` for arrays | LeSeulArtichaut | -3/+3 | |
| 2021-06-07 | Use `try_into` instead of asserting manually | LingMan | -10/+2 | |
| 2021-06-06 | Auto merge of #79608 - alessandrod:bpf, r=nagisa | bors | -0/+33 | |
| BPF target support This adds `bpfel-unknown-none` and `bpfeb-unknown-none`, two new no_std targets that generate little and big endian BPF. The approach taken is very similar to the cuda target, where `TargetOptions::obj_is_bitcode` is enabled and code generation is done by the linker. I added the targets to `dist-various-2`. There are [some tests](https://github.com/alessandrod/bpf-linker/tree/main/tests/assembly) in bpf-linker and I'm planning to add more. Those are currently not ran as part of rust CI. | ||||
| 2021-06-02 | Miscellaneous inlining improvements | Tomasz Miąsko | -0/+4 | |
| 2021-05-29 | BPF: abi: extend args/ret to 32 bits | Alessandro Decina | -3/+3 | |
| Let LLVM extend to 64 bits when alu32 is not enabled | ||||
| 2021-05-23 | Add support for BPF inline assembly | Alessandro Decina | -1/+1 | |
| 2021-05-23 | Add BPF target | Alessandro Decina | -0/+33 | |
| This change adds the bpfel-unknown-none and bpfeb-unknown-none targets which can be used to generate little endian and big endian BPF | ||||
| 2021-05-18 | add Align::ONE; add methods to access alloc.extra | Ralf Jung | -1/+3 | |
