[llvm-dev] Why x86_64 divq is not used for 128-bit by 64-bit division?
Joshua Cranmer 🐧 via llvm-dev
llvm-dev at lists.llvm.org
Thu Oct 19 16:26:48 PDT 2017
On 10/19/2017 4:58 PM, Paweł Bylica via llvm-dev wrote:
> In my example, I'm truncating the result.
>
> But anyway, are you saying that when the result of divq does not fit
> in 64-bit the result stored in the register is undefined?
Actually, it generates a #DE exception if the result doesn't fit.
--
Joshua Cranmer
Thunderbird and DXR developer
Source code archæologist
More information about the llvm-dev
mailing list