On Sun, 19 Apr 2015, Steve Reinhardt wrote:


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/2743/#review6052
-----------------------------------------------------------


I like the restructuring... I agree the micro-op loop is probably not 
realistic.  Is there a reason to code a loop in C though, as opposed to just 
using '/' and '%'?



The dividend is represented as rdx:rax, which means upto 128 bits of data. So we would not be able to carry out division by just using '/' and '%' when only using 64-bit integers. GCC and LLVM both support 128-bit integers on x86-64 platforms. We may want to use those, but I don't know if that would cause any compatibility problems.

--
Nilay
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to