Executing "tbegin." on Power9 results in illegal instruction
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
Trying to execute the "tbegin." instruction on a power9 cpu results in SIGILL. Attached is the testcase.
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
$ lscpu
Architecture: ppc64le
Byte Order: Little Endian
--snip--
Model: 2.2 (pvr 004e 1202)
Model name: POWER9, altivec supported
--snip--
$ cat testcase.c
void tbegin(void);
asm(".type tbegin,
"tbegin:\n"\
"\ttbegin.");
int
main(int argc, char **argv) {
tbegin();
return 0;
}
$ gcc testcase.c && ./a.out
Illegal instruction (core dumped)
$ gdb ./a.out
--snip--
(gdb) r
--snip--
Program received signal SIGILL, Illegal instruction.
0x000000010000077c in tbegin ()
(gdb) disas
Dump of assembler code for function tbegin:
=> 0x000000010000077c <+0>: tbegin.
End of assembler dump.
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1785658/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]