search for: 9c179cb4

Displaying 2 results from an estimated 2 matches for "9c179cb4".

2013 Apr 05
0
[LLVMdev] Integer divide by zero
...r program relies on the exact semantics of the 'idiv'/'udiv' hardware instruction, you might want to use an asm volatile statement. -Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130405/9c179cb4/attachment.html>
2013 Apr 05
4
[LLVMdev] Integer divide by zero
On Fri, Apr 5, 2013 at 2:40 PM, Joshua Cranmer 🐧 <Pidgeot18 at gmail.com>wrote: ... > Per C and C++, integer division by 0 is undefined. That means, if it > happens, the compiler is free to do whatever it wants. It is perfectly > legal for LLVM to define r to be, say, 42 in this code; it is not required > to preserve the fact that the idiv instruction on x86 and x86-64 will