Skip to content
Commit e32e923a authored by Evan Cheng's avatar Evan Cheng
Browse files

divb / mulb outputs to ah. Under x86-64 it's not legal to read ah if the...

divb / mulb outputs to ah. Under x86-64 it's not legal to read ah if the instruction requires a rex prefix (i.e. outputs to r8b, etc.). So issue shift right by 8 on AX and then truncate it to 8 bits instead.

llvm-svn: 40972
parent a8e4b4bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment