/freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3588-opp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 cluster0_opp_table: opp-table-cluster0 { 5 compatible = "operating-points-v2"; 6 opp-shared; 8 opp-1008000000 { 9 opp-hz = /bits/ 64 <1008000000>; 10 opp-microvolt = <675000 675000 950000>; 11 clock-latency-ns = <40000>; 13 opp-1200000000 { 14 opp-hz = /bits/ 64 <1200000000>; [all …]
|
H A D | rk3588j.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "rk3588-extra.dtsi" 10 cluster0_opp_table: opp-table-cluster0 { 11 compatible = "operating-points-v2"; 12 opp-shared; 14 opp-1416000000 { 15 opp-hz = /bits/ 64 <1416000000>; 16 opp-microvolt = <750000 750000 950000>; 17 clock-latency-ns = <40000>; 18 opp-suspend; [all …]
|
/freebsd/share/examples/ipfilter/rules/ |
H A D | BASIC.NAT | 1 #!/sbin/ipnat -f - 5 # ppp0 - (external) PPP connection to ISP, address a.b.c.d/32 7 # ed0 - (internal) network interface, address w.x.y.z/32 13 map ppp0 w.x.y.z/24 -> a.b.c.d/32 proxy port ftp ftp/tcp 17 map ppp0 w.x.y.z/24 -> a.b.c.d/32 portmap tcp/udp 40000:60000 18 map ppp0 w.x.y.z/24 -> a.b.c.d/32 22 #map ppp0 w.x.y.z/24 -> 0/32 portmap tcp/udp 40000:60000 23 #map ppp0 w.x.y.z/24 -> 0/32 28 #map ppp0 w.x.y.z/24 -> a.b.c.d/24 portmap tcp/udp 40000:60000 29 #map ppp0 w.x.y.z/24 -> a.b.c.d/24 [all …]
|
H A D | nat-setup | 19 +-+---------+------+ 28 Writing the map-rule. 29 --------------------- 41 map ppp0 10.1.0.0/16 -> 209.23.1.5/32 portmap tcp/udp 10000:40000 42 map ppp0 10.1.0.0/16 -> 209.23.1.5/32 portmap 46 map ppp0 10.1.0.0/16 -> 209.23.1.0/28 portmap tcp/udp 10000:40000 47 map ppp0 10.1.0.0/16 -> 209.23.1.0/28 portmap 51 map ppp0 10.1.1.0/24 -> 209.23.1.2/32 portmap tcp/udp 10000:40000 52 map ppp0 10.1.2.0/24 -> 209.23.1.3/32 portmap tcp/udp 10000:40000 53 map ppp0 10.1.3.0/24 -> 209.23.1.4/32 portmap tcp/udp 10000:40000 [all …]
|
/freebsd/contrib/netbsd-tests/ipf/expected/ |
H A D | n5 | 47 > zx0 ip #0 40(20) 6 10.2.2.2,1026 > 10.3.4.5,40000 48 < zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000 49 > zx0 ip #0 40(20) 6 10.2.2.2,1025 > 10.3.4.5,40000 50 < zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000 56 map zx0 10.1.1.1/32 -> 10.2.2.2/32 59 MAP 10.1.1.1 1025 <- -> 10.2.2.2 1025 [10.3.4.5 40000] 60 MAP 10.1.1.1 1026 <- -> 10.2.2.2 1026 [10.3.4.5 40000] 61 MAP 10.1.1.1 <- -> 10.2.2.2 [10.1.2.1] 62 MAP 10.1.1.1 1025 <- -> 10.2.2.2 1025 [10.1.1.2 1025] 63 MAP 10.1.1.1 1025 <- -> 10.2.2.2 1025 [10.1.1.1 1025] [all …]
|
H A D | n2 | 16 < zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000 17 < zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000 21 map zx0 10.1.1.1/32 -> 10.2.2.2/32 portmap tcp 10000:20000 sequential 24 MAP 10.1.1.1 1025 <- -> 10.2.2.2 10001 [10.1.1.2 1025] 25 MAP 10.1.1.1 1025 <- -> 10.2.2.2 10000 [10.1.1.1 1025] 28 10.1.1.1,10.1.1.2 -> 10.2.2.2,0.0.0.0 (use = 1) 29 10.1.1.1,10.1.1.1 -> 10.2.2.2,0.0.0.0 (use = 1) 43 ------------------------------- 59 < zx0 ip #0 40(20) 6 10.1.1.1,1026 > 10.3.4.5,40000 60 < zx0 ip #0 40(20) 6 10.1.1.1,1025 > 10.3.4.5,40000 [all …]
|
H A D | n2_6 | 16 < zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000 17 < zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,40000 21 map zx0 inet6 10:1:1::1/128 -> 10::2:2:2/128 portmap tcp 10000:20000 sequential 24 MAP 10:1:1::1 1025 <- -> 10::2:2:2 10001 [10:1:1::2 1025] 25 MAP 10:1:1::1 1025 <- -> 10::2:2:2 10000 [10:1:1::1 1025] 28 10:1:1::1,10:1:1::2 -> 10::2:2:2,any (use = 1) 29 10:1:1::1,10:1:1::1 -> 10::2:2:2,any (use = 1) 43 ------------------------------- 59 < zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000 60 < zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,40000 [all …]
|
H A D | n5_6 | 47 > zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,1026 > 10:0:0:0:0:3:4:5,40000 48 < zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1026 > 10:0:0:0:0:3:4:5,40000 49 > zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,1025 > 10:0:0:0:0:3:4:5,40000 50 < zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,1025 > 10:0:0:0:0:3:4:5,40000 56 map zx0 inet6 10:1:1::1/128 -> 10::2:2:2/128 59 MAP 10:1:1::1 1025 <- -> 10::2:2:2 1025 [10::3:4:5 40000] 60 MAP 10:1:1::1 1026 <- -> 10::2:2:2 1026 [10::3:4:5 40000] 61 MAP 10:1:1::1 <- -> 10::2:2:2 [10:1:2::1] 62 MAP 10:1:1::1 1025 <- -> 10::2:2:2 1025 [10:1:1::2 1025] 63 MAP 10:1:1::1 1025 <- -> 10::2:2:2 1025 [10:1:1::1 1025] [all …]
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/ |
H A D | erfcf_1u7.c | 2 * Single-precision erfc(x) function. 4 * Copyright (c) 2023-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 13 #define OneThird 0x1.555556p-2f 14 #define TwoThird 0x1.555556p-1f 16 #define TwoOverFifteen 0x1.111112p-3f 17 #define TwoOverFive 0x1.99999ap-2f 18 #define Tenth 0x1.99999ap-4f 24 Let d = x - r, and scale = 2 / sqrt(pi) * exp(-r^2). For x near r, 26 erfc(x) ~ erfc(r) - scale * d * poly(r, d), with [all …]
|
H A D | atan2f_3u.c | 2 * Single-precision scalar atan2(x) function. 4 * Copyright (c) 2021-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 17 #define PiOver4 (0x1.921fb6p-1f) 23 d for which P underflows, and is used to special-case such inputs. */ 33 /* Subnormal case - we still need to get the exponent right for subnormal in biased_exponent() 35 return ex - __builtin_clz (fi << 9); in biased_exponent() 42 atan2f(0x1.9332d8p+6, 0x1.8cb6c4p+6) got 0x1.964646p-1 43 want 0x1.964640p-1. */ 64 that we do not use +-tiny shifts (non-nearest rounding mode). */ in atan2f() [all …]
|
H A D | atan2_2u5.c | 2 * Double-precision scalar atan2(x) function. 4 * Copyright (c) 2021-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 17 #define PiOver4 (0x1.921fb54442d18p-1) 25 and d for which P underflows, and is used to special-case such inputs. */ 37 atan2(-0x1.5915b1498e82fp+732, 0x1.54d11ef838826p+732) 38 got -0x1.954f42f1fa841p-1 want -0x1.954f42f1fa843p-1. */ 60 int64_t exp_diff = biased_exponent (x) - biased_exponent (y); in atan2() 69 return y; /* atan(+-0,+anything)=+-0. */ in atan2() 71 return Pi; /* atan(+0,-anything) = pi. */ in atan2() [all …]
|
H A D | erff_2u.c | 2 * Single-precision erf(x) function. 4 * Copyright (c) 2023-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 12 #define TwoOverSqrtPiMinusOne 0x1.06eba8p-3f 14 #define OneThird 0x1.555556p-2f 18 Let d = x - r, and scale = 2 / sqrt(pi) * exp(-r^2). For x near r, 23 - r d 24 + 1/3 (2 r^2 - 1) d^2 25 - 1/6 (r (2 r^2 - 3) ) d^3 26 + 1/30 (4 r^4 - 12 r^2 + 3) d^4 [all …]
|
H A D | erf_2u5.c | 2 * Double-precision erf(x) function. 4 * Copyright (c) 2023-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 12 #define TwoOverSqrtPiMinusOne 0x1.06eba8214db69p-3 16 #define OneThird 0x1.5555555555555p-2 17 #define TwoThird 0x1.5555555555555p-1 19 #define TwoOverFifteen 0x1.1111111111111p-3 20 #define TwoOverFive 0x1.999999999999ap-2 21 #define Tenth 0x1.999999999999ap-4 23 #define TwoOverNine 0x1.c71c71c71c71cp-3 [all …]
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/sve/ |
H A D | erfcf.c | 2 * Single-precision vector erfc(x) function. 4 * Copyright (c) 2023-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 20 .off_idx = 0xb7fffd7b, /* 0xffffffff - asuint(shift) - 644. */ 21 .off_arr = 0xfffffd7b, /* 0xffffffff - 644. */ 24 .third = 0x1.555556p-2f, 25 .two_thirds = 0x1.555556p-1f, 26 .two_over_fifteen = 0x1.111112p-3f, 27 .two_over_five = -0x1.99999ap-2f, 28 .tenth = -0x1.99999ap-4f, [all …]
|
H A D | atanf.c | 2 * Single-precision vector atan(x) function. 4 * Copyright (c) 2021-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 19 [2**-128, 1.0]. */ 20 .poly = { -0x1.55555p-2f, 0x1.99935ep-3f, -0x1.24051ep-3f, 0x1.bd7368p-4f, 21 -0x1.491f0ep-4f, 0x1.93a2c0p-5f, -0x1.4c3c60p-6f, 0x1.01fd88p-8f }, 29 z=-1/x and shift = pi/2. 30 Largest observed error is 2.9 ULP, close to +/-1.0: 31 _ZGVsMxv_atanf (0x1.0468f6p+0) got -0x1.967f06p-1 32 want -0x1.967fp-1. */ [all …]
|
H A D | atan.c | 2 * Double-precision vector atan(x) function. 4 * Copyright (c) 2021-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 19 [2**-1022, 1.0]. */ 20 .poly = { -0x1.5555555555555p-2, 0x1.99999999996c1p-3, -0x1.2492492478f88p-3, 21 0x1.c71c71bc3951cp-4, -0x1.745d160a7e368p-4, 0x1.3b139b6a88ba1p-4, 22 -0x1.11100ee084227p-4, 0x1.e1d0f9696f63bp-5, -0x1.aebfe7b418581p-5, 23 0x1.842dbe9b0d916p-5, -0x1.5d30140ae5e99p-5, 0x1.338e31eb2fbbcp-5, 24 -0x1.00e6eece7de8p-5, 0x1.860897b29e5efp-6, -0x1.0051381722a59p-6, 25 0x1.14e9dc19a4a4ep-7, -0x1.d0062b42fe3bfp-9, 0x1.17739e210171ap-10, [all …]
|
H A D | atan2f.c | 2 * Single-precision vector atan2f(x) function. 4 * Copyright (c) 2021-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 19 [2**-128, 1.0]. */ 20 .poly = { -0x1.55555p-2f, 0x1.99935ep-3f, -0x1.24051ep-3f, 0x1.bd7368p-4f, 21 -0x1.491f0ep-4f, 0x1.93a2c0p-5f, -0x1.4c3c60p-6f, 0x1.01fd88p-8f }, 39 sv_u32 (2 * 0x7f800000lu - 1)); in zeroinfnan() 45 _ZGVsMxvv_atan2f (0x1.93836cp+6, 0x1.8cae1p+6) got 0x1.967f06p-1 46 want 0x1.967f00p-1. */ 79 shift = svmul_x (pg, shift, sv_f32 (data_ptr->pi_over_2)); in SV_NAME_F2() [all …]
|
H A D | atan2.c | 2 * Double-precision vector atan2(x) function. 4 * Copyright (c) 2021-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 19 [2**-1022, 1.0]. */ 20 .poly = { -0x1.5555555555555p-2, 0x1.99999999996c1p-3, -0x1.2492492478f88p-3, 21 0x1.c71c71bc3951cp-4, -0x1.745d160a7e368p-4, 0x1.3b139b6a88ba1p-4, 22 -0x1.11100ee084227p-4, 0x1.e1d0f9696f63bp-5, -0x1.aebfe7b418581p-5, 23 0x1.842dbe9b0d916p-5, -0x1.5d30140ae5e99p-5, 0x1.338e31eb2fbbcp-5, 24 -0x1.00e6eece7de8p-5, 0x1.860897b29e5efp-6, -0x1.0051381722a59p-6, 25 0x1.14e9dc19a4a4ep-7, -0x1.d0062b42fe3bfp-9, 0x1.17739e210171ap-10, [all …]
|
H A D | erfc.c | 2 * Double-precision vector erfc(x) function. 4 * Copyright (c) 2023-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 27 Index offset is 0xffffffffffffffff - asuint64(shift) - 3487. */ 29 .off_arr = 0xfffffffffffff260, /* 0xffffffffffffffff - 3487. */ 32 .table_scale = 0x37f0000000000000, /* asuint64(0x1p-128). */ 33 .p20 = 0x1.5555555555555p-2, /* 1/3, used to compute 2/3 and 1/6. */ 34 .p40 = -0x1.999999999999ap-4, /* 1/10. */ 35 .p41 = -0x1.999999999999ap-2, /* 2/5. */ 36 .p42 = 0x1.1111111111111p-3, /* 2/15. */ [all …]
|
H A D | erff.c | 2 * Single-precision vector erf(x) function. 4 * Copyright (c) 2023-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 16 .min = 0x1.cp-7f, /* 1/64 - 1/512. */ 17 .max = 3.9375, /* 4 - 8/128. */ 20 .third = 0x1.555556p-2f, /* 1/3. */ 25 /* Single-precision implementation of vector erf(x). 28 Let d = x - r, and scale = 2 / sqrt(pi) * exp(-r^2). For x near r, 30 erf(x) ~ erf(r) + scale * d * [1 - r * d - 1/3 * d^2] 33 For |x| < 0x1.cp-7, the algorithm sets r = 0, erf(r) = 0, and scale = 2 / [all …]
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/advsimd/ |
H A D | asinhf.c | 2 * Single-precision vector asinh(x) function. 4 * Copyright (c) 2022-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 26 .tiny_bound = V4 (0x30800000) /* asuint(0x1p-30). */ 37 sign, vreinterpretq_u32_f32 (log1pf_inline (y, &d->log1pf_consts)))), in special_case() 41 /* Single-precision implementation of vector asinh(x), using vector log1p. 42 Worst-case error is 2.59 ULP: 43 _ZGVnN4v_asinhf(0x1.d86124p-3) got 0x1.d449bep-3 44 want 0x1.d449c4p-3. */ 50 uint32x4_t special = vcgeq_u32 (iax, dat->big_bound); in V_NAME_F1() [all …]
|
H A D | erfcf.c | 2 * Single-precision vector erfc(x) function. 4 * Copyright (c) 2023-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 25 .offset = V4 (0xb7fffd7b), /* 0xffffffff - asuint(shift) - 644. */ 26 .table_scale = V4 (0x28000000 << 1), /* asuint (2^-47) << 1. */ 31 .coeffs = { 0x1.555556p-2f, 0x1.555556p-1f, 0x1.111112p-3f, 0 }, 32 .third = V4 (0x1.555556p-2f), 33 .two_over_five = V4 (-0x1.99999ap-2f), 34 .tenth = V4 (-0x1.99999ap-4f), 40 #define TinyBound 0x41000000 /* 0x1p-62f << 1. */ [all …]
|
H A D | atan2f.c | 2 * Single-precision vector atan2(x) function. 4 * Copyright (c) 2021-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 19 [2**-128, 1.0]. 21 .c0 = V4 (-0x1.55555p-2f), .c1 = 0x1.99935ep-3f, 22 .c2 = V4 (-0x1.24051ep-3f), .c3 = 0x1.bd7368p-4f, 23 .c4 = V4 (-0x1.491f0ep-4f), .c5 = 0x1.93a2c0p-5f, 24 .c6 = V4 (-0x1.4c3c60p-6f), .c7 = 0x1.01fd88p-8f, 25 .pi_over_2 = V4 (0x1.921fb6p+0f), .comp_const = V4 (2 * 0x7f800000lu - 1), 45 /* 2 * i - 1 >= 2 * 0x7f800000lu - 1. */ in zeroinfnan() [all …]
|
H A D | erfc.c | 2 * Double-precision vector erfc(x) function. 4 * Copyright (c) 2023-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 25 Index offset is 0xffffffffffffffff - asuint64(shift) - 3487. */ 27 .table_scale = V2 (0x37f0000000000000 << 1), /* asuint64 (2^-128) << 1. */ 30 .p20 = V2 (0x1.5555555555555p-2), /* 1/3, used to compute 2/3 and 1/6. */ 31 .p40 = V2 (-0x1.999999999999ap-4), /* 1/10. */ 32 .p41 = V2 (-0x1.999999999999ap-2), /* 2/5. */ 33 .p42 = 0x1.1111111111111p-3, /* 2/15. */ 34 .p51 = V2 (-0x1.c71c71c71c71cp-3), /* 2/9. */ [all …]
|
H A D | atan2.c | 2 * Double-precision vector atan2(x) function. 4 * Copyright (c) 2021-2024, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 20 [2**-1022, 1.0]. */ 21 .c0 = V2 (-0x1.5555555555555p-2), 22 .c1 = 0x1.99999999996c1p-3, 23 .c2 = V2 (-0x1.2492492478f88p-3), 24 .c3 = 0x1.c71c71bc3951cp-4, 25 .c4 = V2 (-0x1.745d160a7e368p-4), 26 .c5 = 0x1.3b139b6a88ba1p-4, [all …]
|