You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Conditions LT, GE, LE and GT: 2 cycles to execute, 2 cycles to fetch next instruction
Conditions LE and GT are implemented in the assembler using one JUMPR instructions:
[...]
Conditions EQ is implemented in the assembler using two JUMPR instructions:
Conditions EQ, GT and LT: 2 cycles to execute, 2 cycles to fetch next instruction Conditions LE and GE are implemented in the assembler using two JUMPR instructions:
Using a very minimal ulp program, I checked what code was generated for the ESP32 chip in both v4.3.4 and v5.0.1, which resulted in identical output for both versions.
.text jumpr stop,1,CONDITIONstop: halt
Here are the code sections of the resulting bin.S files:
CONDITION = lt:
github-actionsbot
changed the title
Documentation seems wrong about ULP FSM's JUMPR instruction
Documentation seems wrong about ULP FSM's JUMPR instruction (IDFGH-9574)
Mar 6, 2023
Hi @agarof,
Thanks for bringing this discrepancy to our notice. Indeed, the description for JUMPR instruction for esp32 has been incorrect since v4.4. We will be updating the docs shortly and also back port the changes. Thank you!
Answers checklist.
General issue report
There seems to have been an erroneous change in the ULP JUMPR instruction's documentation in v4.4.
In the ESP32 v4.3.4 documentation
In the ESP32 v4.4.4 documentation
The ESP32 v5.0.1 documentation seems unchanged from v4.4.4.
Using a very minimal ulp program, I checked what code was generated for the ESP32 chip in both v4.3.4 and v5.0.1, which resulted in identical output for both versions.
Here are the code sections of the resulting
bin.S
files:CONDITION =
lt
:CONDITION =
gt
:CONDITION =
le
:CONDITION =
ge
:CONDITION =
eq
:The
eq
version is one instruction (4 bytes) longer than the others, matching the v4.3.4 documentation.The text was updated successfully, but these errors were encountered: