# HG changeset patch # User romansh # Date 1090613444 0 # Node ID fd1665b9093cb20050afdac670e8567a4c007d5a # Parent 9a481659d7cb9a82b02aae724a101d25185b5292 * patch from James Morrison (getting rid of broken code) diff -r 9a481659d7cb -r fd1665b9093c sparc/dsputil_vis.c --- a/sparc/dsputil_vis.c Thu Jul 22 18:55:36 2004 +0000 +++ b/sparc/dsputil_vis.c Fri Jul 23 20:10:44 2004 +0000 @@ -3986,21 +3986,6 @@ /* End of no rounding code */ -void get_pixels_vis(uint8_t *restrict dest, const uint8_t *_ref, int stride) -{ - int i; - uint8_t *ref = (uint8_t*)_ref; - ref = vis_alignaddr(ref); - - for (i = 0; i < 8; i++) - { - vis_ld64(ref[0], TMP0); - vis_st64(TMP0, dest[0]); - dest += 8; - ref += stride; - } -} - static sigjmp_buf jmpbuf; static volatile sig_atomic_t canjump = 0; @@ -4061,7 +4046,6 @@ int accel = vis_level (); if (accel & ACCEL_SPARC_VIS) { - c->get_pixels = get_pixels_vis; c->put_pixels_tab[0][0] = MC_put_o_16_vis; c->put_pixels_tab[0][1] = MC_put_x_16_vis; c->put_pixels_tab[0][2] = MC_put_y_16_vis;