repositories
/
deb_vid.stab.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Debian version 1.0~trusty
[deb_vid.stab.git]
/
tests
/
orc_bug
/
orc_bug_orc.orc
1
.function test_orc
2
.dest 4 x_ss int32_t
3
.dest 4 y_ss int32_t
4
.source 4 xs int32_t
5
.param 4 y_d1 int32_t
6
.param 4 c_d_x int32_t
7
.param 4 c_tx int32_t
8
.param 4 c_ty int32_t
9
.param 4 zcos_a int32_t
10
.param 4 zsin_a int32_t
11
.temp 4 x_d1
12
.temp 4 tmp1
13
.temp 4 tmp2
14
subl x_d1, xs, c_d_x
15
mulll tmp1 zcos_a x_d1
16
mulll tmp2 zsin_a y_d1
17
addl tmp1 tmp1 tmp2
18
addl x_ss tmp1 c_tx
19
mulll tmp1, x_d1, zsin_a # with this line I get a segfault
20
addl y_ss, tmp1, c_ty