Ayrton Muñoz
Ayrton Muñoz
nah the PSX doesn't have a floating point unit. It supports fixed point but that's all custom coprocessor opcodes from inline assembly so llvm's not an issue there.
It's not in upstream rust yet, but I was going to cherry-pick that commit onto the rustc branch and open a PR to add the psx target.
Yeah those would be definitely be good to upstream for MIPS-I, but the psx target's still fairly usable without them. I think the only really critical issue is the `sync`...
This target's now usable with just a target JSON on nightly, so building the rust compiler isn't necessary anymore. I updated the [crate's instructions](https://crates.io/crates/psx) in case anyone wants to try...
I opened a PR adding a [built-in target to rustc](https://github.com/rust-lang/rust/pull/102689) so hopefully the target JSON will soon be unnecessary.
nice, thanks for the heads up. I don't have time to test it out for a good while but if anyone is using it and puts together some demo PRs...
> For ABI reasons, linking to PS2SDK from Rust isn't a feasible approach. @Ravenslofty going back to this for a second. Is the reason basically that ps2sdk relies on an...
> I'm really, really not convinced "maintain your own GCC fork, and require users to build their own rustc" is less effort than the "tedious register binding approach". Oh yeah...
Thanks for the PRs (and splitting it up by commit). It's cool to see the work you've been doing on Bevy! I'll take a look, but apologies in advance if...
Looks like CI is just failing because `#[naked]` attributes now need `unsafe(...)`.