[alpha] FEN bit not honored in system mode
The attached program is a reduced test case that demonstrates an issue with qemu-system-alpha mis-translating the BSD jot(1) command.
Tested with Qemu commit 1ea06abceec61b6f3ab33dadb0510b6e09fb61e2
.
When the_loop.c is compiled with -O1 or -O2, the test fails when run on Qemu. When compiled with -O0, it succeeds. When it fails, the "second time" usually reports the epected results, but not always!
alpha-vm:thorpej 190$ ./qemu-jot-bug
first time:
1
1
2
second time:
1
2
3
alpha-vm:thorpej 191$
The program always generates the expected output on real hardware (tested on DS25 w/ EV67):
helena: {10} ./qemu-jot-bug
first time:
1
2
3
second time:
1
2
3
helena: {11}
Edited by Richard Henderson