Liste des Groupes | Revenir à c arch |
On 8/29/2024 11:23 AM, MitchAlsup1 wrote:Integer Overflow>>>>Time to up your game to an industrial quality ISA.
Open question of what an "industrial quality" ISA has that BJX2 lacks...
Limiting the scope to things that RISC-V and ARM have.
Proper handling of exceptions (ignoring them is not proper)
If you mean FPU exceptions, maybe.
>
As far as general interrupt handling, mechanism isn't too far off from
what SH-4 had used, and apparently also RISC-V's CLINT and MIPS work in
a similar way.
>
Though, with differences as to how they divide up exceptions.
In my case:
Reset;
General Fault;
External Interrupt;
TLB/MMU;
Syscall.
>As I understand it, you don't even get FMUL correctly rounded.Proper IEEE 754-2018 handling of FMAC (compute all the bits)>
Possibly true.
My FPU can more-or-less pass the 1985 spec, but not the 2018 spec.
>Its time has come.Floating Point Transcendentals>
Not present in many/most ISA's I have looked at.
How can something of lesser privilege emulate something of greaterHyperVisors/Secure Monitors>
Possible. I had considered doing it essentially with emulators, but
granted, this is not quite the same thing.
>Then not of Industrial quality !!
Seems many of the extant RV implementations don't have this either.
So there is NO (nadda == 0) ASM instructions between "Core takesWrite Interrupt service routines entirely in HLL>
If you mean C... I do have this.
>
#ifdef TK_REGSAVE_TBR
__interrupt_tbrsave void __isr_syscall(void)
#else
__interrupt void __isr_syscall(void)
#endif
{
....
}
AKA: What exactly is the '__interrupt' for?...OS cannot access Hypervisor data/code
>
However, the ISR's can't access virtual memory apart from manually
translating the pointers.
>
The various architectural CR's can be accessed from C as well, such as
"__arch_tbr" to access TBR, etc.
>
>proper Privileges and Priorities>
?...
>Multi-location ATOMIC events>
Possibly true.
Maybe the "volatile" mechanism is weak.
Les messages affichés proviennent d'usenet.