program-c: handle X2 and X4 with size < 2 variables
authorWim Taymans <wtaymans@redhat.com>
Thu, 18 Sep 2014 12:19:06 +0000 (14:19 +0200)
committerWim Taymans <wtaymans@redhat.com>
Thu, 18 Sep 2014 12:19:06 +0000 (14:19 +0200)
commit6e418c2138d53fe1c164ef7a5d7d8b036f10981f
treee6fe5c6aa1df1417db51b62cafaef859a4a5ac2d
parentf6697e30681f46f6f3f632ddbbcab98107eec7e0
program-c: handle X2 and X4 with size < 2 variables

when the variable has a size < 2 it will have been declared as a simple
int8 or int16, when we use this in a X2 or X4 instruction, use the
variable directly instead of trying to use the x fields.
orc/orcprogram-c.c