1 /* ICE: call insn does not satisfy its constraints, MMIX port.
2 Origin: ghostscript-6.52, reduction from hp@bitrange.com. */
5 void (*init_color)(void *, void *);
9 void (*map_cmyk)(short, void *, void **, void *);
10 void (*map_rgb_alpha)(short, void *, void **, void *);
14 long fill1; int fill2;
15 long fill3; unsigned int fill4, fill5;
32 unsigned int values[14];
33 unsigned int mask, test;
45 extern struct s1 *get_cmap_procs (void **, void *);
46 int image_render_color (struct s4 *, unsigned char *, int, void *);
48 image_render_color (struct s4 *penum, unsigned char *buffer,
49 int data_x, void *dev)
51 struct s3 *clues = penum->clues;
52 void **pis = penum->pis;
54 struct s0 *pcs = penum->pcs;
55 struct s1 *cmap_procs = get_cmap_procs(pis, dev);
56 void (*map_4)(short, void *, void **, void *) =
57 (penum->alpha ? cmap_procs->map_rgb_alpha : cmap_procs->map_cmyk);
58 unsigned int mask = penum->mask_color.mask;
59 unsigned int test = penum->mask_color.test;
60 struct s3 *pic_next = &clues[1];
62 unsigned char *psrc = buffer + data_x * spp;
65 pnext = penum->dda.pixel0;
66 __builtin_memset (&v, 0, sizeof(v));
67 (*(pcs)->init_color) (0, 0);
73 if ((buffer[0] & mask) == test && penum->mask_color.exact)
74 pic_next->dev_color = 0;
75 (*map_4)(v[0], &pic_next->dev_color, pis, dev);