In one embodiment, the invention is directed to a match circuit for
implementation in a general purpose performance counter ("GPPC")
connected to a bus carrying debug data. The match circuit comprises logic
for activating a match signal when a selected N-bit portion of the debug
data matches an N-bit threshold for all bits selected by an N-bit match
mask ("mmask").