raw
ffa_ch3_shifts.kv       1 ------------------------------------------------------------------------------
ffa_ch3_shifts.kv 2 ------------------------------------------------------------------------------
ffa_ch3_shifts.kv 3 -- This file is part of 'Finite Field Arithmetic', aka 'FFA'. --
ffa_ch3_shifts.kv 4 -- --
ffa_ch3_shifts.kv 5 -- (C) 2017 Stanislav Datskovskiy ( www.loper-os.org ) --
ffa_ch3_shifts.kv 6 -- http://wot.deedbot.org/17215D118B7239507FAFED98B98228A001ABFFC7.html --
ffa_ch3_shifts.kv 7 -- --
ffa_ch3_shifts.kv 8 -- You do not have, nor can you ever acquire the right to use, copy or --
ffa_ch3_shifts.kv 9 -- distribute this software ; Should you use this software for any purpose, --
ffa_ch3_shifts.kv 10 -- or copy and distribute it to anyone or in any manner, you are breaking --
ffa_ch3_shifts.kv 11 -- the laws of whatever soi-disant jurisdiction, and you promise to --
ffa_ch3_shifts.kv 12 -- continue doing so for the indefinite future. In any case, please --
ffa_ch3_shifts.kv 13 -- always : read and understand any software ; verify any PGP signatures --
ffa_ch3_shifts.kv 14 -- that you use - for any purpose. --
ffa_ch3_shifts.kv 15 -- --
ffa_ch3_shifts.kv 16 -- See also http://trilema.com/2015/a-new-software-licensing-paradigm . --
ffa_ch3_shifts.kv 17 ------------------------------------------------------------------------------
ffa_ch3_shifts.kv 18 ------------------------------------------------------------------------------
ffa_ch3_shifts.kv 19
ffa_ch2_logicals.kv 20 with FZ_Type; use FZ_Type;
ffa_ch2_logicals.kv 21 with Words; use Words;
ffa_ch2_logicals.kv 22
ffa_ch2_logicals.kv 23
ffa_ch2_logicals.kv 24 package FZ_BitOp is
ffa_ch2_logicals.kv 25
ffa_ch2_logicals.kv 26 pragma Pure;
ffa_ch2_logicals.kv 27
ffa_ch2_logicals.kv 28 -- Result := X & Y
ffa_ch2_logicals.kv 29 procedure FZ_And(X : in FZ; Y : in FZ; Result : out FZ);
ffa_ch11_tuning_a... 30 pragma Inline_Always(FZ_And);
ffa_ch2_logicals.kv 31
ffa_ch2_logicals.kv 32 -- N := N & W, W is a word
ffa_ch2_logicals.kv 33 procedure FZ_And_W(N : in out FZ; W : in Word);
ffa_ch11_tuning_a... 34 pragma Inline_Always(FZ_And_W);
ffa_ch2_logicals.kv 35
ffa_ch2_logicals.kv 36 -- Result := X | Y
ffa_ch2_logicals.kv 37 procedure FZ_Or(X : in FZ; Y : in FZ; Result : out FZ);
ffa_ch11_tuning_a... 38 pragma Inline_Always(FZ_Or);
ffa_ch2_logicals.kv 39
ffa_ch2_logicals.kv 40 -- N := N | W, W is a word
ffa_ch2_logicals.kv 41 procedure FZ_Or_W(N : in out FZ; W : in Word);
ffa_ch11_tuning_a... 42 pragma Inline_Always(FZ_Or_W);
ffa_ch2_logicals.kv 43
ffa_ch2_logicals.kv 44 -- Result := X ^ Y
ffa_ch2_logicals.kv 45 procedure FZ_Xor(X : in FZ; Y : in FZ; Result : out FZ);
ffa_ch11_tuning_a... 46 pragma Inline_Always(FZ_Xor);
ffa_ch2_logicals.kv 47
ffa_ch2_logicals.kv 48 -- N := N ^ W, W is a word
ffa_ch2_logicals.kv 49 procedure FZ_Xor_W(N : in out FZ; W : in Word);
ffa_ch11_tuning_a... 50 pragma Inline_Always(FZ_Xor_W);
ffa_ch2_logicals.kv 51
ffa_ch2_logicals.kv 52 -- NotN := ~N
ffa_ch3_shifts.kv 53 procedure FZ_Not(N : in FZ; NotN : out FZ);
ffa_ch11_tuning_a... 54 pragma Inline_Always(FZ_Not);
ffa_ch2_logicals.kv 55
ffa_ch2_logicals.kv 56 end FZ_BitOp;