<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [llvm-exegesis] fails to measure scalar division instructions"
href="https://bugs.llvm.org/show_bug.cgi?id=42228">42228</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[llvm-exegesis] fails to measure scalar division instructions
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>llvm-exegesis
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lebedev.ri@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>clement.courbet@gmail.com, gchatelet@google.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>$ ./bin/llvm-exegesis -mode=latency --opcode-name=DIV8r
Check generated assembly with: /usr/bin/objdump -d /tmp/snippet-d9586f.o
---
mode: latency
key:
instructions:
- 'DIV8r R15B'
config: ''
register_initial_values:
- 'R15B=0x0'
- 'AX=0x0'
cpu_name: bdver2
llvm_triple: x86_64-unknown-linux-gnu
num_repetitions: 10000
measurements: []
error: snippet crashed while running
info: Repeating a single implicitly serial instruction
assembled_snippet:
415741B70066B8000041F6F741F6F741F6F741F6F741F6F741F6F741F6F741F6F741F6F741F6F741F6F741F6F741F6F741F6F741F6F741F6F7415FC3
...
$ /usr/bin/objdump -d /tmp/snippet-d9586f.o
/tmp/snippet-d9586f.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <foo>:
0: 41 57 push %r15
2: 41 b7 00 mov $0x0,%r15b
5: 66 b8 00 00 mov $0x0,%ax
9: 41 f6 f7 div %r15b
c: 41 f6 f7 div %r15b
f: 41 f6 f7 div %r15b
12: 41 f6 f7 div %r15b
...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>