From: Peter Johnson Date: Fri, 11 Jul 2003 02:54:11 +0000 (-0000) Subject: BitVector_compute(), BitVector_add(), and BitVector_sub() carry parameter is X-Git-Tag: v0.3.0~6^2~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e8a44bd74faf3ebdc9ae9857a6282a3764416d1;p=yasm BitVector_compute(), BitVector_add(), and BitVector_sub() carry parameter is both a carry in AND a carry out. svn path=/trunk/yasm/; revision=993 --- diff --git a/libyasm/bitvect.h b/libyasm/bitvect.h index 56cbcd8d..27f9e2c0 100644 --- a/libyasm/bitvect.h +++ b/libyasm/bitvect.h @@ -252,9 +252,9 @@ boolean /*@alt void@*/ BitVector_increment (wordptr addr); boolean /*@alt void@*/ BitVector_decrement (wordptr addr); /* X-- */ boolean /*@alt void@*/ BitVector_compute (wordptr X, wordptr Y, wordptr Z, boolean minus, - /*@out@*/ boolean *carry); -boolean /*@alt void@*/ BitVector_add (wordptr X, wordptr Y, wordptr Z, /*@out@*/ boolean *carry); -boolean /*@alt void@*/ BitVector_sub (wordptr X, wordptr Y, wordptr Z, /*@out@*/ boolean *carry); + boolean *carry); +boolean /*@alt void@*/ BitVector_add (wordptr X, wordptr Y, wordptr Z, boolean *carry); +boolean /*@alt void@*/ BitVector_sub (wordptr X, wordptr Y, wordptr Z, boolean *carry); boolean /*@alt void@*/ BitVector_inc (wordptr X, wordptr Y); boolean /*@alt void@*/ BitVector_dec (wordptr X, wordptr Y);