Landing: 8cdf8b6b1799

Project / Subsystem

gcc / gcc

Date

2026-05-18

Author

Andi Kleen

Commit

8cdf8b6b17997a628fc8e7248cd6a25e89424f72

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
8cdf8b6b17997a628fc8e7248cd6a25e89424f72
source_type
github
headline
Fix MASM ptwrite output for Intel syntax
tldr
Fixes incorrect MASM ptwrite output when using Intel syntax by using an alternative code sequence.
author
Andi Kleen
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • x86
  • assembler
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-05-18T00:00:00.000Z

The previous fix for 64-bit ptwrite caused issues with Intel syntax output in MASM. This commit uses an alternative code sequence to correctly handle MASM ptwrite when Intel syntax is enabled, where the instruction data type is defined by the operands.