Public bug reported:
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,@function\n"\
"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.
** Affects: ubuntu
Importance: Undecided
Status: New
** Tags: pcc64el
** Attachment added: "Testcase"
https://bugs.launchpad.net/bugs/1785658/+attachment/5172183/+files/testcase.c
** Tags added: pcc64el
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1785658
Title:
Executing "tbegin." on Power9 results in illegal instruction
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1785658/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs