Skip to content

esp32-s3 replacing some of ROM's linked functions for BIG optimisations. (IDFGH-15189) #15860

Open
@alhyene

Description

@alhyene

Is your feature request related to a problem?

Hi, All

I've disassembled some of my esp32-s3 codes and seen that they're linked with ROM's functions. It's good for space and ROM code execution that is faster than in the FLASH.

Then I've disassembled the esp32s3_rev0_rom.elf and seen it seem to never use the esp32-s3 PIE instructions set and maybe other specific opcodes. (not yet verified)

But I know by now the Espressif-Xtensa GNU like utilities, these one, don't use PIE or other enhancements than regular ISA instruction set, apart floating point ones for IEEE754 math functions. (not sure maybe some esoteric opcodes ones exists;)

Also I'm thinking why not patching some of the ROM's linked functions where benefits are significants. eg: replacing some math functions, memory transfert, ... with more powefull codes ?

And why not implementing the others opcodes ?
After all, it should be allful that Espressif-IDF integrate them when asked like with -O2, -03, ...., --optimisation-esp32-... ???

I'll wish to know if it's in the scope and maybe I could contribuate.

Wonderfull processors... 8-)

Describe the solution you'd like.

No response

Describe alternatives you've considered.

No response

Additional context.

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions