Skip to content

LATX, fix: Ignore segment bases in LEA - #429

Open
ganjue66da wants to merge 1 commit into
lat-opensource:masterfrom
ganjue66da:tmp1
Open

LATX, fix: Ignore segment bases in LEA#429
ganjue66da wants to merge 1 commit into
lat-opensource:masterfrom
ganjue66da:tmp1

Conversation

@ganjue66da

Copy link
Copy Markdown
Contributor

LEA computes an effective offset and must not apply FS or GS segment bases. The shared memory-address conversion path added the segment base and corrupted IDTest's embedded resource copy.
Copy the operand and clear its segment before lowering the address.

Summary / 变更说明

Validation / 验证

Checklist / 检查项

  • I have read CONTRIBUTING.md. / 我已阅读 CONTRIBUTING.md
  • Every commit contains a DCO sign-off (git commit -s). /
    每个提交都包含 DCO 签署(git commit -s)。
  • I have included relevant build or test results, or explained why they
    are not applicable. /
    我已提供相关构建或测试结果,或说明了不适用的原因。

LEA computes an effective offset and must not apply FS or GS segment
bases. The shared memory-address conversion path added the segment base
and corrupted IDTest's embedded resource copy.
Copy the operand and clear its segment before lowering the address.

Signed-off-by: Wenqiang Wei <weiwenqiang@mail.ustc.edu.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant