<OriansJ`>deesix: well SCM is just an alias for unsigned long (one that I haven't added to cc_* yet but would be trivial to do so. <ericonr>xentrac: that I don't know. Possibly, with some PIC32? but that's an architecture where C itself is a pain <OriansJ`>ericonr: well M2-Planet is only 2335 lines of code and written in the same subset it is able to compile. <OriansJ`>essentially think of M2-Planet as the Maxwell core of the C programming language (structs, arrays, inline assembly and a handful of primitives) ***terpri_ is now known as terpri
<OriansJ`>with approximately 252 lines of c/inline assembly per architecture supported <OriansJ`>deesix: the big question is M2-Planet still working on AArch64 and do all the tests pass or is there something I broke and need to fix <OriansJ`>xentrac: what good is a C compiler that can't build itself? Even c500.c (A 500 line C compiler) that can self-host and it can't even support structs. <xentrac>hmm, I haven't tried PIC32; I thought it was a MIPS? <xentrac>OriansJ`: SDCC allows you to program your 8051 in C instead of assembly language, which saves you a lot of time when what you want is to program an 8051 <xentrac>especially if you want to use an already existing and validated library routine that happens to be written in C instead of 8051 assembly <ericonr>it's also the only oss toolchain for some obscure stuff <ericonr>idk if sdcc actually supports it as a target, tho <OriansJ`>xentrac: well C has an overhead relative to assembly but I guess if the price for additional flash is cheap enough; it gets accepted because assembly programmers are expensive <xentrac>yeah. also rewriting code for new platforms is expensive <OriansJ`>absolutely true; where to spend the money on hardware or software? only volume knows <ericonr>OriansJ`: I only knew PIC32 existed and thought it'd be similar to other PICs <ericonr>I had heard of AVR32 as well, never looked into them <xentrac>I think AVR32 is a similar scam to the PIC32 <xentrac>I was thinking it would be fun to do something like that with those 3-cent Padauk microcontrollers <xentrac>maybe with a piezo beeper audio output and capacitive touch sensing input or something <OriansJ`>personally I hoped that someone would just steal DEC PRISM's integer instruction set as it was a surprisingly clean design (Alpha tooks out the limited byte instructions) ***OriansJ` is now known as OriansJ
<OriansJ>it returned exactly the bottom 32bits of the true division result in a specified register <OriansJ>it also had mult and mulh to get the top and bottom 32bits of a multiply as well <xentrac>maybe I don't understand how that's different from what IDIV does. except that IDIV returns the remainder too <OriansJ>xentrac: you get to specify where you want the output and there are no implicit registers <mihi>fossy, re gigatron.io: I'm pretty sure OriansJ will not like the instruction set (does not have add/sub with carry, no mul/div, not even right shift...)