mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Minor updates to the aicasm:
aicasm_gram.y: Use a direct move from allzeros to emulate a mvi of 0. aicasm_insformat.h: sync $Id$ aicasm_symbol.c: Minor header change. Approved by: re (blanket)
This commit is contained in:
parent
e7b01d0727
commit
7fc23fe669
3 changed files with 5 additions and 5 deletions
|
|
@ -38,7 +38,7 @@
|
|||
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGES.
|
||||
*
|
||||
* $Id: //depot/aic7xxx/aic7xxx/aicasm/aicasm_gram.y#25 $
|
||||
* $Id: //depot/aic7xxx/aic7xxx/aicasm/aicasm_gram.y#26 $
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
|
@ -1249,8 +1249,8 @@ code:
|
|||
* that can't know the immediate's value and
|
||||
* otherwise compensate, still work.
|
||||
*/
|
||||
make_expression(&immed, 0xff);
|
||||
format_1_instr(AIC_OP_AND, &$2, &immed, &allzeros, $5);
|
||||
make_expression(&immed, 1);
|
||||
format_1_instr(AIC_OP_BMOV, &$2, &immed, &allzeros, $5);
|
||||
} else {
|
||||
format_1_instr(AIC_OP_OR, &$2, &$4, &allzeros, $5);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGES.
|
||||
*
|
||||
* $Id: //depot/aic7xxx/aic7xxx/aicasm/aicasm_insformat.h#10 $
|
||||
* $Id: //depot/aic7xxx/aic7xxx/aicasm/aicasm_insformat.h#11 $
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
#else
|
||||
#include <db.h>
|
||||
#endif
|
||||
#include <sys/fcntl.h>
|
||||
#include <fcntl.h>
|
||||
#include <inttypes.h>
|
||||
#include <regex.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue