Home
last modified time | relevance | path

Searched +full:- +full:j (Results 1 – 25 of 1092) sorted by relevance

12345678910>>...44

/openbmc/entity-manager/test/entity_manager/
H A Dtest_entity-manager.cpp15 nlohmann::json j = {{"foo", "$bus"}}; in TEST() local
16 auto it = j.begin(); in TEST()
23 EXPECT_EQ(expected, j["foo"]); in TEST()
28 nlohmann::json j = {{"foo", "$TEST"}}; in TEST() local
29 auto it = j.begin(); in TEST()
36 EXPECT_EQ(expected, j["foo"]); in TEST()
41 nlohmann::json j = {{"foo", "the $TEST"}}; in TEST() local
42 auto it = j.begin(); in TEST()
49 EXPECT_EQ(expected, j["foo"]); in TEST()
54 nlohmann::json j in TEST() local
67 nlohmann::json j = {{"foo", "the Test $TEST"}}; TEST() local
80 nlohmann::json j = {{"foo", "3 plus 1 equals $TEST + 1"}}; TEST() local
93 nlohmann::json j = {{"foo", "3 minus 1 equals $TEST - 1 !"}}; TEST() local
106 nlohmann::json j = {{"foo", "3 mod 2 equals $TEST % 2"}}; TEST() local
119 nlohmann::json j = {{"foo", "3 * 2 equals $TEST * 2"}}; TEST() local
132 nlohmann::json j = {{"foo", "4 / 2 equals $TEST / 2"}}; TEST() local
145 nlohmann::json j = {{"foo", "4 * 2 % 6 equals $TEST * 2 % 6"}}; TEST() local
158 nlohmann::json j = {{"foo", "$FOO $BAR"}}; TEST() local
172 nlohmann::json j = {{"foo", "4 / 2 equals $TEST / 2 $BAR"}}; TEST() local
185 nlohmann::json j = {{"foo", "4 / 2 equals $ADDRESS / 2 $BAR"}}; TEST() local
199 nlohmann::json j = {{"Address", "0x54"}, TEST() local
220 nlohmann::json j = {{"foo", "twelve is $TEST"}}; TEST() local
233 nlohmann::json j = {{"foo", "0x54"}}; TEST() local
245 nlohmann::json j = R"("foo")"_json; TEST() local
252 nlohmann::json j = R"("foo*")"_json; TEST() local
259 nlohmann::json j = R"("foobar")"_json; TEST() local
266 nlohmann::json j = R"("foo[")"_json; TEST() local
273 nlohmann::json j = R"("foo(?!bar)...foo")"_json; TEST() local
282 nlohmann::json j = R"("0")"_json; TEST() local
289 nlohmann::json j = R"("1")"_json; TEST() local
296 nlohmann::json j = R"("11")"_json; TEST() local
303 nlohmann::json j = R"("false")"_json; TEST() local
310 nlohmann::json j = R"("true")"_json; TEST() local
317 nlohmann::json j = R"("false")"_json; TEST() local
324 nlohmann::json j = R"("255")"_json; TEST() local
331 nlohmann::json j = R"("65535")"_json; TEST() local
338 nlohmann::json j = R"("false")"_json; TEST() local
345 nlohmann::json j = R"("true")"_json; TEST() local
352 nlohmann::json j = R"("11")"_json; TEST() local
359 nlohmann::json j = R"("-11")"_json; TEST() local
366 nlohmann::json j = R"("1*4")"_json; TEST() local
373 nlohmann::json j = R"("foo")"_json; TEST() local
380 nlohmann::json j = R"("123.4")"_json; TEST() local
387 nlohmann::json j = R"("-123.4")"_json; TEST() local
394 nlohmann::json j = R"("-123.4")"_json; TEST() local
401 nlohmann::json j = R"(false)"_json; TEST() local
408 nlohmann::json j = R"(true)"_json; TEST() local
415 nlohmann::json j = R"(false)"_json; TEST() local
422 nlohmann::json j = R"(true)"_json; TEST() local
429 nlohmann::json j = R"(true)"_json; TEST() local
436 nlohmann::json j = R"(true)"_json; TEST() local
443 nlohmann::json j = R"(false)"_json; TEST() local
450 nlohmann::json j = R"(false)"_json; TEST() local
457 nlohmann::json j = R"(true)"_json; TEST() local
464 nlohmann::json j = R"(true)"_json; TEST() local
471 nlohmann::json j = R"(false)"_json; TEST() local
478 nlohmann::json j = R"(false)"_json; TEST() local
485 nlohmann::json j = R"(false)"_json; TEST() local
492 nlohmann::json j = R"(true)"_json; TEST() local
499 nlohmann::json j = R"(true)"_json; TEST() local
506 nlohmann::json j = R"(11)"_json; TEST() local
513 nlohmann::json j = R"(1)"_json; TEST() local
520 nlohmann::json j = R"(0)"_json; TEST() local
527 nlohmann::json j = R"(11)"_json; TEST() local
534 nlohmann::json j = R"(11)"_json; TEST() local
541 nlohmann::json j = R"(65535)"_json; TEST() local
548 nlohmann::json j = R"(11)"_json; TEST() local
555 nlohmann::json j = R"(11)"_json; TEST() local
562 nlohmann::json j = R"(11)"_json; TEST() local
569 nlohmann::json j = R"(11)"_json; TEST() local
576 nlohmann::json j = R"(11)"_json; TEST() local
583 nlohmann::json j = R"(-11)"_json; TEST() local
590 nlohmann::json j = R"(-1)"_json; TEST() local
597 nlohmann::json j = R"(-11)"_json; TEST() local
604 nlohmann::json j = R"(-11)"_json; TEST() local
611 nlohmann::json j = R"(-124)"_json; TEST() local
618 nlohmann::json j = R"(-11)"_json; TEST() local
625 nlohmann::json j = R"(-11)"_json; TEST() local
632 nlohmann::json j = R"(-11)"_json; TEST() local
639 nlohmann::json j = R"(-11)"_json; TEST() local
646 nlohmann::json j = R"(0.0)"_json; TEST() local
653 nlohmann::json j = R"(0.0)"_json; TEST() local
660 nlohmann::json j = R"(1.0)"_json; TEST() local
667 nlohmann::json j = R"(-124.0)"_json; TEST() local
674 nlohmann::json j = R"(-124.0)"_json; TEST() local
681 nlohmann::json j = R"(124.7)"_json; TEST() local
687 nlohmann::json j = R"(-124.2)"_json; TEST() local
694 nlohmann::json j = R"(-124.3)"_json; TEST() local
701 nlohmann::json j = R"(-11.0)"_json; TEST() local
708 nlohmann::json j = R"(-11.2)"_json; TEST() local
715 nlohmann::json j = R"([1, 2])"_json; TEST() local
722 nlohmann::json j = R"([1, 2])"_json; TEST() local
729 nlohmann::json j = R"([1, 2])"_json; TEST() local
736 nlohmann::json j = R"([1, 2])"_json; TEST() local
743 nlohmann::json j = R"([1, 2])"_json; TEST() local
750 nlohmann::json j = R"([1, 2])"_json; TEST() local
757 nlohmann::json j = R"([1, 2])"_json; TEST() local
764 nlohmann::json j = R"([1, 2, 3])"_json; TEST() local
771 nlohmann::json j = R"([1, 2])"_json; TEST() local
778 nlohmann::json j = R"([])"_json; TEST() local
785 nlohmann::json j = R"([])"_json; TEST() local
792 nlohmann::json j = R"([1])"_json; TEST() local
799 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local
806 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local
813 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local
820 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local
827 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local
834 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local
841 nlohmann::json j = R"({"foo": "bar"})"_json; TEST() local
848 nlohmann::json j = R"(null)"_json; TEST() local
855 nlohmann::json j = R"(null)"_json; TEST() local
862 nlohmann::json j = R"(null)"_json; TEST() local
869 nlohmann::json j = R"(null)"_json; TEST() local
876 nlohmann::json j = R"(null)"_json; TEST() local
883 nlohmann::json j = R"(null)"_json; TEST() local
890 nlohmann::json j = R"(null)"_json; TEST() local
[all...]
/openbmc/u-boot/drivers/dma/
H A Dkeystone_nav.c1 // SPDX-License-Identifier: GPL-2.0+
5 * (C) Copyright 2012-2014
10 #include <asm/ti-common/keystone_nav.h>
30 * We are going to use only one type of descriptors - host packet
39 int j, num; in num_of_desc_to_reg() local
41 for (j = 0, num = 32; j < 15; j++, num *= 2) { in num_of_desc_to_reg()
43 return j; in num_of_desc_to_reg()
51 u32 j; in _qm_init() local
55 qm_cfg->mngr_cfg->link_ram_base0 = qm_cfg->i_lram; in _qm_init()
56 qm_cfg->mngr_cfg->link_ram_size0 = HDESC_NUM * 8 - 1; in _qm_init()
[all …]
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/
H A D0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch2 From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
14 Upstream-Status: Submitted [1]
18 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
19 ---
20 src/synth/fluid_synth.c | 69 ++++++++++++++++++++++++++++-------------
21 1 file changed, 48 insertions(+), 21 deletions(-)
23 diff --git a/src/synth/fluid_synth.c b/src/synth/fluid_synth.c
[all …]
/openbmc/u-boot/lib/
H A Drc4.c1 // SPDX-License-Identifier: GPL-2.0+
5 * (C) Copyright 2008-2014 Rockchip Electronics
18 unsigned short i, j, t; in rc4_encode() local
21 j = 0; in rc4_encode()
24 j &= 0x0f; in rc4_encode()
25 k[i] = key[j]; in rc4_encode()
26 j++; in rc4_encode()
29 j = 0; in rc4_encode()
31 j = (j + s[i] + k[i]) % 256; in rc4_encode()
33 s[i] = s[j]; in rc4_encode()
[all …]
/openbmc/u-boot/drivers/crypto/
H A Daspeed_acry.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 #include <u-boot/rsa-mod-exp.h>
55 int i, j; in aspeed_acry_mod_exp() local
63 return -ENOMEM; in aspeed_acry_mod_exp()
67 ptr = (u8 *)prop->public_exponent; in aspeed_acry_mod_exp()
68 for (i = prop->exp_len - 1, j = 0; i >= 0; --i) { in aspeed_acry_mod_exp()
69 ctx[j] = ptr[i]; in aspeed_acry_mod_exp()
70 j++; in aspeed_acry_mod_exp()
71 j = (j % 16) ? j : j + 32; in aspeed_acry_mod_exp()
74 ptr = (u8 *)prop->modulus; in aspeed_acry_mod_exp()
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/ltp/ltp/
H A D0001-kernel-kvm-don-t-hardcode-objcopy.patch11 objcopy: Unable to recognise the format of the input file `kvm_svm03-payload.elf'
12 make[3]: *** [ltp/testcases/kernel/kvm/Makefile:67: kvm_svm03-payload.o] Error 1
15 host-prefixed in cross builds) and using that instead.
17 Upstream-Status: Backport [a3942c0a5f9b4463e8320e80cd8522a2e008bfd2]
18 Signed-off-by: Ross Burton <ross.burton@arm.com>
19 ---
22 testcases/kernel/kvm/Makefile | 4 ++--
23 3 files changed, 4 insertions(+), 2 deletions(-)
25 diff --git a/configure.ac b/configure.ac
27 --- a/configure.ac
[all …]
/openbmc/phosphor-pid-control/sensors/
H A Dbuildjson.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
33 void from_json(const json& j, conf::SensorConfig& s) in from_json() argument
35 j.at("type").get_to(s.type); in from_json()
36 j.at("readPath").get_to(s.readPath); in from_json()
39 auto writePath = j.find("writePath"); in from_json()
40 if (writePath == j.end()) in from_json()
46 j.at("writePath").get_to(s.writePath); in from_json()
49 /* Default to not ignore dbus MinValue/MaxValue - only used by passive in from_json()
58 auto ignore = j.find("ignoreDbusMinMax"); in from_json()
59 if (ignore != j.end()) in from_json()
[all …]
/openbmc/u-boot/arch/arm/
H A Dconfig.mk1 # SPDX-License-Identifier: GPL-2.0+
3 # (C) Copyright 2000-2002
14 CFLAGS_NON_EFI := -fno-pic -ffixed-r9 -ffunction-sections -fdata-sections
15 CFLAGS_EFI := -fpic -fshort-wchar
17 LDFLAGS_FINAL += --gc-sections
18 PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections \
19 -fno-common -ffixed-r9
20 PLATFORM_RELFLAGS += $(call cc-option, -msoft-float) \
21 $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
24 LLVM_RELFLAGS := $(call cc-option,-mllvm,) \
[all …]
/openbmc/u-boot/examples/standalone/
H A Dsmc91111_eeprom.c1 // SPDX-License-Identifier: GPL-2.0+
7 * - Wolfgang Denk, DENX Software Engineering, wd@denx.de
8 * Das U-Boot
9 * - Ladislav Michl ladis@linux-mips.org
10 * A rejected patch on the U-Boot mailing list
36 int c, i, j, done, line, reg, value, start, what; in smc91111_eeprom() local
46 printf ("Actual U-Boot ABI version %d\n", in smc91111_eeprom()
75 c -= ('a' - 'A'); in smc91111_eeprom()
88 case 0x03: /* ^C - break */ in smc91111_eeprom()
96 case 0x08: /* ^H - backspace */ in smc91111_eeprom()
[all …]
/openbmc/u-boot/tools/
H A Dfile2include.c1 // SPDX-License-Identifier: GPL-2.0+
11 * is separated into strings of 8 bytes. Only the non-zero strings
30 size_t count, i, j; in main() local
64 printf("/* SPDX-License-Identifier: GPL-2.0+ */\n"); in main()
66 printf(" * Non-zero %u byte strings of a disk image\n", BLOCK_SIZE); in main()
75 for (j = i; j < i + BLOCK_SIZE && j < count; ++j) { in main()
76 if (buf[j]) in main()
82 for (j = i; j < i + BLOCK_SIZE && j < count; ++j) in main()
83 printf("\\x%02x", buf[j]); in main()
85 for (j = i; j < i + BLOCK_SIZE && j < count; ++j) { in main()
[all …]
/openbmc/u-boot/arch/arc/cpu/arcv1/
H A Divt.S1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
10 j _start /* 0 - 0x000 */
11 j memory_error /* 1 - 0x008 */
12 j instruction_error /* 2 - 0x010 */
16 j interrupt_handler /* 3:31 - 0x018:0xF8 */
19 j EV_MachineCheck /* 0x100, Fatal Machine check (0x20) */
20 j EV_TLBMissI /* 0x108, Intruction TLB miss (0x21) */
21 j EV_TLBMissD /* 0x110, Data TLB miss (0x22) */
22 j EV_TLBProtV /* 0x118, Protection Violation (0x23)
[all …]
/openbmc/qemu/tests/tcg/s390x/
H A Dlong-double.c3 * With small integral numbers, we can cross-check with integers.
10 int i, j; in main() local
13 for (j = 1; j < 5; j++) { in main()
14 long double la = (long double)i + j; in main()
15 long double lm = (long double)i * j; in main()
16 long double ls = (long double)i - j; in main()
18 assert(la == i + j); in main()
19 assert(lm == i * j); in main()
20 assert(ls == i - j); in main()
/openbmc/u-boot/lib/bzip2/
H A Dbzlib_blocksort.c2 /*-------------------------------------------------------------*/
3 /*--- Block sorting machinery ---*/
4 /*--- blocksort.c ---*/
5 /*-------------------------------------------------------------*/
7 /*--
9 library for lossless, block-sorting data compression.
11 Copyright (C) 1996-2002 Julian R Seward. All rights reserved.
47 Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
60 --*/
64 /*---------------------------------------------*/
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-int128.c5 * See the COPYING.LIB file in the top-level directory.
32 #define MIDDLE (-1ULL & ~LOW & ~HIGH)
49 int i, j; in test_and() local
52 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_and()
54 Int128 b = expand(tests[j]); in test_and()
55 Int128 r = expand(tests[i] & tests[j]); in test_and()
65 int i, j; in test_add() local
68 for (j = 0; j < ARRAY_SIZE(tests); ++j) { in test_add()
70 Int128 b = expand(tests[j]); in test_add()
71 Int128 r = expand(tests[i] + tests[j]); in test_add()
[all …]
H A Dtest-crypto-hmac.c11 * top-level directory.
102 size_t j; in test_hmac_alloc() local
104 if (!qcrypto_hmac_supports(data->alg)) { in test_hmac_alloc()
108 exp_output = data->hex_digest; in test_hmac_alloc()
110 hmac = qcrypto_hmac_new(data->alg, (const uint8_t *)KEY, in test_hmac_alloc()
119 for (j = 0; j < resultlen; j++) { in test_hmac_alloc()
120 g_assert(exp_output[j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hmac_alloc()
121 g_assert(exp_output[j * 2 + 1] == hex[result[j] & 0xf]); in test_hmac_alloc()
141 size_t j; in test_hmac_prealloc() local
143 if (!qcrypto_hmac_supports(data->alg)) { in test_hmac_prealloc()
[all …]
/openbmc/qemu/target/riscv/
H A Dvcrypto_helper.c2 * RISC-V Vector Crypto Extension Helpers for QEMU.
21 #include "qemu/host-utils.h"
26 #include "crypto/aes-round.h"
29 #include "exec/helper-proto.h"
36 for (int j = 63; j >= 0; j--) { in clmul64() local
37 if ((y >> j) & 1) { in clmul64()
38 result ^= (x << j); in clmul64()
47 for (int j = 63; j >= 1; j--) { in clmulh64() local
48 if ((y >> j) & 1) { in clmulh64()
49 result ^= (x >> (64 - j)); in clmulh64()
[all …]
/openbmc/openbmc-tools/dbus-vis/
H A Dipmi_parse.js1 // This file parses ASCII text-encoded dbus message dump.
5 if (i0 == -1) {
6 return BigInt(-1);
10 if (i1 == -1) {
11 return BigInt(-1);
13 let line2 = line1.substr(5, i1 - 5);
21 if (i0 == -1) {
26 if (i1 == -1) {
29 let line2 = line1.substr(N, i1 - N);
49 if (idx != -1) {
[all …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_event_groups.c1 // SPDX-License-Identifier: GPL-2.0+
46 boottime = systable->boottime; in setup()
63 size_t i, j; in execute() local
67 ret = boottime->create_event_ex(0, TPL_NOTIFY, in execute()
77 ret = boottime->signal_event(events[i]); in execute()
82 for (j = 0; j < GROUP_SIZE; ++j) { in execute()
83 if (counter[j] != i) { in execute()
84 efi_st_printf("i %u, j %u, count %u\n", in execute()
85 (unsigned int)i, (unsigned int)j, in execute()
86 (unsigned int)counter[j]); in execute()
[all …]
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/flite/flite/
H A D0001-Remove-defining-const-as-nothing.patch3 Date: Tue, 2 Jul 2024 21:41:24 -0700
10 | /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/flite/2.2/recipe-sysroot/usr/include/bits/stdl…
13 | /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/flite/2.2/recipe-sysroot/usr/include/bits/stdl…
16 | /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/flite/2.2/recipe-sysroot/usr/include/bits/stdl…
19 | /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/flite/2.2/recipe-sysroot/usr/include/bits/stdl…
22 | /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/flite/2.2/recipe-sysroot/usr/include/bits/stdl…
31 Upstream-Status: Submitted [https://github.com/festvox/flite/pull/112]
32 Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 ---
34 tools/find_sts_main.c | 11 ++++-------
[all …]
/openbmc/u-boot/lib/libavb/
H A Davb_sha512.c1 // SPDX-License-Identifier: BSD-3-Clause
6 * FIPS 180-2 SHA-224/256/384/512 implementation
14 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n)))
15 #define ROTL(x, n) ((x << n) | (x >> ((sizeof(x) << 3) - n)))
56 { w[i] = SHA512_F4(w[i - 2]) + w[i - 7] + SHA512_F3(w[i - 15]) + w[i - 16]; }
58 #define SHA512_EXP(a, b, c, d, e, f, g, h, j) \ argument
60 t1 = wv[h] + SHA512_F2(wv[e]) + CH(wv[e], wv[f], wv[g]) + sha512_k[j] + \
61 w[j]; \
105 /* SHA-512 implementation */
109 ctx->h[0] = sha512_h0[0]; in avb_sha512_init()
[all …]
/openbmc/qemu/tests/tcg/multiarch/
H A Dfloat_madds.c6 * SPDX-License-Identifier: GPL-2.0-or-later
53 static void print_result(float r, int j, int k) in print_result() argument
60 printf("res: %s flags=%s (%d/%d)\n", r_fmt, flag_fmt, j, k); in print_result()
66 static void do_madds(float a, float b, float c, int j, int k) in do_madds() argument
75 print_result(r, j, k); in do_madds()
80 int i, j, k, nums = get_num_f32(); in main() local
89 for (j = 0; j < nums; j++) { in main()
91 a = get_f32(j + ((k)%3)); in main()
92 b = get_f32(j + ((k+1)%3)); in main()
93 c = get_f32(j + ((k+2)%3)); in main()
[all …]
/openbmc/qemu/tcg/loongarch64/
H A Dtcg-insn-defs.c.inc1 /* SPDX-License-Identifier: MIT */
5 * This file is auto-generated by genqemutcgdefs from
6 * https://github.com/loongson-community/loongarch-opcodes,
555 encode_dj_slots(LoongArchInsn opc, uint32_t d, uint32_t j)
557 return opc | d | j << 5;
561 encode_djk_slots(LoongArchInsn opc, uint32_t d, uint32_t j, uint32_t k)
563 return opc | d | j << 5 | k << 10;
567 encode_djka_slots(LoongArchInsn opc, uint32_t d, uint32_t j, uint32_t k,
570 return opc | d | j << 5 | k << 10 | a << 15;
574 encode_djkm_slots(LoongArchInsn opc, uint32_t d, uint32_t j, uint32_t k,
[all …]
/openbmc/qemu/tests/tcg/hexagon/
H A Dhvx_misc.h2 * Copyright(c) 2021-2023 Qualcomm Innovation Center, Inc. All Rights Reserved.
21 static inline void check(int line, int i, int j, in check() argument
26 line, i, j, result, expect); in check()
58 for (int j = 0; j < MAX_VEC_SIZE_BYTES / FIELDSZ; j++) { \
59 check(line, i, j, output[i].FIELD[j], expect[i].FIELD[j]); \
74 for (int j = 0; j < MAX_VEC_SIZE_BYTES; j++) { in init_buffers() local
75 buffer0[i].b[j] = counter0++; in init_buffers()
76 buffer1[i].b[j] = counter1++; in init_buffers()
78 for (int j = 0; j < MAX_VEC_SIZE_BYTES / 4; j++) { in init_buffers() local
79 mask[i].w[j] = (i + j % MASKMOD == 0) ? 0 : 1; in init_buffers()
[all …]
/openbmc/qemu/target/loongarch/tcg/
H A Dvec_helper.c1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (c) 2022-2023 Loongson Technology Corporation Limited
10 #include "exec/helper-proto.h"
15 #include "tcg/tcg-gvec-desc.h"
24 typedef __typeof(Vd->E1(0)) TD; \
28 Vd->E1(i) = DO_OP((TD)Vj->E2(2 * i + 1), (TD)Vk->E2(2 * i)); \
45 Vd->Q(i) = int128_add(int128_makes64(Vj->D(2 * i + 1)), in HELPER()
46 int128_makes64(Vk->D(2 * i))); in HELPER()
63 Vd->Q(i) = int128_sub(int128_makes64(Vj->D(2 * i + 1)), in HELPER()
64 int128_makes64(Vk->D(2 * i))); in HELPER()
[all …]
/openbmc/u-boot/arch/arc/lib/
H A Dints_low.S1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved.
9 * Note on the LD/ST addressing modes with address register write-back
21 st.a \reg, [%sp, -4]
57 /* saving %r0 to reg->r0 in advance since we read %ecr into it */
58 st %r0, [%sp, -8]
61 st %sp, [%sp, -4]
62 /* now move %sp to reg->r0 position so we can do "push" automatically */
92 j do_memory_error
99 j do_instruction_error
[all …]

12345678910>>...44