PRID_IMP_MASK
if ((read_c0_prid() & PRID_IMP_MASK) != PRID_IMP_BMIPS3300_ALT)
switch (prid & PRID_IMP_MASK) {
andi t1, t0, PRID_IMP_MASK
andi t0, (PRID_IMP_MASK | PRID_REV_MASK)
andi t1, t0, PRID_IMP_MASK
andi t0, (PRID_IMP_MASK | PRID_REV_MASK)
andi s0, s0, (PRID_IMP_MASK | PRID_REV_MASK)
return ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G);
switch (c->processor_id & PRID_IMP_MASK) {
switch (c->processor_id & PRID_IMP_MASK) {
switch (c->processor_id & PRID_IMP_MASK) {
switch (c->processor_id & PRID_IMP_MASK) {
switch (c->processor_id & PRID_IMP_MASK) {
switch (c->processor_id & PRID_IMP_MASK) {
switch (c->processor_id & PRID_IMP_MASK) {
if ((c->processor_id & PRID_IMP_MASK) == PRID_IMP_BMIPS5200)
switch (c->processor_id & PRID_IMP_MASK) {
switch (c->processor_id & PRID_IMP_MASK) {
switch (c->processor_id & PRID_IMP_MASK) {
switch (c->processor_id & (PRID_COMP_MASK | PRID_IMP_MASK)) {
if ((c->processor_id & (PRID_IMP_MASK | PRID_REV_MASK)) >=
(c->processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R)
if ((boot_cpu_data.processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64C)
if ((boot_cpu_data.processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G)
switch (c->processor_id & (PRID_IMP_MASK | PRID_REV_MASK)) {
return ((c->processor_id & PRID_IMP_MASK) ==
is_loongson64g = (read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G;
if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64C) {
} else if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) {
} else if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G) {
if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R)
prid_imp = read_c0_prid() & PRID_IMP_MASK;
if ((c->processor_id & (PRID_IMP_MASK | PRID_REV_MASK)) >=
(c->processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R)
if ((prid & PRID_IMP_MASK) == PRID_IMP_R4000 &&
if ((c->processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R)
unsigned int imp = c->processor_id & PRID_IMP_MASK;
unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK);
switch (read_c0_prid() & PRID_IMP_MASK) {