Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Demolishun "Internally x86 is RISC" how so?
RISC is pretty much the opposite of a CISC like x86 -
@PonySlaystation Because the external instructions are CISC, but aren't executed like that. Instead, they're split up into RISC micro-ops internally and then executed. x86 are basically RISC CPUs with a frontend to disguise as CISC. There's even an internal micro-op cache for that.
The last actual x86 with real x86 architecture was IIRC the Pentium in the 1990s. -
@Fast-Nop that would make sense for performance reasons...
all hail the RISCy god -
@Demolishun Yeah, microcode is partly like a lookup table, so you are flexible for future optimizations or to fix "hardware" bugs via software update
-
@Demolishun I am not writing any ARM assembly, my friend @svc64 does. If you want, ask him about the project (I’ll let him know I pinged him so he can join the conversation)
-
@Fast-Nop absolutely not.
In the transition from ARMv7 to v8, they changed all rX registers to wX registers. *for no reason at all*. It’s the type of confusing shit that they could’ve avoided all together, while making the code (“relatively”) more compatible (I know that all of the instructions are different but hey, now you don’t have to change every reference to 32-bit registers. Less work = more compatibility = more compelling to port the code). They could also make their shit ass thing with multiple source operands with parentheses or something (for example, the ADD or ADC instructions) and have some fancy operator precedence in the compiler.
It’s so unintuitive and so not straightforward compared to x86 to the point that it’s funny.
…not that x86 doesn’t have its OWN issues. I hope x86 will be replace with ARM in the future, but for god’s sake, make the syntax actually approachable before that happens. -
@OmerFlame Ah, I've only been using 32 Bit ARM / Thumb2 in µCs so far. Well, one likely reason is that ARM implementers can optionally implement also ARM32 in ARM64 CPUs, and that means that you can potentially have both the 64 and 32 bit instructions.
Apple's M1 doesn't do that because it would have been more work in an already huge die. That's why they strategically dropped 32 bit support already before with Catalina so that the user frustration from that move wouldn't reflect badly on the M1. -
@OmerFlame why not just write a parser that takes in a syntax that's an extension or superset of risc, and outputs regular risc?
Pay me $500 bucks. I'll do it in a week, and deliver a pipeline utility for both linux and windows.
Hell, half the people here could probably do it in a single setting.
Related Rants
-
TCPizza28assignment: use winAPI to create a "virus" that put itself in autorun and does nothing. me, a curious student...
-
mcminnra10"Python is such a hard language. It has so many rules" - Undergraduate Student who sent out mass email to the ...
-
explodingkittns7"You'll be learning and working with C++ and Assembly." I could very well be the only student ever to have be...
I don’t get why ARM assembly is so much clunkier than it should be. It could’ve been so much more readable and easy to write in if more dev-friendliness was built into the syntax.
rant
armv8
arm assembly is clunky as fuck
assembly