<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/114531>114531</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
<inline asm>:5:10: error: ambiguous operand size for instruction 'pop'
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
lhmouse
</td>
</tr>
</table>
<pre>
(https://gcc.godbolt.org/z/cv8a5hfa6)
```asm
xor esi, esi
push gs:[rsi] # push QWORD PTR gs:[0]
pop gs:[rsi] # pop QWORD PTR gs:[0]
```
On x86-64 both the `push` and `pop` instructions take only 64-bit operands, so there's no ambiguity.
It also seems inconsistent that `push` is unaffected.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8Us9vnEoM_mvMxdrV_ACWPXDYZB_SO-W9qFLPw2BgWphB4yFN8tdXsGma5lAJYWzz2Z_tzzC7wRPVUNxBcc3MmsYQ62mcw8qUtaF7qUFVY0oLg76AakA1g7XHIXRtmNIxxAFU8wqqsU-VKcbelKDOIK4gLlCK22N4vkXwOUQkdqDud3ML4rLyiMPeoLiL7KC4IiKC0rfU_18fHq_435fH958EFNd3dFg-g3dkWP4KfGf35u7vB4_PVXkoc2xDGjGNhFCKjQSUAo3vdjcsm-c8p7ja5IJnTOY7YfDTC5b5oXUJw0LR-I63UTlslSKBOjH6gGZu3bC69HL82PvfhGbigEw0Mzpvg2fHiXzCNJr0kYhjXL3pe7KJuj-KZF2tu7M-m4xqedIiL0V1qrKxlqdSnPtWV4JMS9ZIQ7k0Ni9s34u26DJXK6FyKYWUUue6PAp7Jqoq25ZSFEJayAXNxk3HaXqat8NnjnmlWsq80DKbTEsT70JSytMP3LOg1KarWG-gQ7sODLmYHCf-XSa5NFEN-t75yXnCTS76H9CXAvRFCtAXpBhD3D5uqwsr_1owsnsl7EP8eA8EddqupE7ZGqf6k3xdGtf2aMMMqtlIvJnDEsM3sglUs1NnUM3bbE-1-hkAAP__zM705A">