diff options
author | gibbs <gibbs@FreeBSD.org> | 2000-10-31 18:44:32 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 2000-10-31 18:44:32 +0000 |
commit | d098e772354e56a073d056aaddd6466bb206454e (patch) | |
tree | cde326b4a3ff8764510021726e432602f0701cb9 /sys | |
parent | d90f7ca9c778b9495b410824dac2511cbba19051 (diff) | |
download | FreeBSD-src-d098e772354e56a073d056aaddd6466bb206454e.zip FreeBSD-src-d098e772354e56a073d056aaddd6466bb206454e.tar.gz |
Generate bmov instructions for all move requests. The driver
converts these to an equivalent 'and' operation on chips that
don't support this opcode.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/aic7xxx/aicasm/aicasm_gram.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/aic7xxx/aicasm/aicasm_gram.y b/sys/dev/aic7xxx/aicasm/aicasm_gram.y index 8ef7711..1e7c908 100644 --- a/sys/dev/aic7xxx/aicasm/aicasm_gram.y +++ b/sys/dev/aic7xxx/aicasm/aicasm_gram.y @@ -888,7 +888,7 @@ code: ; code: - T_BMOV destination ',' source ',' immediate_or_a ret ';' + T_BMOV destination ',' source ',' immediate ret ';' { format_1_instr(AIC_OP_BMOV, &$2, &$6, &$4, $7); } @@ -899,8 +899,8 @@ code: { expression_t immed; - make_expression(&immed, 0xff); - format_1_instr(AIC_OP_AND, &$2, &immed, &$4, $5); + make_expression(&immed, 1); + format_1_instr(AIC_OP_BMOV, &$2, &immed, &$4, $5); } ; |