[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/engine cvm_arith.c,1.13,1.14
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/engine cvm_arith.c,1.13,1.14 |
Date: |
Sun, 20 Apr 2003 03:43:23 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv21915/engine
Modified Files:
cvm_arith.c
Log Message:
Reversed tests for long overflow.
Index: cvm_arith.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/cvm_arith.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** cvm_arith.c 9 Dec 2002 08:59:00 -0000 1.13
--- cvm_arith.c 20 Apr 2003 07:43:21 -0000 1.14
***************
*** 1098,1103 ****
{
/* Long subtract with overflow detection */
! if(!LSubOvf(&(stacktop[-(CVM_WORDS_PER_LONG * 2)]),
! &(stacktop[-CVM_WORDS_PER_LONG])))
{
MODIFY_PC_AND_STACK(CVM_LEN_NONE, -CVM_WORDS_PER_LONG);
--- 1098,1103 ----
{
/* Long subtract with overflow detection */
! if(LSubOvf(&(stacktop[-(CVM_WORDS_PER_LONG * 2)]),
! &(stacktop[-CVM_WORDS_PER_LONG])))
{
MODIFY_PC_AND_STACK(CVM_LEN_NONE, -CVM_WORDS_PER_LONG);
***************
*** 1142,1147 ****
{
/* Unsigned long subtract with overflow detection */
! if(!LUSubOvf(&(stacktop[-(CVM_WORDS_PER_LONG * 2)]),
! &(stacktop[-CVM_WORDS_PER_LONG])))
{
MODIFY_PC_AND_STACK(CVM_LEN_NONE, -CVM_WORDS_PER_LONG);
--- 1142,1147 ----
{
/* Unsigned long subtract with overflow detection */
! if(LUSubOvf(&(stacktop[-(CVM_WORDS_PER_LONG * 2)]),
! &(stacktop[-CVM_WORDS_PER_LONG])))
{
MODIFY_PC_AND_STACK(CVM_LEN_NONE, -CVM_WORDS_PER_LONG);
***************
*** 1223,1228 ****
{
/* Long multiply with overflow detection */
! if(!LMulOvf(&(stacktop[-(CVM_WORDS_PER_LONG * 2)]),
! &(stacktop[-CVM_WORDS_PER_LONG])))
{
MODIFY_PC_AND_STACK(CVM_LEN_NONE, -CVM_WORDS_PER_LONG);
--- 1223,1228 ----
{
/* Long multiply with overflow detection */
! if(LMulOvf(&(stacktop[-(CVM_WORDS_PER_LONG * 2)]),
! &(stacktop[-CVM_WORDS_PER_LONG])))
{
MODIFY_PC_AND_STACK(CVM_LEN_NONE, -CVM_WORDS_PER_LONG);
***************
*** 1267,1272 ****
{
/* Unsigned long multiply with overflow detection */
! if(!LUMulOvf(&(stacktop[-(CVM_WORDS_PER_LONG * 2)]),
! &(stacktop[-CVM_WORDS_PER_LONG])))
{
MODIFY_PC_AND_STACK(CVM_LEN_NONE, -CVM_WORDS_PER_LONG);
--- 1267,1272 ----
{
/* Unsigned long multiply with overflow detection */
! if(LUMulOvf(&(stacktop[-(CVM_WORDS_PER_LONG * 2)]),
! &(stacktop[-CVM_WORDS_PER_LONG])))
{
MODIFY_PC_AND_STACK(CVM_LEN_NONE, -CVM_WORDS_PER_LONG);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/engine cvm_arith.c,1.13,1.14,
Rhys Weatherley <address@hidden> <=