Skip to content

Commit 4e1371f

Browse files
authored
Update instructions.h (#2647)
Fix copy-paste-error. With RP2350's Hazard3 should never show up, but anyway.
1 parent d581553 commit 4e1371f

File tree

1 file changed

+1
-1
lines changed
  • src/rp2_common/hardware_hazard3/include/hardware/hazard3

1 file changed

+1
-1
lines changed

src/rp2_common/hardware_hazard3/include/hardware/hazard3/instructions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ extern "C" {
128128
__h3_bextmi_rd; \
129129
})
130130
#else
131-
#define __hazard3_bextm(nbits, rs1, rs2) (((rs1) >> ((shamt) & 0x1f)) & (0xffu >> (7 - (((nbits) - 1) & 0x7))))
131+
#define __hazard3_bextmi(nbits, rs1, rs2) (((rs1) >> ((shamt) & 0x1f)) & (0xffu >> (7 - (((nbits) - 1) & 0x7))))
132132
#endif
133133

134134
#ifdef __hazard3_extension_xh3power

0 commit comments

Comments
 (0)