/* compile with:
 *
 * 	gcc -g -Wall orc-crash.c `pkg-config orc-0.4 --cflags --libs`
 */

#include <orc/orc.h>

int
main( int argc, char **argv )
{
	OrcProgram *p[500];
	int i;

	for( i = 0; i < 500; i++ )
		p[i] = NULL;

	orc_init();

	p[236] = orc_program_new();
	orc_program_add_destination( p[236], 2, "d1" );
	orc_program_add_temporary( p[236], 1, "value" );
	orc_program_add_temporary( p[236], 2, "product" );
	orc_program_add_temporary( p[236], 2, "sum" );
	orc_program_add_constant( p[236], 2, 0, "cm0w" );
	orc_program_append_ds_str( p[236], "copyw", "sum", "cm0w" );
	orc_program_compile( p[236] );

	p[237] = orc_program_new();
	orc_program_add_destination( p[237], 2, "d1" );
	orc_program_add_temporary( p[237], 1, "value" );
	orc_program_add_temporary( p[237], 2, "product" );
	orc_program_add_temporary( p[237], 2, "sum" );
	orc_program_add_source( p[237], 2, "r" );
	orc_program_append_ds_str( p[237], "loadw", "sum", "r" );
	orc_program_compile( p[237] );

	p[238] = orc_program_new();
	orc_program_add_destination( p[238], 2, "d1" );
	orc_program_add_temporary( p[238], 1, "value" );
	orc_program_add_temporary( p[238], 2, "product" );
	orc_program_add_temporary( p[238], 2, "sum" );
	orc_program_add_source( p[238], 2, "r" );
	orc_program_append_ds_str( p[238], "loadw", "sum", "r" );
	orc_program_compile( p[238] );

	p[239] = orc_program_new();
	orc_program_add_destination( p[239], 2, "d1" );
	orc_program_add_temporary( p[239], 1, "value" );
	orc_program_add_temporary( p[239], 2, "product" );
	orc_program_add_temporary( p[239], 2, "sum" );
	orc_program_add_source( p[239], 2, "r" );
	orc_program_append_ds_str( p[239], "loadw", "sum", "r" );
	orc_program_compile( p[239] );

	p[240] = orc_program_new();
	orc_program_add_destination( p[240], 2, "d1" );
	orc_program_add_temporary( p[240], 1, "value" );
	orc_program_add_temporary( p[240], 2, "product" );
	orc_program_add_temporary( p[240], 2, "sum" );
	orc_program_add_source( p[240], 2, "r" );
	orc_program_append_ds_str( p[240], "loadw", "sum", "r" );
	orc_program_compile( p[240] );

	p[241] = orc_program_new();
	orc_program_add_destination( p[241], 2, "d1" );
	orc_program_add_temporary( p[241], 1, "value" );
	orc_program_add_temporary( p[241], 2, "product" );
	orc_program_add_temporary( p[241], 2, "sum" );
	orc_program_add_source( p[241], 2, "r" );
	orc_program_append_ds_str( p[241], "loadw", "sum", "r" );
	orc_program_compile( p[241] );

	p[242] = orc_program_new();
	orc_program_add_destination( p[242], 2, "d1" );
	orc_program_add_temporary( p[242], 1, "value" );
	orc_program_add_temporary( p[242], 2, "product" );
	orc_program_add_temporary( p[242], 2, "sum" );
	orc_program_add_source( p[242], 2, "r" );
	orc_program_append_ds_str( p[242], "loadw", "sum", "r" );
	orc_program_compile( p[242] );

	p[243] = orc_program_new();
	orc_program_add_destination( p[243], 2, "d1" );
	orc_program_add_temporary( p[243], 1, "value" );
	orc_program_add_temporary( p[243], 2, "product" );
	orc_program_add_temporary( p[243], 2, "sum" );
	orc_program_add_source( p[243], 2, "r" );
	orc_program_append_ds_str( p[243], "loadw", "sum", "r" );
	orc_program_compile( p[243] );

	p[244] = orc_program_new();
	orc_program_add_destination( p[244], 2, "d1" );
	orc_program_add_temporary( p[244], 1, "value" );
	orc_program_add_temporary( p[244], 2, "product" );
	orc_program_add_temporary( p[244], 2, "sum" );
	orc_program_add_source( p[244], 2, "r" );
	orc_program_append_ds_str( p[244], "loadw", "sum", "r" );
	orc_program_compile( p[244] );

	p[245] = orc_program_new();
	orc_program_add_destination( p[245], 2, "d1" );
	orc_program_add_temporary( p[245], 1, "value" );
	orc_program_add_temporary( p[245], 2, "product" );
	orc_program_add_temporary( p[245], 2, "sum" );
	orc_program_add_source( p[245], 2, "r" );
	orc_program_append_ds_str( p[245], "loadw", "sum", "r" );
	orc_program_compile( p[245] );

	orc_program_free( p[236] );
	p[236] = NULL;
	orc_program_free( p[237] );
	p[237] = NULL;
	orc_program_free( p[238] );
	p[238] = NULL;
	orc_program_free( p[239] );
	p[239] = NULL;
	orc_program_free( p[240] );
	p[240] = NULL;
	orc_program_free( p[241] );
	p[241] = NULL;
	orc_program_free( p[242] );
	p[242] = NULL;
	orc_program_free( p[243] );
	p[243] = NULL;
	orc_program_free( p[244] );
	p[244] = NULL;
	orc_program_free( p[245] );
	p[245] = NULL;

	p[246] = orc_program_new();
	orc_program_add_destination( p[246], 2, "d1" );
	orc_program_add_temporary( p[246], 1, "value" );
	orc_program_add_temporary( p[246], 2, "product" );
	orc_program_add_temporary( p[246], 2, "sum" );
	orc_program_add_constant( p[246], 2, 0, "cm0w" );
	orc_program_append_ds_str( p[246], "copyw", "sum", "cm0w" );
	orc_program_compile( p[246] );

	p[247] = orc_program_new();
	orc_program_add_destination( p[247], 2, "d1" );
	orc_program_add_temporary( p[247], 1, "value" );
	orc_program_add_temporary( p[247], 2, "product" );
	orc_program_add_temporary( p[247], 2, "sum" );
	orc_program_add_source( p[247], 2, "r" );
	orc_program_append_ds_str( p[247], "loadw", "sum", "r" );
	orc_program_compile( p[247] );

	p[248] = orc_program_new();
	orc_program_add_destination( p[248], 2, "d1" );
	orc_program_add_temporary( p[248], 1, "value" );
	orc_program_add_temporary( p[248], 2, "product" );
	orc_program_add_temporary( p[248], 2, "sum" );
	orc_program_add_source( p[248], 2, "r" );
	orc_program_append_ds_str( p[248], "loadw", "sum", "r" );
	orc_program_compile( p[248] );

	p[249] = orc_program_new();
	orc_program_add_destination( p[249], 2, "d1" );
	orc_program_add_temporary( p[249], 1, "value" );
	orc_program_add_temporary( p[249], 2, "product" );
	orc_program_add_temporary( p[249], 2, "sum" );
	orc_program_add_source( p[249], 2, "r" );
	orc_program_append_ds_str( p[249], "loadw", "sum", "r" );
	orc_program_compile( p[249] );

	p[250] = orc_program_new();
	orc_program_add_destination( p[250], 2, "d1" );
	orc_program_add_temporary( p[250], 1, "value" );
	orc_program_add_temporary( p[250], 2, "product" );
	orc_program_add_temporary( p[250], 2, "sum" );
	orc_program_add_source( p[250], 2, "r" );
	orc_program_append_ds_str( p[250], "loadw", "sum", "r" );
	orc_program_compile( p[250] );

	p[251] = orc_program_new();
	orc_program_add_destination( p[251], 1, "d1" );
	orc_program_add_source( p[251], 2, "s1" );
	orc_program_add_temporary( p[251], 2, "t1" );
	orc_program_add_temporary( p[251], 2, "t2" );
	orc_program_add_constant( p[251], 1, 63, "c63b" );
	orc_program_add_constant( p[251], 2, 31, "c31w" );
	orc_program_add_constant( p[251], 2, 0, "cm0w" );
	orc_program_append_str( p[251], "addssw", "t1", "s1", "c31w" );
	orc_program_compile( p[251] );

	p[252] = orc_program_new();
	orc_program_add_destination( p[252], 2, "d1" );
	orc_program_add_temporary( p[252], 1, "value" );
	orc_program_add_temporary( p[252], 2, "product" );
	orc_program_add_temporary( p[252], 2, "sum" );
	orc_program_add_constant( p[252], 2, 0, "cm0w" );
	orc_program_append_ds_str( p[252], "copyw", "sum", "cm0w" );
	orc_program_compile( p[252] );

	p[253] = orc_program_new();
	orc_program_add_destination( p[253], 2, "d1" );
	orc_program_add_temporary( p[253], 1, "value" );
	orc_program_add_temporary( p[253], 2, "product" );
	orc_program_add_temporary( p[253], 2, "sum" );
	orc_program_add_source( p[253], 2, "r" );
	orc_program_append_ds_str( p[253], "loadw", "sum", "r" );
	orc_program_compile( p[253] );

	p[254] = orc_program_new();
	orc_program_add_destination( p[254], 2, "d1" );
	orc_program_add_temporary( p[254], 1, "value" );
	orc_program_add_temporary( p[254], 2, "product" );
	orc_program_add_temporary( p[254], 2, "sum" );
	orc_program_add_source( p[254], 2, "r" );
	orc_program_append_ds_str( p[254], "loadw", "sum", "r" );
	orc_program_compile( p[254] );

	p[255] = orc_program_new();
	orc_program_add_destination( p[255], 2, "d1" );
	orc_program_add_temporary( p[255], 1, "value" );
	orc_program_add_temporary( p[255], 2, "product" );
	orc_program_add_temporary( p[255], 2, "sum" );
	orc_program_add_source( p[255], 2, "r" );
	orc_program_append_ds_str( p[255], "loadw", "sum", "r" );
	orc_program_compile( p[255] );

	p[256] = orc_program_new();
	orc_program_add_destination( p[256], 2, "d1" );
	orc_program_add_temporary( p[256], 1, "value" );
	orc_program_add_temporary( p[256], 2, "product" );
	orc_program_add_temporary( p[256], 2, "sum" );
	orc_program_add_source( p[256], 2, "r" );
	orc_program_append_ds_str( p[256], "loadw", "sum", "r" );
	orc_program_compile( p[256] );

	p[257] = orc_program_new();
	orc_program_add_destination( p[257], 2, "d1" );
	orc_program_add_temporary( p[257], 1, "value" );
	orc_program_add_temporary( p[257], 2, "product" );
	orc_program_add_temporary( p[257], 2, "sum" );
	orc_program_add_source( p[257], 2, "r" );
	orc_program_append_ds_str( p[257], "loadw", "sum", "r" );
	orc_program_compile( p[257] );

	p[258] = orc_program_new();
	orc_program_add_destination( p[258], 2, "d1" );
	orc_program_add_temporary( p[258], 1, "value" );
	orc_program_add_temporary( p[258], 2, "product" );
	orc_program_add_temporary( p[258], 2, "sum" );
	orc_program_add_source( p[258], 2, "r" );
	orc_program_append_ds_str( p[258], "loadw", "sum", "r" );
	orc_program_compile( p[258] );

	p[259] = orc_program_new();
	orc_program_add_destination( p[259], 2, "d1" );
	orc_program_add_temporary( p[259], 1, "value" );
	orc_program_add_temporary( p[259], 2, "product" );
	orc_program_add_temporary( p[259], 2, "sum" );
	orc_program_add_source( p[259], 2, "r" );
	orc_program_append_ds_str( p[259], "loadw", "sum", "r" );
	orc_program_add_source( p[259], 1, "sl43" );
	orc_program_append_ds_str( p[259], "loadb", "value", "sl43" );
	orc_program_append_ds_str( p[259], "convubw", "product", "value" );
	orc_program_append_str( p[259], "addssw", "sum", "sum", "product" );
	orc_program_add_source( p[259], 1, "sl44" );
	orc_program_append_ds_str( p[259], "loadb", "value", "sl44" );
	orc_program_append_ds_str( p[259], "convubw", "product", "value" );
	orc_program_append_str( p[259], "addssw", "sum", "sum", "product" );
	orc_program_add_source( p[259], 1, "sl45" );
	orc_program_append_ds_str( p[259], "loadb", "value", "sl45" );
	orc_program_append_ds_str( p[259], "convubw", "product", "value" );
	orc_program_append_str( p[259], "addssw", "sum", "sum", "product" );
	orc_program_add_source( p[259], 1, "sl46" );
	orc_program_append_ds_str( p[259], "loadb", "value", "sl46" );
	orc_program_append_ds_str( p[259], "convubw", "product", "value" );
	orc_program_append_str( p[259], "addssw", "sum", "sum", "product" );
	orc_program_add_source( p[259], 1, "sl47" );
	orc_program_append_ds_str( p[259], "loadb", "value", "sl47" );
	orc_program_append_ds_str( p[259], "convubw", "product", "value" );
	orc_program_append_str( p[259], "addssw", "sum", "sum", "product" );
	orc_program_add_source( p[259], 1, "sl48" );
	orc_program_append_ds_str( p[259], "loadb", "value", "sl48" );
	orc_program_append_ds_str( p[259], "convubw", "product", "value" );
	orc_program_append_str( p[259], "addssw", "sum", "sum", "product" );
	orc_program_append_ds_str( p[259], "copyw", "d1", "sum" );
	orc_program_compile( p[259] );

	p[260] = orc_program_new();
	orc_program_add_destination( p[260], 2, "d1" );
	orc_program_add_temporary( p[260], 1, "value" );
	orc_program_add_temporary( p[260], 2, "product" );
	orc_program_add_temporary( p[260], 2, "sum" );
	orc_program_add_source( p[260], 2, "r" );
	orc_program_append_ds_str( p[260], "loadw", "sum", "r" );
	orc_program_add_source( p[260], 1, "sl49" );
	orc_program_append_ds_str( p[260], "loadb", "value", "sl49" );
	orc_program_append_ds_str( p[260], "convubw", "product", "value" );
	orc_program_append_str( p[260], "addssw", "sum", "sum", "product" );
	orc_program_add_source( p[260], 1, "sl50" );
	orc_program_append_ds_str( p[260], "loadb", "value", "sl50" );
	orc_program_append_ds_str( p[260], "convubw", "product", "value" );
	orc_program_append_str( p[260], "addssw", "sum", "sum", "product" );
	orc_program_add_source( p[260], 1, "sl51" );
	orc_program_append_ds_str( p[260], "loadb", "value", "sl51" );
	orc_program_append_ds_str( p[260], "convubw", "product", "value" );
	orc_program_append_str( p[260], "addssw", "sum", "sum", "product" );
	orc_program_add_source( p[260], 1, "sl52" );
	orc_program_append_ds_str( p[260], "loadb", "value", "sl52" );
	orc_program_append_ds_str( p[260], "convubw", "product", "value" );
	orc_program_append_str( p[260], "addssw", "sum", "sum", "product" );
	orc_program_add_source( p[260], 1, "sl53" );
	orc_program_append_ds_str( p[260], "loadb", "value", "sl53" );
	orc_program_append_ds_str( p[260], "convubw", "product", "value" );
	orc_program_append_str( p[260], "addssw", "sum", "sum", "product" );
	orc_program_add_source( p[260], 1, "sl54" );
	orc_program_append_ds_str( p[260], "loadb", "value", "sl54" );
	orc_program_append_ds_str( p[260], "convubw", "product", "value" );
	orc_program_append_str( p[260], "addssw", "sum", "sum", "product" );
	orc_program_append_ds_str( p[260], "copyw", "d1", "sum" );
	orc_program_compile( p[260] );

	p[261] = orc_program_new();
	orc_program_add_destination( p[261], 2, "d1" );
	orc_program_add_temporary( p[261], 1, "value" );
	orc_program_add_temporary( p[261], 2, "product" );
	orc_program_add_temporary( p[261], 2, "sum" );
	orc_program_add_source( p[261], 2, "r" );
	orc_program_append_ds_str( p[261], "loadw", "sum", "r" );
	orc_program_compile( p[261] );

	orc_program_free( p[252] );
	p[252] = NULL;
	orc_program_free( p[253] );
	p[253] = NULL;
	orc_program_free( p[254] );
	p[254] = NULL;
	orc_program_free( p[255] );
	p[255] = NULL;
	orc_program_free( p[256] );
	p[256] = NULL;
	orc_program_free( p[257] );
	p[257] = NULL;
	orc_program_free( p[258] );
	p[258] = NULL;
	orc_program_free( p[259] );
	p[259] = NULL;
	orc_program_free( p[260] );
	p[260] = NULL;

	p[263] = orc_program_new();
	orc_program_add_destination( p[263], 1, "d1" );
	orc_program_add_source( p[263], 2, "s1" );
	orc_program_add_temporary( p[263], 2, "t1" );
	orc_program_add_temporary( p[263], 2, "t2" );
	orc_program_add_constant( p[263], 1, 1, "c1b" );
	orc_program_add_constant( p[263], 2, 0, "cm0w" );
	orc_program_append_str( p[263], "addssw", "t1", "s1", "cm0w" );
	orc_program_append_str( p[263], "cmpgtsw", "t2", "t1", "cm0w" );
	orc_program_append_str( p[263], "andw", "t1", "t1", "t2" );
	orc_program_append_str( p[263], "divluw", "t1", "t1", "c1b" );
	orc_program_append_ds_str( p[263], "convuuswb", "d1", "t1" );
	orc_program_compile( p[263] );

	p[264] = orc_program_new();
	orc_program_add_destination( p[264], 2, "d1" );
	orc_program_add_temporary( p[264], 1, "value" );
	orc_program_add_temporary( p[264], 2, "product" );
	orc_program_add_temporary( p[264], 2, "sum" );
	orc_program_add_constant( p[264], 2, 0, "cm0w" );
	orc_program_append_ds_str( p[264], "copyw", "sum", "cm0w" );
	orc_program_add_source( p[264], 1, "sl0" );
	orc_program_append_ds_str( p[264], "loadb", "value", "sl0" );
	orc_program_append_ds_str( p[264], "convubw", "product", "value" );
	orc_program_append_str( p[264], "addssw", "sum", "sum", "product" );
	orc_program_append_ds_str( p[264], "copyw", "d1", "sum" );
	orc_program_compile( p[264] );

	p[265] = orc_program_new();
	orc_program_add_destination( p[265], 1, "d1" );
	orc_program_add_source( p[265], 2, "s1" );
	orc_program_add_temporary( p[265], 2, "t1" );
	orc_program_add_temporary( p[265], 2, "t2" );
	orc_program_add_constant( p[265], 1, 1, "c1b" );
	orc_program_add_constant( p[265], 2, 0, "cm0w" );
	orc_program_append_str( p[265], "addssw", "t1", "s1", "cm0w" );
	orc_program_append_str( p[265], "cmpgtsw", "t2", "t1", "cm0w" );
	orc_program_append_str( p[265], "andw", "t1", "t1", "t2" );
	orc_program_append_str( p[265], "divluw", "t1", "t1", "c1b" );
	orc_program_append_ds_str( p[265], "convuuswb", "d1", "t1" );
	orc_program_compile( p[265] );

	p[266] = orc_program_new();
	orc_program_add_destination( p[266], 2, "d1" );
	orc_program_add_temporary( p[266], 1, "value" );
	orc_program_add_temporary( p[266], 2, "product" );
	orc_program_add_temporary( p[266], 2, "sum" );
	orc_program_add_constant( p[266], 2, 0, "cm0w" );
	orc_program_append_ds_str( p[266], "copyw", "sum", "cm0w" );
	orc_program_add_source( p[266], 1, "sl0" );
	orc_program_append_ds_str( p[266], "loadb", "value", "sl0" );
	orc_program_append_ds_str( p[266], "convubw", "product", "value" );
	orc_program_append_str( p[266], "addssw", "sum", "sum", "product" );
	orc_program_append_ds_str( p[266], "copyw", "d1", "sum" );
	orc_program_compile( p[266] );

	p[267] = orc_program_new();
	orc_program_add_destination( p[267], 1, "d1" );
	orc_program_add_source( p[267], 2, "s1" );
	orc_program_add_temporary( p[267], 2, "t1" );
	orc_program_add_temporary( p[267], 2, "t2" );
	orc_program_add_constant( p[267], 1, 1, "c1b" );
	orc_program_add_constant( p[267], 2, 0, "cm0w" );
	orc_program_append_str( p[267], "addssw", "t1", "s1", "cm0w" );
	orc_program_append_str( p[267], "cmpgtsw", "t2", "t1", "cm0w" );
	orc_program_append_str( p[267], "andw", "t1", "t1", "t2" );
	orc_program_append_str( p[267], "divluw", "t1", "t1", "c1b" );
	orc_program_append_ds_str( p[267], "convuuswb", "d1", "t1" );
	orc_program_compile( p[267] );

	p[268] = orc_program_new();
	orc_program_add_destination( p[268], 2, "d1" );
	orc_program_add_temporary( p[268], 1, "value" );
	orc_program_add_temporary( p[268], 2, "product" );
	orc_program_add_temporary( p[268], 2, "sum" );
	orc_program_add_constant( p[268], 2, 0, "cm0w" );
	orc_program_append_ds_str( p[268], "copyw", "sum", "cm0w" );
	orc_program_add_source( p[268], 1, "sl0" );
	orc_program_append_ds_str( p[268], "loadb", "value", "sl0" );
	orc_program_append_ds_str( p[268], "convubw", "product", "value" );
	orc_program_append_str( p[268], "addssw", "sum", "sum", "product" );
	orc_program_add_constant( p[268], 1, 3, "c3b" );
	orc_program_append_str( p[268], "loadoffb", "value", "sl0", "c3b" );
	orc_program_append_ds_str( p[268], "convubw", "product", "value" );
	orc_program_append_str( p[268], "addssw", "sum", "sum", "product" );
	orc_program_add_constant( p[268], 1, 6, "c6b" );
	orc_program_append_str( p[268], "loadoffb", "value", "sl0", "c6b" );
	orc_program_append_ds_str( p[268], "convubw", "product", "value" );
	orc_program_append_str( p[268], "addssw", "sum", "sum", "product" );
	orc_program_compile( p[268] );

	p[269] = orc_program_new();
	orc_program_add_destination( p[269], 1, "d1" );
	orc_program_add_source( p[269], 2, "s1" );
	orc_program_add_temporary( p[269], 2, "t1" );
	orc_program_add_temporary( p[269], 2, "t2" );
	orc_program_add_constant( p[269], 1, 1, "c1b" );
	orc_program_add_constant( p[269], 2, 0, "cm0w" );
	orc_program_append_str( p[269], "addssw", "t1", "s1", "cm0w" );
	orc_program_append_str( p[269], "cmpgtsw", "t2", "t1", "cm0w" );
	orc_program_append_str( p[269], "andw", "t1", "t1", "t2" );
	orc_program_append_str( p[269], "divluw", "t1", "t1", "c1b" );
	orc_program_append_ds_str( p[269], "convuuswb", "d1", "t1" );
	orc_program_compile( p[269] );

	p[270] = orc_program_new();
	orc_program_add_destination( p[270], 2, "d1" );
	orc_program_add_temporary( p[270], 1, "value" );
	orc_program_add_temporary( p[270], 2, "product" );
	orc_program_add_temporary( p[270], 2, "sum" );
	orc_program_add_constant( p[270], 2, 0, "cm0w" );
	orc_program_append_ds_str( p[270], "copyw", "sum", "cm0w" );
	orc_program_add_source( p[270], 1, "sl0" );
	orc_program_add_constant( p[270], 2, -2, "cm2w" );
	orc_program_append_ds_str( p[270], "loadb", "value", "sl0" );
	orc_program_append_ds_str( p[270], "convubw", "product", "value" );
	orc_program_append_str( p[270], "mullw", "product", "product", "cm2w" );
	orc_program_append_str( p[270], "addssw", "sum", "sum", "product" );
	orc_program_add_constant( p[270], 1, 3, "c3b" );
	orc_program_append_str( p[270], "loadoffb", "value", "sl0", "c3b" );
	orc_program_append_ds_str( p[270], "convubw", "product", "value" );
	orc_program_append_str( p[270], "addssw", "sum", "sum", "product" );
	orc_program_add_constant( p[270], 1, 6, "c6b" );
	orc_program_append_str( p[270], "loadoffb", "value", "sl0", "c6b" );
	orc_program_append_ds_str( p[270], "convubw", "product", "value" );
	orc_program_append_str( p[270], "addssw", "sum", "sum", "product" );
	orc_program_compile( p[270] );

	p[271] = orc_program_new();
	orc_program_add_destination( p[271], 1, "d1" );
	orc_program_add_source( p[271], 2, "s1" );
	orc_program_add_temporary( p[271], 2, "t1" );
	orc_program_add_temporary( p[271], 2, "t2" );
	orc_program_add_constant( p[271], 1, 1, "c1b" );
	orc_program_add_constant( p[271], 2, 0, "cm0w" );
	orc_program_append_str( p[271], "addssw", "t1", "s1", "cm0w" );
	orc_program_append_str( p[271], "cmpgtsw", "t2", "t1", "cm0w" );
	orc_program_append_str( p[271], "andw", "t1", "t1", "t2" );
	orc_program_append_str( p[271], "divluw", "t1", "t1", "c1b" );
	orc_program_append_ds_str( p[271], "convuuswb", "d1", "t1" );
	orc_program_compile( p[271] );

	p[272] = orc_program_new();
	orc_program_add_destination( p[272], 2, "d1" );
	orc_program_add_temporary( p[272], 1, "value" );
	orc_program_add_temporary( p[272], 2, "product" );
	orc_program_add_temporary( p[272], 2, "sum" );
	orc_program_add_constant( p[272], 2, 0, "cm0w" );
	orc_program_append_ds_str( p[272], "copyw", "sum", "cm0w" );
	orc_program_add_source( p[272], 1, "sl0" );
	orc_program_append_ds_str( p[272], "loadb", "value", "sl0" );
	orc_program_append_ds_str( p[272], "convubw", "product", "value" );
	orc_program_append_str( p[272], "addssw", "sum", "sum", "product" );
	orc_program_add_constant( p[272], 1, 3, "c3b" );
	orc_program_add_constant( p[272], 2, -2, "cm2w" );
	orc_program_append_str( p[272], "loadoffb", "value", "sl0", "c3b" );
	orc_program_append_ds_str( p[272], "convubw", "product", "value" );
	orc_program_append_str( p[272], "mullw", "product", "product", "cm2w" );
	orc_program_append_str( p[272], "addssw", "sum", "sum", "product" );
	orc_program_add_constant( p[272], 1, 6, "c6b" );
	orc_program_append_str( p[272], "loadoffb", "value", "sl0", "c6b" );
	orc_program_append_ds_str( p[272], "convubw", "product", "value" );
	orc_program_append_str( p[272], "addssw", "sum", "sum", "product" );
	orc_program_compile( p[272] );

	p[274] = orc_program_new();
	orc_program_add_destination( p[274], 2, "d1" );
	orc_program_add_temporary( p[274], 1, "value" );
	orc_program_add_temporary( p[274], 2, "product" );
	orc_program_add_temporary( p[274], 2, "sum" );
	orc_program_add_constant( p[274], 2, 0, "cm0w" );
	orc_program_append_ds_str( p[274], "copyw", "sum", "cm0w" );
	orc_program_add_source( p[274], 1, "sl0" );
	orc_program_append_ds_str( p[274], "loadb", "value", "sl0" );
	orc_program_append_ds_str( p[274], "convubw", "product", "value" );
	orc_program_append_str( p[274], "addssw", "sum", "sum", "product" );
	orc_program_add_constant( p[274], 1, 3, "c3b" );
	orc_program_append_str( p[274], "loadoffb", "value", "sl0", "c3b" );
	orc_program_append_ds_str( p[274], "convubw", "product", "value" );
	orc_program_append_str( p[274], "addssw", "sum", "sum", "product" );
	orc_program_add_constant( p[274], 1, 6, "c6b" );
	orc_program_add_constant( p[274], 2, -2, "cm2w" );
	orc_program_append_str( p[274], "loadoffb", "value", "sl0", "c6b" );
	orc_program_append_ds_str( p[274], "convubw", "product", "value" );
	orc_program_append_str( p[274], "mullw", "product", "product", "cm2w" );
	orc_program_append_str( p[274], "addssw", "sum", "sum", "product" );
	orc_program_compile( p[274] );

	orc_program_free( p[263] );
	p[263] = NULL;
	orc_program_free( p[264] );
	p[264] = NULL;
	orc_program_free( p[265] );
	p[265] = NULL;
	orc_program_free( p[266] );
	p[266] = NULL;
	orc_program_free( p[267] );
	p[267] = NULL;
	orc_program_free( p[246] );
	p[246] = NULL;
	orc_program_free( p[247] );
	p[247] = NULL;
	orc_program_free( p[248] );
	p[248] = NULL;
	orc_program_free( p[249] );
	p[249] = NULL;
	orc_program_free( p[250] );
	p[250] = NULL;
	orc_program_free( p[251] );
	p[251] = NULL;
	orc_program_free( p[268] );
	p[268] = NULL;
	orc_program_free( p[269] );
	p[269] = NULL;
	orc_program_free( p[270] );
	p[270] = NULL;
	orc_program_free( p[271] );
	p[271] = NULL;

	/* This line will trigger a valgrind error, but the orccodemem heap
	 * seems to have been corrupted some time earlier than this.
	 */
	orc_program_free( p[274] );
	p[274] = NULL;

	for( i = 0; i < 500; i++ )
		if( p[i] ) { 
			orc_program_free( p[i] );
			p[i] = NULL;
		}

	return( 0 ); 
}
