Re:Do Not Taunt Happy Fun Branch Predictor
by classichasclass on Wednesday January 25, 2023 @03:41PM
(#34523889)
I agree, because this semantic difference between br x30 and ret doesn't exist in many other RISCs which also mostly run C-like languages. Power just has blr, and MIPS jr $ra, for example. This feels more like a well-intentioned footgun in the ISA.
[ Parent
| on HN ]
Re:Do Not Taunt Happy Fun Branch Predictor
by shadowofneptune on Wednesday January 25, 2023 @05:30PM
(#34525066)
The potential population for that footgun is compiler writers, who should safely fall into 'know what they are doing' territory.