Commit 2d499d79 authored by Craig Topper's avatar Craig Topper Committed by Hans Wennborg
Browse files

[X86] Teach assembler parser to accept lsl and lar with a 64 or 32 source...

[X86] Teach assembler parser to accept lsl and lar with a 64 or 32 source register when the destination is a 64 register.

Previously we only accepted a 32-bit source with a 64-bit dest.

Accepting 64-bit as well is more consistent with gas behavior. I
think maybe we should accept 16 bit register as well, but I'm not
sure.

(cherry picked from commit 3c2a56a8)
parent 76c22b39
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment