OpenWrt Next Generation Ideas

Rui Salvaterra rsalvaterra at gmail.com
Sat Apr 1 00:35:52 PDT 2023


Hi, everyone!

On Fri, 31 Mar 2023 at 22:28, Daniel Golle <daniel at makrotopia.org> wrote:
>

 [snipped]

> The point here is not optimization, but finding a good compromise to
> not having to compile **all** packages for **all** CPU architectures.
> The same is btw also true for MIPS and ARM targets. We pick a good
> compromise in terms of optimization.
> Example:
>  * All MIPS32 targets use either mips4k or mips24k optimization --
>    in reality there are plenty of mips34k and mips1004k SoCs around,
>    all of them happily run either of the two variants, but one could
>    of course produce an optimized build for e.g. mips1004kc or even
>    mips24kec...

Actually, I wonder if we should just stop pretending 34Kc and
1004Kc-specific optimisations exist. Internally, GCC uses the 24Kc
pipeline description for both 34Kc and 1004Kc (which makes sense,
since they're just 24Kc's with SMT and/or multiple cores).

Cheers,
Rui



More information about the openwrt-devel mailing list