Tue Jul 20 02:42:10 2021 UTC ()
Define the FIX float function codes (ITOFF, ITOFS, ITOFT).


(thorpej)
diff -r1.12 -r1.13 src/sys/arch/alpha/alpha/db_instruction.h

cvs diff -r1.12 -r1.13 src/sys/arch/alpha/alpha/db_instruction.h (expand / switch to unified diff)

--- src/sys/arch/alpha/alpha/db_instruction.h 2021/06/21 02:10:46 1.12
+++ src/sys/arch/alpha/alpha/db_instruction.h 2021/07/20 02:42:10 1.13
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: db_instruction.h,v 1.12 2021/06/21 02:10:46 thorpej Exp $ */ 1/* $NetBSD: db_instruction.h,v 1.13 2021/07/20 02:42:10 thorpej Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1999 Christopher G. Demetriou. All rights reserved. 4 * Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright 11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the 12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution. 13 * documentation and/or other materials provided with the distribution.
14 * 3. All advertising materials mentioning features or use of this software 14 * 3. All advertising materials mentioning features or use of this software
@@ -435,26 +435,31 @@ typedef union { @@ -435,26 +435,31 @@ typedef union {
435#define op_cpyse 0x022 435#define op_cpyse 0x022
436#define op_mt_fpcr 0x024 436#define op_mt_fpcr 0x024
437#define op_mf_fpcr 0x025 437#define op_mf_fpcr 0x025
438#define op_fcmoveq 0x02a 438#define op_fcmoveq 0x02a
439#define op_fcmovne 0x02b 439#define op_fcmovne 0x02b
440#define op_fcmovlt 0x02c 440#define op_fcmovlt 0x02c
441#define op_fcmovge 0x02d 441#define op_fcmovge 0x02d
442#define op_fcmovle 0x02e 442#define op_fcmovle 0x02e
443#define op_fcmovgt 0x02f 443#define op_fcmovgt 0x02f
444#define op_cvtql 0x030 444#define op_cvtql 0x030
445#define op_cvtql_v 0x130 445#define op_cvtql_v 0x130
446#define op_cvtql_sv 0x530 446#define op_cvtql_sv 0x530
447 447
 448 /* FIX FLOAT, "function" opcodes (bits 5..11) */
 449
 450#define op_itofs 0x004
 451#define op_itoff 0x014
 452#define op_itoft 0x024
448 453
449 /* ieee FLOAT, "function" opcodes (bits 5..11) */ 454 /* ieee FLOAT, "function" opcodes (bits 5..11) */
450 455
451#define op_adds_c 0x000 456#define op_adds_c 0x000
452#define op_subs_c 0x001 457#define op_subs_c 0x001
453#define op_muls_c 0x002 458#define op_muls_c 0x002
454#define op_divs_c 0x003 459#define op_divs_c 0x003
455#define op_addt_c 0x020 460#define op_addt_c 0x020
456#define op_subt_c 0x021 461#define op_subt_c 0x021
457#define op_mult_c 0x022 462#define op_mult_c 0x022
458#define op_divt_c 0x023 463#define op_divt_c 0x023
459#define op_cvtts_c 0x02c 464#define op_cvtts_c 0x02c
460#define op_cvttq_c 0x02f 465#define op_cvttq_c 0x02f