United States Patent 6,134,650
Zuraski, Jr., et. al. Oct. 17, 2000

Apparatus and method for predicting a first scanned instruction as microcode instruction prior to scanning predecode data

Abstract

A superscalar microprocessor predecodes instruction data to identify the boundaries of instructions and the type of instruction. When the cache line is scanned for dispatch, the first scanned instruction is predicted to be a microcode instruction and is dispatched to the MROM unit. A microcode scan circuit uses the location of the first scanned instruction and the functional bits of the predecode data to multiplex instruction specific bytes of the first scanned instruction to the MROM unit. If the first scanned instruction is not the first microcode instruction, then in a subsequent clock cycle, the first microcode instruction is dispatched the MROM unit and the mispredicted instruction is canceled.


Inventors: Zuraski, Jr.; Gerald D. (Austin, TX); Southard; Shane (Cedar Park, TX); Calle; Mauricio (Austin, TX).
Assignee: Advanced Micro Devices, Inc. (Sunnyvale, CA).
Appl. No.: 989,262
Filed: Dec. 12, 1997
Intl. Cl. : G06F 9/38
Current U.S. Cl.: 712/213; 712/210; 712/212
Field of Search: 712/213, 210, 212, 204

References Cited | [Referenced By]


U.S. Patent Documents

4,241,397 Dec., 1980 Strecker et al. 711/220
4,853,849 Aug., 1989 Bain, Jr. et al. 711/202
5,133,072 Jul., 1992 Buzbee 395/709
5,222,244 Jun., 1993 Carbine et al. 395/800.41
5,408,674 Apr., 1995 Norrie et al. 712/208
5,438,668 Aug., 1995 Coon et al. 712/204
5,537,338 Jul., 1996 Coelho 709/204
5,537,629 Jul., 1996 Brown et al. 712/210
5,581,718 Dec., 1996 Grochowski 712/206
5,630,082 May, 1997 Yao et al. 712/213
5,630,083 May, 1997 Carbine et al. 712/212
5,638,525 Jun., 1997 Hammond et al. 395/385
5,689,672 Nov., 1997 Witt et al. 712/213
5,740,392 Apr., 1998 Brennan 712/210
5,751,981 May, 1998 Witt et al. 712/204
5,822,560 Oct., 1998 Pflum 395/390
5,828,873 Oct., 1998 Lynch 395/563
5,867,680 Feb., 1999 Narayan et al. 395/380

Foreign Patent Documents

0651322A1 May, 1995 EP  

Primary Examiner: An; Meng-Ai T.
Assistant Examiner: Patel; Gautam R.
Attorney, Agent or Firm: Conley, Rose & Tayon, P.C.Merkel; Lawrence J.
17 Claims, 15 Drawing Figures


Last Updated : Sun Mar 9 23:19:03 EST 2008

Back to Jerry Z's Home Page
Mail to jerryz@fishzee.com