Skip to content
Unverified Commit bae41ff5 authored by qijitao's avatar qijitao Committed by GitHub
Browse files

[BOLT] Fix long jump negative offset issue. (#67132)



In instruction encoding, the relative offset address of the PC is
signed, that is, the number of positive offset bits and the number of
negative offset bits is asymmetric. Therefore, the maximum and minimum
values are used to replace Mask to determine the boundary.

Co-authored-by: default avatarqijitao <qijitao@hisilicon.com>
parent c4f32b4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment