[all-commits] [llvm/llvm-project] f8c734: libclc: Update remainder

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Mar 23 02:05:36 PDT 2026


  Branch: refs/heads/users/arsenm/libclc/update-remainder
  Home:   https://github.com/llvm/llvm-project
  Commit: f8c734a25a3549909392af52a89432fe763f3034
      https://github.com/llvm/llvm-project/commit/f8c734a25a3549909392af52a89432fe763f3034
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-03-23 (Mon, 23 Mar 2026)

  Changed paths:
    M libclc/clc/lib/generic/math/clc_remainder.cl
    A libclc/clc/lib/generic/math/clc_remainder.inc

  Log Message:
  -----------
  libclc: Update remainder

Previously this was failing conformance without -cl-denorms-are-zero
in the float case, and always failing in the double case.


  Commit: b6deaa6eace2bed85a502eee76caef24fc57e6ce
      https://github.com/llvm/llvm-project/commit/b6deaa6eace2bed85a502eee76caef24fc57e6ce
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-03-23 (Mon, 23 Mar 2026)

  Changed paths:
    M libclc/clc/lib/generic/math/clc_remainder.cl
    M libclc/clc/lib/generic/math/clc_remainder.inc

  Log Message:
  -----------
  libclc: Implement remainder with remquo

This fixes conformance failures for double and
without -cl-denorms-are-zero. Optimizations are
able to eliminate the unusued quo handling without
duplicating most of the code.


Compare: https://github.com/llvm/llvm-project/compare/f8c734a25a35%5E...b6deaa6eace2

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