[all-commits] [llvm/llvm-project] 93e03f: [compiler-rt][ARM] Optimized integer -> FP convers...

Simon Tatham via All-commits all-commits at lists.llvm.org
Wed Jun 10 01:27:30 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93e03fc2666e10b4e32091bc27d35709f49c9443
      https://github.com/llvm/llvm-project/commit/93e03fc2666e10b4e32091bc27d35709f49c9443
  Author: Simon Tatham <simon.tatham at arm.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M compiler-rt/lib/builtins/CMakeLists.txt
    A compiler-rt/lib/builtins/arm/floatdidf.S
    A compiler-rt/lib/builtins/arm/floatdisf.S
    A compiler-rt/lib/builtins/arm/floatsidf.S
    A compiler-rt/lib/builtins/arm/floatsisf.S
    A compiler-rt/lib/builtins/arm/floatundidf.S
    A compiler-rt/lib/builtins/arm/floatunsidf.S
    A compiler-rt/lib/builtins/arm/floatunsisf.S
    A compiler-rt/test/builtins/Unit/floatdidfnew_test.c
    A compiler-rt/test/builtins/Unit/floatdisfnew_test.c
    A compiler-rt/test/builtins/Unit/floatsidfnew_test.c
    A compiler-rt/test/builtins/Unit/floatsisfnew_test.c
    A compiler-rt/test/builtins/Unit/floatundidfnew_test.c
    A compiler-rt/test/builtins/Unit/floatundisfnew_test.c
    A compiler-rt/test/builtins/Unit/floatunsidfnew_test.c
    A compiler-rt/test/builtins/Unit/floatunsisfnew_test.c

  Log Message:
  -----------
  [compiler-rt][ARM] Optimized integer -> FP conversions (#179928)

This commit adds a total of 8 new functions, all converting an integer
to a floating-point number, varying in 3 independent choices:

* input integer size (32-bit or 64-bit)
* input integer type (signed or unsigned)
* output float format (32-bit or 64-bit)

The two conversions of 64-bit integer to 32-bit float live in the same
source file, to save code size, since that conversion is one of the more
complicated ones and the two functions can share most of their code,
with only a few instructions differing at the start to handle negative
numbers (or not).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list