News for hackers. Stuff that matters.
Re:An Open-Source FPGA-Optimized Out-of-Order RISC-V Soft Pr... by swiley on Tuesday January 05, 2021 @08:33AM (#25645295)
Do you really want pipelinning on a microcontroller though?
Re:An Open-Source FPGA-Optimized Out-of-Order RISC-V Soft Pr... by mhh__ on Tuesday January 05, 2021 @08:56AM (#25645517)
Why not? I think Cortex-M3 has a 3 stage pipeline, obviously I would not expect the 0.01$ chinese ones to have one.

It's worth saying here, that a big ooo CPU is pipelines differently to a small/old risc processor - even amongst discussions about compiler optimizations people still use terminology like pipeline stall, when a modern CPU has a pipeline that handles fetching an instruction window, finding dependencies, doing register renaming and execution, that pipeline is not like an old IF->IF->EX->MEM->WB - it won't stall in the same way a pentium 5 did. The execution pipes themselves have a more familiar structure.

Re:An Open-Source FPGA-Optimized Out-of-Order RISC-V Soft Pr... by gmueckl on Tuesday January 05, 2021 @10:45AM (#25646674)
Not sure about Cortex-M3, but I can confirm that the Cortex-M4 has a pretty basic 3 stage in order pipeline that gets flushed on branches. So unless there are caches between the core and memory (I think some STM32 have that), that CPU is still trivially deterministic.
Re:An Open-Source FPGA-Optimized Out-of-Order RISC-V Soft Pr... by makapuf on Tuesday January 05, 2021 @04:39PM (#25651510)
Yes, m4 from stm have art accelerator (cache memory) which make them less deterministic (but much faster) for flash access. See https://www.st.com/en/microcontrollers-microprocessors/stm32...