Home
last modified time | relevance | path

Searched +full:loongson +full:- +full:2 +full:k (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Dloongson,eiointc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,eiointc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson Extended I/O Interrupt Controller
10 - Binbin Zhou <zhoubinbin@loongson.cn>
13 This interrupt controller is found on the Loongson-3 family chips and
14 Loongson-2K series chips and is used to distribute interrupts directly to
18 - $ref: /schemas/interrupt-controller.yaml#
23 - loongson,ls2k0500-eiointc
[all …]
/freebsd/crypto/openssl/crypto/md5/asm/
H A Dmd5-loongarch64.pl2 # Author: Min Zhou <zhoumin@loongson.cn>
3 # Copyright 2023-2025 The OpenSSL Project Authors. All Rights Reserved.
10 # Reference to crypto/md5/asm/md5-x86_64.pl
27 # dst = x + ((dst + F(x,y,z) + X[k] + T_i) <<< s)
37 # 32-bit immediate into a general register. Meanwhile, the instruction lu12i.w
38 # treats the 20-bit immediate as a signed number. So if the T_i_h is greater
43 # https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#_lu12i_w_lu32i_d_lu52i_d
45 $T_i_h = -((1<<32) - (0xfff00000 | $T_i_h)) if ($T_i_h >= (1<<19));
47 $code .= " ld.w $t0,$a1,0 /* (NEXT STEP) X[0] */\n" if ($pos == -1);
48 $code .= " xor $t1,$y,$z /* y ^ z */\n" if ($pos == -1);
[all …]
/freebsd/crypto/openssl/crypto/aes/asm/
H A Dvpaes-loongarch64.pl2 # Copyright 2015-2025 The OpenSSL Project Authors. All Rights Reserved.
10 ## Constant-time SSSE3 AES core implementation.
21 # Loongarch64 LSX adaptation by <zhuchen@loongson.cn>,
22 # <lujingfeng@loongson.cn> and <shichenlong@loongson.cn>
44 ## AES-encrypt %vr0.
48 ## %vr9-%vr15 as in _vpaes_preheat
52 ## Clobbers %vr1-%vr5, %r9, %r10, %r11, %t5
53 ## Preserves %vr6 - %vr8 so you get some local vectors
86 vxor.v $vr4,$vr4,$vr5 # 4 = sb1u + k
90 vld $vr1,$t0,-0x40
[all …]
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DLoongArch.cpp1 //===- LoongArch.cpp ------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
65 R_TP = 2,
75 // produces a PC-relative intermediate value with the lowest 12 bits zeroed (the
80 // Here a "page" is in fact just another way to refer to the 12-bit range
95 // (lu32i.d and lu52i.d). Compensate all the sign-extensions is a bit in getLoongArchPageDelta()
103 pcalau12i_pc = pc - 8; in getLoongArchPageDelta()
109 pcalau12i_pc = pc - 12; in getLoongArchPageDelta()
115 uint64_t result = getLoongArchPage(dest) - getLoongArchPage(pcalau12i_pc); in getLoongArchPageDelta()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/
H A Dvendor-prefixes.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/vendor-prefixes.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
19 "^(at25|bm|devbus|dmacap|dsa|exynos|fsi[ab]|gpio-fan|gpio-key|gpio|gpmc|hdmi|i2c-gpio),.*": true
21 "^(pinctrl-single|#pinctrl-single|PowerPC),.*": true
22 "^(pl022|pxa-mmc|rcar_sound|rotary-encoder|s5m8767|sdhci),.*": true
23 "^(simple-audio-card|st-plgpio|st-spics|ts),.*": true
50 "^active-semi,.*":
[all …]
/freebsd/crypto/openssl/crypto/chacha/asm/
H A Dchacha-loongarch64.pl2 # Author: Min Zhou <zhoumin@loongson.cn>
3 # Copyright 2023-2025 The OpenSSL Project Authors. All Rights Reserved.
20 # The saved floating-point registers in the LP64D ABI. In LoongArch
28 # Here is the 128-bit vector register layout for LSX extension.
34 # Here is the 256-bit vector register layout for LASX extension.
57 .ascii "expand 32-byte k"
59 .long 0,1,2,3,4,5,6,7
61 .long 0,1,2,3
69 # $a1 = arg #2 (inp pointer)
84 addi.d $sp,$sp,-64
[all …]
/freebsd/contrib/elftoolchain/readelf/
H A Dreadelf.c1 /*-
2 * Copyright (c) 2009-2015 Kai Wang
10 * 2. Redistributions in binary form must reproduce the above copyright
57 ELFTC_VCSID("$Id: readelf.c 3769 2019-06-29 15:15:02Z emaste $");
192 {"arch-specific", no_argument, NULL, 'A'},
193 {"archive-index", no_argument, NULL, 'c'},
194 {"debug-dump", optional_argument, NULL, OPTION_DEBUG_DUMP},
197 {"file-header", no_argument, NULL, 'h'},
198 {"full-section-name", no_argument, NULL, 'N'},
201 {"hex-dump", required_argument, NULL, 'x'},
[all …]
/freebsd/share/misc/
H A Dpci_vendors5 # Date: 2025-03-09 03:15:02
8 # the PCI ID Project at https://pci-ids.ucw.cz/.
14 # (version 2 or higher) or the 3-clause BSD License.
25 # device device_name <-- single tab
26 # subvendor subdevice subsystem_name <-- two tabs
30 # This is a relabelled RTL-8139
31 8139 AT-2500TX V3 Ethernet
32 0014 Loongson Technology LLC
41 7a09 PCI-to-PCI Bridge
51 7a19 PCI-to-PCI Bridge
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td1 //===--- Options.td - Options for clang -----------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
38 // The option is a "driver"-only option, and should not be forwarded to other
39 // tools via `-Xarch` options.
42 // LinkerInput - The option is a linker input.
45 // NoArgumentUnused - Don't report argument unused warnings for this option; this
46 // is useful for options like -static or -dynamic which a user may always end up
50 // Unsupported - The option is unsupported, and the driver will reject command
[all …]
/freebsd/sys/contrib/edk2/Include/Library/
H A DBaseLib.h3 functions, file path functions, and CPU architecture-specific functions.
5 Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
6 Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
9 Portions Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
10 Copyright (c) 2023 - 2024, Arm Limited. All rights reserved.<BR>
12 SPDX-License-Identifier: BSD-2-Clause-Patent
20 // Definitions for architecture-specific types
24 /// The IA-32 architecture context buffer used by SetJump() and LongJump().
56 UINT8 XmmBuffer[160]; ///< XMM6-XMM15.
220 /// The RISC-V architecture context buffer used by SetJump() and LongJump().
[all …]