logs archiveBotHelp.net / Freenode / #3dsdev / 2015 / September / 1 / 1
endrift
I think I figured out CitrAGB crashes when you try to load a 32MB ROM :P
https://github.com/shinyquagsire23/gpsp/blob/master/3ds/_3ds.c#L568-L569
Lectem
endrift
why not use my 3ds-cmake?
endrift
hi
?
Lectem
I'd suggest using this https://github.com/Lectem/3ds-cmake
for mgba
perhaps you didnt know
but it'd be nice if we all used the same files instead of baking our own toolchain files and stuff
endrift
I did not know
that sounds useful
Lectem
it gives most of what you need for 3ds development
planning to add some features but its quite complete already =)
endrift
I'll look into merging this
Lectem
It shouldnt require too much work
I tried to make it as flexible as possible
endrift
I wouldn't expect so
does it detect the DEVKITARM or DEVKITPRO env variable?
Lectem
if any feature is missing, just file an issue =)
endrift
if so I shouldn't have to make any changes to my buildbot
also how much perf will -fomit-frame-pointer add?
I thought it wasn't a thing on ARM
Lectem
it is
endrift
and -ffast-math is float-only, right?
Lectem
nope
endrift
no?
Lectem
it can actually do other stuff
without regards for IEEE conformance
like if you have x = x*x*x*x
it can do x *=x; x *=x;
endrift
er, IEEE is float
float = IEEE754
everything else is two's complement
Lectem
IEEE is a standard association :p
but well yeah, for us its mainly for floats
endrift
you know what I meant :P
Lectem
but I remember seeing somewhere it modifies some other things
anyway you're half right for -fomit-frame-pointer
its kindof useless on ARM
the frame ptr i mean
endrift
I know it's a thing on MIPS and x86
Lectem
thats why omiting it is ok
endrift
anyway, I disabled blip in the latest nightly, and that's the only thing in mGBA that uses doubles
and floats are exceedingly rare
it got a lot faster
haha
Lectem
yeah floats are still a bit costly on 3ds (and overall for arm cpus)
endrift
yep
Lectem
I had a lot of perf tests for floats on various cpus
but never ran it on the 3ds
endrift
the only place floats are used is in the audio subsystem, optionally, and in the HLE BIOS
Lectem
at least the 3ds has a vfp
on the nds it was... fixed points or death :p
endrift
YEAH :(
...not that I've really written much DS code
only stuff for interfacing with the GBA slot (understandably)
Lectem
oh btw, I saw that profi200 had problems with LTO with your cmake
could you test with LTO enabled with mine later?
I might have to specify dkA linker specificly
(it's known to work with ld but not with gcc/++)
endrift
it looks like LTO is just broken with devkitARM I think
by default at least
Lectem
by default yes
endrift
maybe using a different ld would work
Lectem
but its because there are 2 linkers
endrift
oh, what
Lectem
I dont remember the details.. wait
endrift
oh, there's /opt/devkitPRO/devkitARM/bin/arm-none-eabi-ld.bfd
Lectem
yeah but thats not it
I'm pretty sure it had something to do with using arm-none-eabi-gcc instead of arm-none-eabi-ld or something like this
oh
its ar not ld
by default it uses arm-none-eabi-ar
but you have to use arm-none-eabi-gcc-ar
iirc
endrift
oh yeah, I needed gcc-ar and gcc-ranlib
Lectem
guess I'll have to update my cmake toolchain file for this
endrift
yeah this toolchain looks a bit more thought out than what I have
Not sure I'd want to put it in the root though
Lectem
you're not forced to put it in the root
endrift
Yeah I figured that out :P
Lectem
oh, seems android ndk also has the ar and ranlib issue for lto
https://github.com/Itseez/opencv/blob/faa668437357f6433bc1c01508b9eec62827d130/platforms/android/android.toolchain.cmake#L1111
furyhunter
smea: holy sh*t
that's unfortunate
smea
it happens
i'm an idiot
whatever
endrift
what was tvds anyway?
furyhunter
save editor
smea
endrift no
bad endrift
tDVs
endrift
oh
sorry
I keep misreading it :(
bah, LTO is causing mGBA to just crash
there HAS to be something I'm missing
shuffle2
did you try standard file recovery crap smea
« prev 1 2 3 4 5 6 next »