iquant.h 1.4 KB
 #
 # iquant.h
 #
 # Local definitions for inverse quantization
 #


#define	SCALE		0
#define	SCALE2		1
#define	QUANT		5
#define QUANT_LOAD	(QUANT*2)
#define	SHIFT_R		6
#define	SHIFT_L		7

  
   ###   Register Usage  ###

  ###   1. Vector Registers     ###
        .name   qmat_r0,        $v4
        .name   qmat_r1,        $v5
        .name   qmat_r2,        $v6     
        .name   qmat_r3,        $v7
        .name   qmat_r4,        $v8     
        .name   qmat_r5,        $v9
        .name   qmat_r6,        $v10     
        .name   qmat_r7,        $v11
                
        .name   in_r0,          $v12
        .name   in_r1,          $v13
        .name   in_r2,          $v14
        .name   in_r3,          $v15
        .name   in_r4,          $v16
        .name   in_r5,          $v17
        .name   in_r6,          $v18
        .name   in_r7,          $v19

        .name   out_r0,         $v20
        .name   out_r1,         $v21
        .name   out_r2,         $v22
        .name   out_r3,         $v23
        .name   out_r4,         $v24
        .name   out_r5,         $v25
        .name   out_r6,         $v26
        .name   out_r7,         $v27

        .name   dc,             $v29
        .name   qscale,         $v30
        .name   vconsts,        $v31


  ###   Scalar Registers        ###

	.name	dummy,		$20
	.name   consts_addr,	$21
        .name   qmat_addr,      $22