Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
unsigned char * bytes, unsigned num_bytes)
{
unsigned bytes_read = 0;
+ unsigned i, byte;
while (bytes_read < num_bytes) {
char inst_type = bytes[bytes_read++];
switch (inst_type) {
bytes_read = r600_fc_from_byte_stream(ctx, bytes,
bytes_read);
break;
+ case 3:
+ r600_bytecode_add_cfinst(ctx->bc, CF_NATIVE);
+ for (i = 0; i < 2; i++) {
+ for (byte = 0 ; byte < 4; byte++) {
+ ctx->bc->cf_last->isa[i] |=
+ (bytes[bytes_read++] << (byte * 8));
+ }
+ }
+ break;
default:
/* XXX: Error here */
break;