Lines Matching refs:CPU_NB_REGS
511 #define NUM_CORE_REGS (CPU_NB_REGS * 2 + 25)
515 if (n < CPU_NB_REGS) { in cpu_gdb_read_register()
517 } else if (n >= CPU_NB_REGS + 8 && n < CPU_NB_REGS + 16) { in cpu_gdb_read_register()
520 memcpy(mem_buf, &env->fpregs[n - (CPU_NB_REGS + 8)], 10); in cpu_gdb_read_register()
525 } else if (n >= CPU_NB_REGS + 24) { in cpu_gdb_read_register()
526 n -= CPU_NB_REGS + 24; in cpu_gdb_read_register()
527 if (n < CPU_NB_REGS) { in cpu_gdb_read_register()
531 } else if (n == CPU_NB_REGS) { in cpu_gdb_read_register()
535 n -= CPU_NB_REGS; in cpu_gdb_read_register()
564 if (i < CPU_NB_REGS) { in cpu_gdb_write_register()
567 } else if (i >= CPU_NB_REGS + 8 && i < CPU_NB_REGS + 16) { in cpu_gdb_write_register()
568 i -= CPU_NB_REGS + 8; in cpu_gdb_write_register()
573 } else if (i >= CPU_NB_REGS + 24) { in cpu_gdb_write_register()
574 i -= CPU_NB_REGS + 24; in cpu_gdb_write_register()
575 if (i < CPU_NB_REGS) { in cpu_gdb_write_register()
579 } else if (i == CPU_NB_REGS) { in cpu_gdb_write_register()
584 i -= CPU_NB_REGS; in cpu_gdb_write_register()