From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,628afa58b6997601 X-Google-Attributes: gid1164f8,public From: Chen Shiping Subject: Question? Date: 1996/12/31 Message-ID: <32C8A1EC.41C6@neumann.une.edu.au>#1/1 X-Deja-AN: 206887301 references: <594m26$604@fish.vf.pond.com> <59eav2$dcq@news2.noc.netcom.net> cc: shiping content-type: text/plain; charset=us-ascii organization: University of New England mime-version: 1.0 newsgroups: comp.sys.dec x-mailer: Mozilla 3.0 (X11; I; OSF1 V3.2 alpha) Can anyone tell me how to calculate the block address of a vairble from its address on DEC Alph 3000/500 workstation. For example, 'addr' is address of a[i][j], i.e. addr = &a[i][j]; Let the block size ( cache line size) be 32 bytes. The problem is how to know the block address of the a[i][j] from 'addr' or somehow. Thanks in advance! _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Shiping Chen Department of Mathematics, Statistics and Computer Science University of New England (UNE) Armidale, NSW 2351 Australia Email: shiping@cs.une.edu.au /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/