summaryrefslogtreecommitdiff
path: root/nasmlib.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-04 17:53:31 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-04 17:53:31 -0700
commitd85d250fa229d5ceb73ce5fedfd1087727f53a79 (patch)
tree5a51259e0deae99fb8f042c37b467c604cdd27b6 /nasmlib.c
parent7117e80702d70ac635e50a05deb85f672bd3a464 (diff)
downloadnasm-d85d250fa229d5ceb73ce5fedfd1087727f53a79.tar.gz
nasm-d85d250fa229d5ceb73ce5fedfd1087727f53a79.tar.bz2
nasm-d85d250fa229d5ceb73ce5fedfd1087727f53a79.zip
First cut at AVX machinery.
First cut at AVX machinery support. The only instruction implemented is VPERMIL2PS, and it's probably buggy. I'm checking this in with the hope that other people can start helping out with (a) testing this, and (b) adding instructions. NDISASM support is not there yet.
Diffstat (limited to 'nasmlib.c')
-rw-r--r--nasmlib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nasmlib.c b/nasmlib.c
index d5cf207..03a28bb 100644
--- a/nasmlib.c
+++ b/nasmlib.c
@@ -671,7 +671,7 @@ void saa_wleb128u(struct SAA *psaa, int value)
ptemp++;
len++;
} while (value != 0);
- saa_wbytes(psaa, temp, len);
+ saa_wbytes(psaa, temp, len);
}
/* write signed LEB128 value to SAA */
@@ -703,8 +703,8 @@ void saa_wleb128s(struct SAA *psaa, int value)
*ptemp = byte;
ptemp++;
len++;
- }
- saa_wbytes(psaa, temp, len);
+ }
+ saa_wbytes(psaa, temp, len);
}
void saa_rewind(struct SAA *s)