Displaying 2 results from an estimated 2 matches for "nowacki".
2017 Apr 18
3
__builtin_expect hint ignored
https://godbolt.org/g/VvrbFZ
For the code below generated assembly is the worst possible - test 1, else test 3, else test 2 with expected value of 2 last ... Whats going on?
long case_2();
long case_3();
long case_1();
long case_else();
long test(long a) {
switch (__builtin_expect(a, 2)) {
case 2: return case_2();
case 3: return case_3();
case 1: return case_1();
2003 Oct 19
1
jail + devfs + snp problem (FreeBSD 5.1-RELEASE-p10)
shell# /sbin/devfs rule -s 2 delset
shell# /sbin/devfs rule -s 2 add hide
shell# /sbin/devfs rule -s 2 add path random unhide
shell# /sbin/devfs rule -s 2 add path urandom unhide
shell# /sbin/devfs rule -s 2 add path zero unhide
shell# /sbin/devfs rule -s 2 add path pty\* unhide
shell# /sbin/devfs rule -s 2 add path pty\* unhide
shell# /sbin/devfs rule -s 2 add path tty\* unhide
shell#