Displaying 2 results from an estimated 2 matches for "prmitiv".
Did you mean:
primitiv
2010 Aug 21
0
[LLVMdev] OCaml bindings patch
...view of OCaml
bindings, it does not change too much from 2.6 to 2.7, I also merged
some new bindings in 2.7 into 2.6.
What this patch does are
1) bindings to define an LLVM IR pretty printer in OCaml, which
traverses a LLVM AST and prints each node. To do so, it allows to
access more properties of prmitive Classes: get Opcode of each
instruction, get ValueID of a subclass of Value. For example, given an
AllocationInst, it can return the allocation size, and other accessing
methods for different kinds of Instructions.
To generate names for unnamed values, the patch also makes
SlotTracker visibly f...
2001 Sep 12
0
AES update..
...e)isb_tab[byte(bi[(n + 2) & 3],2)]), 16) ^ \
- rotl(((u4byte)isb_tab[byte(bi[(n + 1) & 3],3)]), 24) ^ *(k + n)
-
-#endif
-
-void
-gen_tabs(void)
-{
- u4byte i, t;
- u1byte p, q;
-
- /* log and power tables for GF(2**8) finite field with */
- /* 0x11b as modular polynomial - the simplest prmitive */
- /* root is 0x11, used here to generate the tables */
- for(i = 0,p = 1; i < 256; ++i) {
- pow_tab[i] = (u1byte)p; log_tab[p] = (u1byte)i;
+#define FULL_UNROLL
- p = p ^ (p << 1) ^ (p & 0x80 ? 0x01b : 0);
- }
-
- log_tab[1] = 0; p = 1;
-
- for(i = 0; i < 10; ++i) {
-...