[all-commits] [llvm/llvm-project] d33dc1: [compiler-rt] Allow running extendhfxf2_test witho...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Mon Dec 2 10:53:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d33dc14833b581d276a712a8425ab8f62a59c589
      https://github.com/llvm/llvm-project/commit/d33dc14833b581d276a712a8425ab8f62a59c589
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

  Changed paths:
    M compiler-rt/test/builtins/Unit/extendhfxf2_test.c
    M compiler-rt/test/builtins/Unit/fp_test.h

  Log Message:
  -----------
  [compiler-rt] Allow running extendhfxf2_test without int128 support

We don't need 128-bit integers here, instead rewrite the fp_test.h helpers
to avoid the need for __int128. Also change the high argument for
compareResultF80() and F80FromRep80() to be uint16_t since values greater
than this do not make any sense. This should allow the compiler to detect
accidentally swapping the arguments.

Reviewed By: biabbas, alexander-shaposhnikov

Pull Request: https://github.com/llvm/llvm-project/pull/117818



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