[Libre-soc-bugs] [Bug 979] Implement C-based Power ISA decoder compiler

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Sep 3 08:14:31 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=979

--- Comment #26 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Jacob Lifshay from comment #23)
> also modern cpus usually correctly predict exactly where call and return
> insns go leaving them as very low cost (maybe 1 cycle each, or less if they
> overlap other computation), so, no, calls aren't always expensive.

e.g. here, the call/return pair costs 0.13 ns/call on average when I tested it,
which is less than one clock cycle:
https://gcc.godbolt.org/z/vfME5dbjG

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list