| Post Av81paPcKUEjQBfa8O by [email protected] | |
| More posts by [email protected] | |
| Post #Av6PbWCzAgFgugfNHk by [email protected] | |
| 0 likes, 0 repeats | |
| This is amazing, by which I mean C++ is insane bullshit.https://godbolt.org/z/f… | |
| Post #Av6PbWLUf33dL4eAXw by [email protected] | |
| 0 likes, 1 repeats | |
| @horenmar Giving the compiler optimization hints that are blatantly wrong plus … | |
| Post #Av6Y3SeolbwJdpWHZo by [email protected] | |
| 0 likes, 1 repeats | |
| @horenmar I guess... I agree with the C++ on this one. Unreachable means unreac… | |
| Post #Av79fAF9NHzlq7M5MO by [email protected] | |
| 0 likes, 0 repeats | |
| @malwareminigun Isn't the memcpy thing fixed now? And for the assembly, mai… | |
| Post #Av79fAMavbwyDCq1xo by [email protected] | |
| 0 likes, 0 repeats | |
| @horenmar The problem is that the usual reason to have __builtin_unreachable is… | |
| Post #Av79fASGaWUGUnUYnw by [email protected] | |
| 0 likes, 0 repeats | |
| @malwareminigun The issue I have with this line of reasoning is that the compil… | |
| Post #Av79fAXEI4SOkBoWXY by [email protected] | |
| 0 likes, 0 repeats | |
| @malwareminigun After further inspection, both GCC and Clang only use ud2 with … | |
| Post #Av79fAYeCnaioaTeka by [email protected] | |
| 0 likes, 0 repeats | |
| @malwareminigun But when you conflate them, you get this https://godbolt.org/z/… | |
| Post #Av79fAhreWxpHAn17I by [email protected] | |
| 0 likes, 0 repeats | |
| @malwareminigun My thesis is that the good compilers (sorry msvc) already know … | |
| Post #Av79fAntI7mhZrbpVg by [email protected] | |
| 0 likes, 1 repeats | |
| @horenmar “sorry msvc” ….. MSVC clearly agrees with you: https://godbolt.… | |
| Post #Av7tw1AYxbyOVmBT7I by [email protected] | |
| 0 likes, 0 repeats | |
| @malwareminigun I meant more like this: https://godbolt.org/z/755Moj954 | |
| Post #Av7tw1HIYZMQqfKqcC by [email protected] | |
| 0 likes, 1 repeats | |
| @horenmar Hmmm... I see | |
| Post #Av81paPcKUEjQBfa8O by [email protected] | |
| 0 likes, 0 repeats | |
| @dascandy @horenmar 💯Why __builtin_unreachable when there's std::unreach… | |
| Post #Av81paX3soBvnH9Wjo by [email protected] | |
| 0 likes, 1 repeats | |
| @smurthys @horenmar That's called -O0. Set it to -O1 and it'll happily … | |
| Post #Av8OqeVWt12rMGudAu by [email protected] | |
| 0 likes, 0 repeats | |
| @malwareminigun I don't get this one actually 😅 | |
| Post #Av8OqebYWbrjexjRZI by [email protected] | |
| 0 likes, 1 repeats | |
| @horenmar it’s just confirming what you posted earlier, but it doesn’t go t… |