What is the SH intrinisc library?

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
User avatar
bbmario
DCEmu Freak
DCEmu Freak
Posts: 88
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Wed Feb 05, 2014 5:58 am
Has thanked: 9 times
Been thanked: 3 times

What is the SH intrinisc library?

Post by bbmario »

I was reading the UrbanChaos source code, specifically the DC parts, and I found out some optimizations like this: https://github.com/dizzy2003/MuckyFoot- ... ix.cpp#L25

Those functions do not exist on the codebase, but searching for the function name on GitHub, I found this: https://github.com/FaucetDC/WincastCE/b ... shsgintr.h

What is it? Is it just a header that targets an ASM function? How can I use those in KOS?
histat
DCEmu Cool Newbie
DCEmu Cool Newbie
Posts: 13
Joined: Sat Mar 16, 2013 2:28 pm
Has thanked: 2 times
Been thanked: 3 times

Re: What is the SH intrinisc library?

Post by histat »

see http://yam.20to4.net/dreamcast/hints/index.html

I think sega builtin functions.
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5652
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Re: What is the SH intrinisc library?

Post by BlueCrab »

These users thanked the author BlueCrab for the post:
bbmario
User avatar
bbmario
DCEmu Freak
DCEmu Freak
Posts: 88
Joined: Wed Feb 05, 2014 5:58 am
Has thanked: 9 times
Been thanked: 3 times

Re: What is the SH intrinisc library?

Post by bbmario »

Thank you for the info!
Post Reply