Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/include Fix insn field definitions for MD a...



details:   https://anonhg.NetBSD.org/src/rev/5f487f20cf06
branches:  trunk
changeset: 366508:5f487f20cf06
user:      rin <rin%NetBSD.org@localhost>
date:      Sun May 29 11:55:05 2022 +0000

description:
Fix insn field definitions for MD and MDS formats.

No one uses these yet.

diffstat:

 sys/arch/powerpc/include/instr.h |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 797940e8a3c3 -r 5f487f20cf06 sys/arch/powerpc/include/instr.h
--- a/sys/arch/powerpc/include/instr.h  Sun May 29 11:36:12 2022 +0000
+++ b/sys/arch/powerpc/include/instr.h  Sun May 29 11:55:05 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: instr.h,v 1.9 2020/07/15 08:58:51 rin Exp $ */
+/*     $NetBSD: instr.h,v 1.10 2022/05/29 11:55:05 rin Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -135,11 +135,10 @@
                u_int   i_opcd:6;
                u_int   i_rs:5;
                u_int   i_ra:5;
-               u_int   i_rb:5;
                int     i_sh1_5:5;
                int     i_mb:6;
                u_int   i_xo:3;
-               int     i_sh0:2;
+               int     i_sh0:1;
                u_int   i_rc:1;
        } i_md;
 
@@ -151,7 +150,6 @@
                u_int   i_rs:5;
                u_int   i_ra:5;
                u_int   i_rb:5;
-               int     i_sh:5;
                int     i_mb:6;
                u_int   i_xo:4;
                u_int   i_rc:1;



Home | Main Index | Thread Index | Old Index