summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Greenan <kmgreen2@gmail.com>2013-12-20 08:21:46 -0800
committerKevin Greenan <kmgreen2@gmail.com>2013-12-20 08:21:46 -0800
commitc4ab254bbce42e6df9c89aee11ddb459bc86f4d0 (patch)
treeb16d24659b293f9ba94bf706a987db02e49eb28c /include
parent1733366245241ad15931ea1e9f0e382022848ef2 (diff)
downloadjerasure-c4ab254bbce42e6df9c89aee11ddb459bc86f4d0.tar.gz
Do SIMD XOR, where possible!
Diffstat (limited to 'include')
-rw-r--r--include/galois.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/galois.h b/include/galois.h
index 9e0dc25..d75be6a 100644
--- a/include/galois.h
+++ b/include/galois.h
@@ -51,9 +51,8 @@ extern int galois_single_multiply(int a, int b, int w);
extern int galois_single_divide(int a, int b, int w);
extern int galois_inverse(int x, int w);
-void galois_region_xor( char *r1, /* Region 1 */
- char *r2, /* Region 2 */
- char *r3, /* Sum region (r3 = r1 ^ r2) -- can be r1 or r2 */
+void galois_region_xor( char *src, /* Source Region */
+ char *dest, /* Dest Region (holds result) */
int nbytes); /* Number of bytes in region */
/* These multiply regions in w=8, w=16 and w=32. They are much faster