blob: df2098193a556da8c5e8407f0955b0df17c991ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
imm f"8388608" $r0v
imm f"0.3333333333333333333333" $r4v
# (32 / 8).times do |i|
# j = i * 8
# # itof
# puts "ior $lm#{j}v $lr0 $nowrite"
# puts "fvadd $aluf -$lr0 $nowrite"
# # /3
# puts "fvmul $mauf $lr4 $nowrite"
# # ftoi
# puts "fftoi $mauf $ls0v"
# # x3
# puts "ipackbit $aluf $lr8 $nowrite"
# puts "iadd $ls0v $aluf $nowrite"
# # %3
# puts "isub $lm#{j}v $aluf $ln#{j}v"
# puts
# end
ior $lm0v $lr0 $nowrite
fvadd $aluf -$lr0 $nowrite
fvmul $mauf $lr4 $nowrite
fftoi $mauf $ls0v
ipackbit $aluf $lr8 $nowrite
iadd $ls0v $aluf $nowrite
isub $lm0v $aluf $ln0v
ior $lm8v $lr0 $nowrite
fvadd $aluf -$lr0 $nowrite
fvmul $mauf $lr4 $nowrite
fftoi $mauf $ls0v
ipackbit $aluf $lr8 $nowrite
iadd $ls0v $aluf $nowrite
isub $lm8v $aluf $ln8v
ior $lm16v $lr0 $nowrite
fvadd $aluf -$lr0 $nowrite
fvmul $mauf $lr4 $nowrite
fftoi $mauf $ls0v
ipackbit $aluf $lr8 $nowrite
iadd $ls0v $aluf $nowrite
isub $lm16v $aluf $ln16v
ior $lm24v $lr0 $nowrite
fvadd $aluf -$lr0 $nowrite
fvmul $mauf $lr4 $nowrite
fftoi $mauf $ls0v
ipackbit $aluf $lr8 $nowrite
iadd $ls0v $aluf $nowrite
isub $lm24v $aluf $ln24v
|