Issue 114531
Summary <inline asm>:5:10: error: ambiguous operand size for instruction 'pop'
Labels new issue
Assignees
Reporter lhmouse
    (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.


_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to