[Issue 22655] New: Disassembler assertion on "rdtsc"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 8 01:26:48 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22655
Issue ID: 22655
Summary: Disassembler assertion on "rdtsc"
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Keywords: backend
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: maxhaton at gmail.com
```
void main()
{
asm {
rdtsc;
}
}
```
Yields:
```
_Dmain:
0000: 0F 31 31 rdtsc
dmd: src/dmd/backend/disasm86.d:1854: Assertion `array index out of bounds'
failed.
Aborted (core dumped)
```
--
More information about the Digitalmars-d-bugs
mailing list