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


Although I agree that the name "divide-by-zero" is not the most clearly 
descriptive, that is the name of the exception in the x86 architecture (see for 
example http://wiki.osdev.org/Exceptions, or Table 2-1 of Vol 3 of the AMD64 
Architecture Programmer's Manual.  If you think it needs more comments to 
explain this discrepancy, that's fine, but I think we should keep the exception 
names consistent with the architecture definition.

- Steve Reinhardt


On April 17, 2015, 1:30 p.m., Nilay Vaish wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviews.gem5.org/r/2742/
> -----------------------------------------------------------
> 
> (Updated April 17, 2015, 1:30 p.m.)
> 
> 
> Review request for Default.
> 
> 
> Repository: gem5
> 
> 
> Description
> -------
> 
> Changeset 10789:42ef8fb0d914
> ---------------------------
> x86: change divide-by-zero fault to division-error
> Same exception is raised whether division with zero is performed or the
> quotient is greater than the maximum value that the provided space can hold.
> 
> 
> Diffs
> -----
> 
>   src/arch/x86/faults.hh d1df075f3b71 
>   src/arch/x86/isa/microops/regop.isa d1df075f3b71 
> 
> Diff: http://reviews.gem5.org/r/2742/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Nilay Vaish
> 
>

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

Reply via email to