[sim] changed divide-by-0 semantics
authorAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>
Thu, 27 Jan 2011 02:05:11 +0000 (18:05 -0800)
committerAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>
Thu, 27 Jan 2011 02:05:11 +0000 (18:05 -0800)
commitdc1aa62411649b73f3e3fb2ee5ec425a2bfeb645
tree84838627c1a662395ee096ed75dac099de7f3461
parent76ee8711f8e04b9ada61e91e6ac6f1fd01a4ca1e
[sim] changed divide-by-0 semantics

now it always gives -1, no matter the signedness.
riscv/insns/div.h
riscv/insns/divw.h