From c7c2bbba9357a0e350cba4f9cd955a80b7de7c0f Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sat, 30 Dec 2023 09:55:46 -0800 Subject: [Docs][llvm-exegesis] Minor adjustments for clarity This patch makes minor adjustments to the llvm-exegesis docs for clarity. Particularly, an update is made to the list of snippet annotations to list the correct number of annotations that was not updated when the docs were originally updated for the snippet address annotation. In addition, this patch changes a decimal value for the snippet memory annotation example for an explicit hex value to emphasize that the LLVM-EXEGESIS-MEM-DEF annotation takes a hex value for the memory value. --- llvm/docs/CommandGuide/llvm-exegesis.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/docs/CommandGuide') diff --git a/llvm/docs/CommandGuide/llvm-exegesis.rst b/llvm/docs/CommandGuide/llvm-exegesis.rst index bc37d52..2ee533c 100644 --- a/llvm/docs/CommandGuide/llvm-exegesis.rst +++ b/llvm/docs/CommandGuide/llvm-exegesis.rst @@ -44,7 +44,7 @@ SNIPPET ANNOTATIONS :program:`llvm-exegesis` supports benchmarking arbitrary snippets of assembly. However, benchmarking these snippets often requires some setup so that they -can execute properly. :program:`llvm-exegesis` has four annotations and some +can execute properly. :program:`llvm-exegesis` has five annotations and some additional utilities to help with setup so that snippets can be benchmarked properly. @@ -183,7 +183,7 @@ annotations added to the snippet: .. code-block:: none - # LLVM-EXEGESIS-MEM-DEF test1 4096 2147483647 + # LLVM-EXEGESIS-MEM-DEF test1 4096 7fffffff # LLVM-EXEGESIS-MEM-MAP test1 8192 movq $8192, %rax -- cgit v1.1