100 Commits
Author SHA1 Message Date
beetrees f7b3c1d3c0 Rework c_variadic 2025-12-04 10:51:34 +01:00
beetrees 02e1f4421d c_variadic: Add future-incompatibility warning for ... arguments without a pattern outside of extern blocks 2025-11-10 14:33:56 +01:00
beetrees 7354d3d9c2 Add #[rustc_pass_indirectly_in_non_rustic_abis] 2025-11-04 09:56:17 +01:00
beetrees e3916036f9 Fix RISC-V C function ABI when passing/returning structs containing floats 2025-06-16 10:14:07 +01:00
beetrees 308ca33774 Fix RISC-V C function ABI when passing/returning structs containing floats 2025-06-16 10:14:07 +01:00
beetrees 5723c9997c Fix RISC-V C function ABI when passing/returning structs containing floats 2025-06-16 10:14:07 +01:00
beetrees 2457bb2cfb Apply ABI attributes on return types in rustc_codegen_cranelift 2025-06-12 00:47:01 +01:00
beetrees eb472e77cd Apply ABI attributes on return types in rustc_codegen_cranelift 2025-06-12 00:47:01 +01:00
beetrees 1d903b6d10 Stabilise repr128 2025-05-28 15:14:34 +01:00
beetrees 467eeabbb5 Stabilise repr128 2025-05-28 15:14:34 +01:00
beetrees 02195f56c7 Enable tests and compiler-builtins for f16/f128 2025-05-24 13:51:53 +01:00
beetrees 2055f01323 Add f16/f128 intrinsic support 2025-05-24 13:51:53 +01:00
beetrees e46186f994 Add support for casting to and from f16/f128 2025-05-24 13:45:19 +01:00
beetrees 38d48dbe08 Add f16/f128 comparison support 2025-05-24 13:45:19 +01:00
beetrees 27a9590d3d Add f16/f128 +/-/*///% support 2025-05-24 13:45:19 +01:00
beetrees 87c425b9e1 Add basic support for f16/f128 values 2025-05-24 13:45:19 +01:00
beetrees f0fb19ccc8 Add missing float libcalls to compiler_builtins.rs 2025-05-24 13:45:12 +01:00
beetrees dcd3168c97 Use correct sign extension on __powi*f2 arguments 2025-05-23 15:51:51 +01:00
beetrees 11c1522955 Enable __powitf2 on MSVC 2025-05-21 19:24:24 +02:00
beetrees 3ab6af049b Use Cranelift bitcast instead of store & load to bitcast between vectors and non-vectors (#1580) 2025-05-21 15:59:52 +02:00
beetrees 3aac9a37a5 Remove LLVM 18 inline ASM span fallback 2025-04-06 02:31:52 +01:00
beetrees 416acd8cd9 Don't use f16 and f128 directly in clippy_utils 2025-04-03 02:00:27 +01:00
beetrees 62fcb9d585 Fix the f16/f128 feature gate on integer literals 2025-04-03 01:08:41 +01:00
beetrees 049bb26687 Add target-specific NaN payloads for the missing tier 2 targets 2025-03-26 02:05:41 +00:00
beetrees fc1b87da4a Remove use of atomic_load_unordered and undefined behaviour from arm_linux.rs 2025-03-19 21:02:14 -05:00
beetrees eda997388b Add #[repr(u128)]/#[repr(i128)] enums to improper_ctypes_definitions 2025-03-20 02:01:48 +00:00
beetrees 7c0726521f Add From<{integer}> for f16/f128 impls 2025-03-11 18:58:54 +00:00
beetrees a2b9c8d35c Fix repr128-dwarf test 2025-03-09 07:56:41 +00:00
beetrees a7bd4a309c Add DWARF test case for non-C-like repr128 enums 2025-02-25 22:26:52 +00:00
beetrees 76714a5657 Make extensive tests exhaustive if there are enough iterations available 2025-01-07 17:44:06 -05:00
beetrees bae68206fa Remove an is_nan workaround that is no longer needed 2024-12-29 07:47:21 +00:00
beetrees 68227a3777 Pass end position of span through inline ASM cookie 2024-11-26 13:00:08 +00:00
beetrees 7c1072e3fc Use https: links in README.md 2024-11-14 18:13:10 +00:00
beetrees 10bdf3b6c1 Remove incorrect sparcv9 match pattern from configure_f16_f128 2024-11-03 22:54:01 +00:00
beetrees abb05c0fd5 Remove "" case from RISC-V llvm_abiname match statement 2024-10-31 19:17:07 +00:00
beetrees 3ea91c05db Always specify llvm_abiname for RISC-V targets 2024-10-17 02:07:02 +01:00
beetrees feecfaa18d Fix bug where option_env! would return None when env var is present but not valid Unicode 2024-10-13 02:10:19 +01:00
beetrees 0444056aa3 Remove macOS 10.10 dynamic linker bug workaround 2024-09-04 13:13:48 +01:00
beetrees d0548359b5 Reflow a couple of paragraphs in floating-point primitive docs 2024-08-27 05:26:28 +01:00
beetrees 969f9702da Fix typos in floating-point primitive type docs 2024-08-27 05:25:34 +01:00
beetrees 5ee4d3b532 Remove outdated comment from mac.yml 2024-08-26 15:31:28 -04:00
beetrees a17a15b08a Fix ABI for f16 builtins on Intel Apple targets 2024-08-24 23:07:35 -05:00
beetrees abd44fc5f4 Add f16 and f128 inline ASM support for aarch64 2024-08-25 00:13:25 +01:00
beetrees 09a1f57604 Use macos-13 in CI for x86_64-apple-darwin 2024-08-24 11:52:41 +01:00
beetrees d6588dff8f Use macos-latest in CI for aarch64-apple-darwin 2024-08-24 11:24:45 +01:00
beetrees 0f5c6eaccc Make ArgAbi::make_indirect_force more specific 2024-08-21 02:43:12 +01:00
beetrees 9bc7cea412 Fix is_val_statically_known for floats 2024-08-17 02:14:23 +01:00
beetrees fe4fa2f1da Use the enum2$ Natvis visualiser for repr128 C-style enums 2024-08-13 19:53:21 +01:00
beetrees 715728f546 Refactor powerpc64 call ABI handling 2024-08-11 14:11:17 +01:00
beetrees b1493ba519 Move ZST ABI handling to rustc_target 2024-08-02 11:45:32 +01:00
beetrees fe6478cc53 Match LLVM ABI in extern "C" functions for f128 on Windows 2024-07-30 20:23:33 +01:00
beetrees 4fb3c4bf86 Fix handling of large alignments in write_cvalue_maybe_transmute (#1521) 2024-07-21 13:13:58 +02:00
beetrees b70ad2defd Remove unneeded libcalls from codegen_i128.rs 2024-07-20 21:18:30 +01:00
beetrees cae9d480bf Adjust tests for x86 "Rust" ABI changes 2024-07-12 10:47:56 +01:00
beetrees 69424f7666 Add f16 and f128 support 2024-07-10 10:43:14 +01:00
beetrees b058de90a3 Add Natvis visualiser and debuginfo tests for f16 2024-07-09 03:47:50 +01:00
beetrees da41ae7b3a fix: Fix double rounding of f32 literals 2024-07-08 16:31:32 +01:00
beetrees 0f643c449a Ensure tests don't fail on i586 in CI 2024-07-01 17:39:30 +01:00
beetrees 086a1c33eb Temporarily use define_rust_probestack; 2024-07-01 07:42:22 +01:00
beetrees c6bf88ab1c Ignore broken nightly/system builtins 2024-07-01 07:42:22 +01:00
beetrees 4c919ac50b Ensure out_of_scope_macro_calls lint is registered 2024-07-01 00:25:25 +01:00
beetrees ffb31aee13 Fix incorrect rounding with subnormal/zero results of float multiplication 2024-06-30 22:03:33 +01:00
beetrees bf503b5c9b Fix building on AVR 2024-06-23 19:19:25 +01:00
beetrees 771e44ebd3 Add f16 inline ASM support for RISC-V 2024-06-21 18:48:20 +01:00
beetrees 753fb070bb Add f16 inline ASM support for 32-bit ARM 2024-06-21 18:26:42 +01:00
beetrees b0fcf2e27a Add aarch64-apple-darwin to CI 2024-06-20 00:08:08 +01:00
beetrees 8556604bc6 Fix varargs support on aarch64-apple-darwin 2024-06-20 00:08:08 +01:00
beetrees dfc5514527 Add f16 and f128 inline ASM support for x86 and x86-64 2024-06-13 16:12:23 +01:00
beetrees 0e1c832dbd Update platform-support.md to reflect improvements in returning floats on 32-bit x86 2024-06-01 07:39:13 +01:00
beetrees 952becc0bd Ensure floats are returned losslessly by the Rust ABI on 32-bit x86 2024-06-01 07:39:13 +01:00
beetrees 827711d087 Add #[inline] to float Debug fallback used by cfg(no_fp_fmt_parse) 2024-05-18 16:25:55 +01:00
beetrees 617c3f6360 Refactor float Primitives to a separate Float type 2024-05-06 14:56:10 +01:00
beetrees f26221a936 Refactor float Primitives to a separate Float type 2024-05-06 14:56:10 +01:00
beetrees 3769fddba2 Refactor float Primitives to a separate Float type 2024-05-06 14:56:10 +01:00
beetrees 5cc4ee3d88 Re-add From<f16> for f64 2024-05-04 22:56:35 +01:00
beetrees 229babb1d0 Add builtins for f16/f128 float conversions 2024-05-02 13:49:24 +02:00
beetrees c2fd6ed235 Port repr128-dwarf run-make test to rmake 2024-04-30 17:50:49 +01:00
beetrees fc1e52a107 Add tracking issue and unstable book page for "vectorcall" ABI 2024-04-28 19:27:05 +01:00
beetrees a2587f7b02 Update status of 128-bit integers in README.md 2024-04-28 17:41:35 +01:00
beetrees 71f751d139 Fix ICE when there is a non-Unicode entry in the incremental crate directory 2024-04-21 11:24:55 +01:00
beetrees cc12a1b511 Fix negating f16 and f128 constants 2024-04-18 06:43:44 +01:00
beetrees c021367de1 Make the comments for ReturnDest variants doc comments 2024-04-17 03:10:09 +01:00
beetrees 126c762b85 Add missing unsafe to internal std::thread::Thread creation functions 2024-04-13 02:08:21 +01:00
beetrees 53f55c6635 Add missing unsafe to internal function std::sys::pal::unix::thread::min_stack_size 2024-04-13 01:16:28 +01:00
beetrees 0bbaa2505b Fix error message for env! when env var is not valid Unicode 2024-04-01 05:44:45 +01:00
beetrees 6e5f1dacf3 Use the Align type when parsing alignment attributes 2024-04-01 03:05:55 +01:00
beetrees 36514015ff Move option_env! and env! tests to the env-macro directory 2024-03-17 21:59:40 +00:00
beetrees 0b6006e45e Remove handling for previously dropped LLVM version 2024-03-08 04:12:04 +00:00
beetrees d673fd8589 Remove the unused field_remapping field from TypeLowering 2024-03-08 03:42:47 +00:00
beetrees 4bef0cca70 Fix misaligned loads when loading UEFI arg pointers 2024-03-08 00:54:48 +00:00
beetrees 865ac89dbd Use rustc_driver::args::raw_args() in Clippy 2024-03-07 00:20:01 +00:00
beetrees 2d7d0bda43 Use rustc_driver::args::raw_args() in Miri 2024-03-07 00:20:01 +00:00
beetrees d626d135bc Use rustc_driver::args::raw_args() in Clippy 2024-03-07 00:20:01 +00:00
beetrees fb87e606cc Refactor argument UTF-8 checking into rustc_driver::args::raw_args() 2024-03-07 00:20:01 +00:00
beetrees 63091b105d Make arg_expand_all not short-circuit on first error 2024-03-07 00:19:55 +00:00
beetrees 9b5e4c6d57 Ensure ASM syntax detect global_asm! and asm! only on x86 architectures 2024-02-17 01:45:39 +00:00
beetrees d855ca044d Ensure ./configure works when configure.py path contains spaces 2024-02-16 18:57:22 +00:00
beetrees 072d8c8bbc Fix suggestion for attempting to define a string with single quotes 2023-08-16 21:51:57 +01:00
beetrees 6f13a37499 Add spans to clippy.toml error messages 2023-06-02 00:56:27 +01:00
beetrees 246dcbcbcd Add test for FileTimes 2023-05-15 15:04:45 +01:00