Imported Debian version 1.0~trusty
[deb_vid.stab.git] / tests / orc_bug / orc_bug_orc.orc
CommitLineData
80f575fc
DM
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
14subl x_d1, xs, c_d_x
15mulll tmp1 zcos_a x_d1
16mulll tmp2 zsin_a y_d1
17addl tmp1 tmp1 tmp2
18addl x_ss tmp1 c_tx
19mulll tmp1, x_d1, zsin_a # with this line I get a segfault
20addl y_ss, tmp1, c_ty