[all-commits] [llvm/llvm-project] 842fd1: [llvm-exegesis] Add explicit support for setting D...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Nov 18 12:07:13 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 842fd1537521d38913aec5c9a081afedf97d88fe
      https://github.com/llvm/llvm-project/commit/842fd1537521d38913aec5c9a081afedf97d88fe
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-11-18 (Mon, 18 Nov 2024)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/X86/Target.cpp
    M llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp

  Log Message:
  -----------
  [llvm-exegesis] Add explicit support for setting DF in X86 (#115644)

While llvm-exegesis has explicit support for setting EFLAGS which
contains DF, it can be nice sometimes to explicitly set DF, especially
given that it is modeled as a separate register within LLVM. This patch
adds the ability to do that by lowering setting the value to 0 or 1 to
cld and std respectively.



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