hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 588
values | lang stringclasses 305
values | max_stars_repo_path stringlengths 3 363 | max_stars_repo_name stringlengths 5 118 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringdate 2015-01-01 00:00:35 2022-03-31 23:43:49 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 12:37:38 2022-03-31 23:59:52 ⌀ | max_issues_repo_path stringlengths 3 363 | max_issues_repo_name stringlengths 5 118 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 363 | max_forks_repo_name stringlengths 5 135 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringdate 2015-01-01 00:01:02 2022-03-31 23:27:27 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 08:55:07 2022-03-31 23:59:24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1.13 1.04M | max_line_length int64 1 1.05M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
36865405a5ebaeb1564e674672e3213996bd9e9b | 599 | h | C | UnitTests/SocializeLikeTests.h | dontfallisleep/socialize-sdk-ios | 687d4730d12be4201309f24de5820deedf848342 | [
"MIT"
] | 38 | 2015-01-07T07:22:50.000Z | 2021-01-08T04:37:43.000Z | UnitTests/SocializeLikeTests.h | dontfallisleep/socialize-sdk-ios | 687d4730d12be4201309f24de5820deedf848342 | [
"MIT"
] | 2 | 2015-02-27T02:45:24.000Z | 2018-04-07T03:32:50.000Z | UnitTests/SocializeLikeTests.h | dontfallisleep/socialize-sdk-ios | 687d4730d12be4201309f24de5820deedf848342 | [
"MIT"
] | 21 | 2015-01-28T02:56:57.000Z | 2019-02-17T13:41:53.000Z | //
// SocializeLikeTests.h
// SocializeSDK
//
// Created by Fawad Haider on 6/23/11.
// Copyright 2011 Socialize, Inc. All rights reserved.
//
#import <GHUnitIOS/GHUnit.h>
#import <UIKit/UIKit.h>
#import "SocializeCommonDefinitions.h"
#import "SocializeRequest.h"
#import "SocializeService.h"
#import "SocializeTestCase.h"
@class SocializeLikeService;
@interface SocializeLikeTests : SocializeTestCase <SocializeServiceDelegate, SocializeRequestDelegate> {
SocializeLikeService *_service;
id _mockService;
NSError *_testError;
}
@end
| 23.038462 | 104 | 0.702838 |
2caae207f8d89a64ec2864acf98d900226cca4ea | 280 | h | C | demos/external-deps/2-zenmake/zmdep/calclib/calc.h | pustotnik/raven | adb75d04a1ce719266eb34c29b35151dfaf91a8a | [
"BSD-3-Clause"
] | 2 | 2019-10-14T05:05:34.000Z | 2022-03-28T04:55:00.000Z | demos/external-deps/2-zenmake/zmdep/calclib/calc.h | pustotnik/raven | adb75d04a1ce719266eb34c29b35151dfaf91a8a | [
"BSD-3-Clause"
] | 42 | 2020-08-25T07:59:32.000Z | 2021-11-15T03:12:29.000Z | demos/external-deps/2-zenmake/zmdep/calclib/calc.h | pustotnik/raven | adb75d04a1ce719266eb34c29b35151dfaf91a8a | [
"BSD-3-Clause"
] | 1 | 2021-08-13T13:59:51.000Z | 2021-08-13T13:59:51.000Z | #ifndef __ZMDEP_CALCLIB_CALC_H__
#define __ZMDEP_CALCLIB_CALC_H__
#ifdef _MSC_VER
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT
#endif
#ifdef __cplusplus
extern "C" {
#endif
LIB_EXPORT int calcSum(int a, int b);
#ifdef __cplusplus
}
#endif
#endif
| 13.333333 | 44 | 0.767857 |
82d4f9536da48b1e39d6030673573139de5a5469 | 1,612 | c | C | messages.c | knezicm/battleship-8051 | f7bbfdd7a4087d28db352fb837ff816ea4ad437d | [
"MIT"
] | null | null | null | messages.c | knezicm/battleship-8051 | f7bbfdd7a4087d28db352fb837ff816ea4ad437d | [
"MIT"
] | null | null | null | messages.c | knezicm/battleship-8051 | f7bbfdd7a4087d28db352fb837ff816ea4ad437d | [
"MIT"
] | null | null | null | /*!
* \file messages.h
* \brief Function that works with messages send/received through uart
* COPYRIGHT: College of electrical engineering, www.etfbl.net
* This software was written in accordance to the guidelines at https://github.com/knezicm/battleship-8051/blob/master/LICENSE
* VERSION: 1.0, PF 2-OCT-17
*/
#include "messages.h"
#include "gameStage.h"
#include "uart.h"
char outgoingMessage[7];
char incomingMessage[7];
unsigned char incomingMessageCharCount;
extern unsigned char gameStage;
static int counter;
static unsigned char i, j, k;
void initMessages()
{
incomingMessageCharCount = 0;
counter = 0;
}
void sendMessage(char message[7])
{
i = 0;
while (message[i] != '\0')
{
outgoingMessage[i] = message[i];
i++;
}
outgoingMessage[i] = 0;
TI_bit = 1;
}
void sendDelayedMessage(char message[7])
{
if (counter <= 0)
{
sendMessage(message);
counter = 2000;
}
counter--;
}
void UartISR() iv IVT_ADDR_ES
{
if (UART_IsRXComplete())
{
if (
(gameStage == WAITING_FOR_RESPONCE
|| gameStage == ACCEPTANCE_OF_SHOT
|| gameStage == ESTABLISHING_CONNECTION
|| gameStage == WAITING_OPPONENTS_SETTING)
&& incomingMessageCharCount < 5)
{
incomingMessage[incomingMessageCharCount] = UART_GetChar();
incomingMessageCharCount++;
}
RI_bit = 0;
}
if (UART_IsTXEmpty())
{
UART_PutString(outgoingMessage);
TI_bit = 0;
}
}
| 21.783784 | 127 | 0.602978 |
d64664940445780c246975887f825d6b317fe4b5 | 4,698 | h | C | plugins/community/repos/Southpole/eurorack/avrlibx/devices/bicolor_led_array.h | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 233 | 2018-07-02T16:49:36.000Z | 2022-02-27T21:45:39.000Z | plugins/community/repos/Southpole/eurorack/avrlibx/devices/bicolor_led_array.h | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-09T11:32:15.000Z | 2022-01-07T01:45:43.000Z | plugins/community/repos/Southpole/eurorack/avrlibx/devices/bicolor_led_array.h | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-14T21:55:30.000Z | 2021-05-04T04:20:34.000Z | // Copyright 2011 Olivier Gillet.
//
// Author: Olivier Gillet (ol.gillet@gmail.com)
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// -----------------------------------------------------------------------------
//
// Driver for an array of bicolor LEDs behind N cascaded shift registers.
// The pin1 of the N * 8 - 1 LEDs are connected to the first shift register
// outputs. The pin2 of all LEDs are connected to the last output of the last
// shift register in the cascade.
//
// +--------+
// | 595 |
// | Q0 |-----[220R]----->|---+
// | | |
// | Q1 |-----[220R]----->|---+
// | | |
// | Q2 |-----[220R]----->|---+
// | | |
// | Q3 |-----[220R]----->|---+
// | | |
// | Q4 |-----[220R]----->|---+
// | | |
// | Q5 |-----[220R]----->|---+
// | | |
// | Q6 |-----[220R]----->|---+
// | | |
// | Q7 |---------------------+
// | |
// +--------+
//
// When Q7, is low, Q0 to Q6 are controlling the first color.
// When Q7, is high, ~Q0 to ~Q6 are controlling the second color.
//
// By toggling Q7 rapidly, the two colors can be displayed simultaneously.
#ifndef AVRLIBX_DEVICES_BICOLOR_LED_ARRAY_H_
#define AVRLIBX_DEVICES_BICOLOR_LED_ARRAY_H_
#include <string.h>
#include "avrlibx/devices/shift_register.h"
#include "avrlibx/utils/op.h"
namespace avrlibx {
template<typename Latch, typename Clock, typename Data, uint8_t num_regs = 1>
class LedArray {
public:
enum {
size = num_regs * 8 - 1
};
LedArray() { }
static inline void Init() {
Register::Init();
Clear();
}
// Intensity is in AAAABBBB format, where AAAA is the intensity for the
// color 1, and BBBB is the intensity for the color 2.
static inline void set_pixel(uint8_t index, uint8_t intensity) {
buffered_pixels_[index] = intensity;
}
static inline void set_direct_pixel(uint8_t index, uint8_t intensity) {
pixels_[index] = intensity;
}
static inline uint8_t pixel(uint8_t index) {
return buffered_pixels_[index];
}
static inline void ShiftOutData(uint8_t v) {
Register::ShiftOut(v);
}
static inline void Begin() {
Register::Begin();
}
static inline void End() {
Register::End();
}
static inline void Clear() {
memset(buffered_pixels_, 0, size);
}
static inline void Sync() {
memcpy(pixels_, buffered_pixels_, size);
}
static inline void ShiftOutPixels() {
uint8_t byte = refresh_cycle_ & 1;
uint8_t num_bits = 1;
uint8_t threshold = refresh_cycle_ >> 1;
for (uint8_t i = (num_regs * 8) - 2; i != 0xff ; --i) {
byte <<= 1;
uint8_t intensity;
if (refresh_cycle_ & 1) {
intensity = U8ShiftRight4(~pixels_[i]);
} else {
intensity = pixels_[i] & 0x0f;
}
if (intensity > threshold || intensity == 0xf) {
byte |= 1;
}
++num_bits;
if (num_bits == 8) {
Register::ShiftOut(byte);
num_bits = 0;
byte = 0;
}
}
refresh_cycle_ = (refresh_cycle_ + 1) & 0x1f;
}
static inline void Write() {
Begin();
ShiftOutPixels();
End();
}
uint8_t* pixels() { return buffered_pixels_; }
private:
typedef ShiftRegisterOutput<Latch, Clock, Data, 8, MSB_FIRST> Register;
static uint8_t buffered_pixels_[size];
static uint8_t pixels_[size];
static uint8_t refresh_cycle_;
DISALLOW_COPY_AND_ASSIGN(LedArray);
};
template<typename Latch, typename Clock, typename Data, uint8_t num_regs>
uint8_t LedArray<Latch, Clock, Data, num_regs>::pixels_[size];
template<typename Latch, typename Clock, typename Data, uint8_t num_regs>
uint8_t LedArray<Latch, Clock, Data, num_regs>::buffered_pixels_[size];
template<typename Latch, typename Clock, typename Data, uint8_t num_regs>
uint8_t LedArray<Latch, Clock, Data, num_regs>::refresh_cycle_;
} // namespace avrlibx
#endif // AVRLIBX_DEVICES_BICOLOR_LED_ARRAY_H_ | 29.180124 | 80 | 0.595147 |
c59889ed607495e03efae3528cfa82a06597f72f | 567 | h | C | libcie-sign-sdk/include/TSAClient.h | M0Rf30/cie-middleware-linux | b2aba10a163a34a5be837c8a1dc3c18845495af5 | [
"BSD-3-Clause"
] | 2 | 2021-09-04T15:17:43.000Z | 2022-03-17T11:48:57.000Z | libcie-sign-sdk/include/TSAClient.h | M0Rf30/cie-middleware-linux | b2aba10a163a34a5be837c8a1dc3c18845495af5 | [
"BSD-3-Clause"
] | 3 | 2021-11-18T13:37:57.000Z | 2022-03-18T13:36:52.000Z | libcie-sign-sdk/include/TSAClient.h | M0Rf30/cie-middleware-linux | b2aba10a163a34a5be837c8a1dc3c18845495af5 | [
"BSD-3-Clause"
] | 1 | 2021-07-01T13:32:06.000Z | 2021-07-01T13:32:06.000Z | #pragma once
#include "ASN1/TimeStampToken.h"
class CTSAClient {
public:
CTSAClient(void);
virtual ~CTSAClient(void);
void SetTSAUrl(const char* szUrl);
void SetCredential(const char* szUsername, const char* szPassword);
void SetUsername(const char* szUsername);
void SetPassword(const char* szPassword);
long GetTimeStampToken(UUCByteArray& digest, const char* szPolicyID, CTimeStampToken** ppTimeStampToken);
private:
char m_szTSAUrl[256];
char m_szTSAUsername[256];
char m_szTSAPassword[256];
};
| 27 | 110 | 0.703704 |
d0b09f07b23bc434e4b4b035ac8a12e95b8edd2b | 1,553 | h | C | OrderingS/APHTTPRequestOperation.h | yihongmingfeng/OrderingS | e33bafe6412789d08e41567353ee2a17fac790e8 | [
"MIT"
] | null | null | null | OrderingS/APHTTPRequestOperation.h | yihongmingfeng/OrderingS | e33bafe6412789d08e41567353ee2a17fac790e8 | [
"MIT"
] | null | null | null | OrderingS/APHTTPRequestOperation.h | yihongmingfeng/OrderingS | e33bafe6412789d08e41567353ee2a17fac790e8 | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "APURLConnectionOperation.h"
@class NSError, NSHTTPURLResponse, NSRecursiveLock, NSURLRequest;
@interface APHTTPRequestOperation : APURLConnectionOperation
{
NSError *_HTTPError;
struct dispatch_queue_s *_successCallbackQueue;
struct dispatch_queue_s *_failureCallbackQueue;
}
+ (_Bool)canProcessRequest:(id)arg1;
+ (void)addAcceptableContentTypes:(id)arg1;
+ (id)acceptableContentTypes;
+ (void)addAcceptableStatusCodes:(id)arg1;
+ (id)acceptableStatusCodes;
@property(nonatomic) struct dispatch_queue_s *failureCallbackQueue; // @synthesize failureCallbackQueue=_failureCallbackQueue;
@property(nonatomic) struct dispatch_queue_s *successCallbackQueue; // @synthesize successCallbackQueue=_successCallbackQueue;
@property(retain, nonatomic) NSError *HTTPError; // @synthesize HTTPError=_HTTPError;
- (void).cxx_destruct;
- (void)setCompletionBlockWithSuccess:(CDUnknownBlockType)arg1 failure:(CDUnknownBlockType)arg2;
@property(readonly, nonatomic) _Bool hasAcceptableContentType;
@property(readonly, nonatomic) _Bool hasAcceptableStatusCode;
- (void)pause;
- (unsigned long long)responseStringEncoding;
- (id)error;
- (void)dealloc;
// Remaining properties
@property(retain, nonatomic) NSRecursiveLock *lock; // @dynamic lock;
@property(retain, nonatomic) NSURLRequest *request; // @dynamic request;
@property(retain, nonatomic) NSHTTPURLResponse *response; // @dynamic response;
@end
| 36.97619 | 126 | 0.790728 |
fddeb2fb09e01ae32871d49f5b7b60876201f3ec | 7,775 | c | C | qemu-4.2.0/roms/u-boot-sam460ex/arch/powerpc/cpu/mpc85xx/cpu.c | MisaZhu/qemu_raspi | 50d71ce87bb39470e6725f7428e4b6b9e1ed0359 | [
"Apache-2.0"
] | 8 | 2020-09-06T12:49:00.000Z | 2022-03-09T04:02:06.000Z | src/qemu/src-pmp/roms/u-boot-sam460ex/arch/powerpc/cpu/mpc85xx/cpu.c | newthis/PMP | ef5e05fb4612bb622a9e1039f772c6234b87df7d | [
"MIT"
] | null | null | null | src/qemu/src-pmp/roms/u-boot-sam460ex/arch/powerpc/cpu/mpc85xx/cpu.c | newthis/PMP | ef5e05fb4612bb622a9e1039f772c6234b87df7d | [
"MIT"
] | 7 | 2020-09-08T15:14:34.000Z | 2021-06-24T18:03:49.000Z | /*
* Copyright 2004,2007-2010 Freescale Semiconductor, Inc.
* (C) Copyright 2002, 2003 Motorola Inc.
* Xianghua Xiao (X.Xiao@motorola.com)
*
* (C) Copyright 2000
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*/
#include <config.h>
#include <common.h>
#include <watchdog.h>
#include <command.h>
#include <fsl_esdhc.h>
#include <asm/cache.h>
#include <asm/io.h>
DECLARE_GLOBAL_DATA_PTR;
int checkcpu (void)
{
sys_info_t sysinfo;
uint pvr, svr;
uint fam;
uint ver;
uint major, minor;
struct cpu_type *cpu;
char buf1[32], buf2[32];
#if defined(CONFIG_DDR_CLK_FREQ) || defined(CONFIG_FSL_CORENET)
volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
#endif /* CONFIG_FSL_CORENET */
#ifdef CONFIG_DDR_CLK_FREQ
u32 ddr_ratio = ((gur->porpllsr) & MPC85xx_PORPLLSR_DDR_RATIO)
>> MPC85xx_PORPLLSR_DDR_RATIO_SHIFT;
#else
#ifdef CONFIG_FSL_CORENET
u32 ddr_sync = ((gur->rcwsr[5]) & FSL_CORENET_RCWSR5_DDR_SYNC)
>> FSL_CORENET_RCWSR5_DDR_SYNC_SHIFT;
#else
u32 ddr_ratio = 0;
#endif /* CONFIG_FSL_CORENET */
#endif /* CONFIG_DDR_CLK_FREQ */
int i;
svr = get_svr();
major = SVR_MAJ(svr);
#ifdef CONFIG_MPC8536
major &= 0x7; /* the msb of this nibble is a mfg code */
#endif
minor = SVR_MIN(svr);
if (cpu_numcores() > 1) {
#ifndef CONFIG_MP
puts("Unicore software on multiprocessor system!!\n"
"To enable mutlticore build define CONFIG_MP\n");
#endif
volatile ccsr_pic_t *pic = (void *)(CONFIG_SYS_MPC85xx_PIC_ADDR);
printf("CPU%d: ", pic->whoami);
} else {
puts("CPU: ");
}
cpu = gd->cpu;
puts(cpu->name);
if (IS_E_PROCESSOR(svr))
puts("E");
printf(", Version: %d.%d, (0x%08x)\n", major, minor, svr);
pvr = get_pvr();
fam = PVR_FAM(pvr);
ver = PVR_VER(pvr);
major = PVR_MAJ(pvr);
minor = PVR_MIN(pvr);
printf("Core: ");
switch (fam) {
case PVR_FAM(PVR_85xx):
puts("E500");
break;
default:
puts("Unknown");
break;
}
if (PVR_MEM(pvr) == 0x03)
puts("MC");
printf(", Version: %d.%d, (0x%08x)\n", major, minor, pvr);
get_sys_info(&sysinfo);
puts("Clock Configuration:");
for (i = 0; i < cpu_numcores(); i++) {
if (!(i & 3))
printf ("\n ");
printf("CPU%d:%-4s MHz, ",
i,strmhz(buf1, sysinfo.freqProcessor[i]));
}
printf("\n CCB:%-4s MHz,\n", strmhz(buf1, sysinfo.freqSystemBus));
#ifdef CONFIG_FSL_CORENET
if (ddr_sync == 1) {
printf(" DDR:%-4s MHz (%s MT/s data rate) "
"(Synchronous), ",
strmhz(buf1, sysinfo.freqDDRBus/2),
strmhz(buf2, sysinfo.freqDDRBus));
} else {
printf(" DDR:%-4s MHz (%s MT/s data rate) "
"(Asynchronous), ",
strmhz(buf1, sysinfo.freqDDRBus/2),
strmhz(buf2, sysinfo.freqDDRBus));
}
#else
switch (ddr_ratio) {
case 0x0:
printf(" DDR:%-4s MHz (%s MT/s data rate), ",
strmhz(buf1, sysinfo.freqDDRBus/2),
strmhz(buf2, sysinfo.freqDDRBus));
break;
case 0x7:
printf(" DDR:%-4s MHz (%s MT/s data rate) "
"(Synchronous), ",
strmhz(buf1, sysinfo.freqDDRBus/2),
strmhz(buf2, sysinfo.freqDDRBus));
break;
default:
printf(" DDR:%-4s MHz (%s MT/s data rate) "
"(Asynchronous), ",
strmhz(buf1, sysinfo.freqDDRBus/2),
strmhz(buf2, sysinfo.freqDDRBus));
break;
}
#endif
if (sysinfo.freqLocalBus > LCRR_CLKDIV) {
printf("LBC:%-4s MHz\n", strmhz(buf1, sysinfo.freqLocalBus));
} else {
printf("LBC: unknown (LCRR[CLKDIV] = 0x%02lx)\n",
sysinfo.freqLocalBus);
}
#ifdef CONFIG_CPM2
printf("CPM: %s MHz\n", strmhz(buf1, sysinfo.freqSystemBus));
#endif
#ifdef CONFIG_QE
printf(" QE:%-4s MHz\n", strmhz(buf1, sysinfo.freqQE));
#endif
#ifdef CONFIG_SYS_DPAA_FMAN
for (i = 0; i < CONFIG_SYS_NUM_FMAN; i++) {
printf(" FMAN%d: %s MHz\n", i,
strmhz(buf1, sysinfo.freqFMan[i]));
}
#endif
#ifdef CONFIG_SYS_DPAA_PME
printf(" PME: %s MHz\n", strmhz(buf1, sysinfo.freqPME));
#endif
puts("L1: D-cache 32 kB enabled\n I-cache 32 kB enabled\n");
return 0;
}
/* ------------------------------------------------------------------------- */
int do_reset (cmd_tbl_t *cmdtp, bd_t *bd, int flag, int argc, char *argv[])
{
/* Everything after the first generation of PQ3 parts has RSTCR */
#if defined(CONFIG_MPC8540) || defined(CONFIG_MPC8541) || \
defined(CONFIG_MPC8555) || defined(CONFIG_MPC8560)
unsigned long val, msr;
/*
* Initiate hard reset in debug control register DBCR0
* Make sure MSR[DE] = 1. This only resets the core.
*/
msr = mfmsr ();
msr |= MSR_DE;
mtmsr (msr);
val = mfspr(DBCR0);
val |= 0x70000000;
mtspr(DBCR0,val);
#else
volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
out_be32(&gur->rstcr, 0x2); /* HRESET_REQ */
udelay(100);
#endif
return 1;
}
/*
* Get timebase clock frequency
*/
unsigned long get_tbclk (void)
{
#ifdef CONFIG_FSL_CORENET
return (gd->bus_clk + 8) / 16;
#else
return (gd->bus_clk + 4UL)/8UL;
#endif
}
#if defined(CONFIG_WATCHDOG)
void
watchdog_reset(void)
{
int re_enable = disable_interrupts();
reset_85xx_watchdog();
if (re_enable) enable_interrupts();
}
void
reset_85xx_watchdog(void)
{
/*
* Clear TSR(WIS) bit by writing 1
*/
unsigned long val;
val = mfspr(SPRN_TSR);
val |= TSR_WIS;
mtspr(SPRN_TSR, val);
}
#endif /* CONFIG_WATCHDOG */
/*
* Configures a UPM. The function requires the respective MxMR to be set
* before calling this function. "size" is the number or entries, not a sizeof.
*/
void upmconfig (uint upm, uint * table, uint size)
{
int i, mdr, mad, old_mad = 0;
volatile u32 *mxmr;
volatile ccsr_lbc_t *lbc = (void *)(CONFIG_SYS_MPC85xx_LBC_ADDR);
volatile u32 *brp,*orp;
volatile u8* dummy = NULL;
int upmmask;
switch (upm) {
case UPMA:
mxmr = &lbc->mamr;
upmmask = BR_MS_UPMA;
break;
case UPMB:
mxmr = &lbc->mbmr;
upmmask = BR_MS_UPMB;
break;
case UPMC:
mxmr = &lbc->mcmr;
upmmask = BR_MS_UPMC;
break;
default:
printf("%s: Bad UPM index %d to configure\n", __FUNCTION__, upm);
hang();
}
/* Find the address for the dummy write transaction */
for (brp = &lbc->br0, orp = &lbc->or0, i = 0; i < 8;
i++, brp += 2, orp += 2) {
/* Look for a valid BR with selected UPM */
if ((in_be32(brp) & (BR_V | BR_MSEL)) == (BR_V | upmmask)) {
dummy = (volatile u8*)(in_be32(brp) & BR_BA);
break;
}
}
if (i == 8) {
printf("Error: %s() could not find matching BR\n", __FUNCTION__);
hang();
}
for (i = 0; i < size; i++) {
/* 1 */
out_be32(mxmr, (in_be32(mxmr) & 0x4fffffc0) | MxMR_OP_WARR | i);
/* 2 */
out_be32(&lbc->mdr, table[i]);
/* 3 */
mdr = in_be32(&lbc->mdr);
/* 4 */
*(volatile u8 *)dummy = 0;
/* 5 */
do {
mad = in_be32(mxmr) & MxMR_MAD_MSK;
} while (mad <= old_mad && !(!mad && i == (size-1)));
old_mad = mad;
}
out_be32(mxmr, (in_be32(mxmr) & 0x4fffffc0) | MxMR_OP_NORM);
}
/*
* Initializes on-chip MMC controllers.
* to override, implement board_mmc_init()
*/
int cpu_mmc_init(bd_t *bis)
{
#ifdef CONFIG_FSL_ESDHC
return fsl_esdhc_mmc_init(bis);
#else
return 0;
#endif
}
| 23.632219 | 79 | 0.649389 |
4555f1a3ebb0885e134d72d88cf8c3e4dafcbd1b | 393,981 | h | C | llvm/lib/Target/AArch64/AArch64PerfectShuffle.h | ornata/llvm-project | 494913b8b4e4bce0b3525e5569d8e486e82b9a52 | [
"Apache-2.0"
] | null | null | null | llvm/lib/Target/AArch64/AArch64PerfectShuffle.h | ornata/llvm-project | 494913b8b4e4bce0b3525e5569d8e486e82b9a52 | [
"Apache-2.0"
] | null | null | null | llvm/lib/Target/AArch64/AArch64PerfectShuffle.h | ornata/llvm-project | 494913b8b4e4bce0b3525e5569d8e486e82b9a52 | [
"Apache-2.0"
] | null | null | null | //===-- AArch64PerfectShuffle.h - AdvSIMD Perfect Shuffle Table -----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file, which was autogenerated by llvm-PerfectShuffle, contains data
// for the optimal way to build a perfect shuffle using AdvSIMD instructions.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIB_TARGET_AARCH64_AARCH64PERFECTSHUFFLE_H
#define LLVM_LIB_TARGET_AARCH64_AARCH64PERFECTSHUFFLE_H
#include "llvm/ADT/ArrayRef.h"
// 31 entries have cost 0
// 756 entries have cost 1
// 3690 entries have cost 2
// 2084 entries have cost 3
// This table is 6561*4 = 26244 bytes in size.
static const unsigned PerfectShuffleTable[6561 + 1] = {
135053414U, // <0,0,0,0>: Cost 1 vdup0 LHS
2080972802U, // <0,0,0,1>: Cost 2 ins <0,0,u,1>, lane 2
1679065190U, // <0,0,0,2>: Cost 2 vuzpl <0,2,0,2>, LHS
2085707777U, // <0,0,0,3>: Cost 2 ins <0,u,0,3>, lane 1
1476398390U, // <0,0,0,4>: Cost 2 vext1 <0,0,0,0>, RHS
2080440323U, // <0,0,0,5>: Cost 2 ins <0,0,0,u>, lane 3
2080440323U, // <0,0,0,6>: Cost 2 ins <0,0,0,u>, lane 3
2080440323U, // <0,0,0,7>: Cost 2 ins <0,0,0,u>, lane 3
135053414U, // <0,0,0,u>: Cost 1 vdup0 LHS
1812774912U, // <0,0,1,0>: Cost 2 vzipl LHS, <0,0,0,0>
739033190U, // <0,0,1,1>: Cost 1 vzipl LHS, LHS
1812775076U, // <0,0,1,2>: Cost 2 vzipl LHS, <0,2,0,2>
2080514051U, // <0,0,1,3>: Cost 2 ins <0,0,1,u>, lane 3
1812816210U, // <0,0,1,4>: Cost 2 vzipl LHS, <0,4,1,5>
2085797889U, // <0,0,1,5>: Cost 2 ins <0,u,1,5>, lane 1
2080514051U, // <0,0,1,6>: Cost 2 ins <0,0,1,u>, lane 3
2080514051U, // <0,0,1,7>: Cost 2 ins <0,0,1,u>, lane 3
739033757U, // <0,0,1,u>: Cost 1 vzipl LHS, LHS
1946992640U, // <0,0,2,0>: Cost 2 vtrnl LHS, <0,0,0,0>
1946992650U, // <0,0,2,1>: Cost 2 vtrnl LHS, <0,0,1,1>
873250918U, // <0,0,2,2>: Cost 1 vtrnl LHS, LHS
1012113409U, // <0,0,2,3>: Cost 1 ins LHS, lane 1
1946992844U, // <0,0,2,4>: Cost 2 vtrnl LHS, <0,2,4,6>
2080587779U, // <0,0,2,5>: Cost 2 ins <0,0,2,u>, lane 3
2085879809U, // <0,0,2,6>: Cost 2 ins <0,u,2,6>, lane 1
2080587779U, // <0,0,2,7>: Cost 2 ins <0,0,2,u>, lane 3
873250972U, // <0,0,2,u>: Cost 1 vtrnl LHS, LHS
2080964610U, // <0,0,3,0>: Cost 2 ins <0,0,u,0>, lane 2
2080972802U, // <0,0,3,1>: Cost 2 ins <0,0,u,1>, lane 2
2128388096U, // <0,0,3,2>: Cost 2 ins <u,0,3,2>, lane 0
2013437973U, // <0,0,3,3>: Cost 2 vtrnr <0,0,2,3>, <0,0,2,3>
3154739202U, // <0,0,3,4>: Cost 3 ins <0,0,u,4>, lane 2
2752809474U, // <0,0,3,5>: Cost 3 vuzpl <0,2,0,2>, <3,4,5,6>
3154755586U, // <0,0,3,6>: Cost 3 ins <0,0,u,6>, lane 2
2818573312U, // <0,0,3,7>: Cost 3 vuzpr <0,0,0,0>, <1,3,5,7>
2080972802U, // <0,0,3,u>: Cost 2 ins <0,0,u,1>, lane 2
2080964610U, // <0,0,4,0>: Cost 2 ins <0,0,u,0>, lane 2
1814708326U, // <0,0,4,1>: Cost 2 vzipl <0,4,1,5>, LHS
1947828326U, // <0,0,4,2>: Cost 2 vtrnl <0,2,4,6>, LHS
2086002689U, // <0,0,4,3>: Cost 2 ins <0,u,4,3>, lane 1
1947828428U, // <0,0,4,4>: Cost 2 vtrnl <0,2,4,6>, <0,2,4,6>
2081030149U, // <0,0,4,5>: Cost 2 ins <0,0,u,u>, lane 5
1679068470U, // <0,0,4,6>: Cost 2 vuzpl <0,2,0,2>, RHS
3154477059U, // <0,0,4,7>: Cost 3 ins <0,0,4,u>, lane 3
1679068488U, // <0,0,4,u>: Cost 2 vuzpl <0,2,0,2>, RHS
2080964610U, // <0,0,5,0>: Cost 2 ins <0,0,u,0>, lane 2
2128527360U, // <0,0,5,1>: Cost 2 ins <u,0,5,1>, lane 0
2080980994U, // <0,0,5,2>: Cost 2 ins <0,0,u,2>, lane 2
2086076417U, // <0,0,5,3>: Cost 2 ins <0,u,5,3>, lane 1
3202293760U, // <0,0,5,4>: Cost 3 ins <u,0,5,4>, lane 0
1947213953U, // <0,0,5,5>: Cost 2 vtrnl <0,1,5,3>, <0,1,5,3>
2718712274U, // <0,0,5,6>: Cost 3 vext3 <5,6,7,0>, <0,5,6,7>
1744833846U, // <0,0,5,7>: Cost 2 vuzpr <0,0,0,0>, RHS
2128527360U, // <0,0,5,u>: Cost 2 ins <u,0,5,1>, lane 0
2080964610U, // <0,0,6,0>: Cost 2 ins <0,0,u,0>, lane 2
2080972802U, // <0,0,6,1>: Cost 2 ins <0,0,u,1>, lane 2
2128609280U, // <0,0,6,2>: Cost 2 ins <u,0,6,2>, lane 0
2086150145U, // <0,0,6,3>: Cost 2 ins <0,u,6,3>, lane 1
3202367488U, // <0,0,6,4>: Cost 3 ins <u,0,6,4>, lane 0
2617250536U, // <0,0,6,5>: Cost 3 vext2 <0,0,0,0>, <6,5,6,7>
1947287690U, // <0,0,6,6>: Cost 2 vtrnl <0,1,6,3>, <0,1,6,3>
2081030149U, // <0,0,6,7>: Cost 2 ins <0,0,u,u>, lane 5
2080972802U, // <0,0,6,u>: Cost 2 ins <0,0,u,1>, lane 2
2080964610U, // <0,0,7,0>: Cost 2 ins <0,0,u,0>, lane 2
2080972802U, // <0,0,7,1>: Cost 2 ins <0,0,u,1>, lane 2
2080980994U, // <0,0,7,2>: Cost 2 ins <0,0,u,2>, lane 2
2086223873U, // <0,0,7,3>: Cost 2 ins <0,u,7,3>, lane 1
3154739202U, // <0,0,7,4>: Cost 3 ins <0,0,u,4>, lane 2
2617251265U, // <0,0,7,5>: Cost 3 vext2 <0,0,0,0>, <7,5,6,7>
3154755586U, // <0,0,7,6>: Cost 3 ins <0,0,u,6>, lane 2
1947361427U, // <0,0,7,7>: Cost 2 vtrnl <0,1,7,3>, <0,1,7,3>
2080972802U, // <0,0,7,u>: Cost 2 ins <0,0,u,1>, lane 2
135053414U, // <0,0,u,0>: Cost 1 vdup0 LHS
743678054U, // <0,0,u,1>: Cost 1 vzipl LHS, LHS
873693286U, // <0,0,u,2>: Cost 1 vtrnl LHS, LHS
1012113409U, // <0,0,u,3>: Cost 1 ins LHS, lane 1
1947435212U, // <0,0,u,4>: Cost 2 vtrnl LHS, <0,2,4,6>
2085797889U, // <0,0,u,5>: Cost 2 ins <0,u,1,5>, lane 1
1679071386U, // <0,0,u,6>: Cost 2 vuzpl <0,2,0,2>, RHS
2080514051U, // <0,0,u,7>: Cost 2 ins <0,0,1,u>, lane 3
873693340U, // <0,0,u,u>: Cost 1 vtrnl LHS, LHS
2085683201U, // <0,1,0,0>: Cost 2 ins <0,u,0,0>, lane 1
1007951877U, // <0,1,0,1>: Cost 1 ins LHS, lane 5
1680490598U, // <0,1,0,2>: Cost 2 vuzpl <0,4,1,5>, LHS
1007910914U, // <0,1,0,3>: Cost 1 ins LHS, lane 2
2081660930U, // <0,1,0,4>: Cost 2 ins <0,1,u,4>, lane 2
2081669122U, // <0,1,0,5>: Cost 2 ins <0,1,u,5>, lane 2
2081677314U, // <0,1,0,6>: Cost 2 ins <0,1,u,6>, lane 2
2081685506U, // <0,1,0,7>: Cost 2 ins <0,1,u,7>, lane 2
1007951877U, // <0,1,0,u>: Cost 1 ins LHS, lane 5
1812775670U, // <0,1,1,0>: Cost 2 vzipl LHS, <1,0,3,2>
1812775732U, // <0,1,1,1>: Cost 2 vzipl LHS, <1,1,1,1>
1812775830U, // <0,1,1,2>: Cost 2 vzipl LHS, <1,2,3,0>
1007910914U, // <0,1,1,3>: Cost 1 ins LHS, lane 2
1476480310U, // <0,1,1,4>: Cost 2 vext1 <0,0,1,1>, RHS
1812817040U, // <0,1,1,5>: Cost 2 vzipl LHS, <1,5,3,7>
2081677314U, // <0,1,1,6>: Cost 2 ins <0,1,u,6>, lane 2
2081685506U, // <0,1,1,7>: Cost 2 ins <0,1,u,7>, lane 2
1007910914U, // <0,1,1,u>: Cost 1 ins LHS, lane 2
1007509507U, // <0,1,2,0>: Cost 1 ins LHS, lane 3
1007509507U, // <0,1,2,1>: Cost 1 ins LHS, lane 3
1007509507U, // <0,1,2,2>: Cost 1 ins LHS, lane 3
835584U, // <0,1,2,3>: Cost 0 copy LHS
1007509507U, // <0,1,2,4>: Cost 1 ins LHS, lane 3
1007509507U, // <0,1,2,5>: Cost 1 ins LHS, lane 3
1007509507U, // <0,1,2,6>: Cost 1 ins LHS, lane 3
1007509507U, // <0,1,2,7>: Cost 1 ins LHS, lane 3
835584U, // <0,1,2,u>: Cost 0 copy LHS
2133680132U, // <0,1,3,0>: Cost 2 ins <u,u,3,0>, lane 4
2081636354U, // <0,1,3,1>: Cost 2 ins <0,1,u,1>, lane 2
2133696516U, // <0,1,3,2>: Cost 2 ins <u,u,3,2>, lane 4
1007910914U, // <0,1,3,3>: Cost 1 ins LHS, lane 2
2133712900U, // <0,1,3,4>: Cost 2 ins <u,u,3,4>, lane 4
2081669122U, // <0,1,3,5>: Cost 2 ins <0,1,u,5>, lane 2
2081677314U, // <0,1,3,6>: Cost 2 ins <0,1,u,6>, lane 2
2133737476U, // <0,1,3,7>: Cost 2 ins <u,u,3,7>, lane 4
1007910914U, // <0,1,3,u>: Cost 1 ins LHS, lane 2
2081628162U, // <0,1,4,0>: Cost 2 ins <0,1,u,0>, lane 2
2081636354U, // <0,1,4,1>: Cost 2 ins <0,1,u,1>, lane 2
2081644546U, // <0,1,4,2>: Cost 2 ins <0,1,u,2>, lane 2
1007910914U, // <0,1,4,3>: Cost 1 ins LHS, lane 2
2081660930U, // <0,1,4,4>: Cost 2 ins <0,1,u,4>, lane 2
1007951877U, // <0,1,4,5>: Cost 1 ins LHS, lane 5
1680493878U, // <0,1,4,6>: Cost 2 vuzpl <0,4,1,5>, RHS
2081685506U, // <0,1,4,7>: Cost 2 ins <0,1,u,7>, lane 2
1007910914U, // <0,1,4,u>: Cost 1 ins LHS, lane 2
2081628162U, // <0,1,5,0>: Cost 2 ins <0,1,u,0>, lane 2
2133835780U, // <0,1,5,1>: Cost 2 ins <u,u,5,1>, lane 4
2081644546U, // <0,1,5,2>: Cost 2 ins <0,1,u,2>, lane 2
1007910914U, // <0,1,5,3>: Cost 1 ins LHS, lane 2
2081660930U, // <0,1,5,4>: Cost 2 ins <0,1,u,4>, lane 2
2133868548U, // <0,1,5,5>: Cost 2 ins <u,u,5,5>, lane 4
2133876740U, // <0,1,5,6>: Cost 2 ins <u,u,5,6>, lane 4
2133884932U, // <0,1,5,7>: Cost 2 ins <u,u,5,7>, lane 4
1007910914U, // <0,1,5,u>: Cost 1 ins LHS, lane 2
2081628162U, // <0,1,6,0>: Cost 2 ins <0,1,u,0>, lane 2
2081636354U, // <0,1,6,1>: Cost 2 ins <0,1,u,1>, lane 2
2133917700U, // <0,1,6,2>: Cost 2 ins <u,u,6,2>, lane 4
1007910914U, // <0,1,6,3>: Cost 1 ins LHS, lane 2
2081660930U, // <0,1,6,4>: Cost 2 ins <0,1,u,4>, lane 2
2081669122U, // <0,1,6,5>: Cost 2 ins <0,1,u,5>, lane 2
2133950468U, // <0,1,6,6>: Cost 2 ins <u,u,6,6>, lane 4
1060216836U, // <0,1,6,7>: Cost 1 ins RHS, lane 4
1007910914U, // <0,1,6,u>: Cost 1 ins LHS, lane 2
2133975044U, // <0,1,7,0>: Cost 2 ins <u,u,7,0>, lane 4
2081636354U, // <0,1,7,1>: Cost 2 ins <0,1,u,1>, lane 2
2081644546U, // <0,1,7,2>: Cost 2 ins <0,1,u,2>, lane 2
1007910914U, // <0,1,7,3>: Cost 1 ins LHS, lane 2
2134007812U, // <0,1,7,4>: Cost 2 ins <u,u,7,4>, lane 4
2081669122U, // <0,1,7,5>: Cost 2 ins <0,1,u,5>, lane 2
2134024196U, // <0,1,7,6>: Cost 2 ins <u,u,7,6>, lane 4
2134032388U, // <0,1,7,7>: Cost 2 ins <u,u,7,7>, lane 4
1007910914U, // <0,1,7,u>: Cost 1 ins LHS, lane 2
1007509507U, // <0,1,u,0>: Cost 1 ins LHS, lane 3
1007951877U, // <0,1,u,1>: Cost 1 ins LHS, lane 5
1007509507U, // <0,1,u,2>: Cost 1 ins LHS, lane 3
835584U, // <0,1,u,3>: Cost 0 copy LHS
1007509507U, // <0,1,u,4>: Cost 1 ins LHS, lane 3
1007509507U, // <0,1,u,5>: Cost 1 ins LHS, lane 3
1007509507U, // <0,1,u,6>: Cost 1 ins LHS, lane 3
1007509507U, // <0,1,u,7>: Cost 1 ins LHS, lane 3
835584U, // <0,1,u,u>: Cost 0 copy LHS
1678557184U, // <0,2,0,0>: Cost 2 vuzpl LHS, <0,0,0,0>
1678598154U, // <0,2,0,1>: Cost 2 vuzpl LHS, <0,0,1,1>
604815462U, // <0,2,0,2>: Cost 1 vuzpl LHS, LHS
2081767427U, // <0,2,0,3>: Cost 2 ins <0,2,0,u>, lane 3
1678598348U, // <0,2,0,4>: Cost 2 vuzpl LHS, <0,2,4,6>
2081767427U, // <0,2,0,5>: Cost 2 ins <0,2,0,u>, lane 3
2082340866U, // <0,2,0,6>: Cost 2 ins <0,2,u,6>, lane 2
2081767427U, // <0,2,0,7>: Cost 2 ins <0,2,0,u>, lane 3
604815516U, // <0,2,0,u>: Cost 1 vuzpl LHS, LHS
2752340940U, // <0,2,1,0>: Cost 3 vuzpl LHS, <1,3,0,0>
1678558004U, // <0,2,1,1>: Cost 2 vuzpl LHS, <1,1,1,1>
1812776552U, // <0,2,1,2>: Cost 2 vzipl LHS, <2,2,2,2>
1678557942U, // <0,2,1,3>: Cost 2 vuzpl LHS, <1,0,3,2>
2752340982U, // <0,2,1,4>: Cost 3 vuzpl LHS, <1,3,4,6>
1678599168U, // <0,2,1,5>: Cost 2 vuzpl LHS, <1,3,5,7>
1812817850U, // <0,2,1,6>: Cost 2 vzipl LHS, <2,6,3,7>
2860466282U, // <0,2,1,7>: Cost 3 vuzpr <7,0,1,2>, <0,1,2,7>
1678598947U, // <0,2,1,u>: Cost 2 vuzpl LHS, <1,0,u,2>
1678558886U, // <0,2,2,0>: Cost 2 vuzpl LHS, <2,3,0,1>
2085838849U, // <0,2,2,1>: Cost 2 ins <0,u,2,1>, lane 1
1678558824U, // <0,2,2,2>: Cost 2 vuzpl LHS, <2,2,2,2>
1012113409U, // <0,2,2,3>: Cost 1 ins LHS, lane 1
1678558926U, // <0,2,2,4>: Cost 2 vuzpl LHS, <2,3,4,5>
2085871617U, // <0,2,2,5>: Cost 2 ins <0,u,2,5>, lane 1
2085879809U, // <0,2,2,6>: Cost 2 ins <0,u,2,6>, lane 1
2085888001U, // <0,2,2,7>: Cost 2 ins <0,u,2,7>, lane 1
1012113409U, // <0,2,2,u>: Cost 1 ins LHS, lane 1
2129698816U, // <0,2,3,0>: Cost 2 ins <u,2,3,0>, lane 0
1678559382U, // <0,2,3,1>: Cost 2 vuzpl LHS, <3,0,1,2>
2082308098U, // <0,2,3,2>: Cost 2 ins <0,2,u,2>, lane 2
1678559644U, // <0,2,3,3>: Cost 2 vuzpl LHS, <3,3,3,3>
2129731584U, // <0,2,3,4>: Cost 2 ins <u,2,3,4>, lane 0
1678559746U, // <0,2,3,5>: Cost 2 vuzpl LHS, <3,4,5,6>
2082340866U, // <0,2,3,6>: Cost 2 ins <0,2,u,6>, lane 2
2824782848U, // <0,2,3,7>: Cost 3 vuzpr <1,0,3,2>, <1,3,5,7>
1678559445U, // <0,2,3,u>: Cost 2 vuzpl LHS, <3,0,u,2>
2082062339U, // <0,2,4,0>: Cost 2 ins <0,2,4,u>, lane 3
2082062339U, // <0,2,4,1>: Cost 2 ins <0,2,4,u>, lane 3
2082308098U, // <0,2,4,2>: Cost 2 ins <0,2,u,2>, lane 2
2082062339U, // <0,2,4,3>: Cost 2 ins <0,2,4,u>, lane 3
2082062339U, // <0,2,4,4>: Cost 2 ins <0,2,4,u>, lane 3
1544850742U, // <0,2,4,5>: Cost 2 vext2 <0,2,0,2>, RHS
604818742U, // <0,2,4,6>: Cost 1 vuzpl LHS, RHS
2082062339U, // <0,2,4,7>: Cost 2 ins <0,2,4,u>, lane 3
604818760U, // <0,2,4,u>: Cost 1 vuzpl LHS, RHS
3105260438U, // <0,2,5,0>: Cost 3 vtrnr <3,0,4,5>, <1,2,3,0>
1678561408U, // <0,2,5,1>: Cost 2 vuzpl LHS, <5,7,1,3>
2082308098U, // <0,2,5,2>: Cost 2 ins <0,2,u,2>, lane 2
2086076417U, // <0,2,5,3>: Cost 2 ins <0,u,5,3>, lane 1
2756947554U, // <0,2,5,4>: Cost 3 vuzpl LHS, <5,0,4,1>
1678561284U, // <0,2,5,5>: Cost 2 vuzpl LHS, <5,5,5,5>
2082340866U, // <0,2,5,6>: Cost 2 ins <0,2,u,6>, lane 2
1751043382U, // <0,2,5,7>: Cost 2 vuzpr <1,0,3,2>, RHS
1751043383U, // <0,2,5,u>: Cost 2 vuzpr <1,0,3,2>, RHS
1678562126U, // <0,2,6,0>: Cost 2 vuzpl LHS, <6,7,0,1>
2756948257U, // <0,2,6,1>: Cost 3 vuzpl LHS, <6,0,1,2>
2082308098U, // <0,2,6,2>: Cost 2 ins <0,2,u,2>, lane 2
2086150145U, // <0,2,6,3>: Cost 2 ins <0,u,6,3>, lane 1
1678562166U, // <0,2,6,4>: Cost 2 vuzpl LHS, <6,7,4,5>
2756948621U, // <0,2,6,5>: Cost 3 vuzpl LHS, <6,4,5,6>
2082340866U, // <0,2,6,6>: Cost 2 ins <0,2,u,6>, lane 2
2082357253U, // <0,2,6,7>: Cost 2 ins <0,2,u,u>, lane 5
2082308098U, // <0,2,6,u>: Cost 2 ins <0,2,u,2>, lane 2
3099378582U, // <0,2,7,0>: Cost 3 vtrnr <2,0,5,7>, <1,2,3,0>
1678562298U, // <0,2,7,1>: Cost 2 vuzpl LHS, <7,0,1,2>
2082308098U, // <0,2,7,2>: Cost 2 ins <0,2,u,2>, lane 2
2130018304U, // <0,2,7,3>: Cost 2 ins <u,2,7,3>, lane 0
2645136742U, // <0,2,7,4>: Cost 3 vext2 <4,6,0,2>, <7,4,5,6>
1678562662U, // <0,2,7,5>: Cost 2 vuzpl LHS, <7,4,5,6>
2082340866U, // <0,2,7,6>: Cost 2 ins <0,2,u,6>, lane 2
1678562924U, // <0,2,7,7>: Cost 2 vuzpl LHS, <7,7,7,7>
2082308098U, // <0,2,7,u>: Cost 2 ins <0,2,u,2>, lane 2
1947436710U, // <0,2,u,0>: Cost 2 vtrnl LHS, <2,3,0,1>
1678603987U, // <0,2,u,1>: Cost 2 vuzpl LHS, <u,0,1,2>
604821294U, // <0,2,u,2>: Cost 1 vuzpl LHS, LHS
1012113409U, // <0,2,u,3>: Cost 1 ins LHS, lane 1
1947436750U, // <0,2,u,4>: Cost 2 vtrnl LHS, <2,3,4,5>
1678604351U, // <0,2,u,5>: Cost 2 vuzpl LHS, <u,4,5,6>
604821658U, // <0,2,u,6>: Cost 1 vuzpl LHS, RHS
1751043625U, // <0,2,u,7>: Cost 2 vuzpr <1,0,3,2>, RHS
604821348U, // <0,2,u,u>: Cost 1 vuzpl LHS, LHS
2085683201U, // <0,3,0,0>: Cost 2 ins <0,u,0,0>, lane 1
2130149376U, // <0,3,0,1>: Cost 2 ins <u,3,0,1>, lane 0
2085699585U, // <0,3,0,2>: Cost 2 ins <0,u,0,2>, lane 1
1745002517U, // <0,3,0,3>: Cost 2 vuzpr <0,0,2,3>, <0,0,2,3>
2556333366U, // <0,3,0,4>: Cost 3 vext1 <1,0,3,0>, RHS
3021244930U, // <0,3,0,5>: Cost 3 vtrnl <0,2,0,2>, <3,4,5,6>
3159474177U, // <0,3,0,6>: Cost 3 ins <0,u,0,6>, lane 1
2952791184U, // <0,3,0,7>: Cost 3 vzipr <0,0,0,0>, <1,5,3,7>
2130149376U, // <0,3,0,u>: Cost 2 ins <u,3,0,1>, lane 0
1812777110U, // <0,3,1,0>: Cost 2 vzipl LHS, <3,0,1,2>
2085765121U, // <0,3,1,1>: Cost 2 ins <0,u,1,1>, lane 1
2886519105U, // <0,3,1,2>: Cost 3 vzipl LHS, <3,2,2,2>
1812777372U, // <0,3,1,3>: Cost 2 vzipl LHS, <3,3,3,3>
1812777474U, // <0,3,1,4>: Cost 2 vzipl LHS, <3,4,5,6>
2085797889U, // <0,3,1,5>: Cost 2 ins <0,u,1,5>, lane 1
3159547905U, // <0,3,1,6>: Cost 3 ins <0,u,1,6>, lane 1
2966733968U, // <0,3,1,7>: Cost 3 vzipr <2,3,0,1>, <1,5,3,7>
1812777758U, // <0,3,1,u>: Cost 2 vzipl LHS, <3,u,1,2>
1482604646U, // <0,3,2,0>: Cost 2 vext1 <1,0,3,2>, LHS
1946994838U, // <0,3,2,1>: Cost 2 vtrnl LHS, <3,0,1,2>
2085847041U, // <0,3,2,2>: Cost 2 ins <0,u,2,2>, lane 1
1012113409U, // <0,3,2,3>: Cost 1 ins LHS, lane 1
1482607926U, // <0,3,2,4>: Cost 2 vext1 <1,0,3,2>, RHS
1946995202U, // <0,3,2,5>: Cost 2 vtrnl LHS, <3,4,5,6>
2085879809U, // <0,3,2,6>: Cost 2 ins <0,u,2,6>, lane 1
2085888001U, // <0,3,2,7>: Cost 2 ins <0,u,2,7>, lane 1
1012113409U, // <0,3,2,u>: Cost 1 ins LHS, lane 1
2887747734U, // <0,3,3,0>: Cost 3 vzipl <0,3,1,0>, <3,0,1,2>
2753022102U, // <0,3,3,1>: Cost 3 vuzpl <0,2,3,1>, <3,0,1,2>
2965422838U, // <0,3,3,2>: Cost 3 vzipr <2,1,0,3>, <1,0,3,2>
2130386944U, // <0,3,3,3>: Cost 2 ins <u,3,3,3>, lane 0
2887780866U, // <0,3,3,4>: Cost 3 vzipl <0,3,1,4>, <3,4,5,6>
2753055234U, // <0,3,3,5>: Cost 3 vuzpl <0,2,3,5>, <3,4,5,6>
2752375389U, // <0,3,3,6>: Cost 3 vuzpl <0,1,3,3>, <3,5,6,7>
3204161536U, // <0,3,3,7>: Cost 3 ins <u,3,3,7>, lane 0
2130386944U, // <0,3,3,u>: Cost 2 ins <u,3,3,3>, lane 0
2888452246U, // <0,3,4,0>: Cost 3 vzipl <0,4,1,5>, <3,0,1,2>
3021572246U, // <0,3,4,1>: Cost 3 vtrnl <0,2,4,6>, <3,0,1,2>
3021572257U, // <0,3,4,2>: Cost 3 vtrnl <0,2,4,6>, <3,0,2,4>
2086002689U, // <0,3,4,3>: Cost 2 ins <0,u,4,3>, lane 1
2888452610U, // <0,3,4,4>: Cost 3 vzipl <0,4,1,5>, <3,4,5,6>
2130477056U, // <0,3,4,5>: Cost 2 ins <u,3,4,5>, lane 0
2086027265U, // <0,3,4,6>: Cost 2 ins <0,u,4,6>, lane 1
2818747621U, // <0,3,4,7>: Cost 3 vuzpr <0,0,2,3>, <4,4,6,7>
2130477056U, // <0,3,4,u>: Cost 2 ins <u,3,4,5>, lane 0
3204251648U, // <0,3,5,0>: Cost 3 ins <u,3,5,0>, lane 0
3204259840U, // <0,3,5,1>: Cost 3 ins <u,3,5,1>, lane 0
2961457910U, // <0,3,5,2>: Cost 3 vzipr <1,4,0,5>, <1,0,3,2>
2086076417U, // <0,3,5,3>: Cost 2 ins <0,u,5,3>, lane 1
2232846516U, // <0,3,5,4>: Cost 3 vrev <3,0,4,5>
3204292608U, // <0,3,5,5>: Cost 3 ins <u,3,5,5>, lane 0
2653769826U, // <0,3,5,6>: Cost 3 vext2 <6,1,0,3>, <5,6,7,0>
2130567168U, // <0,3,5,7>: Cost 2 ins <u,3,5,7>, lane 0
2130567168U, // <0,3,5,u>: Cost 2 ins <u,3,5,7>, lane 0
2854506594U, // <0,3,6,0>: Cost 3 vuzpr <6,0,1,3>, <5,6,7,0>
2653770090U, // <0,3,6,1>: Cost 3 vext2 <6,1,0,3>, <6,1,0,3>
3204341760U, // <0,3,6,2>: Cost 3 ins <u,3,6,2>, lane 0
2086150145U, // <0,3,6,3>: Cost 2 ins <0,u,6,3>, lane 1
3204358144U, // <0,3,6,4>: Cost 3 ins <u,3,6,4>, lane 0
3204366336U, // <0,3,6,5>: Cost 3 ins <u,3,6,5>, lane 0
3204374528U, // <0,3,6,6>: Cost 3 ins <u,3,6,6>, lane 0
2130640896U, // <0,3,6,7>: Cost 2 ins <u,3,6,7>, lane 0
2086150145U, // <0,3,6,u>: Cost 2 ins <0,u,6,3>, lane 1
2968109974U, // <0,3,7,0>: Cost 3 vzipr <2,5,0,7>, <1,2,3,0>
2659742787U, // <0,3,7,1>: Cost 3 vext2 <7,1,0,3>, <7,1,0,3>
2660406420U, // <0,3,7,2>: Cost 3 vext2 <7,2,0,3>, <7,2,0,3>
2086223873U, // <0,3,7,3>: Cost 2 ins <0,u,7,3>, lane 1
3204431872U, // <0,3,7,4>: Cost 3 ins <u,3,7,4>, lane 0
3204440064U, // <0,3,7,5>: Cost 3 ins <u,3,7,5>, lane 0
2752378305U, // <0,3,7,6>: Cost 3 vuzpl <0,1,3,3>, <7,5,6,7>
3204456448U, // <0,3,7,7>: Cost 3 ins <u,3,7,7>, lane 0
2086223873U, // <0,3,7,u>: Cost 2 ins <0,u,7,3>, lane 1
1817421974U, // <0,3,u,0>: Cost 2 vzipl LHS, <3,0,1,2>
1947437206U, // <0,3,u,1>: Cost 2 vtrnl LHS, <3,0,1,2>
2085699585U, // <0,3,u,2>: Cost 2 ins <0,u,0,2>, lane 1
1012113409U, // <0,3,u,3>: Cost 1 ins LHS, lane 1
1817422338U, // <0,3,u,4>: Cost 2 vzipl LHS, <3,4,5,6>
1947437570U, // <0,3,u,5>: Cost 2 vtrnl LHS, <3,4,5,6>
2085879809U, // <0,3,u,6>: Cost 2 ins <0,u,2,6>, lane 1
2130567168U, // <0,3,u,7>: Cost 2 ins <u,3,5,7>, lane 0
1012113409U, // <0,3,u,u>: Cost 1 ins LHS, lane 1
2085683201U, // <0,4,0,0>: Cost 2 ins <0,u,0,0>, lane 1
2083684357U, // <0,4,0,1>: Cost 2 ins <0,4,u,u>, lane 5
1679392870U, // <0,4,0,2>: Cost 2 vuzpl <0,2,4,6>, LHS
2085707777U, // <0,4,0,3>: Cost 2 ins <0,u,0,3>, lane 1
1679392972U, // <0,4,0,4>: Cost 2 vuzpl <0,2,4,6>, <0,2,4,6>
2083659778U, // <0,4,0,5>: Cost 2 ins <0,4,u,5>, lane 2
1947503926U, // <0,4,0,6>: Cost 2 vtrnl <0,2,0,2>, RHS
3156836355U, // <0,4,0,7>: Cost 3 ins <0,4,0,u>, lane 3
1947503944U, // <0,4,0,u>: Cost 2 vtrnl <0,2,0,2>, RHS
2083168259U, // <0,4,1,0>: Cost 2 ins <0,4,1,u>, lane 3
2085765121U, // <0,4,1,1>: Cost 2 ins <0,u,1,1>, lane 1
2083168259U, // <0,4,1,2>: Cost 2 ins <0,4,1,u>, lane 3
2083168259U, // <0,4,1,3>: Cost 2 ins <0,4,1,u>, lane 3
2083168259U, // <0,4,1,4>: Cost 2 ins <0,4,1,u>, lane 3
739036470U, // <0,4,1,5>: Cost 1 vzipl LHS, RHS
1948929334U, // <0,4,1,6>: Cost 2 vtrnl <0,4,1,5>, RHS
2083168259U, // <0,4,1,7>: Cost 2 ins <0,4,1,u>, lane 3
739036713U, // <0,4,1,u>: Cost 1 vzipl LHS, RHS
2083241987U, // <0,4,2,0>: Cost 2 ins <0,4,2,u>, lane 3
2083241987U, // <0,4,2,1>: Cost 2 ins <0,4,2,u>, lane 3
2085847041U, // <0,4,2,2>: Cost 2 ins <0,u,2,2>, lane 1
1012113409U, // <0,4,2,3>: Cost 1 ins LHS, lane 1
2083241987U, // <0,4,2,4>: Cost 2 ins <0,4,2,u>, lane 3
1813286198U, // <0,4,2,5>: Cost 2 vzipl <0,2,0,2>, RHS
873254198U, // <0,4,2,6>: Cost 1 vtrnl LHS, RHS
2083241987U, // <0,4,2,7>: Cost 2 ins <0,4,2,u>, lane 3
873254216U, // <0,4,2,u>: Cost 1 vtrnl LHS, RHS
3020811514U, // <0,4,3,0>: Cost 3 vtrnl <0,1,3,3>, <4,5,0,1>
2753136790U, // <0,4,3,1>: Cost 3 vuzpl <0,2,4,6>, <3,0,1,2>
2753136801U, // <0,4,3,2>: Cost 3 vuzpl <0,2,4,6>, <3,0,2,4>
2085928961U, // <0,4,3,3>: Cost 2 ins <0,u,3,3>, lane 1
3204800512U, // <0,4,3,4>: Cost 3 ins <u,4,3,4>, lane 0
2083659778U, // <0,4,3,5>: Cost 2 ins <0,4,u,5>, lane 2
2083667970U, // <0,4,3,6>: Cost 2 ins <0,4,u,6>, lane 2
3087183077U, // <0,4,3,7>: Cost 3 vtrnr <0,0,2,3>, <4,4,6,7>
2083659778U, // <0,4,3,u>: Cost 2 ins <0,4,u,5>, lane 2
2753137995U, // <0,4,4,0>: Cost 3 vuzpl <0,2,4,6>, <4,6,0,1>
2888453090U, // <0,4,4,1>: Cost 3 vzipl <0,4,1,5>, <4,1,5,0>
2888535100U, // <0,4,4,2>: Cost 3 vzipl <0,4,2,6>, <4,2,6,0>
2086002689U, // <0,4,4,3>: Cost 2 ins <0,u,4,3>, lane 1
2131132416U, // <0,4,4,4>: Cost 2 ins <u,4,4,4>, lane 0
1814711606U, // <0,4,4,5>: Cost 2 vzipl <0,4,1,5>, RHS
1679396150U, // <0,4,4,6>: Cost 2 vuzpl <0,2,4,6>, RHS
3157131267U, // <0,4,4,7>: Cost 3 ins <0,4,4,u>, lane 3
1679396168U, // <0,4,4,u>: Cost 2 vuzpl <0,2,4,6>, RHS
2568388710U, // <0,4,5,0>: Cost 3 vext1 <3,0,4,5>, LHS
2568389526U, // <0,4,5,1>: Cost 3 vext1 <3,0,4,5>, <1,2,3,0>
3204931584U, // <0,4,5,2>: Cost 3 ins <u,4,5,2>, lane 0
2086076417U, // <0,4,5,3>: Cost 2 ins <0,u,5,3>, lane 1
2568391990U, // <0,4,5,4>: Cost 3 vext1 <3,0,4,5>, RHS
2131214336U, // <0,4,5,5>: Cost 2 ins <u,4,5,5>, lane 0
1618136374U, // <0,4,5,6>: Cost 2 vext3 <1,2,3,0>, RHS
2830699830U, // <0,4,5,7>: Cost 3 vuzpr <2,0,2,4>, RHS
1618136392U, // <0,4,5,u>: Cost 2 vext3 <1,2,3,0>, RHS
2712227146U, // <0,4,6,0>: Cost 3 vext3 <4,6,0,0>, <4,6,0,0>
2753138977U, // <0,4,6,1>: Cost 3 vuzpl <0,2,4,6>, <6,0,1,2>
2753138988U, // <0,4,6,2>: Cost 3 vuzpl <0,2,4,6>, <6,0,2,4>
2086150145U, // <0,4,6,3>: Cost 2 ins <0,u,6,3>, lane 1
2712522094U, // <0,4,6,4>: Cost 3 vext3 <4,6,4,0>, <4,6,4,0>
2083659778U, // <0,4,6,5>: Cost 2 ins <0,4,u,5>, lane 2
2131296256U, // <0,4,6,6>: Cost 2 ins <u,4,6,6>, lane 0
2083684357U, // <0,4,6,7>: Cost 2 ins <0,4,u,u>, lane 5
2083659778U, // <0,4,6,u>: Cost 2 ins <0,4,u,5>, lane 2
3021106426U, // <0,4,7,0>: Cost 3 vtrnl <0,1,7,3>, <4,5,0,1>
2860487502U, // <0,4,7,1>: Cost 3 vuzpr <7,0,1,4>, <6,7,0,1>
3157377026U, // <0,4,7,2>: Cost 3 ins <0,4,u,2>, lane 2
2086223873U, // <0,4,7,3>: Cost 2 ins <0,u,7,3>, lane 1
3205095424U, // <0,4,7,4>: Cost 3 ins <u,4,7,4>, lane 0
2083659778U, // <0,4,7,5>: Cost 2 ins <0,4,u,5>, lane 2
2131369984U, // <0,4,7,6>: Cost 2 ins <u,4,7,6>, lane 0
2752452204U, // <0,4,7,7>: Cost 3 vuzpl <0,1,4,3>, <7,7,7,7>
2083659778U, // <0,4,7,u>: Cost 2 ins <0,4,u,5>, lane 2
2083168259U, // <0,4,u,0>: Cost 2 ins <0,4,1,u>, lane 3
2083684357U, // <0,4,u,1>: Cost 2 ins <0,4,u,u>, lane 5
1679398702U, // <0,4,u,2>: Cost 2 vuzpl <0,2,4,6>, LHS
1012113409U, // <0,4,u,3>: Cost 1 ins LHS, lane 1
1679392972U, // <0,4,u,4>: Cost 2 vuzpl <0,2,4,6>, <0,2,4,6>
743681334U, // <0,4,u,5>: Cost 1 vzipl LHS, RHS
873696566U, // <0,4,u,6>: Cost 1 vtrnl LHS, RHS
2083168259U, // <0,4,u,7>: Cost 2 ins <0,4,1,u>, lane 3
873696584U, // <0,4,u,u>: Cost 1 vtrnl LHS, RHS
2085683201U, // <0,5,0,0>: Cost 2 ins <0,u,0,0>, lane 1
2131476480U, // <0,5,0,1>: Cost 2 ins <u,5,0,1>, lane 0
2085699585U, // <0,5,0,2>: Cost 2 ins <0,u,0,2>, lane 1
2085707777U, // <0,5,0,3>: Cost 2 ins <0,u,0,3>, lane 1
3159457793U, // <0,5,0,4>: Cost 3 ins <0,u,0,4>, lane 1
1678778497U, // <0,5,0,5>: Cost 2 vuzpl <0,1,5,3>, <0,1,5,3>
3159474177U, // <0,5,0,6>: Cost 3 ins <0,u,0,6>, lane 1
2013269302U, // <0,5,0,7>: Cost 2 vtrnr <0,0,0,0>, RHS
2085699585U, // <0,5,0,u>: Cost 2 ins <0,u,0,2>, lane 1
1500659814U, // <0,5,1,0>: Cost 2 vext1 <4,0,5,1>, LHS
2085765121U, // <0,5,1,1>: Cost 2 ins <0,u,1,1>, lane 1
3159515137U, // <0,5,1,2>: Cost 3 ins <0,u,1,2>, lane 1
2085781505U, // <0,5,1,3>: Cost 2 ins <0,u,1,3>, lane 1
1812778950U, // <0,5,1,4>: Cost 2 vzipl LHS, <5,4,7,6>
2085797889U, // <0,5,1,5>: Cost 2 ins <0,u,1,5>, lane 1
1812779106U, // <0,5,1,6>: Cost 2 vzipl LHS, <5,6,7,0>
2013351222U, // <0,5,1,7>: Cost 2 vtrnr <0,0,1,1>, RHS
2085765121U, // <0,5,1,u>: Cost 2 ins <0,u,1,1>, lane 1
2085830657U, // <0,5,2,0>: Cost 2 ins <0,u,2,0>, lane 1
1946996864U, // <0,5,2,1>: Cost 2 vtrnl LHS, <5,7,1,3>
2085847041U, // <0,5,2,2>: Cost 2 ins <0,u,2,2>, lane 1
1012113409U, // <0,5,2,3>: Cost 1 ins LHS, lane 1
2085863425U, // <0,5,2,4>: Cost 2 ins <0,u,2,4>, lane 1
1946996740U, // <0,5,2,5>: Cost 2 vtrnl LHS, <5,5,5,5>
2085879809U, // <0,5,2,6>: Cost 2 ins <0,u,2,6>, lane 1
2019478838U, // <0,5,2,7>: Cost 2 vtrnr <1,0,3,2>, RHS
1012113409U, // <0,5,2,u>: Cost 1 ins LHS, lane 1
2637858966U, // <0,5,3,0>: Cost 3 vext2 <3,4,0,5>, <3,0,1,2>
3205439488U, // <0,5,3,1>: Cost 3 ins <u,5,3,1>, lane 0
3087183153U, // <0,5,3,2>: Cost 3 vtrnr <0,0,2,3>, <4,5,6,2>
2085928961U, // <0,5,3,3>: Cost 2 ins <0,u,3,3>, lane 1
2637859284U, // <0,5,3,4>: Cost 3 vext2 <3,4,0,5>, <3,4,0,5>
3205472256U, // <0,5,3,5>: Cost 3 ins <u,5,3,5>, lane 0
3205480448U, // <0,5,3,6>: Cost 3 ins <u,5,3,6>, lane 0
2131746816U, // <0,5,3,7>: Cost 2 ins <u,5,3,7>, lane 0
2131746816U, // <0,5,3,u>: Cost 2 ins <u,5,3,7>, lane 0
2888453704U, // <0,5,4,0>: Cost 3 vzipl <0,4,1,5>, <5,0,1,2>
3159728129U, // <0,5,4,1>: Cost 3 ins <0,u,4,1>, lane 1
3159736321U, // <0,5,4,2>: Cost 3 ins <0,u,4,2>, lane 1
2086002689U, // <0,5,4,3>: Cost 2 ins <0,u,4,3>, lane 1
2888454068U, // <0,5,4,4>: Cost 3 vzipl <0,4,1,5>, <5,4,5,6>
2131804160U, // <0,5,4,5>: Cost 2 ins <u,5,4,5>, lane 0
2086027265U, // <0,5,4,6>: Cost 2 ins <0,u,4,6>, lane 1
2131820544U, // <0,5,4,7>: Cost 2 ins <u,5,4,7>, lane 0
2086027265U, // <0,5,4,u>: Cost 2 ins <0,u,4,6>, lane 1
3205578752U, // <0,5,5,0>: Cost 3 ins <u,5,5,0>, lane 0
2997291922U, // <0,5,5,1>: Cost 3 vzipr <7,4,0,5>, <4,0,5,1>
2752523939U, // <0,5,5,2>: Cost 3 vuzpl <0,1,5,3>, <5,1,2,3>
2086076417U, // <0,5,5,3>: Cost 2 ins <0,u,5,3>, lane 1
3205611520U, // <0,5,5,4>: Cost 3 ins <u,5,5,4>, lane 0
2131877888U, // <0,5,5,5>: Cost 2 ins <u,5,5,5>, lane 0
2657767522U, // <0,5,5,6>: Cost 3 vext2 <6,7,0,5>, <5,6,7,0>
2131894272U, // <0,5,5,7>: Cost 2 ins <u,5,5,7>, lane 0
2086076417U, // <0,5,5,u>: Cost 2 ins <0,u,5,3>, lane 1
2131910656U, // <0,5,6,0>: Cost 2 ins <u,5,6,0>, lane 0
2131918848U, // <0,5,6,1>: Cost 2 ins <u,5,6,1>, lane 0
2131927040U, // <0,5,6,2>: Cost 2 ins <u,5,6,2>, lane 0
2131935232U, // <0,5,6,3>: Cost 2 ins <u,5,6,3>, lane 0
2131943424U, // <0,5,6,4>: Cost 2 ins <u,5,6,4>, lane 0
2131951616U, // <0,5,6,5>: Cost 2 ins <u,5,6,5>, lane 0
2131959808U, // <0,5,6,6>: Cost 2 ins <u,5,6,6>, lane 0
1058226176U, // <0,5,6,7>: Cost 1 ins RHS, lane 0
1058226176U, // <0,5,6,u>: Cost 1 ins RHS, lane 0
2562506854U, // <0,5,7,0>: Cost 3 vext1 <2,0,5,7>, LHS
2562507670U, // <0,5,7,1>: Cost 3 vext1 <2,0,5,7>, <1,2,3,0>
2562508262U, // <0,5,7,2>: Cost 3 vext1 <2,0,5,7>, <2,0,5,7>
2086223873U, // <0,5,7,3>: Cost 2 ins <0,u,7,3>, lane 1
2562510134U, // <0,5,7,4>: Cost 3 vext1 <2,0,5,7>, RHS
2718716072U, // <0,5,7,5>: Cost 3 vext3 <5,6,7,0>, <5,7,5,7>
2718716074U, // <0,5,7,6>: Cost 3 vext3 <5,6,7,0>, <5,7,6,0>
2132041728U, // <0,5,7,7>: Cost 2 ins <u,5,7,7>, lane 0
2132041728U, // <0,5,7,u>: Cost 2 ins <u,5,7,7>, lane 0
1500717158U, // <0,5,u,0>: Cost 2 vext1 <4,0,5,u>, LHS
2085765121U, // <0,5,u,1>: Cost 2 ins <0,u,1,1>, lane 1
2085699585U, // <0,5,u,2>: Cost 2 ins <0,u,0,2>, lane 1
1012113409U, // <0,5,u,3>: Cost 1 ins LHS, lane 1
1817423814U, // <0,5,u,4>: Cost 2 vzipl LHS, <5,4,7,6>
2085797889U, // <0,5,u,5>: Cost 2 ins <0,u,1,5>, lane 1
2085879809U, // <0,5,u,6>: Cost 2 ins <0,u,2,6>, lane 1
1058226176U, // <0,5,u,7>: Cost 1 ins RHS, lane 0
1012113409U, // <0,5,u,u>: Cost 1 ins LHS, lane 1
2085683201U, // <0,6,0,0>: Cost 2 ins <0,u,0,0>, lane 1
2085691393U, // <0,6,0,1>: Cost 2 ins <0,u,0,1>, lane 1
2132148224U, // <0,6,0,2>: Cost 2 ins <u,6,0,2>, lane 0
2085707777U, // <0,6,0,3>: Cost 2 ins <0,u,0,3>, lane 1
2619949386U, // <0,6,0,4>: Cost 3 vext2 <0,4,0,6>, <0,4,0,6>
2586415202U, // <0,6,0,5>: Cost 3 vext1 <6,0,6,0>, <5,6,7,0>
1678852234U, // <0,6,0,6>: Cost 2 vuzpl <0,1,6,3>, <0,1,6,3>
1879051574U, // <0,6,0,7>: Cost 2 vzipr <0,0,0,0>, RHS
2132148224U, // <0,6,0,u>: Cost 2 ins <u,6,0,2>, lane 0
2993278336U, // <0,6,1,0>: Cost 3 vzipr <6,7,0,1>, <4,6,6,0>
2085765121U, // <0,6,1,1>: Cost 2 ins <0,u,1,1>, lane 1
1812779514U, // <0,6,1,2>: Cost 2 vzipl LHS, <6,2,7,3>
2085781505U, // <0,6,1,3>: Cost 2 ins <0,u,1,3>, lane 1
3159531521U, // <0,6,1,4>: Cost 3 ins <0,u,1,4>, lane 1
2085797889U, // <0,6,1,5>: Cost 2 ins <0,u,1,5>, lane 1
1812779832U, // <0,6,1,6>: Cost 2 vzipl LHS, <6,6,6,6>
1892994358U, // <0,6,1,7>: Cost 2 vzipr <2,3,0,1>, RHS
1892994359U, // <0,6,1,u>: Cost 2 vzipr <2,3,0,1>, RHS
1946997582U, // <0,6,2,0>: Cost 2 vtrnl LHS, <6,7,0,1>
2085838849U, // <0,6,2,1>: Cost 2 ins <0,u,2,1>, lane 1
2085847041U, // <0,6,2,2>: Cost 2 ins <0,u,2,2>, lane 1
1012113409U, // <0,6,2,3>: Cost 1 ins LHS, lane 1
1946997622U, // <0,6,2,4>: Cost 2 vtrnl LHS, <6,7,4,5>
2085871617U, // <0,6,2,5>: Cost 2 ins <0,u,2,5>, lane 1
2085879809U, // <0,6,2,6>: Cost 2 ins <0,u,2,6>, lane 1
1880395062U, // <0,6,2,7>: Cost 2 vzipr <0,2,0,2>, RHS
1012113409U, // <0,6,2,u>: Cost 1 ins LHS, lane 1
3122942050U, // <0,6,3,0>: Cost 3 vtrnr <6,0,1,3>, <5,6,7,0>
2250527010U, // <0,6,3,1>: Cost 3 vrev <6,0,1,3>
3206111232U, // <0,6,3,2>: Cost 3 ins <u,6,3,2>, lane 0
2085928961U, // <0,6,3,3>: Cost 2 ins <0,u,3,3>, lane 1
3206127616U, // <0,6,3,4>: Cost 3 ins <u,6,3,4>, lane 0
3206135808U, // <0,6,3,5>: Cost 3 ins <u,6,3,5>, lane 0
3206144000U, // <0,6,3,6>: Cost 3 ins <u,6,3,6>, lane 0
2132410368U, // <0,6,3,7>: Cost 2 ins <u,6,3,7>, lane 0
2132410368U, // <0,6,3,u>: Cost 2 ins <u,6,3,7>, lane 0
2888536380U, // <0,6,4,0>: Cost 3 vzipl <0,4,2,6>, <6,0,4,2>
3021574433U, // <0,6,4,1>: Cost 3 vtrnl <0,2,4,6>, <6,0,1,2>
3021574444U, // <0,6,4,2>: Cost 3 vtrnl <0,2,4,6>, <6,0,2,4>
2086002689U, // <0,6,4,3>: Cost 2 ins <0,u,4,3>, lane 1
2562559286U, // <0,6,4,4>: Cost 3 vext1 <2,0,6,4>, RHS
2086019073U, // <0,6,4,5>: Cost 2 ins <0,u,4,5>, lane 1
2132475904U, // <0,6,4,6>: Cost 2 ins <u,6,4,6>, lane 0
2954153270U, // <0,6,4,7>: Cost 3 vzipr <0,2,0,4>, RHS
2132475904U, // <0,6,4,u>: Cost 2 ins <u,6,4,6>, lane 0
2718716594U, // <0,6,5,0>: Cost 3 vext3 <5,6,7,0>, <6,5,0,7>
3206250496U, // <0,6,5,1>: Cost 3 ins <u,6,5,1>, lane 0
3206258688U, // <0,6,5,2>: Cost 3 ins <u,6,5,2>, lane 0
2086076417U, // <0,6,5,3>: Cost 2 ins <0,u,5,3>, lane 1
3206275072U, // <0,6,5,4>: Cost 3 ins <u,6,5,4>, lane 0
3206283264U, // <0,6,5,5>: Cost 3 ins <u,6,5,5>, lane 0
3206291456U, // <0,6,5,6>: Cost 3 ins <u,6,5,6>, lane 0
2961460534U, // <0,6,5,7>: Cost 3 vzipr <1,4,0,5>, RHS
2086076417U, // <0,6,5,u>: Cost 2 ins <0,u,5,3>, lane 1
2724172540U, // <0,6,6,0>: Cost 3 vext3 <6,6,0,0>, <6,6,0,0>
2889838972U, // <0,6,6,1>: Cost 3 vzipl <0,6,2,3>, <6,1,2,3>
2997300124U, // <0,6,6,2>: Cost 3 vzipr <7,4,0,6>, <4,0,6,2>
2086150145U, // <0,6,6,3>: Cost 2 ins <0,u,6,3>, lane 1
3206348800U, // <0,6,6,4>: Cost 3 ins <u,6,6,4>, lane 0
2889839336U, // <0,6,6,5>: Cost 3 vzipl <0,6,2,3>, <6,5,6,7>
2132623360U, // <0,6,6,6>: Cost 2 ins <u,6,6,6>, lane 0
2132631552U, // <0,6,6,7>: Cost 2 ins <u,6,6,7>, lane 0
2086150145U, // <0,6,6,u>: Cost 2 ins <0,u,6,3>, lane 1
2132647936U, // <0,6,7,0>: Cost 2 ins <u,6,7,0>, lane 0
2724909910U, // <0,6,7,1>: Cost 3 vext3 <6,7,1,0>, <6,7,1,0>
3206406144U, // <0,6,7,2>: Cost 3 ins <u,6,7,2>, lane 0
2086223873U, // <0,6,7,3>: Cost 2 ins <0,u,7,3>, lane 1
2132680704U, // <0,6,7,4>: Cost 2 ins <u,6,7,4>, lane 0
2718716800U, // <0,6,7,5>: Cost 3 vext3 <5,6,7,0>, <6,7,5,6>
3206438912U, // <0,6,7,6>: Cost 3 ins <u,6,7,6>, lane 0
2132705280U, // <0,6,7,7>: Cost 2 ins <u,6,7,7>, lane 0
2132647936U, // <0,6,7,u>: Cost 2 ins <u,6,7,0>, lane 0
2132647936U, // <0,6,u,0>: Cost 2 ins <u,6,7,0>, lane 0
2085765121U, // <0,6,u,1>: Cost 2 ins <0,u,1,1>, lane 1
2132148224U, // <0,6,u,2>: Cost 2 ins <u,6,0,2>, lane 0
1012113409U, // <0,6,u,3>: Cost 1 ins LHS, lane 1
2132680704U, // <0,6,u,4>: Cost 2 ins <u,6,7,4>, lane 0
2085797889U, // <0,6,u,5>: Cost 2 ins <0,u,1,5>, lane 1
2085879809U, // <0,6,u,6>: Cost 2 ins <0,u,2,6>, lane 1
1880444214U, // <0,6,u,7>: Cost 2 vzipr <0,2,0,u>, RHS
1012113409U, // <0,6,u,u>: Cost 1 ins LHS, lane 1
2085683201U, // <0,7,0,0>: Cost 2 ins <0,u,0,0>, lane 1
2132803584U, // <0,7,0,1>: Cost 2 ins <u,7,0,1>, lane 0
2085699585U, // <0,7,0,2>: Cost 2 ins <0,u,0,2>, lane 1
2085707777U, // <0,7,0,3>: Cost 2 ins <0,u,0,3>, lane 1
2580516150U, // <0,7,0,4>: Cost 3 vext1 <5,0,7,0>, RHS
2580516476U, // <0,7,0,5>: Cost 3 vext1 <5,0,7,0>, <5,0,7,0>
2586489173U, // <0,7,0,6>: Cost 3 vext1 <6,0,7,0>, <6,0,7,0>
1678925971U, // <0,7,0,7>: Cost 2 vuzpl <0,1,7,3>, <0,1,7,3>
2132803584U, // <0,7,0,u>: Cost 2 ins <u,7,0,1>, lane 0
1812780026U, // <0,7,1,0>: Cost 2 vzipl LHS, <7,0,1,2>
2085765121U, // <0,7,1,1>: Cost 2 ins <0,u,1,1>, lane 1
2632565654U, // <0,7,1,2>: Cost 3 vext2 <2,5,0,7>, <1,2,3,0>
2132893696U, // <0,7,1,3>: Cost 2 ins <u,7,1,3>, lane 0
1812780390U, // <0,7,1,4>: Cost 2 vzipl LHS, <7,4,5,6>
2085797889U, // <0,7,1,5>: Cost 2 ins <0,u,1,5>, lane 1
2586497366U, // <0,7,1,6>: Cost 3 vext1 <6,0,7,1>, <6,0,7,1>
1812780652U, // <0,7,1,7>: Cost 2 vzipl LHS, <7,7,7,7>
2085765121U, // <0,7,1,u>: Cost 2 ins <0,u,1,1>, lane 1
2085830657U, // <0,7,2,0>: Cost 2 ins <0,u,2,0>, lane 1
1182749690U, // <0,7,2,1>: Cost 2 vrev <7,0,1,2>
2085847041U, // <0,7,2,2>: Cost 2 ins <0,u,2,2>, lane 1
1012113409U, // <0,7,2,3>: Cost 1 ins LHS, lane 1
2085863425U, // <0,7,2,4>: Cost 2 ins <0,u,2,4>, lane 1
1946998118U, // <0,7,2,5>: Cost 2 vtrnl LHS, <7,4,5,6>
2085879809U, // <0,7,2,6>: Cost 2 ins <0,u,2,6>, lane 1
1946998380U, // <0,7,2,7>: Cost 2 vtrnl LHS, <7,7,7,7>
1012113409U, // <0,7,2,u>: Cost 1 ins LHS, lane 1
2989314146U, // <0,7,3,0>: Cost 3 vzipr <6,1,0,3>, <5,6,7,0>
3206766592U, // <0,7,3,1>: Cost 3 ins <u,7,3,1>, lane 0
3020813397U, // <0,7,3,2>: Cost 3 vtrnl <0,1,3,3>, <7,1,2,3>
2085928961U, // <0,7,3,3>: Cost 2 ins <0,u,3,3>, lane 1
3206791168U, // <0,7,3,4>: Cost 3 ins <u,7,3,4>, lane 0
3206799360U, // <0,7,3,5>: Cost 3 ins <u,7,3,5>, lane 0
2639202936U, // <0,7,3,6>: Cost 3 vext2 <3,6,0,7>, <3,6,0,7>
3206815744U, // <0,7,3,7>: Cost 3 ins <u,7,3,7>, lane 0
2085928961U, // <0,7,3,u>: Cost 2 ins <0,u,3,3>, lane 1
3206832128U, // <0,7,4,0>: Cost 3 ins <u,7,4,0>, lane 0
2256507900U, // <0,7,4,1>: Cost 3 vrev <7,0,1,4>
2256581637U, // <0,7,4,2>: Cost 3 vrev <7,0,2,4>
2086002689U, // <0,7,4,3>: Cost 2 ins <0,u,4,3>, lane 1
3206864896U, // <0,7,4,4>: Cost 3 ins <u,7,4,4>, lane 0
2133131264U, // <0,7,4,5>: Cost 2 ins <u,7,4,5>, lane 0
2086027265U, // <0,7,4,6>: Cost 2 ins <0,u,4,6>, lane 1
3020887660U, // <0,7,4,7>: Cost 3 vtrnl <0,1,4,3>, <7,7,7,7>
2133131264U, // <0,7,4,u>: Cost 2 ins <u,7,4,5>, lane 0
2993311842U, // <0,7,5,0>: Cost 3 vzipr <6,7,0,5>, <5,6,7,0>
3206914048U, // <0,7,5,1>: Cost 3 ins <u,7,5,1>, lane 0
3020960853U, // <0,7,5,2>: Cost 3 vtrnl <0,1,5,3>, <7,1,2,3>
2086076417U, // <0,7,5,3>: Cost 2 ins <0,u,5,3>, lane 1
2256737304U, // <0,7,5,4>: Cost 3 vrev <7,0,4,5>
3206946816U, // <0,7,5,5>: Cost 3 ins <u,7,5,5>, lane 0
2718717377U, // <0,7,5,6>: Cost 3 vext3 <5,6,7,0>, <7,5,6,7>
2133221376U, // <0,7,5,7>: Cost 2 ins <u,7,5,7>, lane 0
2133221376U, // <0,7,5,u>: Cost 2 ins <u,7,5,7>, lane 0
2854834274U, // <0,7,6,0>: Cost 3 vuzpr <6,0,5,7>, <5,6,7,0>
2256524286U, // <0,7,6,1>: Cost 3 vrev <7,0,1,6>
3206995968U, // <0,7,6,2>: Cost 3 ins <u,7,6,2>, lane 0
2086150145U, // <0,7,6,3>: Cost 2 ins <0,u,6,3>, lane 1
3207012352U, // <0,7,6,4>: Cost 3 ins <u,7,6,4>, lane 0
2656457394U, // <0,7,6,5>: Cost 3 vext2 <6,5,0,7>, <6,5,0,7>
3207028736U, // <0,7,6,6>: Cost 3 ins <u,7,6,6>, lane 0
2133295104U, // <0,7,6,7>: Cost 2 ins <u,7,6,7>, lane 0
2086150145U, // <0,7,6,u>: Cost 2 ins <0,u,6,3>, lane 1
2992001122U, // <0,7,7,0>: Cost 3 vzipr <6,5,0,7>, <5,6,7,0>
3207061504U, // <0,7,7,1>: Cost 3 ins <u,7,7,1>, lane 0
2752672853U, // <0,7,7,2>: Cost 3 vuzpl <0,1,7,3>, <7,1,2,3>
2086223873U, // <0,7,7,3>: Cost 2 ins <0,u,7,3>, lane 1
3207086080U, // <0,7,7,4>: Cost 3 ins <u,7,7,4>, lane 0
3207094272U, // <0,7,7,5>: Cost 3 ins <u,7,7,5>, lane 0
2663093724U, // <0,7,7,6>: Cost 3 vext2 <7,6,0,7>, <7,6,0,7>
2133368832U, // <0,7,7,7>: Cost 2 ins <u,7,7,7>, lane 0
2086223873U, // <0,7,7,u>: Cost 2 ins <0,u,7,3>, lane 1
1817424890U, // <0,7,u,0>: Cost 2 vzipl LHS, <7,0,1,2>
1182798848U, // <0,7,u,1>: Cost 2 vrev <7,0,1,u>
2085699585U, // <0,7,u,2>: Cost 2 ins <0,u,0,2>, lane 1
1012113409U, // <0,7,u,3>: Cost 1 ins LHS, lane 1
1817425254U, // <0,7,u,4>: Cost 2 vzipl LHS, <7,4,5,6>
2085797889U, // <0,7,u,5>: Cost 2 ins <0,u,1,5>, lane 1
2085879809U, // <0,7,u,6>: Cost 2 ins <0,u,2,6>, lane 1
2133221376U, // <0,7,u,7>: Cost 2 ins <u,7,5,7>, lane 0
1012113409U, // <0,7,u,u>: Cost 1 ins LHS, lane 1
135053414U, // <0,u,0,0>: Cost 1 vdup0 LHS
1007951877U, // <0,u,0,1>: Cost 1 ins LHS, lane 5
605257830U, // <0,u,0,2>: Cost 1 vuzpl LHS, LHS
1007910914U, // <0,u,0,3>: Cost 1 ins LHS, lane 2
1678999756U, // <0,u,0,4>: Cost 2 vuzpl LHS, <0,2,4,6>
2081767427U, // <0,u,0,5>: Cost 2 ins <0,2,0,u>, lane 3
1947506842U, // <0,u,0,6>: Cost 2 vtrnl <0,2,0,2>, RHS
2081767427U, // <0,u,0,7>: Cost 2 ins <0,2,0,u>, lane 3
605257884U, // <0,u,0,u>: Cost 1 vuzpl LHS, LHS
1812821715U, // <0,u,1,0>: Cost 2 vzipl LHS, <u,0,1,2>
739039022U, // <0,u,1,1>: Cost 1 vzipl LHS, LHS
1813264264U, // <0,u,1,2>: Cost 2 vzipl LHS, <u,2,3,3>
1007910914U, // <0,u,1,3>: Cost 1 ins LHS, lane 2
1812822079U, // <0,u,1,4>: Cost 2 vzipl LHS, <u,4,5,6>
739039386U, // <0,u,1,5>: Cost 1 vzipl LHS, RHS
1813264592U, // <0,u,1,6>: Cost 2 vzipl LHS, <u,6,3,7>
1892994376U, // <0,u,1,7>: Cost 2 vzipr <2,3,0,1>, RHS
739039589U, // <0,u,1,u>: Cost 1 vzipl LHS, LHS
1007509507U, // <0,u,2,0>: Cost 1 ins LHS, lane 3
1007509507U, // <0,u,2,1>: Cost 1 ins LHS, lane 3
873256750U, // <0,u,2,2>: Cost 1 vtrnl LHS, LHS
835584U, // <0,u,2,3>: Cost 0 copy LHS
1007509507U, // <0,u,2,4>: Cost 1 ins LHS, lane 3
1007509507U, // <0,u,2,5>: Cost 1 ins LHS, lane 3
873257114U, // <0,u,2,6>: Cost 1 vtrnl LHS, RHS
1007509507U, // <0,u,2,7>: Cost 1 ins LHS, lane 3
835584U, // <0,u,2,u>: Cost 0 copy LHS
2133680132U, // <0,u,3,0>: Cost 2 ins <u,u,3,0>, lane 4
1679001750U, // <0,u,3,1>: Cost 2 vuzpl LHS, <3,0,1,2>
2128388096U, // <0,u,3,2>: Cost 2 ins <u,0,3,2>, lane 0
1007910914U, // <0,u,3,3>: Cost 1 ins LHS, lane 2
2133712900U, // <0,u,3,4>: Cost 2 ins <u,u,3,4>, lane 4
1679002114U, // <0,u,3,5>: Cost 2 vuzpl LHS, <3,4,5,6>
2082340866U, // <0,u,3,6>: Cost 2 ins <0,2,u,6>, lane 2
2133737476U, // <0,u,3,7>: Cost 2 ins <u,u,3,7>, lane 4
1007910914U, // <0,u,3,u>: Cost 1 ins LHS, lane 2
2082062339U, // <0,u,4,0>: Cost 2 ins <0,2,4,u>, lane 3
1814714158U, // <0,u,4,1>: Cost 2 vzipl <0,4,1,5>, LHS
1947834158U, // <0,u,4,2>: Cost 2 vtrnl <0,2,4,6>, LHS
1007910914U, // <0,u,4,3>: Cost 1 ins LHS, lane 2
1947828428U, // <0,u,4,4>: Cost 2 vtrnl <0,2,4,6>, <0,2,4,6>
1007951877U, // <0,u,4,5>: Cost 1 ins LHS, lane 5
605261110U, // <0,u,4,6>: Cost 1 vuzpl LHS, RHS
2082062339U, // <0,u,4,7>: Cost 2 ins <0,2,4,u>, lane 3
605261128U, // <0,u,4,u>: Cost 1 vuzpl LHS, RHS
2080964610U, // <0,u,5,0>: Cost 2 ins <0,0,u,0>, lane 2
2128527360U, // <0,u,5,1>: Cost 2 ins <u,0,5,1>, lane 0
2080980994U, // <0,u,5,2>: Cost 2 ins <0,0,u,2>, lane 2
1007910914U, // <0,u,5,3>: Cost 1 ins LHS, lane 2
2081660930U, // <0,u,5,4>: Cost 2 ins <0,1,u,4>, lane 2
2133868548U, // <0,u,5,5>: Cost 2 ins <u,u,5,5>, lane 4
1618139290U, // <0,u,5,6>: Cost 2 vext3 <1,2,3,0>, RHS
1751092534U, // <0,u,5,7>: Cost 2 vuzpr <1,0,3,u>, RHS
1007910914U, // <0,u,5,u>: Cost 1 ins LHS, lane 2
1679004494U, // <0,u,6,0>: Cost 2 vuzpl LHS, <6,7,0,1>
2080972802U, // <0,u,6,1>: Cost 2 ins <0,0,u,1>, lane 2
2128609280U, // <0,u,6,2>: Cost 2 ins <u,0,6,2>, lane 0
1007910914U, // <0,u,6,3>: Cost 1 ins LHS, lane 2
1679004534U, // <0,u,6,4>: Cost 2 vuzpl LHS, <6,7,4,5>
2083659778U, // <0,u,6,5>: Cost 2 ins <0,4,u,5>, lane 2
2133950468U, // <0,u,6,6>: Cost 2 ins <u,u,6,6>, lane 4
1060216836U, // <0,u,6,7>: Cost 1 ins RHS, lane 4
1007910914U, // <0,u,6,u>: Cost 1 ins LHS, lane 2
2133975044U, // <0,u,7,0>: Cost 2 ins <u,u,7,0>, lane 4
2080972802U, // <0,u,7,1>: Cost 2 ins <0,0,u,1>, lane 2
2080980994U, // <0,u,7,2>: Cost 2 ins <0,0,u,2>, lane 2
1007910914U, // <0,u,7,3>: Cost 1 ins LHS, lane 2
2134007812U, // <0,u,7,4>: Cost 2 ins <u,u,7,4>, lane 4
2083659778U, // <0,u,7,5>: Cost 2 ins <0,4,u,5>, lane 2
2134024196U, // <0,u,7,6>: Cost 2 ins <u,u,7,6>, lane 4
2134032388U, // <0,u,7,7>: Cost 2 ins <u,u,7,7>, lane 4
1007910914U, // <0,u,7,u>: Cost 1 ins LHS, lane 2
135053414U, // <0,u,u,0>: Cost 1 vdup0 LHS
743683886U, // <0,u,u,1>: Cost 1 vzipl LHS, LHS
605263662U, // <0,u,u,2>: Cost 1 vuzpl LHS, LHS
835584U, // <0,u,u,3>: Cost 0 copy LHS
1007509507U, // <0,u,u,4>: Cost 1 ins LHS, lane 3
743684250U, // <0,u,u,5>: Cost 1 vzipl LHS, RHS
605264026U, // <0,u,u,6>: Cost 1 vuzpl LHS, RHS
1007509507U, // <0,u,u,7>: Cost 1 ins LHS, lane 3
835584U, // <0,u,u,u>: Cost 0 copy LHS
2128150528U, // <1,0,0,0>: Cost 2 ins <u,0,0,0>, lane 0
1818148966U, // <1,0,0,1>: Cost 2 vzipl <1,0,3,2>, LHS
2086952962U, // <1,0,0,2>: Cost 2 ins <1,0,u,2>, lane 2
2619310332U, // <1,0,0,3>: Cost 3 vext2 <0,3,1,0>, <0,3,1,0>
2891891026U, // <1,0,0,4>: Cost 3 vzipl <1,0,3,2>, <0,4,1,5>
3165437953U, // <1,0,0,5>: Cost 3 ins <1,u,0,5>, lane 1
3160154115U, // <1,0,0,6>: Cost 3 ins <1,0,0,u>, lane 3
3160154115U, // <1,0,0,7>: Cost 3 ins <1,0,0,u>, lane 3
1818149533U, // <1,0,0,u>: Cost 2 vzipl <1,0,3,2>, LHS
1141522514U, // <1,0,1,0>: Cost 2 vrev <0,1,0,1>
1818656870U, // <1,0,1,1>: Cost 2 vzipl <1,1,1,1>, LHS
1616003174U, // <1,0,1,2>: Cost 2 vext3 <0,u,1,1>, LHS
2091753473U, // <1,0,1,3>: Cost 2 ins <1,u,1,3>, lane 1
1477070134U, // <1,0,1,4>: Cost 2 vext1 <0,1,0,1>, RHS
2760770560U, // <1,0,1,5>: Cost 3 vuzpl <1,5,0,2>, <1,3,5,7>
2724839566U, // <1,0,1,6>: Cost 3 vext3 <6,7,0,1>, <0,1,6,7>
3165528065U, // <1,0,1,7>: Cost 3 ins <1,u,1,7>, lane 1
1616003228U, // <1,0,1,u>: Cost 2 vext3 <0,u,1,1>, LHS
2685690019U, // <1,0,2,0>: Cost 3 vext3 <0,2,0,1>, <0,2,0,1>
1819459686U, // <1,0,2,1>: Cost 2 vzipl <1,2,3,0>, LHS
2128314368U, // <1,0,2,2>: Cost 2 ins <u,0,2,2>, lane 0
2087002117U, // <1,0,2,3>: Cost 2 ins <1,0,u,u>, lane 5
2689745100U, // <1,0,2,4>: Cost 3 vext3 <0,u,1,1>, <0,2,4,6>
2970798548U, // <1,0,2,5>: Cost 3 vzipr <3,0,1,2>, <3,4,0,5>
3165593601U, // <1,0,2,6>: Cost 3 ins <1,u,2,6>, lane 1
2592625730U, // <1,0,2,7>: Cost 3 vext1 <7,1,0,2>, <7,1,0,2>
1819460253U, // <1,0,2,u>: Cost 2 vzipl <1,2,3,0>, LHS
2014101504U, // <1,0,3,0>: Cost 2 vtrnr LHS, <0,0,0,0>
2014101514U, // <1,0,3,1>: Cost 2 vtrnr LHS, <0,0,1,1>
67944550U, // <1,0,3,2>: Cost 1 vrev LHS
2091900929U, // <1,0,3,3>: Cost 2 ins <1,u,3,3>, lane 1
2091909121U, // <1,0,3,4>: Cost 2 ins <1,u,3,4>, lane 1
2086633475U, // <1,0,3,5>: Cost 2 ins <1,0,3,u>, lane 3
2086633475U, // <1,0,3,6>: Cost 2 ins <1,0,3,u>, lane 3
2091933697U, // <1,0,3,7>: Cost 2 ins <1,u,3,7>, lane 1
68386972U, // <1,0,3,u>: Cost 1 vrev LHS
2667752338U, // <1,0,4,0>: Cost 3 vext2 <u,4,1,0>, <4,0,5,1>
2689745234U, // <1,0,4,1>: Cost 3 vext3 <0,u,1,1>, <0,4,1,5>
2086952962U, // <1,0,4,2>: Cost 2 ins <1,0,u,2>, lane 2
2819383641U, // <1,0,4,3>: Cost 3 vuzpr <0,1,2,0>, <0,4,2,3>
2894569810U, // <1,0,4,4>: Cost 3 vzipl <1,4,3,5>, <0,4,1,5>
2087002117U, // <1,0,4,5>: Cost 2 ins <1,0,u,u>, lane 5
2758102326U, // <1,0,4,6>: Cost 3 vuzpl <1,1,0,0>, RHS
2819386597U, // <1,0,4,7>: Cost 3 vuzpr <0,1,2,0>, <4,4,6,7>
2086952962U, // <1,0,4,u>: Cost 2 ins <1,0,u,2>, lane 2
2955558912U, // <1,0,5,0>: Cost 3 vzipr <0,4,1,5>, <0,0,0,0>
1821507686U, // <1,0,5,1>: Cost 2 vzipl <1,5,3,7>, LHS
1954545766U, // <1,0,5,2>: Cost 2 vtrnl <1,3,5,7>, LHS
3165790209U, // <1,0,5,3>: Cost 3 ins <1,u,5,3>, lane 1
1141850234U, // <1,0,5,4>: Cost 2 vrev <0,1,4,5>
3165806593U, // <1,0,5,5>: Cost 3 ins <1,u,5,5>, lane 1
3202310144U, // <1,0,5,6>: Cost 3 ins <u,0,5,6>, lane 0
2092081153U, // <1,0,5,7>: Cost 2 ins <1,u,5,7>, lane 1
1954545820U, // <1,0,5,u>: Cost 2 vtrnl <1,3,5,7>, LHS
3202334720U, // <1,0,6,0>: Cost 3 ins <u,0,6,0>, lane 0
2895765606U, // <1,0,6,1>: Cost 3 vzipl <1,6,1,7>, LHS
2128609280U, // <1,0,6,2>: Cost 2 ins <u,0,6,2>, lane 0
2819383803U, // <1,0,6,3>: Cost 3 vuzpr <0,1,2,0>, <0,6,2,3>
2896060754U, // <1,0,6,4>: Cost 3 vzipl <1,6,5,7>, <0,4,1,5>
2215673988U, // <1,0,6,5>: Cost 3 vrev <0,1,5,6>
3165888513U, // <1,0,6,6>: Cost 3 ins <1,u,6,6>, lane 1
2087002117U, // <1,0,6,7>: Cost 2 ins <1,0,u,u>, lane 5
2128609280U, // <1,0,6,u>: Cost 2 ins <u,0,6,2>, lane 0
2659128312U, // <1,0,7,0>: Cost 3 vext2 <7,0,1,0>, <7,0,1,0>
2974156454U, // <1,0,7,1>: Cost 3 vzipr <3,5,1,7>, <2,3,0,1>
2086952962U, // <1,0,7,2>: Cost 2 ins <1,0,u,2>, lane 2
2861265024U, // <1,0,7,3>: Cost 3 vuzpr <7,1,3,0>, <5,7,1,3>
3202441216U, // <1,0,7,4>: Cost 3 ins <u,0,7,4>, lane 0
3165954049U, // <1,0,7,5>: Cost 3 ins <1,u,7,5>, lane 1
1142014094U, // <1,0,7,6>: Cost 2 vrev <0,1,6,7>
3165970433U, // <1,0,7,7>: Cost 3 ins <1,u,7,7>, lane 1
2086952962U, // <1,0,7,u>: Cost 2 ins <1,0,u,2>, lane 2
2014142464U, // <1,0,u,0>: Cost 2 vtrnr LHS, <0,0,0,0>
2014142474U, // <1,0,u,1>: Cost 2 vtrnr LHS, <0,0,1,1>
67985515U, // <1,0,u,2>: Cost 1 vrev LHS
2091753473U, // <1,0,u,3>: Cost 2 ins <1,u,1,3>, lane 1
2091909121U, // <1,0,u,4>: Cost 2 ins <1,u,3,4>, lane 1
2086633475U, // <1,0,u,5>: Cost 2 ins <1,0,3,u>, lane 3
2086633475U, // <1,0,u,6>: Cost 2 ins <1,0,3,u>, lane 3
2091933697U, // <1,0,u,7>: Cost 2 ins <1,u,3,7>, lane 1
68427937U, // <1,0,u,u>: Cost 1 vrev LHS
1818149622U, // <1,1,0,0>: Cost 2 vzipl <1,0,3,2>, <1,0,3,2>
1548894310U, // <1,1,0,1>: Cost 2 vext2 <0,u,1,1>, LHS
1684439142U, // <1,1,0,2>: Cost 2 vuzpl <1,1,1,1>, LHS
2087624706U, // <1,1,0,3>: Cost 2 ins <1,1,u,3>, lane 2
2622636370U, // <1,1,0,4>: Cost 3 vext2 <0,u,1,1>, <0,4,1,5>
2891891856U, // <1,1,0,5>: Cost 3 vzipl <1,0,3,2>, <1,5,3,7>
3161391106U, // <1,1,0,6>: Cost 3 ins <1,1,u,6>, lane 2
3161399298U, // <1,1,0,7>: Cost 3 ins <1,1,u,7>, lane 2
1548894866U, // <1,1,0,u>: Cost 2 vext2 <0,u,1,1>, <0,u,1,1>
1483112550U, // <1,1,1,0>: Cost 2 vext1 <1,1,1,1>, LHS
202162278U, // <1,1,1,1>: Cost 1 vdup1 LHS
2087149571U, // <1,1,1,2>: Cost 2 ins <1,1,1,u>, lane 3
1751548006U, // <1,1,1,3>: Cost 2 vuzpr <1,1,1,1>, LHS
1483115830U, // <1,1,1,4>: Cost 2 vext1 <1,1,1,1>, RHS
2087149571U, // <1,1,1,5>: Cost 2 ins <1,1,1,u>, lane 3
2087149571U, // <1,1,1,6>: Cost 2 ins <1,1,1,u>, lane 3
2087149571U, // <1,1,1,7>: Cost 2 ins <1,1,1,u>, lane 3
202162278U, // <1,1,1,u>: Cost 1 vdup1 LHS
2128961536U, // <1,1,2,0>: Cost 2 ins <u,1,2,0>, lane 0
2128969728U, // <1,1,2,1>: Cost 2 ins <u,1,2,1>, lane 0
1819460502U, // <1,1,2,2>: Cost 2 vzipl <1,2,3,0>, <1,2,3,0>
1055244288U, // <1,1,2,3>: Cost 1 ins LHS, lane 0
2128994304U, // <1,1,2,4>: Cost 2 ins <u,1,2,4>, lane 0
2129002496U, // <1,1,2,5>: Cost 2 ins <u,1,2,5>, lane 0
2129010688U, // <1,1,2,6>: Cost 2 ins <u,1,2,6>, lane 0
2129018880U, // <1,1,2,7>: Cost 2 ins <u,1,2,7>, lane 0
1055244288U, // <1,1,2,u>: Cost 1 ins LHS, lane 0
2091876353U, // <1,1,3,0>: Cost 2 ins <1,u,3,0>, lane 1
2014102324U, // <1,1,3,1>: Cost 2 vtrnr LHS, <1,1,1,1>
2091892737U, // <1,1,3,2>: Cost 2 ins <1,u,3,2>, lane 1
940359782U, // <1,1,3,3>: Cost 1 vtrnr LHS, LHS
2091909121U, // <1,1,3,4>: Cost 2 ins <1,u,3,4>, lane 1
2087297027U, // <1,1,3,5>: Cost 2 ins <1,1,3,u>, lane 3
2087297027U, // <1,1,3,6>: Cost 2 ins <1,1,3,u>, lane 3
2091933697U, // <1,1,3,7>: Cost 2 ins <1,u,3,7>, lane 1
940359787U, // <1,1,3,u>: Cost 1 vtrnr LHS, LHS
2556878950U, // <1,1,4,0>: Cost 3 vext1 <1,1,1,4>, LHS
2087608322U, // <1,1,4,1>: Cost 2 ins <1,1,u,1>, lane 2
2894496662U, // <1,1,4,2>: Cost 3 vzipl <1,4,2,5>, <1,2,3,0>
2087624706U, // <1,1,4,3>: Cost 2 ins <1,1,u,3>, lane 2
2014109799U, // <1,1,4,4>: Cost 2 vtrnr <0,1,2,4>, <0,1,2,4>
1548897590U, // <1,1,4,5>: Cost 2 vext2 <0,u,1,1>, RHS
1684442422U, // <1,1,4,6>: Cost 2 vuzpl <1,1,1,1>, RHS
3161399298U, // <1,1,4,7>: Cost 3 ins <1,1,u,7>, lane 2
1548897833U, // <1,1,4,u>: Cost 2 vext2 <0,u,1,1>, RHS
3028288624U, // <1,1,5,0>: Cost 3 vtrnl <1,3,5,7>, <1,5,0,2>
2087608322U, // <1,1,5,1>: Cost 2 ins <1,1,u,1>, lane 2
2955561110U, // <1,1,5,2>: Cost 3 vzipr <0,4,1,5>, <3,0,1,2>
2087624706U, // <1,1,5,3>: Cost 2 ins <1,1,u,3>, lane 2
2955558925U, // <1,1,5,4>: Cost 3 vzipr <0,4,1,5>, <0,0,1,4>
1881817426U, // <1,1,5,5>: Cost 2 vzipr <0,4,1,5>, <0,4,1,5>
2670415970U, // <1,1,5,6>: Cost 3 vext2 <u,u,1,1>, <5,6,7,0>
1751551286U, // <1,1,5,7>: Cost 2 vuzpr <1,1,1,1>, RHS
1751551287U, // <1,1,5,u>: Cost 2 vuzpr <1,1,1,1>, RHS
3165839361U, // <1,1,6,0>: Cost 3 ins <1,u,6,0>, lane 1
2087608322U, // <1,1,6,1>: Cost 2 ins <1,1,u,1>, lane 2
2973485206U, // <1,1,6,2>: Cost 3 vzipr <3,4,1,6>, <3,0,1,2>
2087624706U, // <1,1,6,3>: Cost 2 ins <1,1,u,3>, lane 2
2221572948U, // <1,1,6,4>: Cost 3 vrev <1,1,4,6>
2955567442U, // <1,1,6,5>: Cost 3 vzipr <0,4,1,6>, <0,4,1,5>
2014126185U, // <1,1,6,6>: Cost 2 vtrnr <0,1,2,6>, <0,1,2,6>
2087665669U, // <1,1,6,7>: Cost 2 ins <1,1,u,u>, lane 5
2087624706U, // <1,1,6,u>: Cost 2 ins <1,1,u,3>, lane 2
2670416890U, // <1,1,7,0>: Cost 3 vext2 <u,u,1,1>, <7,0,1,2>
2087608322U, // <1,1,7,1>: Cost 2 ins <1,1,u,1>, lane 2
3203088384U, // <1,1,7,2>: Cost 3 ins <u,1,7,2>, lane 0
2129354752U, // <1,1,7,3>: Cost 2 ins <u,1,7,3>, lane 0
2670417254U, // <1,1,7,4>: Cost 3 vext2 <u,u,1,1>, <7,4,5,6>
2221654878U, // <1,1,7,5>: Cost 3 vrev <1,1,5,7>
3161391106U, // <1,1,7,6>: Cost 3 ins <1,1,u,6>, lane 2
2014134378U, // <1,1,7,7>: Cost 2 vtrnr <0,1,2,7>, <0,1,2,7>
2129354752U, // <1,1,7,u>: Cost 2 ins <u,1,7,3>, lane 0
1818149622U, // <1,1,u,0>: Cost 2 vzipl <1,0,3,2>, <1,0,3,2>
202162278U, // <1,1,u,1>: Cost 1 vdup1 LHS
1684444974U, // <1,1,u,2>: Cost 2 vuzpl <1,1,1,1>, LHS
940400742U, // <1,1,u,3>: Cost 1 vtrnr LHS, LHS
1483115830U, // <1,1,u,4>: Cost 2 vext1 <1,1,1,1>, RHS
1548900506U, // <1,1,u,5>: Cost 2 vext2 <0,u,1,1>, RHS
1684445338U, // <1,1,u,6>: Cost 2 vuzpl <1,1,1,1>, RHS
1751551529U, // <1,1,u,7>: Cost 2 vuzpr <1,1,1,1>, RHS
940400747U, // <1,1,u,u>: Cost 1 vtrnr LHS, LHS
2088263682U, // <1,2,0,0>: Cost 2 ins <1,2,u,0>, lane 2
1561509990U, // <1,2,0,1>: Cost 2 vext2 <3,0,1,2>, LHS
2129494016U, // <1,2,0,2>: Cost 2 ins <u,2,0,2>, lane 0
2954854502U, // <1,2,0,3>: Cost 3 vzipr <0,3,1,0>, LHS
2088296450U, // <1,2,0,4>: Cost 2 ins <1,2,u,4>, lane 2
3165437953U, // <1,2,0,5>: Cost 3 ins <1,u,0,5>, lane 1
2891892666U, // <1,2,0,6>: Cost 3 vzipl <1,0,3,2>, <2,6,3,7>
2659140170U, // <1,2,0,7>: Cost 3 vext2 <7,0,1,2>, <0,7,2,1>
1561510557U, // <1,2,0,u>: Cost 2 vext2 <3,0,1,2>, LHS
2088263682U, // <1,2,1,0>: Cost 2 ins <1,2,u,0>, lane 2
2091737089U, // <1,2,1,1>: Cost 2 ins <1,u,1,1>, lane 1
1745657957U, // <1,2,1,2>: Cost 2 vuzpr <0,1,2,2>, <0,1,2,2>
1884438630U, // <1,2,1,3>: Cost 2 vzipr <0,u,1,1>, LHS
2088296450U, // <1,2,1,4>: Cost 2 ins <1,2,u,4>, lane 2
2635252880U, // <1,2,1,5>: Cost 3 vext2 <3,0,1,2>, <1,5,3,7>
2958180700U, // <1,2,1,6>: Cost 3 vzipr <0,u,1,1>, <0,4,2,6>
3165528065U, // <1,2,1,7>: Cost 3 ins <1,u,1,7>, lane 1
1884438635U, // <1,2,1,u>: Cost 2 vzipr <0,u,1,1>, LHS
2088263682U, // <1,2,2,0>: Cost 2 ins <1,2,u,0>, lane 2
2893235754U, // <1,2,2,1>: Cost 3 vzipl <1,2,3,4>, <2,1,4,3>
2129641472U, // <1,2,2,2>: Cost 2 ins <u,2,2,2>, lane 0
1897054310U, // <1,2,2,3>: Cost 2 vzipr <3,0,1,2>, LHS
2088296450U, // <1,2,2,4>: Cost 2 ins <1,2,u,4>, lane 2
3165585409U, // <1,2,2,5>: Cost 3 ins <1,u,2,5>, lane 1
2893203386U, // <1,2,2,6>: Cost 3 vzipl <1,2,3,0>, <2,6,3,7>
2994684010U, // <1,2,2,7>: Cost 3 vzipr <7,0,1,2>, <0,1,2,7>
1897054315U, // <1,2,2,u>: Cost 2 vzipr <3,0,1,2>, LHS
403488870U, // <1,2,3,0>: Cost 1 vext1 LHS, LHS
1477231350U, // <1,2,3,1>: Cost 2 vext1 LHS, <1,0,3,2>
1477232232U, // <1,2,3,2>: Cost 2 vext1 LHS, <2,2,2,2>
1477233052U, // <1,2,3,3>: Cost 2 vext1 LHS, <3,3,3,3>
403492150U, // <1,2,3,4>: Cost 1 vext1 LHS, RHS
1525010128U, // <1,2,3,5>: Cost 2 vext1 LHS, <5,1,7,3>
2014101708U, // <1,2,3,6>: Cost 2 vtrnr LHS, <0,2,4,6>
1525011450U, // <1,2,3,7>: Cost 2 vext1 LHS, <7,0,1,2>
403494702U, // <1,2,3,u>: Cost 1 vext1 LHS, LHS
2088263682U, // <1,2,4,0>: Cost 2 ins <1,2,u,0>, lane 2
3162013698U, // <1,2,4,1>: Cost 3 ins <1,2,u,1>, lane 2
3162021890U, // <1,2,4,2>: Cost 3 ins <1,2,u,2>, lane 2
2954887270U, // <1,2,4,3>: Cost 3 vzipr <0,3,1,4>, LHS
2088296450U, // <1,2,4,4>: Cost 2 ins <1,2,u,4>, lane 2
1561513270U, // <1,2,4,5>: Cost 2 vext2 <3,0,1,2>, RHS
2129821696U, // <1,2,4,6>: Cost 2 ins <u,2,4,6>, lane 0
2659143112U, // <1,2,4,7>: Cost 3 vext2 <7,0,1,2>, <4,7,5,0>
1561513513U, // <1,2,4,u>: Cost 2 vext2 <3,0,1,2>, RHS
2088263682U, // <1,2,5,0>: Cost 2 ins <1,2,u,0>, lane 2
2550989824U, // <1,2,5,1>: Cost 3 vext1 <0,1,2,5>, <1,3,5,7>
2955558932U, // <1,2,5,2>: Cost 3 vzipr <0,4,1,5>, <0,0,2,2>
1881817190U, // <1,2,5,3>: Cost 2 vzipr <0,4,1,5>, LHS
2088296450U, // <1,2,5,4>: Cost 2 ins <1,2,u,4>, lane 2
2659143684U, // <1,2,5,5>: Cost 3 vext2 <7,0,1,2>, <5,5,5,5>
2955559260U, // <1,2,5,6>: Cost 3 vzipr <0,4,1,5>, <0,4,2,6>
2092081153U, // <1,2,5,7>: Cost 2 ins <1,u,5,7>, lane 1
1881817195U, // <1,2,5,u>: Cost 2 vzipr <0,4,1,5>, LHS
2088263682U, // <1,2,6,0>: Cost 2 ins <1,2,u,0>, lane 2
3162013698U, // <1,2,6,1>: Cost 3 ins <1,2,u,1>, lane 2
2659144186U, // <1,2,6,2>: Cost 3 vext2 <7,0,1,2>, <6,2,7,3>
2954240102U, // <1,2,6,3>: Cost 3 vzipr <0,2,1,6>, LHS
2088296450U, // <1,2,6,4>: Cost 2 ins <1,2,u,4>, lane 2
3162046466U, // <1,2,6,5>: Cost 3 ins <1,2,u,5>, lane 2
2895914938U, // <1,2,6,6>: Cost 3 vzipl <1,6,3,7>, <2,6,3,7>
2088329221U, // <1,2,6,7>: Cost 2 ins <1,2,u,u>, lane 5
2088263682U, // <1,2,6,u>: Cost 2 ins <1,2,u,0>, lane 2
1585402874U, // <1,2,7,0>: Cost 2 vext2 <7,0,1,2>, <7,0,1,2>
3203743744U, // <1,2,7,1>: Cost 3 ins <u,2,7,1>, lane 0
3203751936U, // <1,2,7,2>: Cost 3 ins <u,2,7,2>, lane 0
2130018304U, // <1,2,7,3>: Cost 2 ins <u,2,7,3>, lane 0
2088296450U, // <1,2,7,4>: Cost 2 ins <1,2,u,4>, lane 2
3203776512U, // <1,2,7,5>: Cost 3 ins <u,2,7,5>, lane 0
3203784704U, // <1,2,7,6>: Cost 3 ins <u,2,7,6>, lane 0
2659145255U, // <1,2,7,7>: Cost 3 vext2 <7,0,1,2>, <7,7,0,1>
1590711938U, // <1,2,7,u>: Cost 2 vext2 <7,u,1,2>, <7,u,1,2>
403529835U, // <1,2,u,0>: Cost 1 vext1 LHS, LHS
1477272310U, // <1,2,u,1>: Cost 2 vext1 LHS, <1,0,3,2>
1477273192U, // <1,2,u,2>: Cost 2 vext1 LHS, <2,2,2,2>
1477273750U, // <1,2,u,3>: Cost 2 vext1 LHS, <3,0,1,2>
403533110U, // <1,2,u,4>: Cost 1 vext1 LHS, RHS
1561516186U, // <1,2,u,5>: Cost 2 vext2 <3,0,1,2>, RHS
2014142668U, // <1,2,u,6>: Cost 2 vtrnr LHS, <0,2,4,6>
1525052410U, // <1,2,u,7>: Cost 2 vext1 LHS, <7,0,1,2>
403535662U, // <1,2,u,u>: Cost 1 vext1 LHS, LHS
1745666048U, // <1,3,0,0>: Cost 2 vuzpr LHS, <0,0,0,0>
1746108426U, // <1,3,0,1>: Cost 2 vuzpr LHS, <0,0,1,1>
1745666806U, // <1,3,0,2>: Cost 2 vuzpr LHS, <1,0,3,2>
2088951810U, // <1,3,0,3>: Cost 2 ins <1,3,u,3>, lane 2
2819850253U, // <1,3,0,4>: Cost 3 vuzpr LHS, <0,0,1,4>
2758984055U, // <1,3,0,5>: Cost 3 vuzpl <1,2,3,0>, <0,4,5,6>
2867183658U, // <1,3,0,6>: Cost 3 vuzpr LHS, <0,0,4,6>
2088984578U, // <1,3,0,7>: Cost 2 ins <1,3,u,7>, lane 2
1745668252U, // <1,3,0,u>: Cost 2 vuzpr LHS, <3,0,1,u>
2088476675U, // <1,3,1,0>: Cost 2 ins <1,3,1,u>, lane 3
1745666868U, // <1,3,1,1>: Cost 2 vuzpr LHS, <1,1,1,1>
2088476675U, // <1,3,1,2>: Cost 2 ins <1,3,1,u>, lane 3
671924326U, // <1,3,1,3>: Cost 1 vuzpr LHS, LHS
2088476675U, // <1,3,1,4>: Cost 2 ins <1,3,1,u>, lane 3
2088476675U, // <1,3,1,5>: Cost 2 ins <1,3,1,u>, lane 3
2088476675U, // <1,3,1,6>: Cost 2 ins <1,3,1,u>, lane 3
2088984578U, // <1,3,1,7>: Cost 2 ins <1,3,u,7>, lane 2
671924331U, // <1,3,1,u>: Cost 1 vuzpr LHS, LHS
1745666966U, // <1,3,2,0>: Cost 2 vuzpr LHS, <1,2,3,0>
2819408044U, // <1,3,2,1>: Cost 3 vuzpr LHS, <0,2,1,1>
1745666212U, // <1,3,2,2>: Cost 2 vuzpr LHS, <0,2,0,2>
1746110066U, // <1,3,2,3>: Cost 2 vuzpr LHS, <2,2,3,3>
1745666970U, // <1,3,2,4>: Cost 2 vuzpr LHS, <1,2,3,4>
2819408066U, // <1,3,2,5>: Cost 3 vuzpr LHS, <0,2,3,5>
1745666252U, // <1,3,2,6>: Cost 2 vuzpr LHS, <0,2,4,6>
2088984578U, // <1,3,2,7>: Cost 2 ins <1,3,u,7>, lane 2
1745666218U, // <1,3,2,u>: Cost 2 vuzpr LHS, <0,2,0,u>
1483276390U, // <1,3,3,0>: Cost 2 vext1 <1,1,3,3>, LHS
1745667750U, // <1,3,3,1>: Cost 2 vuzpr LHS, <2,3,0,1>
2091892737U, // <1,3,3,2>: Cost 2 ins <1,u,3,2>, lane 1
1745667032U, // <1,3,3,3>: Cost 2 vuzpr LHS, <1,3,1,3>
1483279670U, // <1,3,3,4>: Cost 2 vext1 <1,1,3,3>, RHS
1745667790U, // <1,3,3,5>: Cost 2 vuzpr LHS, <2,3,4,5>
2819408868U, // <1,3,3,6>: Cost 3 vuzpr LHS, <1,3,2,6>
2014102528U, // <1,3,3,7>: Cost 2 vtrnr LHS, <1,3,5,7>
1745667037U, // <1,3,3,u>: Cost 2 vuzpr LHS, <1,3,1,u>
2568970342U, // <1,3,4,0>: Cost 3 vext1 <3,1,3,4>, LHS
2759019375U, // <1,3,4,1>: Cost 3 vuzpl <1,2,3,4>, <4,0,1,2>
2759019466U, // <1,3,4,2>: Cost 3 vuzpl <1,2,3,4>, <4,1,2,3>
2088951810U, // <1,3,4,3>: Cost 2 ins <1,3,u,3>, lane 2
1793445072U, // <1,3,4,4>: Cost 2 vuzpr LHS, <4,4,4,4>
1746108754U, // <1,3,4,5>: Cost 2 vuzpr LHS, <0,4,1,5>
1745668610U, // <1,3,4,6>: Cost 2 vuzpr LHS, <3,4,5,6>
2088984578U, // <1,3,4,7>: Cost 2 ins <1,3,u,7>, lane 2
1745668612U, // <1,3,4,u>: Cost 2 vuzpr LHS, <3,4,5,u>
2088771587U, // <1,3,5,0>: Cost 2 ins <1,3,5,u>, lane 3
2088771587U, // <1,3,5,1>: Cost 2 ins <1,3,5,u>, lane 3
2088771587U, // <1,3,5,2>: Cost 2 ins <1,3,5,u>, lane 3
2088951810U, // <1,3,5,3>: Cost 2 ins <1,3,u,3>, lane 2
2088771587U, // <1,3,5,4>: Cost 2 ins <1,3,5,u>, lane 3
1793445892U, // <1,3,5,5>: Cost 2 vuzpr LHS, <5,5,5,5>
2088771587U, // <1,3,5,6>: Cost 2 ins <1,3,5,u>, lane 3
671927606U, // <1,3,5,7>: Cost 1 vuzpr LHS, RHS
671927607U, // <1,3,5,u>: Cost 1 vuzpr LHS, RHS
1793445986U, // <1,3,6,0>: Cost 2 vuzpr LHS, <5,6,7,0>
2867185561U, // <1,3,6,1>: Cost 3 vuzpr LHS, <2,6,0,1>
1793445196U, // <1,3,6,2>: Cost 2 vuzpr LHS, <4,6,0,2>
2088951810U, // <1,3,6,3>: Cost 2 ins <1,3,u,3>, lane 2
1793445990U, // <1,3,6,4>: Cost 2 vuzpr LHS, <5,6,7,4>
2849642738U, // <1,3,6,5>: Cost 3 vuzpr <5,1,7,3>, <u,6,7,5>
1793445236U, // <1,3,6,6>: Cost 2 vuzpr LHS, <4,6,4,6>
1746110394U, // <1,3,6,7>: Cost 2 vuzpr LHS, <2,6,3,7>
1746110395U, // <1,3,6,u>: Cost 2 vuzpr LHS, <2,6,3,u>
2706926275U, // <1,3,7,0>: Cost 3 vext3 <3,7,0,1>, <3,7,0,1>
1793446734U, // <1,3,7,1>: Cost 2 vuzpr LHS, <6,7,0,1>
2867187830U, // <1,3,7,2>: Cost 3 vuzpr LHS, <5,7,0,2>
1793446016U, // <1,3,7,3>: Cost 2 vuzpr LHS, <5,7,1,3>
2849637679U, // <1,3,7,4>: Cost 3 vuzpr <5,1,7,3>, <1,7,3,4>
1793446774U, // <1,3,7,5>: Cost 2 vuzpr LHS, <6,7,4,5>
2867185674U, // <1,3,7,6>: Cost 3 vuzpr LHS, <2,7,3,6>
1793446056U, // <1,3,7,7>: Cost 2 vuzpr LHS, <5,7,5,7>
1793446021U, // <1,3,7,u>: Cost 2 vuzpr LHS, <5,7,1,u>
1746109820U, // <1,3,u,0>: Cost 2 vuzpr LHS, <1,u,3,0>
2014144166U, // <1,3,u,1>: Cost 2 vtrnr LHS, <2,3,0,1>
1745668894U, // <1,3,u,2>: Cost 2 vuzpr LHS, <3,u,1,2>
671924893U, // <1,3,u,3>: Cost 1 vuzpr LHS, LHS
1746109824U, // <1,3,u,4>: Cost 2 vuzpr LHS, <1,u,3,4>
2014144206U, // <1,3,u,5>: Cost 2 vtrnr LHS, <2,3,4,5>
1745668934U, // <1,3,u,6>: Cost 2 vuzpr LHS, <3,u,5,6>
671927849U, // <1,3,u,7>: Cost 1 vuzpr LHS, RHS
671924898U, // <1,3,u,u>: Cost 1 vuzpr LHS, LHS
3165396993U, // <1,4,0,0>: Cost 3 ins <1,u,0,0>, lane 1
2619342950U, // <1,4,0,1>: Cost 3 vext2 <0,3,1,4>, LHS
2758434918U, // <1,4,0,2>: Cost 3 vuzpl <1,1,4,5>, LHS
2619343104U, // <1,4,0,3>: Cost 3 vext2 <0,3,1,4>, <0,3,1,4>
3165429761U, // <1,4,0,4>: Cost 3 ins <1,u,0,4>, lane 1
1818152246U, // <1,4,0,5>: Cost 2 vzipl <1,0,3,2>, RHS
3026537782U, // <1,4,0,6>: Cost 3 vtrnl <1,1,0,0>, RHS
3162808323U, // <1,4,0,7>: Cost 3 ins <1,4,0,u>, lane 3
1818152489U, // <1,4,0,u>: Cost 2 vzipl <1,0,3,2>, RHS
3204620288U, // <1,4,1,0>: Cost 3 ins <u,4,1,0>, lane 0
2091737089U, // <1,4,1,1>: Cost 2 ins <1,u,1,1>, lane 1
3204636672U, // <1,4,1,2>: Cost 3 ins <u,4,1,2>, lane 0
2091753473U, // <1,4,1,3>: Cost 2 ins <1,u,1,3>, lane 1
1745674343U, // <1,4,1,4>: Cost 2 vuzpr <0,1,2,4>, <0,1,2,4>
1818660150U, // <1,4,1,5>: Cost 2 vzipl <1,1,1,1>, RHS
1952877878U, // <1,4,1,6>: Cost 2 vtrnl <1,1,1,1>, RHS
3165528065U, // <1,4,1,7>: Cost 3 ins <1,u,1,7>, lane 1
1818660393U, // <1,4,1,u>: Cost 2 vzipl <1,1,1,1>, RHS
2893237103U, // <1,4,2,0>: Cost 3 vzipl <1,2,3,4>, <4,0,1,2>
2893237194U, // <1,4,2,1>: Cost 3 vzipl <1,2,3,4>, <4,1,2,3>
3165560833U, // <1,4,2,2>: Cost 3 ins <1,u,2,2>, lane 1
2130976768U, // <1,4,2,3>: Cost 2 ins <u,4,2,3>, lane 0
2893237467U, // <1,4,2,4>: Cost 3 vzipl <1,2,3,4>, <4,4,5,6>
1819462966U, // <1,4,2,5>: Cost 2 vzipl <1,2,3,0>, RHS
2131001344U, // <1,4,2,6>: Cost 2 ins <u,4,2,6>, lane 0
3165601793U, // <1,4,2,7>: Cost 3 ins <1,u,2,7>, lane 1
1819463209U, // <1,4,2,u>: Cost 2 vzipl <1,2,3,0>, RHS
2091876353U, // <1,4,3,0>: Cost 2 ins <1,u,3,0>, lane 1
3027454831U, // <1,4,3,1>: Cost 3 vtrnl <1,2,3,4>, <4,0,1,2>
2091892737U, // <1,4,3,2>: Cost 2 ins <1,u,3,2>, lane 1
2091900929U, // <1,4,3,3>: Cost 2 ins <1,u,3,3>, lane 1
2061880528U, // <1,4,3,4>: Cost 2 vtrnr LHS, <4,4,4,4>
2014101842U, // <1,4,3,5>: Cost 2 vtrnr LHS, <0,4,1,5>
2014101852U, // <1,4,3,6>: Cost 2 vtrnr LHS, <0,4,2,6>
2091933697U, // <1,4,3,7>: Cost 2 ins <1,u,3,7>, lane 1
2014101845U, // <1,4,3,u>: Cost 2 vtrnr LHS, <0,4,1,u>
2557100134U, // <1,4,4,0>: Cost 3 vext1 <1,1,4,4>, LHS
2557100882U, // <1,4,4,1>: Cost 3 vext1 <1,1,4,4>, <1,1,4,4>
3165708289U, // <1,4,4,2>: Cost 3 ins <1,u,4,2>, lane 1
2819416409U, // <1,4,4,3>: Cost 3 vuzpr <0,1,2,4>, <0,4,2,3>
2131132416U, // <1,4,4,4>: Cost 2 ins <u,4,4,4>, lane 0
2619346230U, // <1,4,4,5>: Cost 3 vext2 <0,3,1,4>, RHS
2758438198U, // <1,4,4,6>: Cost 3 vuzpl <1,1,4,5>, RHS
2819419365U, // <1,4,4,7>: Cost 3 vuzpr <0,1,2,4>, <4,4,6,7>
2131132416U, // <1,4,4,u>: Cost 2 ins <u,4,4,4>, lane 0
1477394554U, // <1,4,5,0>: Cost 2 vext1 <0,1,4,5>, <0,1,4,5>
2955558949U, // <1,4,5,1>: Cost 3 vzipr <0,4,1,5>, <0,0,4,1>
3204931584U, // <1,4,5,2>: Cost 3 ins <u,4,5,2>, lane 0
3165790209U, // <1,4,5,3>: Cost 3 ins <1,u,5,3>, lane 1
1477397814U, // <1,4,5,4>: Cost 2 vext1 <0,1,4,5>, RHS
1821510966U, // <1,4,5,5>: Cost 2 vzipl <1,5,3,7>, RHS
1616006454U, // <1,4,5,6>: Cost 2 vext3 <0,u,1,1>, RHS
2092081153U, // <1,4,5,7>: Cost 2 ins <1,u,5,7>, lane 1
1616006472U, // <1,4,5,u>: Cost 2 vext3 <0,u,1,1>, RHS
2557116518U, // <1,4,6,0>: Cost 3 vext1 <1,1,4,6>, LHS
2557117268U, // <1,4,6,1>: Cost 3 vext1 <1,1,4,6>, <1,1,4,6>
3165855745U, // <1,4,6,2>: Cost 3 ins <1,u,6,2>, lane 1
2569062662U, // <1,4,6,3>: Cost 3 vext1 <3,1,4,6>, <3,1,4,6>
2557119798U, // <1,4,6,4>: Cost 3 vext1 <1,1,4,6>, RHS
2895768886U, // <1,4,6,5>: Cost 3 vzipl <1,6,1,7>, RHS
2131296256U, // <1,4,6,6>: Cost 2 ins <u,4,6,6>, lane 0
2131304448U, // <1,4,6,7>: Cost 2 ins <u,4,6,7>, lane 0
2131296256U, // <1,4,6,u>: Cost 2 ins <u,4,6,6>, lane 0
2659161084U, // <1,4,7,0>: Cost 3 vext2 <7,0,1,4>, <7,0,1,4>
3165921281U, // <1,4,7,1>: Cost 3 ins <1,u,7,1>, lane 1
3205079040U, // <1,4,7,2>: Cost 3 ins <u,4,7,2>, lane 0
2861297792U, // <1,4,7,3>: Cost 3 vuzpr <7,1,3,4>, <5,7,1,3>
2669778278U, // <1,4,7,4>: Cost 3 vext2 <u,7,1,4>, <7,4,5,6>
3205103616U, // <1,4,7,5>: Cost 3 ins <u,4,7,5>, lane 0
2131369984U, // <1,4,7,6>: Cost 2 ins <u,4,7,6>, lane 0
3165970433U, // <1,4,7,7>: Cost 3 ins <1,u,7,7>, lane 1
2131369984U, // <1,4,7,u>: Cost 2 ins <u,4,7,6>, lane 0
2091876353U, // <1,4,u,0>: Cost 2 ins <1,u,3,0>, lane 1
2091737089U, // <1,4,u,1>: Cost 2 ins <1,u,1,1>, lane 1
2091892737U, // <1,4,u,2>: Cost 2 ins <1,u,3,2>, lane 1
2091753473U, // <1,4,u,3>: Cost 2 ins <1,u,1,3>, lane 1
2061921488U, // <1,4,u,4>: Cost 2 vtrnr LHS, <4,4,4,4>
2014142802U, // <1,4,u,5>: Cost 2 vtrnr LHS, <0,4,1,5>
2014142812U, // <1,4,u,6>: Cost 2 vtrnr LHS, <0,4,2,6>
2091933697U, // <1,4,u,7>: Cost 2 ins <1,u,3,7>, lane 1
2014142805U, // <1,4,u,u>: Cost 2 vtrnr LHS, <0,4,1,u>
2620014592U, // <1,5,0,0>: Cost 3 vext2 <0,4,1,5>, <0,0,0,0>
1546272870U, // <1,5,0,1>: Cost 2 vext2 <0,4,1,5>, LHS
1686110310U, // <1,5,0,2>: Cost 2 vuzpl <1,3,5,7>, LHS
3163471875U, // <1,5,0,3>: Cost 3 ins <1,5,0,u>, lane 3
1546273106U, // <1,5,0,4>: Cost 2 vext2 <0,4,1,5>, <0,4,1,5>
3165437953U, // <1,5,0,5>: Cost 3 ins <1,u,0,5>, lane 1
3164045314U, // <1,5,0,6>: Cost 3 ins <1,5,u,6>, lane 2
2090311682U, // <1,5,0,7>: Cost 2 ins <1,5,u,7>, lane 2
1546273437U, // <1,5,0,u>: Cost 2 vext2 <0,4,1,5>, LHS
2620015350U, // <1,5,1,0>: Cost 3 vext2 <0,4,1,5>, <1,0,3,2>
2091737089U, // <1,5,1,1>: Cost 2 ins <1,u,1,1>, lane 1
2620015510U, // <1,5,1,2>: Cost 3 vext2 <0,4,1,5>, <1,2,3,0>
2091753473U, // <1,5,1,3>: Cost 2 ins <1,u,1,3>, lane 1
2620015677U, // <1,5,1,4>: Cost 3 vext2 <0,4,1,5>, <1,4,3,5>
1686111232U, // <1,5,1,5>: Cost 2 vuzpl <1,3,5,7>, <1,3,5,7>
2958181456U, // <1,5,1,6>: Cost 3 vzipr <0,u,1,1>, <1,4,5,6>
2019986742U, // <1,5,1,7>: Cost 2 vtrnr <1,1,1,1>, RHS
2019986743U, // <1,5,1,u>: Cost 2 vtrnr <1,1,1,1>, RHS
2759853734U, // <1,5,2,0>: Cost 3 vuzpl <1,3,5,7>, <2,3,0,1>
2620016163U, // <1,5,2,1>: Cost 3 vext2 <0,4,1,5>, <2,1,3,5>
2620016232U, // <1,5,2,2>: Cost 3 vext2 <0,4,1,5>, <2,2,2,2>
2090319877U, // <1,5,2,3>: Cost 2 ins <1,5,u,u>, lane 5
2759853774U, // <1,5,2,4>: Cost 3 vuzpl <1,3,5,7>, <2,3,4,5>
2994687194U, // <1,5,2,5>: Cost 3 vzipr <7,0,1,2>, <4,4,5,5>
2620016570U, // <1,5,2,6>: Cost 3 vext2 <0,4,1,5>, <2,6,3,7>
2090311682U, // <1,5,2,7>: Cost 2 ins <1,5,u,7>, lane 2
2090319877U, // <1,5,2,u>: Cost 2 ins <1,5,u,u>, lane 5
2091876353U, // <1,5,3,0>: Cost 2 ins <1,u,3,0>, lane 1
2089951235U, // <1,5,3,1>: Cost 2 ins <1,5,3,u>, lane 3
2091892737U, // <1,5,3,2>: Cost 2 ins <1,u,3,2>, lane 1
2091900929U, // <1,5,3,3>: Cost 2 ins <1,u,3,3>, lane 1
2091909121U, // <1,5,3,4>: Cost 2 ins <1,u,3,4>, lane 1
2061881348U, // <1,5,3,5>: Cost 2 vtrnr LHS, <5,5,5,5>
2089951235U, // <1,5,3,6>: Cost 2 ins <1,5,3,u>, lane 3
940363062U, // <1,5,3,7>: Cost 1 vtrnr LHS, RHS
940363063U, // <1,5,3,u>: Cost 1 vtrnr LHS, RHS
2620017554U, // <1,5,4,0>: Cost 3 vext2 <0,4,1,5>, <4,0,5,1>
2620017634U, // <1,5,4,1>: Cost 3 vext2 <0,4,1,5>, <4,1,5,0>
3164012546U, // <1,5,4,2>: Cost 3 ins <1,5,u,2>, lane 2
3163766787U, // <1,5,4,3>: Cost 3 ins <1,5,4,u>, lane 3
2575092710U, // <1,5,4,4>: Cost 3 vext1 <4,1,5,4>, <4,1,5,4>
1546276150U, // <1,5,4,5>: Cost 2 vext2 <0,4,1,5>, RHS
1686113590U, // <1,5,4,6>: Cost 2 vuzpl <1,3,5,7>, RHS
2090311682U, // <1,5,4,7>: Cost 2 ins <1,5,u,7>, lane 2
1546276393U, // <1,5,4,u>: Cost 2 vext2 <0,4,1,5>, RHS
2955561954U, // <1,5,5,0>: Cost 3 vzipr <0,4,1,5>, <4,1,5,0>
2955561874U, // <1,5,5,1>: Cost 3 vzipr <0,4,1,5>, <4,0,5,1>
3165782017U, // <1,5,5,2>: Cost 3 ins <1,u,5,2>, lane 1
2955559851U, // <1,5,5,3>: Cost 3 vzipr <0,4,1,5>, <1,2,5,3>
2955561958U, // <1,5,5,4>: Cost 3 vzipr <0,4,1,5>, <4,1,5,4>
2131877888U, // <1,5,5,5>: Cost 2 ins <u,5,5,5>, lane 0
2955561474U, // <1,5,5,6>: Cost 3 vzipr <0,4,1,5>, <3,4,5,6>
2092081153U, // <1,5,5,7>: Cost 2 ins <1,u,5,7>, lane 1
2092081153U, // <1,5,5,u>: Cost 2 ins <1,u,5,7>, lane 1
2131910656U, // <1,5,6,0>: Cost 2 ins <u,5,6,0>, lane 0
2131918848U, // <1,5,6,1>: Cost 2 ins <u,5,6,1>, lane 0
2131927040U, // <1,5,6,2>: Cost 2 ins <u,5,6,2>, lane 0
2131935232U, // <1,5,6,3>: Cost 2 ins <u,5,6,3>, lane 0
2131943424U, // <1,5,6,4>: Cost 2 ins <u,5,6,4>, lane 0
2131951616U, // <1,5,6,5>: Cost 2 ins <u,5,6,5>, lane 0
2131959808U, // <1,5,6,6>: Cost 2 ins <u,5,6,6>, lane 0
1058226176U, // <1,5,6,7>: Cost 1 ins RHS, lane 0
1058226176U, // <1,5,6,u>: Cost 1 ins RHS, lane 0
2557198438U, // <1,5,7,0>: Cost 3 vext1 <1,1,5,7>, LHS
2557199198U, // <1,5,7,1>: Cost 3 vext1 <1,1,5,7>, <1,1,5,7>
2569143974U, // <1,5,7,2>: Cost 3 vext1 <3,1,5,7>, <2,3,0,1>
2759857248U, // <1,5,7,3>: Cost 3 vuzpl <1,3,5,7>, <7,1,3,5>
2557201718U, // <1,5,7,4>: Cost 3 vext1 <1,1,5,7>, RHS
2759857510U, // <1,5,7,5>: Cost 3 vuzpl <1,3,5,7>, <7,4,5,6>
2593035086U, // <1,5,7,6>: Cost 3 vext1 <7,1,5,7>, <6,7,0,1>
2132041728U, // <1,5,7,7>: Cost 2 ins <u,5,7,7>, lane 0
2132041728U, // <1,5,7,u>: Cost 2 ins <u,5,7,7>, lane 0
2091876353U, // <1,5,u,0>: Cost 2 ins <1,u,3,0>, lane 1
1546278702U, // <1,5,u,1>: Cost 2 vext2 <0,4,1,5>, LHS
1686116142U, // <1,5,u,2>: Cost 2 vuzpl <1,3,5,7>, LHS
2091753473U, // <1,5,u,3>: Cost 2 ins <1,u,1,3>, lane 1
1594054682U, // <1,5,u,4>: Cost 2 vext2 <u,4,1,5>, <u,4,1,5>
1546279066U, // <1,5,u,5>: Cost 2 vext2 <0,4,1,5>, RHS
1686116506U, // <1,5,u,6>: Cost 2 vuzpl <1,3,5,7>, RHS
940404022U, // <1,5,u,7>: Cost 1 vtrnr LHS, RHS
940404023U, // <1,5,u,u>: Cost 1 vtrnr LHS, RHS
3205873664U, // <1,6,0,0>: Cost 3 ins <u,6,0,0>, lane 0
2618695782U, // <1,6,0,1>: Cost 3 vext2 <0,2,1,6>, LHS
2132148224U, // <1,6,0,2>: Cost 2 ins <u,6,0,2>, lane 0
3087819259U, // <1,6,0,3>: Cost 3 vtrnr <0,1,2,0>, <0,6,2,3>
2620023123U, // <1,6,0,4>: Cost 3 vext2 <0,4,1,6>, <0,4,1,6>
3165437953U, // <1,6,0,5>: Cost 3 ins <1,u,0,5>, lane 1
3164708866U, // <1,6,0,6>: Cost 3 ins <1,6,u,6>, lane 2
2954857782U, // <1,6,0,7>: Cost 3 vzipr <0,3,1,0>, RHS
2132148224U, // <1,6,0,u>: Cost 2 ins <u,6,0,2>, lane 0
3205947392U, // <1,6,1,0>: Cost 3 ins <u,6,1,0>, lane 0
2091737089U, // <1,6,1,1>: Cost 2 ins <1,u,1,1>, lane 1
3005959068U, // <1,6,1,2>: Cost 3 vzipr <u,u,1,1>, <4,0,6,2>
2091753473U, // <1,6,1,3>: Cost 2 ins <1,u,1,3>, lane 1
2625995820U, // <1,6,1,4>: Cost 3 vext2 <1,4,1,6>, <1,4,1,6>
3205988352U, // <1,6,1,5>: Cost 3 ins <u,6,1,5>, lane 0
1745690729U, // <1,6,1,6>: Cost 2 vuzpr <0,1,2,6>, <0,1,2,6>
1884441910U, // <1,6,1,7>: Cost 2 vzipr <0,u,1,1>, RHS
1884441911U, // <1,6,1,u>: Cost 2 vzipr <0,u,1,1>, RHS
2721526201U, // <1,6,2,0>: Cost 3 vext3 <6,2,0,1>, <6,2,0,1>
2994687442U, // <1,6,2,1>: Cost 3 vzipr <7,0,1,2>, <4,7,6,1>
2994686876U, // <1,6,2,2>: Cost 3 vzipr <7,0,1,2>, <4,0,6,2>
2132303872U, // <1,6,2,3>: Cost 2 ins <u,6,2,3>, lane 0
3206053888U, // <1,6,2,4>: Cost 3 ins <u,6,2,4>, lane 0
3165585409U, // <1,6,2,5>: Cost 3 ins <1,u,2,5>, lane 1
2618697658U, // <1,6,2,6>: Cost 3 vext2 <0,2,1,6>, <2,6,3,7>
1897057590U, // <1,6,2,7>: Cost 2 vzipr <3,0,1,2>, RHS
1897057591U, // <1,6,2,u>: Cost 2 vzipr <3,0,1,2>, RHS
2061881442U, // <1,6,3,0>: Cost 2 vtrnr LHS, <5,6,7,0>
2987396400U, // <1,6,3,1>: Cost 3 vzipr <5,7,1,3>, <4,5,6,1>
2061880652U, // <1,6,3,2>: Cost 2 vtrnr LHS, <4,6,0,2>
2091900929U, // <1,6,3,3>: Cost 2 ins <1,u,3,3>, lane 1
2061881446U, // <1,6,3,4>: Cost 2 vtrnr LHS, <5,6,7,4>
3118078194U, // <1,6,3,5>: Cost 3 vtrnr <5,1,7,3>, <u,6,7,5>
2061880692U, // <1,6,3,6>: Cost 2 vtrnr LHS, <4,6,4,6>
2014103482U, // <1,6,3,7>: Cost 2 vtrnr LHS, <2,6,3,7>
2014103483U, // <1,6,3,u>: Cost 2 vtrnr LHS, <2,6,3,u>
3206168576U, // <1,6,4,0>: Cost 3 ins <u,6,4,0>, lane 0
2761256201U, // <1,6,4,1>: Cost 3 vuzpl <1,5,6,7>, <4,5,1,7>
3164676098U, // <1,6,4,2>: Cost 3 ins <1,6,u,2>, lane 2
3087852027U, // <1,6,4,3>: Cost 3 vtrnr <0,1,2,4>, <0,6,2,3>
3206201344U, // <1,6,4,4>: Cost 3 ins <u,6,4,4>, lane 0
2618699062U, // <1,6,4,5>: Cost 3 vext2 <0,2,1,6>, RHS
2132475904U, // <1,6,4,6>: Cost 2 ins <u,6,4,6>, lane 0
2954890550U, // <1,6,4,7>: Cost 3 vzipr <0,3,1,4>, RHS
2132475904U, // <1,6,4,u>: Cost 2 ins <u,6,4,6>, lane 0
3164659714U, // <1,6,5,0>: Cost 3 ins <1,6,u,0>, lane 2
3206250496U, // <1,6,5,1>: Cost 3 ins <u,6,5,1>, lane 0
3003337628U, // <1,6,5,2>: Cost 3 vzipr <u,4,1,5>, <4,0,6,2>
3165790209U, // <1,6,5,3>: Cost 3 ins <1,u,5,3>, lane 1
3206275072U, // <1,6,5,4>: Cost 3 ins <u,6,5,4>, lane 0
3206283264U, // <1,6,5,5>: Cost 3 ins <u,6,5,5>, lane 0
3003337956U, // <1,6,5,6>: Cost 3 vzipr <u,4,1,5>, <4,4,6,6>
1881820470U, // <1,6,5,7>: Cost 2 vzipr <0,4,1,5>, RHS
1881820471U, // <1,6,5,u>: Cost 2 vzipr <0,4,1,5>, RHS
2724180733U, // <1,6,6,0>: Cost 3 vext3 <6,6,0,1>, <6,6,0,1>
2557264742U, // <1,6,6,1>: Cost 3 vext1 <1,1,6,6>, <1,1,6,6>
3165855745U, // <1,6,6,2>: Cost 3 ins <1,u,6,2>, lane 1
2819432955U, // <1,6,6,3>: Cost 3 vuzpr <0,1,2,6>, <0,6,2,3>
3206348800U, // <1,6,6,4>: Cost 3 ins <u,6,6,4>, lane 0
3206356992U, // <1,6,6,5>: Cost 3 ins <u,6,6,5>, lane 0
2132623360U, // <1,6,6,6>: Cost 2 ins <u,6,6,6>, lane 0
2132631552U, // <1,6,6,7>: Cost 2 ins <u,6,6,7>, lane 0
2132623360U, // <1,6,6,u>: Cost 2 ins <u,6,6,6>, lane 0
1651102542U, // <1,6,7,0>: Cost 2 vext3 <6,7,0,1>, <6,7,0,1>
2724918103U, // <1,6,7,1>: Cost 3 vext3 <6,7,1,1>, <6,7,1,1>
3206406144U, // <1,6,7,2>: Cost 3 ins <u,6,7,2>, lane 0
3206414336U, // <1,6,7,3>: Cost 3 ins <u,6,7,3>, lane 0
2132680704U, // <1,6,7,4>: Cost 2 ins <u,6,7,4>, lane 0
2725213051U, // <1,6,7,5>: Cost 3 vext3 <6,7,5,1>, <6,7,5,1>
2725507979U, // <1,6,7,6>: Cost 3 vext3 <6,u,0,1>, <6,7,6,u>
2132705280U, // <1,6,7,7>: Cost 2 ins <u,6,7,7>, lane 0
1651692438U, // <1,6,7,u>: Cost 2 vext3 <6,7,u,1>, <6,7,u,1>
1651766175U, // <1,6,u,0>: Cost 2 vext3 <6,u,0,1>, <6,u,0,1>
2091737089U, // <1,6,u,1>: Cost 2 ins <1,u,1,1>, lane 1
2061921612U, // <1,6,u,2>: Cost 2 vtrnr LHS, <4,6,0,2>
2091753473U, // <1,6,u,3>: Cost 2 ins <1,u,1,3>, lane 1
2061922406U, // <1,6,u,4>: Cost 2 vtrnr LHS, <5,6,7,4>
2618701978U, // <1,6,u,5>: Cost 3 vext2 <0,2,1,6>, RHS
2061921652U, // <1,6,u,6>: Cost 2 vtrnr LHS, <4,6,4,6>
2014144442U, // <1,6,u,7>: Cost 2 vtrnr LHS, <2,6,3,7>
2014144443U, // <1,6,u,u>: Cost 2 vtrnr LHS, <2,6,3,u>
2726171632U, // <1,7,0,0>: Cost 3 vext3 <7,0,0,1>, <7,0,0,1>
2132803584U, // <1,7,0,1>: Cost 2 ins <u,7,0,1>, lane 0
3206553600U, // <1,7,0,2>: Cost 3 ins <u,7,0,2>, lane 0
2257286235U, // <1,7,0,3>: Cost 3 vrev <7,1,3,0>
2726466580U, // <1,7,0,4>: Cost 3 vext3 <7,0,4,1>, <7,0,4,1>
3206578176U, // <1,7,0,5>: Cost 3 ins <u,7,0,5>, lane 0
2621358582U, // <1,7,0,6>: Cost 3 vext2 <0,6,1,7>, <0,6,1,7>
3165380610U, // <1,7,0,7>: Cost 3 ins <1,7,u,7>, lane 2
2132803584U, // <1,7,0,u>: Cost 2 ins <u,7,0,1>, lane 0
2581184614U, // <1,7,1,0>: Cost 3 vext1 <5,1,7,1>, LHS
2091737089U, // <1,7,1,1>: Cost 2 ins <1,u,1,1>, lane 1
3206627328U, // <1,7,1,2>: Cost 3 ins <u,7,1,2>, lane 0
2132893696U, // <1,7,1,3>: Cost 2 ins <u,7,1,3>, lane 0
2581187894U, // <1,7,1,4>: Cost 3 vext1 <5,1,7,1>, RHS
2626667646U, // <1,7,1,5>: Cost 3 vext2 <1,5,1,7>, <1,5,1,7>
2627331279U, // <1,7,1,6>: Cost 3 vext2 <1,6,1,7>, <1,6,1,7>
1745698922U, // <1,7,1,7>: Cost 2 vuzpr <0,1,2,7>, <0,1,2,7>
2132893696U, // <1,7,1,u>: Cost 2 ins <u,7,1,3>, lane 0
2587164774U, // <1,7,2,0>: Cost 3 vext1 <6,1,7,2>, LHS
2994687370U, // <1,7,2,1>: Cost 3 vzipr <7,0,1,2>, <4,6,7,1>
3206701056U, // <1,7,2,2>: Cost 3 ins <u,7,2,2>, lane 0
2132967424U, // <1,7,2,3>: Cost 2 ins <u,7,2,3>, lane 0
2587168054U, // <1,7,2,4>: Cost 3 vext1 <6,1,7,2>, RHS
3206725632U, // <1,7,2,5>: Cost 3 ins <u,7,2,5>, lane 0
2587169192U, // <1,7,2,6>: Cost 3 vext1 <6,1,7,2>, <6,1,7,2>
2994688024U, // <1,7,2,7>: Cost 3 vzipr <7,0,1,2>, <5,5,7,7>
2132967424U, // <1,7,2,u>: Cost 2 ins <u,7,2,3>, lane 0
1507459174U, // <1,7,3,0>: Cost 2 vext1 <5,1,7,3>, LHS
2061882190U, // <1,7,3,1>: Cost 2 vtrnr LHS, <6,7,0,1>
2091892737U, // <1,7,3,2>: Cost 2 ins <1,u,3,2>, lane 1
2061881472U, // <1,7,3,3>: Cost 2 vtrnr LHS, <5,7,1,3>
1507462454U, // <1,7,3,4>: Cost 2 vext1 <5,1,7,3>, RHS
1507462864U, // <1,7,3,5>: Cost 2 vext1 <5,1,7,3>, <5,1,7,3>
2581205498U, // <1,7,3,6>: Cost 3 vext1 <5,1,7,3>, <6,2,7,3>
2061881512U, // <1,7,3,7>: Cost 2 vtrnr LHS, <5,7,5,7>
1507465006U, // <1,7,3,u>: Cost 2 vext1 <5,1,7,3>, LHS
2728826164U, // <1,7,4,0>: Cost 3 vext3 <7,4,0,1>, <7,4,0,1>
3165331458U, // <1,7,4,1>: Cost 3 ins <1,7,u,1>, lane 2
2644585539U, // <1,7,4,2>: Cost 3 vext2 <4,5,1,7>, <4,2,6,7>
2257319007U, // <1,7,4,3>: Cost 3 vrev <7,1,3,4>
3206864896U, // <1,7,4,4>: Cost 3 ins <u,7,4,4>, lane 0
2133131264U, // <1,7,4,5>: Cost 2 ins <u,7,4,5>, lane 0
3206881280U, // <1,7,4,6>: Cost 3 ins <u,7,4,6>, lane 0
3165380610U, // <1,7,4,7>: Cost 3 ins <1,7,u,7>, lane 2
2133131264U, // <1,7,4,u>: Cost 2 ins <u,7,4,5>, lane 0
2569273446U, // <1,7,5,0>: Cost 3 vext1 <3,1,7,5>, LHS
3028292602U, // <1,7,5,1>: Cost 3 vtrnl <1,3,5,7>, <7,0,1,2>
3165782017U, // <1,7,5,2>: Cost 3 ins <1,u,5,2>, lane 1
3028292704U, // <1,7,5,3>: Cost 3 vtrnl <1,3,5,7>, <7,1,3,5>
2569276726U, // <1,7,5,4>: Cost 3 vext1 <3,1,7,5>, RHS
3028292966U, // <1,7,5,5>: Cost 3 vtrnl <1,3,5,7>, <7,4,5,6>
2651222067U, // <1,7,5,6>: Cost 3 vext2 <5,6,1,7>, <5,6,1,7>
2133221376U, // <1,7,5,7>: Cost 2 ins <u,7,5,7>, lane 0
2133221376U, // <1,7,5,u>: Cost 2 ins <u,7,5,7>, lane 0
2730153430U, // <1,7,6,0>: Cost 3 vext3 <7,6,0,1>, <7,6,0,1>
2724845022U, // <1,7,6,1>: Cost 3 vext3 <6,7,0,1>, <7,6,1,0>
3206995968U, // <1,7,6,2>: Cost 3 ins <u,7,6,2>, lane 0
3165347842U, // <1,7,6,3>: Cost 3 ins <1,7,u,3>, lane 2
2257409130U, // <1,7,6,4>: Cost 3 vrev <7,1,4,6>
3207020544U, // <1,7,6,5>: Cost 3 ins <u,7,6,5>, lane 0
3207028736U, // <1,7,6,6>: Cost 3 ins <u,7,6,6>, lane 0
2133295104U, // <1,7,6,7>: Cost 2 ins <u,7,6,7>, lane 0
2133295104U, // <1,7,6,u>: Cost 2 ins <u,7,6,7>, lane 0
2730817063U, // <1,7,7,0>: Cost 3 vext3 <7,7,0,1>, <7,7,0,1>
2861470542U, // <1,7,7,1>: Cost 3 vuzpr <7,1,5,7>, <6,7,0,1>
3165929473U, // <1,7,7,2>: Cost 3 ins <1,u,7,2>, lane 1
2998046416U, // <1,7,7,3>: Cost 3 vzipr <7,5,1,7>, <5,1,7,3>
3207086080U, // <1,7,7,4>: Cost 3 ins <u,7,7,4>, lane 0
2257491060U, // <1,7,7,5>: Cost 3 vrev <7,1,5,7>
3207102464U, // <1,7,7,6>: Cost 3 ins <u,7,7,6>, lane 0
2133368832U, // <1,7,7,7>: Cost 2 ins <u,7,7,7>, lane 0
2133368832U, // <1,7,7,u>: Cost 2 ins <u,7,7,7>, lane 0
1507500134U, // <1,7,u,0>: Cost 2 vext1 <5,1,7,u>, LHS
2061923150U, // <1,7,u,1>: Cost 2 vtrnr LHS, <6,7,0,1>
2091892737U, // <1,7,u,2>: Cost 2 ins <1,u,3,2>, lane 1
2061922432U, // <1,7,u,3>: Cost 2 vtrnr LHS, <5,7,1,3>
1507503414U, // <1,7,u,4>: Cost 2 vext1 <5,1,7,u>, RHS
1507503829U, // <1,7,u,5>: Cost 2 vext1 <5,1,7,u>, <5,1,7,u>
2581246458U, // <1,7,u,6>: Cost 3 vext1 <5,1,7,u>, <6,2,7,3>
2061922472U, // <1,7,u,7>: Cost 2 vtrnr LHS, <5,7,5,7>
1507505966U, // <1,7,u,u>: Cost 2 vext1 <5,1,7,u>, LHS
1745707008U, // <1,u,0,0>: Cost 2 vuzpr LHS, <0,0,0,0>
1745707018U, // <1,u,0,1>: Cost 2 vuzpr LHS, <0,0,1,1>
1745707028U, // <1,u,0,2>: Cost 2 vuzpr LHS, <0,0,2,2>
2087624706U, // <1,u,0,3>: Cost 2 ins <1,1,u,3>, lane 2
1546297685U, // <1,u,0,4>: Cost 2 vext2 <0,4,1,u>, <0,4,1,u>
1818155162U, // <1,u,0,5>: Cost 2 vzipl <1,0,3,2>, RHS
2891897040U, // <1,u,0,6>: Cost 3 vzipl <1,0,3,2>, <u,6,3,7>
2088984578U, // <1,u,0,7>: Cost 2 ins <1,3,u,7>, lane 2
1745707025U, // <1,u,0,u>: Cost 2 vuzpr LHS, <0,0,1,u>
1483112550U, // <1,u,1,0>: Cost 2 vext1 <1,1,1,1>, LHS
202162278U, // <1,u,1,1>: Cost 1 vdup1 LHS
1616009006U, // <1,u,1,2>: Cost 2 vext3 <0,u,1,1>, LHS
671965286U, // <1,u,1,3>: Cost 1 vuzpr LHS, LHS
1483115830U, // <1,u,1,4>: Cost 2 vext1 <1,1,1,1>, RHS
1818663066U, // <1,u,1,5>: Cost 2 vzipl <1,1,1,1>, RHS
1952880794U, // <1,u,1,6>: Cost 2 vtrnl <1,1,1,1>, RHS
1884441928U, // <1,u,1,7>: Cost 2 vzipr <0,u,1,1>, RHS
671965291U, // <1,u,1,u>: Cost 1 vuzpr LHS, LHS
1745707926U, // <1,u,2,0>: Cost 2 vuzpr LHS, <1,2,3,0>
1819465518U, // <1,u,2,1>: Cost 2 vzipl <1,2,3,0>, LHS
1745707172U, // <1,u,2,2>: Cost 2 vuzpr LHS, <0,2,0,2>
1055244288U, // <1,u,2,3>: Cost 1 ins LHS, lane 0
1745707930U, // <1,u,2,4>: Cost 2 vuzpr LHS, <1,2,3,4>
1819465882U, // <1,u,2,5>: Cost 2 vzipl <1,2,3,0>, RHS
1745707212U, // <1,u,2,6>: Cost 2 vuzpr LHS, <0,2,4,6>
1897057608U, // <1,u,2,7>: Cost 2 vzipr <3,0,1,2>, RHS
1055244288U, // <1,u,2,u>: Cost 1 ins LHS, lane 0
403931292U, // <1,u,3,0>: Cost 1 vext1 LHS, LHS
2014102162U, // <1,u,3,1>: Cost 2 vtrnr LHS, <0,u,1,1>
115726126U, // <1,u,3,2>: Cost 1 vrev LHS
940360349U, // <1,u,3,3>: Cost 1 vtrnr LHS, LHS
403934518U, // <1,u,3,4>: Cost 1 vext1 LHS, RHS
2014102166U, // <1,u,3,5>: Cost 2 vtrnr LHS, <0,u,1,5>
2014102176U, // <1,u,3,6>: Cost 2 vtrnr LHS, <0,u,2,6>
940363305U, // <1,u,3,7>: Cost 1 vtrnr LHS, RHS
940360354U, // <1,u,3,u>: Cost 1 vtrnr LHS, LHS
2088263682U, // <1,u,4,0>: Cost 2 ins <1,2,u,0>, lane 2
2087608322U, // <1,u,4,1>: Cost 2 ins <1,1,u,1>, lane 2
2086952962U, // <1,u,4,2>: Cost 2 ins <1,0,u,2>, lane 2
2087624706U, // <1,u,4,3>: Cost 2 ins <1,1,u,3>, lane 2
1793486032U, // <1,u,4,4>: Cost 2 vuzpr LHS, <4,4,4,4>
1745707346U, // <1,u,4,5>: Cost 2 vuzpr LHS, <0,4,1,5>
1745707356U, // <1,u,4,6>: Cost 2 vuzpr LHS, <0,4,2,6>
2088984578U, // <1,u,4,7>: Cost 2 ins <1,3,u,7>, lane 2
1745707349U, // <1,u,4,u>: Cost 2 vuzpr LHS, <0,4,1,u>
2088263682U, // <1,u,5,0>: Cost 2 ins <1,2,u,0>, lane 2
1821513518U, // <1,u,5,1>: Cost 2 vzipl <1,5,3,7>, LHS
1954551598U, // <1,u,5,2>: Cost 2 vtrnl <1,3,5,7>, LHS
1881817244U, // <1,u,5,3>: Cost 2 vzipr <0,4,1,5>, LHS
2088296450U, // <1,u,5,4>: Cost 2 ins <1,2,u,4>, lane 2
1821513882U, // <1,u,5,5>: Cost 2 vzipl <1,5,3,7>, RHS
1616009370U, // <1,u,5,6>: Cost 2 vext3 <0,u,1,1>, RHS
671968566U, // <1,u,5,7>: Cost 1 vuzpr LHS, RHS
671968567U, // <1,u,5,u>: Cost 1 vuzpr LHS, RHS
1793486946U, // <1,u,6,0>: Cost 2 vuzpr LHS, <5,6,7,0>
2087608322U, // <1,u,6,1>: Cost 2 ins <1,1,u,1>, lane 2
1793486156U, // <1,u,6,2>: Cost 2 vuzpr LHS, <4,6,0,2>
2087624706U, // <1,u,6,3>: Cost 2 ins <1,1,u,3>, lane 2
1793486950U, // <1,u,6,4>: Cost 2 vuzpr LHS, <5,6,7,4>
2131951616U, // <1,u,6,5>: Cost 2 ins <u,5,6,5>, lane 0
1793486196U, // <1,u,6,6>: Cost 2 vuzpr LHS, <4,6,4,6>
1058226176U, // <1,u,6,7>: Cost 1 ins RHS, lane 0
1058226176U, // <1,u,6,u>: Cost 1 ins RHS, lane 0
1585452032U, // <1,u,7,0>: Cost 2 vext2 <7,0,1,u>, <7,0,1,u>
1793487694U, // <1,u,7,1>: Cost 2 vuzpr LHS, <6,7,0,1>
2086952962U, // <1,u,7,2>: Cost 2 ins <1,0,u,2>, lane 2
1793486976U, // <1,u,7,3>: Cost 2 vuzpr LHS, <5,7,1,3>
2088296450U, // <1,u,7,4>: Cost 2 ins <1,2,u,4>, lane 2
1793487734U, // <1,u,7,5>: Cost 2 vuzpr LHS, <6,7,4,5>
2131369984U, // <1,u,7,6>: Cost 2 ins <u,4,7,6>, lane 0
1793487016U, // <1,u,7,7>: Cost 2 vuzpr LHS, <5,7,5,7>
1590761096U, // <1,u,7,u>: Cost 2 vext2 <7,u,1,u>, <7,u,1,u>
403972257U, // <1,u,u,0>: Cost 1 vext1 LHS, LHS
202162278U, // <1,u,u,1>: Cost 1 vdup1 LHS
115767091U, // <1,u,u,2>: Cost 1 vrev LHS
671965853U, // <1,u,u,3>: Cost 1 vuzpr LHS, LHS
403975478U, // <1,u,u,4>: Cost 1 vext1 LHS, RHS
1745707670U, // <1,u,u,5>: Cost 2 vuzpr LHS, <0,u,1,5>
1745707680U, // <1,u,u,6>: Cost 2 vuzpr LHS, <0,u,2,6>
671968809U, // <1,u,u,7>: Cost 1 vuzpr LHS, RHS
671965858U, // <1,u,u,u>: Cost 1 vuzpr LHS, LHS
2128150528U, // <2,0,0,0>: Cost 2 ins <u,0,0,0>, lane 0
2097635329U, // <2,0,0,1>: Cost 2 ins <2,u,0,1>, lane 1
1691664486U, // <2,0,0,2>: Cost 2 vuzpl <2,3,0,1>, LHS
2826094014U, // <2,0,0,3>: Cost 3 vuzpr <1,2,3,0>, <2,0,1,3>
2551467318U, // <2,0,0,4>: Cost 3 vext1 <0,2,0,0>, RHS
2826094772U, // <2,0,0,5>: Cost 3 vuzpr <1,2,3,0>, <3,0,4,5>
3171418113U, // <2,0,0,6>: Cost 3 ins <2,u,0,6>, lane 1
3094529510U, // <2,0,0,7>: Cost 3 vtrnr <1,2,3,0>, <2,0,5,7>
1691664540U, // <2,0,0,u>: Cost 2 vuzpl <2,3,0,1>, LHS
2215927971U, // <2,0,1,0>: Cost 3 vrev <0,2,0,1>
2128232448U, // <2,0,1,1>: Cost 2 ins <u,0,1,1>, lane 0
1611956326U, // <2,0,1,2>: Cost 2 vext3 <0,2,0,2>, LHS
1752350822U, // <2,0,1,3>: Cost 2 vuzpr <1,2,3,0>, LHS
2551475510U, // <2,0,1,4>: Cost 3 vext1 <0,2,0,1>, RHS
2765407232U, // <2,0,1,5>: Cost 3 vuzpl <2,3,0,1>, <1,3,5,7>
2587308473U, // <2,0,1,6>: Cost 3 vext1 <6,2,0,1>, <6,2,0,1>
3166707714U, // <2,0,1,7>: Cost 3 ins <2,0,u,7>, lane 2
1611956380U, // <2,0,1,u>: Cost 2 vext3 <0,2,0,2>, LHS
1142194340U, // <2,0,2,0>: Cost 2 vrev <0,2,0,2>
1825374310U, // <2,0,2,1>: Cost 2 vzipl <2,2,2,2>, LHS
1959592038U, // <2,0,2,2>: Cost 2 vtrnl <2,2,2,2>, LHS
2128322560U, // <2,0,2,3>: Cost 2 ins <u,0,2,3>, lane 0
1477741878U, // <2,0,2,4>: Cost 2 vext1 <0,2,0,2>, RHS
2599259856U, // <2,0,2,5>: Cost 3 vext1 <u,2,0,2>, <5,1,7,3>
3088351274U, // <2,0,2,6>: Cost 3 vtrnr <0,2,0,2>, <0,0,4,6>
2599261178U, // <2,0,2,7>: Cost 3 vext1 <u,2,0,2>, <7,0,1,2>
1477744430U, // <2,0,2,u>: Cost 2 vext1 <0,2,0,2>, LHS
1879883776U, // <2,0,3,0>: Cost 2 vzipr LHS, <0,0,0,0>
1879885478U, // <2,0,3,1>: Cost 2 vzipr LHS, <2,3,0,1>
1879883940U, // <2,0,3,2>: Cost 2 vzipr LHS, <0,2,0,2>
2097872897U, // <2,0,3,3>: Cost 2 ins <2,u,3,3>, lane 1
2958270630U, // <2,0,3,4>: Cost 3 vzipr LHS, <0,2,0,4>
2826094286U, // <2,0,3,5>: Cost 3 vuzpr <1,2,3,0>, <2,3,4,5>
2958270794U, // <2,0,3,6>: Cost 3 vzipr LHS, <0,4,0,6>
2097905665U, // <2,0,3,7>: Cost 2 ins <2,u,3,7>, lane 1
1879883946U, // <2,0,3,u>: Cost 2 vzipr LHS, <0,2,0,u>
2215952550U, // <2,0,4,0>: Cost 3 vrev <0,2,0,4>
2685698386U, // <2,0,4,1>: Cost 3 vext3 <0,2,0,2>, <0,4,1,5>
1960427622U, // <2,0,4,2>: Cost 2 vtrnl <2,3,4,5>, LHS
3171688449U, // <2,0,4,3>: Cost 3 ins <2,u,4,3>, lane 1
2551500086U, // <2,0,4,4>: Cost 3 vext1 <0,2,0,4>, RHS
2097963009U, // <2,0,4,5>: Cost 2 ins <2,u,4,5>, lane 1
1691667766U, // <2,0,4,6>: Cost 2 vuzpl <2,3,0,1>, RHS
3171721217U, // <2,0,4,7>: Cost 3 ins <2,u,4,7>, lane 1
1691667784U, // <2,0,4,u>: Cost 2 vuzpl <2,3,0,1>, RHS
3033596068U, // <2,0,5,0>: Cost 3 vtrnl <2,2,5,7>, <0,2,0,2>
2128527360U, // <2,0,5,1>: Cost 2 ins <u,0,5,1>, lane 0
2955632804U, // <2,0,5,2>: Cost 3 vzipr <0,4,2,5>, <0,2,0,2>
2216181954U, // <2,0,5,3>: Cost 3 vrev <0,2,3,5>
2216255691U, // <2,0,5,4>: Cost 3 vrev <0,2,4,5>
2867900420U, // <2,0,5,5>: Cost 3 vuzpr <u,2,3,0>, <5,5,5,5>
3202310144U, // <2,0,5,6>: Cost 3 ins <u,0,5,6>, lane 0
1752354102U, // <2,0,5,7>: Cost 2 vuzpr <1,2,3,0>, RHS
1752354103U, // <2,0,5,u>: Cost 2 vuzpr <1,2,3,0>, RHS
3088678912U, // <2,0,6,0>: Cost 3 vtrnr <0,2,4,6>, <0,0,0,0>
1828143206U, // <2,0,6,1>: Cost 2 vzipl <2,6,3,7>, LHS
2128609280U, // <2,0,6,2>: Cost 2 ins <u,0,6,2>, lane 0
3171835905U, // <2,0,6,3>: Cost 3 ins <2,u,6,3>, lane 1
1142522060U, // <2,0,6,4>: Cost 2 vrev <0,2,4,6>
3171852289U, // <2,0,6,5>: Cost 3 ins <2,u,6,5>, lane 1
2867899764U, // <2,0,6,6>: Cost 3 vuzpr <u,2,3,0>, <4,6,4,6>
2128650240U, // <2,0,6,7>: Cost 2 ins <u,0,6,7>, lane 0
1142817008U, // <2,0,6,u>: Cost 2 vrev <0,2,u,6>
2659202049U, // <2,0,7,0>: Cost 3 vext2 <7,0,2,0>, <7,0,2,0>
2867901262U, // <2,0,7,1>: Cost 3 vuzpr <u,2,3,0>, <6,7,0,1>
2956976292U, // <2,0,7,2>: Cost 3 vzipr <0,6,2,7>, <0,2,0,2>
2867900544U, // <2,0,7,3>: Cost 3 vuzpr <u,2,3,0>, <5,7,1,3>
3171917825U, // <2,0,7,4>: Cost 3 ins <2,u,7,4>, lane 1
2867901302U, // <2,0,7,5>: Cost 3 vuzpr <u,2,3,0>, <6,7,4,5>
3166699522U, // <2,0,7,6>: Cost 3 ins <2,0,u,6>, lane 2
2867900584U, // <2,0,7,7>: Cost 3 vuzpr <u,2,3,0>, <5,7,5,7>
2867900549U, // <2,0,7,u>: Cost 3 vuzpr <u,2,3,0>, <5,7,1,u>
1879924736U, // <2,0,u,0>: Cost 2 vzipr LHS, <0,0,0,0>
1879926438U, // <2,0,u,1>: Cost 2 vzipr LHS, <2,3,0,1>
1879924900U, // <2,0,u,2>: Cost 2 vzipr LHS, <0,2,0,2>
1752351389U, // <2,0,u,3>: Cost 2 vuzpr <1,2,3,0>, LHS
1477791030U, // <2,0,u,4>: Cost 2 vext1 <0,2,0,u>, RHS
2097963009U, // <2,0,u,5>: Cost 2 ins <2,u,4,5>, lane 1
1691670682U, // <2,0,u,6>: Cost 2 vuzpl <2,3,0,1>, RHS
1752354345U, // <2,0,u,7>: Cost 2 vuzpr <1,2,3,0>, RHS
1879924906U, // <2,0,u,u>: Cost 2 vzipr LHS, <0,2,0,u>
2763497636U, // <2,1,0,0>: Cost 3 vuzpl <2,0,1,2>, <0,2,0,2>
2097635329U, // <2,1,0,1>: Cost 2 ins <2,u,0,1>, lane 1
2820130966U, // <2,1,0,2>: Cost 3 vuzpr <0,2,3,1>, <3,0,1,2>
1616823030U, // <2,1,0,3>: Cost 2 vext3 <1,0,3,2>, <1,0,3,2>
2767487180U, // <2,1,0,4>: Cost 3 vuzpl <2,6,1,3>, <0,2,4,6>
3033842688U, // <2,1,0,5>: Cost 3 vtrnl <2,3,0,1>, <1,3,5,7>
3171418113U, // <2,1,0,6>: Cost 3 ins <2,u,0,6>, lane 1
3171426305U, // <2,1,0,7>: Cost 3 ins <2,u,0,7>, lane 1
1617191715U, // <2,1,0,u>: Cost 2 vext3 <1,0,u,2>, <1,0,u,2>
2551546028U, // <2,1,1,0>: Cost 3 vext1 <0,2,1,1>, <0,2,1,1>
2128896000U, // <2,1,1,1>: Cost 2 ins <u,1,1,1>, lane 0
2954938518U, // <2,1,1,2>: Cost 3 vzipr <0,3,2,1>, <3,0,1,2>
2128912384U, // <2,1,1,3>: Cost 2 ins <u,1,1,3>, lane 0
2551549238U, // <2,1,1,4>: Cost 3 vext1 <0,2,1,1>, RHS
3202670592U, // <2,1,1,5>: Cost 3 ins <u,1,1,5>, lane 0
3202678784U, // <2,1,1,6>: Cost 3 ins <u,1,1,6>, lane 0
2953612553U, // <2,1,1,7>: Cost 3 vzipr <0,1,2,1>, <4,5,1,7>
2128896000U, // <2,1,1,u>: Cost 2 ins <u,1,1,1>, lane 0
2128961536U, // <2,1,2,0>: Cost 2 ins <u,1,2,0>, lane 0
2128969728U, // <2,1,2,1>: Cost 2 ins <u,1,2,1>, lane 0
2128977920U, // <2,1,2,2>: Cost 2 ins <u,1,2,2>, lane 0
1055244288U, // <2,1,2,3>: Cost 1 ins LHS, lane 0
2128994304U, // <2,1,2,4>: Cost 2 ins <u,1,2,4>, lane 0
2129002496U, // <2,1,2,5>: Cost 2 ins <u,1,2,5>, lane 0
2129010688U, // <2,1,2,6>: Cost 2 ins <u,1,2,6>, lane 0
2129018880U, // <2,1,2,7>: Cost 2 ins <u,1,2,7>, lane 0
1055244288U, // <2,1,2,u>: Cost 1 ins LHS, lane 0
2953625609U, // <2,1,3,0>: Cost 3 vzipr LHS, <0,0,1,0>
1879883786U, // <2,1,3,1>: Cost 2 vzipr LHS, <0,0,1,1>
1879885974U, // <2,1,3,2>: Cost 2 vzipr LHS, <3,0,1,2>
1879884760U, // <2,1,3,3>: Cost 2 vzipr LHS, <1,3,1,3>
2953625856U, // <2,1,3,4>: Cost 3 vzipr LHS, <0,3,1,4>
1879884114U, // <2,1,3,5>: Cost 2 vzipr LHS, <0,4,1,5>
2958270641U, // <2,1,3,6>: Cost 3 vzipr LHS, <0,2,1,6>
2097905665U, // <2,1,3,7>: Cost 2 ins <2,u,3,7>, lane 1
1879883793U, // <2,1,3,u>: Cost 2 vzipr LHS, <0,0,1,u>
3171663873U, // <2,1,4,0>: Cost 3 ins <2,u,4,0>, lane 1
3094561588U, // <2,1,4,1>: Cost 3 vtrnr <1,2,3,4>, <1,1,1,1>
2900378522U, // <2,1,4,2>: Cost 3 vzipl <2,4,1,3>, <1,2,3,4>
1148404634U, // <2,1,4,3>: Cost 2 vrev <1,2,3,4>
3171696641U, // <2,1,4,4>: Cost 3 ins <2,u,4,4>, lane 1
2097963009U, // <2,1,4,5>: Cost 2 ins <2,u,4,5>, lane 1
2763500854U, // <2,1,4,6>: Cost 3 vuzpl <2,0,1,2>, RHS
3171721217U, // <2,1,4,7>: Cost 3 ins <2,u,4,7>, lane 1
2020819051U, // <2,1,4,u>: Cost 2 vtrnr <1,2,3,4>, LHS
2551578800U, // <2,1,5,0>: Cost 3 vext1 <0,2,1,5>, <0,2,1,5>
2551579648U, // <2,1,5,1>: Cost 3 vext1 <0,2,1,5>, <1,3,5,7>
2901001110U, // <2,1,5,2>: Cost 3 vzipl <2,5,0,7>, <1,2,3,0>
2129207296U, // <2,1,5,3>: Cost 2 ins <u,1,5,3>, lane 0
2551582006U, // <2,1,5,4>: Cost 3 vext1 <0,2,1,5>, RHS
3202965504U, // <2,1,5,5>: Cost 3 ins <u,1,5,5>, lane 0
3171786753U, // <2,1,5,6>: Cost 3 ins <2,u,5,6>, lane 1
2819910966U, // <2,1,5,7>: Cost 3 vuzpr <0,2,0,1>, RHS
2129207296U, // <2,1,5,u>: Cost 2 ins <u,1,5,3>, lane 0
2551586993U, // <2,1,6,0>: Cost 3 vext1 <0,2,1,6>, <0,2,1,6>
3088679732U, // <2,1,6,1>: Cost 3 vtrnr <0,2,4,6>, <1,1,1,1>
2551588794U, // <2,1,6,2>: Cost 3 vext1 <0,2,1,6>, <2,6,3,7>
2014937190U, // <2,1,6,3>: Cost 2 vtrnr <0,2,4,6>, LHS
2551590198U, // <2,1,6,4>: Cost 3 vext1 <0,2,1,6>, RHS
2955641170U, // <2,1,6,5>: Cost 3 vzipr <0,4,2,6>, <0,4,1,5>
2901886177U, // <2,1,6,6>: Cost 3 vzipl <2,6,3,7>, <1,6,3,7>
2129313792U, // <2,1,6,7>: Cost 2 ins <u,1,6,7>, lane 0
2014937195U, // <2,1,6,u>: Cost 2 vtrnr <0,2,4,6>, LHS
3171885057U, // <2,1,7,0>: Cost 3 ins <2,u,7,0>, lane 1
3203080192U, // <2,1,7,1>: Cost 3 ins <u,1,7,1>, lane 0
3001439874U, // <2,1,7,2>: Cost 3 vzipr <u,1,2,7>, <7,u,1,2>
2129354752U, // <2,1,7,3>: Cost 2 ins <u,1,7,3>, lane 0
3171917825U, // <2,1,7,4>: Cost 3 ins <2,u,7,4>, lane 1
3203112960U, // <2,1,7,5>: Cost 3 ins <u,1,7,5>, lane 0
2222392248U, // <2,1,7,6>: Cost 3 vrev <1,2,6,7>
3171942401U, // <2,1,7,7>: Cost 3 ins <2,u,7,7>, lane 1
2129354752U, // <2,1,7,u>: Cost 2 ins <u,1,7,3>, lane 0
2128961536U, // <2,1,u,0>: Cost 2 ins <u,1,2,0>, lane 0
1879924746U, // <2,1,u,1>: Cost 2 vzipr LHS, <0,0,1,1>
1879926934U, // <2,1,u,2>: Cost 2 vzipr LHS, <3,0,1,2>
1055244288U, // <2,1,u,3>: Cost 1 ins LHS, lane 0
2128994304U, // <2,1,u,4>: Cost 2 ins <u,1,2,4>, lane 0
1879925074U, // <2,1,u,5>: Cost 2 vzipr LHS, <0,4,1,5>
2129010688U, // <2,1,u,6>: Cost 2 ins <u,1,2,6>, lane 0
2097905665U, // <2,1,u,7>: Cost 2 ins <2,u,3,7>, lane 1
1055244288U, // <2,1,u,u>: Cost 1 ins LHS, lane 0
2020787094U, // <2,2,0,0>: Cost 2 vtrnr <1,2,3,0>, <1,2,3,0>
1548976230U, // <2,2,0,1>: Cost 2 vext2 <0,u,2,2>, LHS
1691156582U, // <2,2,0,2>: Cost 2 vuzpl <2,2,2,2>, LHS
2094260226U, // <2,2,0,3>: Cost 2 ins <2,2,u,3>, lane 2
2819917256U, // <2,2,0,4>: Cost 3 vuzpr <0,2,0,2>, <2,0,2,4>
3168018434U, // <2,2,0,5>: Cost 3 ins <2,2,u,5>, lane 2
2819915818U, // <2,2,0,6>: Cost 3 vuzpr <0,2,0,2>, <0,0,4,6>
3171426305U, // <2,2,0,7>: Cost 3 ins <2,u,0,7>, lane 1
1548976796U, // <2,2,0,u>: Cost 2 vext2 <0,u,2,2>, <0,u,2,2>
2622718710U, // <2,2,1,0>: Cost 3 vext2 <0,u,2,2>, <1,0,3,2>
1879867492U, // <2,2,1,1>: Cost 2 vzipr <0,1,2,1>, <0,1,2,1>
2094252034U, // <2,2,1,2>: Cost 2 ins <2,2,u,2>, lane 2
1746174054U, // <2,2,1,3>: Cost 2 vuzpr <0,2,0,2>, LHS
3167526915U, // <2,2,1,4>: Cost 3 ins <2,2,1,u>, lane 3
2622719120U, // <2,2,1,5>: Cost 3 vext2 <0,u,2,2>, <1,5,3,7>
3203342336U, // <2,2,1,6>: Cost 3 ins <u,2,1,6>, lane 0
3168034818U, // <2,2,1,7>: Cost 3 ins <2,2,u,7>, lane 2
1746174059U, // <2,2,1,u>: Cost 2 vuzpr <0,2,0,2>, LHS
1489829990U, // <2,2,2,0>: Cost 2 vext1 <2,2,2,2>, LHS
2093858819U, // <2,2,2,1>: Cost 2 ins <2,2,2,u>, lane 3
269271142U, // <2,2,2,2>: Cost 1 vdup2 LHS
1884520550U, // <2,2,2,3>: Cost 2 vzipr <0,u,2,2>, LHS
1489833270U, // <2,2,2,4>: Cost 2 vext1 <2,2,2,2>, RHS
2093858819U, // <2,2,2,5>: Cost 2 ins <2,2,2,u>, lane 3
2093858819U, // <2,2,2,6>: Cost 2 ins <2,2,2,u>, lane 3
2093858819U, // <2,2,2,7>: Cost 2 ins <2,2,2,u>, lane 3
269271142U, // <2,2,2,u>: Cost 1 vdup2 LHS
2129698816U, // <2,2,3,0>: Cost 2 ins <u,2,3,0>, lane 0
2093932547U, // <2,2,3,1>: Cost 2 ins <2,2,3,u>, lane 3
1879885416U, // <2,2,3,2>: Cost 2 vzipr LHS, <2,2,2,2>
806142054U, // <2,2,3,3>: Cost 1 vzipr LHS, LHS
2129731584U, // <2,2,3,4>: Cost 2 ins <u,2,3,4>, lane 0
2093932547U, // <2,2,3,5>: Cost 2 ins <2,2,3,u>, lane 3
1884528988U, // <2,2,3,6>: Cost 2 vzipr LHS, <0,4,2,6>
2097905665U, // <2,2,3,7>: Cost 2 ins <2,u,3,7>, lane 1
806142059U, // <2,2,3,u>: Cost 1 vzipr LHS, LHS
2551644344U, // <2,2,4,0>: Cost 3 vext1 <0,2,2,4>, <0,2,2,4>
3171672065U, // <2,2,4,1>: Cost 3 ins <2,u,4,1>, lane 1
2094252034U, // <2,2,4,2>: Cost 2 ins <2,2,u,2>, lane 2
2094260226U, // <2,2,4,3>: Cost 2 ins <2,2,u,3>, lane 2
2020819866U, // <2,2,4,4>: Cost 2 vtrnr <1,2,3,4>, <1,2,3,4>
1548979510U, // <2,2,4,5>: Cost 2 vext2 <0,u,2,2>, RHS
1691159862U, // <2,2,4,6>: Cost 2 vuzpl <2,2,2,2>, RHS
3171721217U, // <2,2,4,7>: Cost 3 ins <2,u,4,7>, lane 1
1548979753U, // <2,2,4,u>: Cost 2 vext2 <0,u,2,2>, RHS
3167821827U, // <2,2,5,0>: Cost 3 ins <2,2,5,u>, lane 3
2670497488U, // <2,2,5,1>: Cost 3 vext2 <u,u,2,2>, <5,1,7,3>
2094252034U, // <2,2,5,2>: Cost 2 ins <2,2,u,2>, lane 2
2094260226U, // <2,2,5,3>: Cost 2 ins <2,2,u,3>, lane 2
2228201085U, // <2,2,5,4>: Cost 3 vrev <2,2,4,5>
1879900264U, // <2,2,5,5>: Cost 2 vzipr <0,1,2,5>, <0,1,2,5>
2670497890U, // <2,2,5,6>: Cost 3 vext2 <u,u,2,2>, <5,6,7,0>
1746177334U, // <2,2,5,7>: Cost 2 vuzpr <0,2,0,2>, RHS
1746177335U, // <2,2,5,u>: Cost 2 vuzpr <0,2,0,2>, RHS
3088679830U, // <2,2,6,0>: Cost 3 vtrnr <0,2,4,6>, <1,2,3,0>
3171819521U, // <2,2,6,1>: Cost 3 ins <2,u,6,1>, lane 1
2094252034U, // <2,2,6,2>: Cost 2 ins <2,2,u,2>, lane 2
1881899110U, // <2,2,6,3>: Cost 2 vzipr <0,4,2,6>, LHS
3088679078U, // <2,2,6,4>: Cost 3 vtrnr <0,2,4,6>, <0,2,0,4>
3171852289U, // <2,2,6,5>: Cost 3 ins <2,u,6,5>, lane 1
2014937292U, // <2,2,6,6>: Cost 2 vtrnr <0,2,4,6>, <0,2,4,6>
2094301189U, // <2,2,6,7>: Cost 2 ins <2,2,u,u>, lane 5
1881899115U, // <2,2,6,u>: Cost 2 vzipr <0,4,2,6>, LHS
2726250474U, // <2,2,7,0>: Cost 3 vext3 <7,0,1,2>, <2,7,0,1>
2867696462U, // <2,2,7,1>: Cost 3 vuzpr <u,2,0,2>, <6,7,0,1>
2094252034U, // <2,2,7,2>: Cost 2 ins <2,2,u,2>, lane 2
2130018304U, // <2,2,7,3>: Cost 2 ins <u,2,7,3>, lane 0
2670499174U, // <2,2,7,4>: Cost 3 vext2 <u,u,2,2>, <7,4,5,6>
2228291208U, // <2,2,7,5>: Cost 3 vrev <2,2,5,7>
3203784704U, // <2,2,7,6>: Cost 3 ins <u,2,7,6>, lane 0
1879916650U, // <2,2,7,7>: Cost 2 vzipr <0,1,2,7>, <0,1,2,7>
2130018304U, // <2,2,7,u>: Cost 2 ins <u,2,7,3>, lane 0
2020787094U, // <2,2,u,0>: Cost 2 vtrnr <1,2,3,0>, <1,2,3,0>
1548982062U, // <2,2,u,1>: Cost 2 vext2 <0,u,2,2>, LHS
269271142U, // <2,2,u,2>: Cost 1 vdup2 LHS
806183014U, // <2,2,u,3>: Cost 1 vzipr LHS, LHS
1489833270U, // <2,2,u,4>: Cost 2 vext1 <2,2,2,2>, RHS
1548982426U, // <2,2,u,5>: Cost 2 vext2 <0,u,2,2>, RHS
1879925084U, // <2,2,u,6>: Cost 2 vzipr LHS, <0,4,2,6>
1746177577U, // <2,2,u,7>: Cost 2 vuzpr <0,2,0,2>, RHS
806183019U, // <2,2,u,u>: Cost 1 vzipr LHS, LHS
1544339456U, // <2,3,0,0>: Cost 2 vext2 LHS, <0,0,0,0>
470597734U, // <2,3,0,1>: Cost 1 vext2 LHS, LHS
1548984484U, // <2,3,0,2>: Cost 2 vext2 LHS, <0,2,0,2>
2094374915U, // <2,3,0,3>: Cost 2 ins <2,3,0,u>, lane 3
1548984658U, // <2,3,0,4>: Cost 2 vext2 LHS, <0,4,1,5>
2094940162U, // <2,3,0,5>: Cost 2 ins <2,3,u,5>, lane 2
2094374915U, // <2,3,0,6>: Cost 2 ins <2,3,0,u>, lane 3
2094374915U, // <2,3,0,7>: Cost 2 ins <2,3,0,u>, lane 3
470598301U, // <2,3,0,u>: Cost 1 vext2 LHS, LHS
1544340214U, // <2,3,1,0>: Cost 2 vext2 LHS, <1,0,3,2>
1544340276U, // <2,3,1,1>: Cost 2 vext2 LHS, <1,1,1,1>
1544340374U, // <2,3,1,2>: Cost 2 vext2 LHS, <1,2,3,0>
1548985304U, // <2,3,1,3>: Cost 2 vext2 LHS, <1,3,1,3>
2551696694U, // <2,3,1,4>: Cost 3 vext1 <0,2,3,1>, RHS
1548985488U, // <2,3,1,5>: Cost 2 vext2 LHS, <1,5,3,7>
2622727375U, // <2,3,1,6>: Cost 3 vext2 LHS, <1,6,1,7>
2094956546U, // <2,3,1,7>: Cost 2 ins <2,3,u,7>, lane 2
1548985709U, // <2,3,1,u>: Cost 2 vext2 LHS, <1,u,1,3>
2094522371U, // <2,3,2,0>: Cost 2 ins <2,3,2,u>, lane 3
2094907394U, // <2,3,2,1>: Cost 2 ins <2,3,u,1>, lane 2
1544341096U, // <2,3,2,2>: Cost 2 vext2 LHS, <2,2,2,2>
1059889156U, // <2,3,2,3>: Cost 1 ins LHS, lane 4
2094522371U, // <2,3,2,4>: Cost 2 ins <2,3,2,u>, lane 3
2094940162U, // <2,3,2,5>: Cost 2 ins <2,3,u,5>, lane 2
1548986298U, // <2,3,2,6>: Cost 2 vext2 LHS, <2,6,3,7>
2094956546U, // <2,3,2,7>: Cost 2 ins <2,3,u,7>, lane 2
1059889156U, // <2,3,2,u>: Cost 1 ins LHS, lane 4
1879884694U, // <2,3,3,0>: Cost 2 vzipr LHS, <1,2,3,0>
2094907394U, // <2,3,3,1>: Cost 2 ins <2,3,u,1>, lane 2
1879884534U, // <2,3,3,2>: Cost 2 vzipr LHS, <1,0,3,2>
1544341916U, // <2,3,3,3>: Cost 2 vext2 LHS, <3,3,3,3>
1879884698U, // <2,3,3,4>: Cost 2 vzipr LHS, <1,2,3,4>
2094940162U, // <2,3,3,5>: Cost 2 ins <2,3,u,5>, lane 2
2953627415U, // <2,3,3,6>: Cost 3 vzipr LHS, <2,4,3,6>
1884529808U, // <2,3,3,7>: Cost 2 vzipr LHS, <1,5,3,7>
1879884702U, // <2,3,3,u>: Cost 2 vzipr LHS, <1,2,3,u>
1483948134U, // <2,3,4,0>: Cost 2 vext1 <1,2,3,4>, LHS
1483948954U, // <2,3,4,1>: Cost 2 vext1 <1,2,3,4>, <1,2,3,4>
2094669827U, // <2,3,4,2>: Cost 2 ins <2,3,4,u>, lane 3
2094669827U, // <2,3,4,3>: Cost 2 ins <2,3,4,u>, lane 3
1483951414U, // <2,3,4,4>: Cost 2 vext1 <1,2,3,4>, RHS
470601014U, // <2,3,4,5>: Cost 1 vext2 LHS, RHS
1691241782U, // <2,3,4,6>: Cost 2 vuzpl <2,2,3,3>, RHS
2094669827U, // <2,3,4,7>: Cost 2 ins <2,3,4,u>, lane 3
470601257U, // <2,3,4,u>: Cost 1 vext2 LHS, RHS
2551726274U, // <2,3,5,0>: Cost 3 vext1 <0,2,3,5>, <0,2,3,5>
1592118992U, // <2,3,5,1>: Cost 2 vext2 LHS, <5,1,7,3>
2665860843U, // <2,3,5,2>: Cost 3 vext2 LHS, <5,2,1,3>
2094923778U, // <2,3,5,3>: Cost 2 ins <2,3,u,3>, lane 2
1592119238U, // <2,3,5,4>: Cost 2 vext2 LHS, <5,4,7,6>
1592119300U, // <2,3,5,5>: Cost 2 vext2 LHS, <5,5,5,5>
1592119394U, // <2,3,5,6>: Cost 2 vext2 LHS, <5,6,7,0>
1758350646U, // <2,3,5,7>: Cost 2 vuzpr <2,2,3,3>, RHS
1758350647U, // <2,3,5,u>: Cost 2 vuzpr <2,2,3,3>, RHS
2094817283U, // <2,3,6,0>: Cost 2 ins <2,3,6,u>, lane 3
2094907394U, // <2,3,6,1>: Cost 2 ins <2,3,u,1>, lane 2
1592119802U, // <2,3,6,2>: Cost 2 vext2 LHS, <6,2,7,3>
2094923778U, // <2,3,6,3>: Cost 2 ins <2,3,u,3>, lane 2
2094817283U, // <2,3,6,4>: Cost 2 ins <2,3,6,u>, lane 3
2094940162U, // <2,3,6,5>: Cost 2 ins <2,3,u,5>, lane 2
1592120120U, // <2,3,6,6>: Cost 2 vext2 LHS, <6,6,6,6>
1060216836U, // <2,3,6,7>: Cost 1 ins RHS, lane 4
1060216836U, // <2,3,6,u>: Cost 1 ins RHS, lane 4
1592120314U, // <2,3,7,0>: Cost 2 vext2 LHS, <7,0,1,2>
2094907394U, // <2,3,7,1>: Cost 2 ins <2,3,u,1>, lane 2
2974892790U, // <2,3,7,2>: Cost 3 vzipr <3,6,2,7>, <1,0,3,2>
2133999620U, // <2,3,7,3>: Cost 2 ins <u,u,7,3>, lane 4
1592120678U, // <2,3,7,4>: Cost 2 vext2 LHS, <7,4,5,6>
2094940162U, // <2,3,7,5>: Cost 2 ins <2,3,u,5>, lane 2
2134024196U, // <2,3,7,6>: Cost 2 ins <u,u,7,6>, lane 4
1592120940U, // <2,3,7,7>: Cost 2 vext2 LHS, <7,7,7,7>
1592120962U, // <2,3,7,u>: Cost 2 vext2 LHS, <7,u,1,2>
1879925654U, // <2,3,u,0>: Cost 2 vzipr LHS, <1,2,3,0>
470603566U, // <2,3,u,1>: Cost 1 vext2 LHS, LHS
1879925494U, // <2,3,u,2>: Cost 2 vzipr LHS, <1,0,3,2>
1059889156U, // <2,3,u,3>: Cost 1 ins LHS, lane 4
1879925658U, // <2,3,u,4>: Cost 2 vzipr LHS, <1,2,3,4>
470603930U, // <2,3,u,5>: Cost 1 vext2 LHS, RHS
1548990672U, // <2,3,u,6>: Cost 2 vext2 LHS, <u,6,3,7>
1060216836U, // <2,3,u,7>: Cost 1 ins RHS, lane 4
470604133U, // <2,3,u,u>: Cost 1 vext2 LHS, LHS
2826125312U, // <2,4,0,0>: Cost 3 vuzpr <1,2,3,4>, <0,0,0,0>
2097635329U, // <2,4,0,1>: Cost 2 ins <2,u,0,1>, lane 1
1691992166U, // <2,4,0,2>: Cost 2 vuzpl <2,3,4,5>, LHS
3171393537U, // <2,4,0,3>: Cost 3 ins <2,u,0,3>, lane 1
2765734092U, // <2,4,0,4>: Cost 3 vuzpl <2,3,4,5>, <0,2,4,6>
3094528338U, // <2,4,0,5>: Cost 3 vtrnr <1,2,3,0>, <0,4,1,5>
1960103222U, // <2,4,0,6>: Cost 2 vtrnl <2,3,0,1>, RHS
3171426305U, // <2,4,0,7>: Cost 3 ins <2,u,0,7>, lane 1
1960103240U, // <2,4,0,u>: Cost 2 vtrnl <2,3,0,1>, RHS
3204620288U, // <2,4,1,0>: Cost 3 ins <u,4,1,0>, lane 0
2826126132U, // <2,4,1,1>: Cost 3 vuzpr <1,2,3,4>, <1,1,1,1>
2625389466U, // <2,4,1,2>: Cost 3 vext2 <1,3,2,4>, <1,2,3,4>
1752383590U, // <2,4,1,3>: Cost 2 vuzpr <1,2,3,4>, LHS
3204653056U, // <2,4,1,4>: Cost 3 ins <u,4,1,4>, lane 0
2130919424U, // <2,4,1,5>: Cost 2 ins <u,4,1,5>, lane 0
3031936310U, // <2,4,1,6>: Cost 3 vtrnl <2,0,1,2>, RHS
3169361922U, // <2,4,1,7>: Cost 3 ins <2,4,u,7>, lane 2
1752383595U, // <2,4,1,u>: Cost 2 vuzpr <1,2,3,4>, LHS
2826126230U, // <2,4,2,0>: Cost 3 vuzpr <1,2,3,4>, <1,2,3,0>
3171524609U, // <2,4,2,1>: Cost 3 ins <2,u,2,1>, lane 1
2097790977U, // <2,4,2,2>: Cost 2 ins <2,u,2,2>, lane 1
2130976768U, // <2,4,2,3>: Cost 2 ins <u,4,2,3>, lane 0
1752384410U, // <2,4,2,4>: Cost 2 vuzpr <1,2,3,4>, <1,2,3,4>
1825377590U, // <2,4,2,5>: Cost 2 vzipl <2,2,2,2>, RHS
1959595318U, // <2,4,2,6>: Cost 2 vtrnl <2,2,2,2>, RHS
3171573761U, // <2,4,2,7>: Cost 3 ins <2,u,2,7>, lane 1
1825377833U, // <2,4,2,u>: Cost 2 vzipl <2,2,2,2>, RHS
2826127049U, // <2,4,3,0>: Cost 3 vuzpr <1,2,3,4>, <2,3,4,0>
2958270501U, // <2,4,3,1>: Cost 3 vzipr LHS, <0,0,4,1>
2958270502U, // <2,4,3,2>: Cost 3 vzipr LHS, <0,0,4,2>
2097872897U, // <2,4,3,3>: Cost 2 ins <2,u,3,3>, lane 1
1927662800U, // <2,4,3,4>: Cost 2 vzipr LHS, <4,4,4,4>
1879885518U, // <2,4,3,5>: Cost 2 vzipr LHS, <2,3,4,5>
1879883980U, // <2,4,3,6>: Cost 2 vzipr LHS, <0,2,4,6>
2097905665U, // <2,4,3,7>: Cost 2 ins <2,u,3,7>, lane 1
1879883982U, // <2,4,3,u>: Cost 2 vzipr LHS, <0,2,4,u>
2563735654U, // <2,4,4,0>: Cost 3 vext1 <2,2,4,4>, LHS
2826127824U, // <2,4,4,1>: Cost 3 vuzpr <1,2,3,4>, <3,4,0,1>
2826127834U, // <2,4,4,2>: Cost 3 vuzpr <1,2,3,4>, <3,4,1,2>
2826127106U, // <2,4,4,3>: Cost 3 vuzpr <1,2,3,4>, <2,4,1,3>
2131132416U, // <2,4,4,4>: Cost 2 ins <u,4,4,4>, lane 0
2097963009U, // <2,4,4,5>: Cost 2 ins <2,u,4,5>, lane 1
1691995446U, // <2,4,4,6>: Cost 2 vuzpl <2,3,4,5>, RHS
3094562602U, // <2,4,4,7>: Cost 3 vtrnr <1,2,3,4>, <2,4,5,7>
1691995464U, // <2,4,4,u>: Cost 2 vuzpl <2,3,4,5>, RHS
2551800011U, // <2,4,5,0>: Cost 3 vext1 <0,2,4,5>, <0,2,4,5>
2569716470U, // <2,4,5,1>: Cost 3 vext1 <3,2,4,5>, <1,0,3,2>
2563745405U, // <2,4,5,2>: Cost 3 vext1 <2,2,4,5>, <2,2,4,5>
2765737726U, // <2,4,5,3>: Cost 3 vuzpl <2,3,4,5>, <5,2,3,4>
2551803190U, // <2,4,5,4>: Cost 3 vext1 <0,2,4,5>, RHS
2131214336U, // <2,4,5,5>: Cost 2 ins <u,4,5,5>, lane 0
1611959606U, // <2,4,5,6>: Cost 2 vext3 <0,2,0,2>, RHS
1752386870U, // <2,4,5,7>: Cost 2 vuzpr <1,2,3,4>, RHS
1611959624U, // <2,4,5,u>: Cost 2 vext3 <0,2,0,2>, RHS
1478066380U, // <2,4,6,0>: Cost 2 vext1 <0,2,4,6>, <0,2,4,6>
2551808758U, // <2,4,6,1>: Cost 3 vext1 <0,2,4,6>, <1,0,3,2>
2551809516U, // <2,4,6,2>: Cost 3 vext1 <0,2,4,6>, <2,0,6,4>
2551810198U, // <2,4,6,3>: Cost 3 vext1 <0,2,4,6>, <3,0,1,2>
1478069558U, // <2,4,6,4>: Cost 2 vext1 <0,2,4,6>, RHS
1828146486U, // <2,4,6,5>: Cost 2 vzipl <2,6,3,7>, RHS
2131296256U, // <2,4,6,6>: Cost 2 ins <u,4,6,6>, lane 0
2131304448U, // <2,4,6,7>: Cost 2 ins <u,4,6,7>, lane 0
1478072110U, // <2,4,6,u>: Cost 2 vext1 <0,2,4,6>, LHS
2659234821U, // <2,4,7,0>: Cost 3 vext2 <7,0,2,4>, <7,0,2,4>
2867934030U, // <2,4,7,1>: Cost 3 vuzpr <u,2,3,4>, <6,7,0,1>
3169320962U, // <2,4,7,2>: Cost 3 ins <2,4,u,2>, lane 2
2867933312U, // <2,4,7,3>: Cost 3 vuzpr <u,2,3,4>, <5,7,1,3>
3205095424U, // <2,4,7,4>: Cost 3 ins <u,4,7,4>, lane 0
2726251976U, // <2,4,7,5>: Cost 3 vext3 <7,0,1,2>, <4,7,5,0>
2131369984U, // <2,4,7,6>: Cost 2 ins <u,4,7,6>, lane 0
2867933352U, // <2,4,7,7>: Cost 3 vuzpr <u,2,3,4>, <5,7,5,7>
2131369984U, // <2,4,7,u>: Cost 2 ins <u,4,7,6>, lane 0
1478082766U, // <2,4,u,0>: Cost 2 vext1 <0,2,4,u>, <0,2,4,u>
2097635329U, // <2,4,u,1>: Cost 2 ins <2,u,0,1>, lane 1
1691997998U, // <2,4,u,2>: Cost 2 vuzpl <2,3,4,5>, LHS
1752384157U, // <2,4,u,3>: Cost 2 vuzpr <1,2,3,4>, LHS
1478085942U, // <2,4,u,4>: Cost 2 vext1 <0,2,4,u>, RHS
1879926478U, // <2,4,u,5>: Cost 2 vzipr LHS, <2,3,4,5>
1879924940U, // <2,4,u,6>: Cost 2 vzipr LHS, <0,2,4,6>
1752387113U, // <2,4,u,7>: Cost 2 vuzpr <1,2,3,4>, RHS
1879924942U, // <2,4,u,u>: Cost 2 vzipr LHS, <0,2,4,u>
2765160612U, // <2,5,0,0>: Cost 3 vuzpl <2,2,5,7>, <0,2,0,2>
2097635329U, // <2,5,0,1>: Cost 2 ins <2,u,0,1>, lane 1
2620088484U, // <2,5,0,2>: Cost 3 vext2 <0,4,2,5>, <0,2,0,2>
2619425034U, // <2,5,0,3>: Cost 3 vext2 <0,3,2,5>, <0,3,2,5>
2620088667U, // <2,5,0,4>: Cost 3 vext2 <0,4,2,5>, <0,4,2,5>
3136335876U, // <2,5,0,5>: Cost 3 vtrnr <u,2,3,0>, <5,5,5,5>
3171418113U, // <2,5,0,6>: Cost 3 ins <2,u,0,6>, lane 1
2020789558U, // <2,5,0,7>: Cost 2 vtrnr <1,2,3,0>, RHS
2020789559U, // <2,5,0,u>: Cost 2 vtrnr <1,2,3,0>, RHS
2599616614U, // <2,5,1,0>: Cost 3 vext1 <u,2,5,1>, LHS
3205292032U, // <2,5,1,1>: Cost 3 ins <u,5,1,1>, lane 0
2626061206U, // <2,5,1,2>: Cost 3 vext2 <1,4,2,5>, <1,2,3,0>
2618098688U, // <2,5,1,3>: Cost 3 vext2 <0,1,2,5>, <1,3,5,7>
2626061364U, // <2,5,1,4>: Cost 3 vext2 <1,4,2,5>, <1,4,2,5>
2599620736U, // <2,5,1,5>: Cost 3 vext1 <u,2,5,1>, <5,7,1,3>
3205332992U, // <2,5,1,6>: Cost 3 ins <u,5,1,6>, lane 0
2131599360U, // <2,5,1,7>: Cost 2 ins <u,5,1,7>, lane 0
2131599360U, // <2,5,1,u>: Cost 2 ins <u,5,1,7>, lane 0
3171516417U, // <2,5,2,0>: Cost 3 ins <2,u,2,0>, lane 1
3006040978U, // <2,5,2,1>: Cost 3 vzipr <u,u,2,2>, <4,0,5,1>
2097790977U, // <2,5,2,2>: Cost 2 ins <2,u,2,2>, lane 1
2131640320U, // <2,5,2,3>: Cost 2 ins <u,5,2,3>, lane 0
2632034061U, // <2,5,2,4>: Cost 3 vext2 <2,4,2,5>, <2,4,2,5>
2820014256U, // <2,5,2,5>: Cost 3 vuzpr <0,2,1,5>, <0,2,1,5>
2958264834U, // <2,5,2,6>: Cost 3 vzipr <0,u,2,2>, <3,4,5,6>
2014612790U, // <2,5,2,7>: Cost 2 vtrnr <0,2,0,2>, RHS
2014612791U, // <2,5,2,u>: Cost 2 vtrnr <0,2,0,2>, RHS
2958273506U, // <2,5,3,0>: Cost 3 vzipr LHS, <4,1,5,0>
1927662482U, // <2,5,3,1>: Cost 2 vzipr LHS, <4,0,5,1>
2899955454U, // <2,5,3,2>: Cost 3 vzipl <2,3,4,5>, <5,2,3,4>
2097872897U, // <2,5,3,3>: Cost 2 ins <2,u,3,3>, lane 1
2619427330U, // <2,5,3,4>: Cost 3 vext2 <0,3,2,5>, <3,4,5,6>
1927662810U, // <2,5,3,5>: Cost 2 vzipr LHS, <4,4,5,5>
1879886338U, // <2,5,3,6>: Cost 2 vzipr LHS, <3,4,5,6>
1879884800U, // <2,5,3,7>: Cost 2 vzipr LHS, <1,3,5,7>
1879884801U, // <2,5,3,u>: Cost 2 vzipr LHS, <1,3,5,u>
2569781350U, // <2,5,4,0>: Cost 3 vext1 <3,2,5,4>, LHS
3171672065U, // <2,5,4,1>: Cost 3 ins <2,u,4,1>, lane 1
2569782990U, // <2,5,4,2>: Cost 3 vext1 <3,2,5,4>, <2,3,4,5>
3034173182U, // <2,5,4,3>: Cost 3 vtrnl <2,3,4,5>, <5,2,3,4>
2569784630U, // <2,5,4,4>: Cost 3 vext1 <3,2,5,4>, RHS
2097963009U, // <2,5,4,5>: Cost 2 ins <2,u,4,5>, lane 1
2820164098U, // <2,5,4,6>: Cost 3 vuzpr <0,2,3,5>, <3,4,5,6>
2020822326U, // <2,5,4,7>: Cost 2 vtrnr <1,2,3,4>, RHS
2020822327U, // <2,5,4,u>: Cost 2 vtrnr <1,2,3,4>, RHS
2599649382U, // <2,5,5,0>: Cost 3 vext1 <u,2,5,5>, LHS
3003411346U, // <2,5,5,1>: Cost 3 vzipr <u,4,2,5>, <4,0,5,1>
2563819142U, // <2,5,5,2>: Cost 3 vext1 <2,2,5,5>, <2,2,5,5>
2953642113U, // <2,5,5,3>: Cost 3 vzipr <0,1,2,5>, <0,1,5,3>
2599652662U, // <2,5,5,4>: Cost 3 vext1 <u,2,5,5>, RHS
2131877888U, // <2,5,5,5>: Cost 2 ins <u,5,5,5>, lane 0
2954971650U, // <2,5,5,6>: Cost 3 vzipr <0,3,2,5>, <3,4,5,6>
2131894272U, // <2,5,5,7>: Cost 2 ins <u,5,5,7>, lane 0
2131877888U, // <2,5,5,u>: Cost 2 ins <u,5,5,5>, lane 0
2131910656U, // <2,5,6,0>: Cost 2 ins <u,5,6,0>, lane 0
2131918848U, // <2,5,6,1>: Cost 2 ins <u,5,6,1>, lane 0
2131927040U, // <2,5,6,2>: Cost 2 ins <u,5,6,2>, lane 0
2131935232U, // <2,5,6,3>: Cost 2 ins <u,5,6,3>, lane 0
2131943424U, // <2,5,6,4>: Cost 2 ins <u,5,6,4>, lane 0
2131951616U, // <2,5,6,5>: Cost 2 ins <u,5,6,5>, lane 0
2131959808U, // <2,5,6,6>: Cost 2 ins <u,5,6,6>, lane 0
1058226176U, // <2,5,6,7>: Cost 1 ins RHS, lane 0
1058226176U, // <2,5,6,u>: Cost 1 ins RHS, lane 0
2563833958U, // <2,5,7,0>: Cost 3 vext1 <2,2,5,7>, LHS
2712244352U, // <2,5,7,1>: Cost 3 vext3 <4,6,0,2>, <5,7,1,3>
2563835528U, // <2,5,7,2>: Cost 3 vext1 <2,2,5,7>, <2,2,5,7>
2953658497U, // <2,5,7,3>: Cost 3 vzipr <0,1,2,7>, <0,1,5,3>
2563837238U, // <2,5,7,4>: Cost 3 vext1 <2,2,5,7>, RHS
2712244392U, // <2,5,7,5>: Cost 3 vext3 <4,6,0,2>, <5,7,5,7>
2712244396U, // <2,5,7,6>: Cost 3 vext3 <4,6,0,2>, <5,7,6,2>
2132041728U, // <2,5,7,7>: Cost 2 ins <u,5,7,7>, lane 0
2132041728U, // <2,5,7,u>: Cost 2 ins <u,5,7,7>, lane 0
2131910656U, // <2,5,u,0>: Cost 2 ins <u,5,6,0>, lane 0
1927703442U, // <2,5,u,1>: Cost 2 vzipr LHS, <4,0,5,1>
2097790977U, // <2,5,u,2>: Cost 2 ins <2,u,2,2>, lane 1
2097872897U, // <2,5,u,3>: Cost 2 ins <2,u,3,3>, lane 1
2131943424U, // <2,5,u,4>: Cost 2 ins <u,5,6,4>, lane 0
1927703770U, // <2,5,u,5>: Cost 2 vzipr LHS, <4,4,5,5>
1879927298U, // <2,5,u,6>: Cost 2 vzipr LHS, <3,4,5,6>
1058226176U, // <2,5,u,7>: Cost 1 ins RHS, lane 0
1058226176U, // <2,5,u,u>: Cost 1 ins RHS, lane 0
2820243456U, // <2,6,0,0>: Cost 3 vuzpr <0,2,4,6>, <0,0,0,0>
1546354790U, // <2,6,0,1>: Cost 2 vext2 <0,4,2,6>, LHS
2132148224U, // <2,6,0,2>: Cost 2 ins <u,6,0,2>, lane 0
3171393537U, // <2,6,0,3>: Cost 3 ins <2,u,0,3>, lane 1
1546355036U, // <2,6,0,4>: Cost 2 vext2 <0,4,2,6>, <0,4,2,6>
3170672642U, // <2,6,0,5>: Cost 3 ins <2,6,u,5>, lane 2
3136335220U, // <2,6,0,6>: Cost 3 vtrnr <u,2,3,0>, <4,6,4,6>
2096947202U, // <2,6,0,7>: Cost 2 ins <2,6,u,7>, lane 2
1546355357U, // <2,6,0,u>: Cost 2 vext2 <0,4,2,6>, LHS
2620097270U, // <2,6,1,0>: Cost 3 vext2 <0,4,2,6>, <1,0,3,2>
2820244276U, // <2,6,1,1>: Cost 3 vuzpr <0,2,4,6>, <1,1,1,1>
2620097430U, // <2,6,1,2>: Cost 3 vext2 <0,4,2,6>, <1,2,3,0>
1746501734U, // <2,6,1,3>: Cost 2 vuzpr <0,2,4,6>, LHS
2620097598U, // <2,6,1,4>: Cost 3 vext2 <0,4,2,6>, <1,4,3,6>
2620097680U, // <2,6,1,5>: Cost 3 vext2 <0,4,2,6>, <1,5,3,7>
3205996544U, // <2,6,1,6>: Cost 3 ins <u,6,1,6>, lane 0
2096947202U, // <2,6,1,7>: Cost 2 ins <2,6,u,7>, lane 2
1746501739U, // <2,6,1,u>: Cost 2 vuzpr <0,2,4,6>, LHS
2820244374U, // <2,6,2,0>: Cost 3 vuzpr <0,2,4,6>, <1,2,3,0>
3171524609U, // <2,6,2,1>: Cost 3 ins <2,u,2,1>, lane 1
2097790977U, // <2,6,2,2>: Cost 2 ins <2,u,2,2>, lane 1
2096955397U, // <2,6,2,3>: Cost 2 ins <2,6,u,u>, lane 5
2820243622U, // <2,6,2,4>: Cost 3 vuzpr <0,2,4,6>, <0,2,0,4>
3171557377U, // <2,6,2,5>: Cost 3 ins <2,u,2,5>, lane 1
1746501836U, // <2,6,2,6>: Cost 2 vuzpr <0,2,4,6>, <0,2,4,6>
1884523830U, // <2,6,2,7>: Cost 2 vzipr <0,u,2,2>, RHS
1884523831U, // <2,6,2,u>: Cost 2 vzipr <0,u,2,2>, RHS
2096586755U, // <2,6,3,0>: Cost 2 ins <2,6,3,u>, lane 3
2096586755U, // <2,6,3,1>: Cost 2 ins <2,6,3,u>, lane 3
1927662492U, // <2,6,3,2>: Cost 2 vzipr LHS, <4,0,6,2>
2097872897U, // <2,6,3,3>: Cost 2 ins <2,u,3,3>, lane 1
2096586755U, // <2,6,3,4>: Cost 2 ins <2,6,3,u>, lane 3
2096586755U, // <2,6,3,5>: Cost 2 ins <2,6,3,u>, lane 3
1927662820U, // <2,6,3,6>: Cost 2 vzipr LHS, <4,4,6,6>
806145334U, // <2,6,3,7>: Cost 1 vzipr LHS, RHS
806145335U, // <2,6,3,u>: Cost 1 vzipr LHS, RHS
2820245292U, // <2,6,4,0>: Cost 3 vuzpr <0,2,4,6>, <2,4,6,0>
3171672065U, // <2,6,4,1>: Cost 3 ins <2,u,4,1>, lane 1
2820243782U, // <2,6,4,2>: Cost 3 vuzpr <0,2,4,6>, <0,4,0,2>
3171688449U, // <2,6,4,3>: Cost 3 ins <2,u,4,3>, lane 1
2820243784U, // <2,6,4,4>: Cost 3 vuzpr <0,2,4,6>, <0,4,0,4>
1546358070U, // <2,6,4,5>: Cost 2 vext2 <0,4,2,6>, RHS
2132475904U, // <2,6,4,6>: Cost 2 ins <u,6,4,6>, lane 0
2096947202U, // <2,6,4,7>: Cost 2 ins <2,6,u,7>, lane 2
1546358313U, // <2,6,4,u>: Cost 2 vext2 <0,4,2,6>, RHS
3170476035U, // <2,6,5,0>: Cost 3 ins <2,6,5,u>, lane 3
2667876048U, // <2,6,5,1>: Cost 3 vext2 <u,4,2,6>, <5,1,7,3>
3206258688U, // <2,6,5,2>: Cost 3 ins <u,6,5,2>, lane 0
3170656258U, // <2,6,5,3>: Cost 3 ins <2,6,u,3>, lane 2
2252091873U, // <2,6,5,4>: Cost 3 vrev <6,2,4,5>
2868023300U, // <2,6,5,5>: Cost 3 vuzpr <u,2,4,6>, <5,5,5,5>
2667876450U, // <2,6,5,6>: Cost 3 vext2 <u,4,2,6>, <5,6,7,0>
1746505014U, // <2,6,5,7>: Cost 2 vuzpr <0,2,4,6>, RHS
1746505015U, // <2,6,5,u>: Cost 2 vuzpr <0,2,4,6>, RHS
2955643964U, // <2,6,6,0>: Cost 3 vzipr <0,4,2,6>, <4,2,6,0>
2820246859U, // <2,6,6,1>: Cost 3 vuzpr <0,2,4,6>, <4,6,0,1>
2820246860U, // <2,6,6,2>: Cost 3 vuzpr <0,2,4,6>, <4,6,0,2>
2820245412U, // <2,6,6,3>: Cost 3 vuzpr <0,2,4,6>, <2,6,1,3>
2955643968U, // <2,6,6,4>: Cost 3 vzipr <0,4,2,6>, <4,2,6,4>
2820246899U, // <2,6,6,5>: Cost 3 vuzpr <0,2,4,6>, <4,6,4,5>
2132623360U, // <2,6,6,6>: Cost 2 ins <u,6,6,6>, lane 0
1881902390U, // <2,6,6,7>: Cost 2 vzipr <0,4,2,6>, RHS
1881902391U, // <2,6,6,u>: Cost 2 vzipr <0,4,2,6>, RHS
2132647936U, // <2,6,7,0>: Cost 2 ins <u,6,7,0>, lane 0
2724926296U, // <2,6,7,1>: Cost 3 vext3 <6,7,1,2>, <6,7,1,2>
3124596044U, // <2,6,7,2>: Cost 3 vtrnr <6,2,5,7>, <4,6,0,2>
2868023424U, // <2,6,7,3>: Cost 3 vuzpr <u,2,4,6>, <5,7,1,3>
2132680704U, // <2,6,7,4>: Cost 2 ins <u,6,7,4>, lane 0
2252181996U, // <2,6,7,5>: Cost 3 vrev <6,2,5,7>
2725294981U, // <2,6,7,6>: Cost 3 vext3 <6,7,6,2>, <6,7,6,2>
2132705280U, // <2,6,7,7>: Cost 2 ins <u,6,7,7>, lane 0
2132647936U, // <2,6,7,u>: Cost 2 ins <u,6,7,0>, lane 0
2096586755U, // <2,6,u,0>: Cost 2 ins <2,6,3,u>, lane 3
1546360622U, // <2,6,u,1>: Cost 2 vext2 <0,4,2,6>, LHS
1927703452U, // <2,6,u,2>: Cost 2 vzipr LHS, <4,0,6,2>
1746502301U, // <2,6,u,3>: Cost 2 vuzpr <0,2,4,6>, LHS
1594136612U, // <2,6,u,4>: Cost 2 vext2 <u,4,2,6>, <u,4,2,6>
1546360986U, // <2,6,u,5>: Cost 2 vext2 <0,4,2,6>, RHS
1927703780U, // <2,6,u,6>: Cost 2 vzipr LHS, <4,4,6,6>
806186294U, // <2,6,u,7>: Cost 1 vzipr LHS, RHS
806186295U, // <2,6,u,u>: Cost 1 vzipr LHS, RHS
2581839974U, // <2,7,0,0>: Cost 3 vext1 <5,2,7,0>, LHS
1652511738U, // <2,7,0,1>: Cost 2 vext3 <7,0,1,2>, <7,0,1,2>
2621431972U, // <2,7,0,2>: Cost 3 vext2 <0,6,2,7>, <0,2,0,2>
2257949868U, // <2,7,0,3>: Cost 3 vrev <7,2,3,0>
2581843254U, // <2,7,0,4>: Cost 3 vext1 <5,2,7,0>, RHS
2581843742U, // <2,7,0,5>: Cost 3 vext1 <5,2,7,0>, <5,2,7,0>
2621432319U, // <2,7,0,6>: Cost 3 vext2 <0,6,2,7>, <0,6,2,7>
3136336040U, // <2,7,0,7>: Cost 3 vtrnr <u,2,3,0>, <5,7,5,7>
1653027897U, // <2,7,0,u>: Cost 2 vext3 <7,0,u,2>, <7,0,u,2>
2639348470U, // <2,7,1,0>: Cost 3 vext2 <3,6,2,7>, <1,0,3,2>
3206619136U, // <2,7,1,1>: Cost 3 ins <u,7,1,1>, lane 0
3206627328U, // <2,7,1,2>: Cost 3 ins <u,7,1,2>, lane 0
2132893696U, // <2,7,1,3>: Cost 2 ins <u,7,1,3>, lane 0
2599767350U, // <2,7,1,4>: Cost 3 vext1 <u,2,7,1>, RHS
3206651904U, // <2,7,1,5>: Cost 3 ins <u,7,1,5>, lane 0
3171344386U, // <2,7,1,6>: Cost 3 ins <2,7,u,6>, lane 2
2599769082U, // <2,7,1,7>: Cost 3 vext1 <u,2,7,1>, <7,0,1,2>
2132893696U, // <2,7,1,u>: Cost 2 ins <u,7,1,3>, lane 0
2581856358U, // <2,7,2,0>: Cost 3 vext1 <5,2,7,2>, LHS
3136131918U, // <2,7,2,1>: Cost 3 vtrnr <u,2,0,2>, <6,7,0,1>
2097790977U, // <2,7,2,2>: Cost 2 ins <2,u,2,2>, lane 1
2132967424U, // <2,7,2,3>: Cost 2 ins <u,7,2,3>, lane 0
2581859638U, // <2,7,2,4>: Cost 3 vext1 <5,2,7,2>, RHS
2632714080U, // <2,7,2,5>: Cost 3 vext2 <2,5,2,7>, <2,5,2,7>
2633377713U, // <2,7,2,6>: Cost 3 vext2 <2,6,2,7>, <2,6,2,7>
1770548291U, // <2,7,2,7>: Cost 2 vuzpr <4,2,6,7>, <4,2,6,7>
2097790977U, // <2,7,2,u>: Cost 2 ins <2,u,2,2>, lane 1
1514094694U, // <2,7,3,0>: Cost 2 vext1 <6,2,7,3>, LHS
2569921680U, // <2,7,3,1>: Cost 3 vext1 <3,2,7,3>, <1,5,3,7>
2587838056U, // <2,7,3,2>: Cost 3 vext1 <6,2,7,3>, <2,2,2,2>
1927663312U, // <2,7,3,3>: Cost 2 vzipr LHS, <5,1,7,3>
1514097974U, // <2,7,3,4>: Cost 2 vext1 <6,2,7,3>, RHS
2581868321U, // <2,7,3,5>: Cost 3 vext1 <5,2,7,3>, <5,2,7,3>
1514099194U, // <2,7,3,6>: Cost 2 vext1 <6,2,7,3>, <6,2,7,3>
1927663640U, // <2,7,3,7>: Cost 2 vzipr LHS, <5,5,7,7>
1514100526U, // <2,7,3,u>: Cost 2 vext1 <6,2,7,3>, LHS
2581872742U, // <2,7,4,0>: Cost 3 vext1 <5,2,7,4>, LHS
2581873562U, // <2,7,4,1>: Cost 3 vext1 <5,2,7,4>, <1,2,3,4>
3171680257U, // <2,7,4,2>: Cost 3 ins <2,u,4,2>, lane 1
2257982640U, // <2,7,4,3>: Cost 3 vrev <7,2,3,4>
2581876022U, // <2,7,4,4>: Cost 3 vext1 <5,2,7,4>, RHS
2133131264U, // <2,7,4,5>: Cost 2 ins <u,7,4,5>, lane 0
2712245609U, // <2,7,4,6>: Cost 3 vext3 <4,6,0,2>, <7,4,6,0>
3136368808U, // <2,7,4,7>: Cost 3 vtrnr <u,2,3,4>, <5,7,5,7>
2133131264U, // <2,7,4,u>: Cost 2 ins <u,7,4,5>, lane 0
2729497990U, // <2,7,5,0>: Cost 3 vext3 <7,5,0,2>, <7,5,0,2>
3206914048U, // <2,7,5,1>: Cost 3 ins <u,7,5,1>, lane 0
2844290353U, // <2,7,5,2>: Cost 3 vuzpr <4,2,6,7>, <4,5,6,2>
2991469050U, // <2,7,5,3>: Cost 3 vzipr <6,4,2,5>, <6,2,7,3>
2599800118U, // <2,7,5,4>: Cost 3 vext1 <u,2,7,5>, RHS
3206946816U, // <2,7,5,5>: Cost 3 ins <u,7,5,5>, lane 0
3206955008U, // <2,7,5,6>: Cost 3 ins <u,7,5,6>, lane 0
2133221376U, // <2,7,5,7>: Cost 2 ins <u,7,5,7>, lane 0
2133221376U, // <2,7,5,u>: Cost 2 ins <u,7,5,7>, lane 0
2581889126U, // <2,7,6,0>: Cost 3 vext1 <5,2,7,6>, LHS
3136459598U, // <2,7,6,1>: Cost 3 vtrnr <u,2,4,6>, <6,7,0,1>
2901890250U, // <2,7,6,2>: Cost 3 vzipl <2,6,3,7>, <7,2,6,3>
3136458880U, // <2,7,6,3>: Cost 3 vtrnr <u,2,4,6>, <5,7,1,3>
2581892406U, // <2,7,6,4>: Cost 3 vext1 <5,2,7,6>, RHS
2581892900U, // <2,7,6,5>: Cost 3 vext1 <5,2,7,6>, <5,2,7,6>
2587865597U, // <2,7,6,6>: Cost 3 vext1 <6,2,7,6>, <6,2,7,6>
2133295104U, // <2,7,6,7>: Cost 2 ins <u,7,6,7>, lane 0
2133295104U, // <2,7,6,u>: Cost 2 ins <u,7,6,7>, lane 0
2726254119U, // <2,7,7,0>: Cost 3 vext3 <7,0,1,2>, <7,7,0,1>
3207061504U, // <2,7,7,1>: Cost 3 ins <u,7,7,1>, lane 0
2563983002U, // <2,7,7,2>: Cost 3 vext1 <2,2,7,7>, <2,2,7,7>
2998784506U, // <2,7,7,3>: Cost 3 vzipr <7,6,2,7>, <6,2,7,3>
2599816502U, // <2,7,7,4>: Cost 3 vext1 <u,2,7,7>, RHS
3207094272U, // <2,7,7,5>: Cost 3 ins <u,7,7,5>, lane 0
2663241198U, // <2,7,7,6>: Cost 3 vext2 <7,6,2,7>, <7,6,2,7>
2133368832U, // <2,7,7,7>: Cost 2 ins <u,7,7,7>, lane 0
2133368832U, // <2,7,7,u>: Cost 2 ins <u,7,7,7>, lane 0
1514135654U, // <2,7,u,0>: Cost 2 vext1 <6,2,7,u>, LHS
1657820802U, // <2,7,u,1>: Cost 2 vext3 <7,u,1,2>, <7,u,1,2>
2097790977U, // <2,7,u,2>: Cost 2 ins <2,u,2,2>, lane 1
1927704272U, // <2,7,u,3>: Cost 2 vzipr LHS, <5,1,7,3>
1514138934U, // <2,7,u,4>: Cost 2 vext1 <6,2,7,u>, RHS
2133131264U, // <2,7,u,5>: Cost 2 ins <u,7,4,5>, lane 0
1514140159U, // <2,7,u,6>: Cost 2 vext1 <6,2,7,u>, <6,2,7,u>
1927704600U, // <2,7,u,7>: Cost 2 vzipr LHS, <5,5,7,7>
1514141486U, // <2,7,u,u>: Cost 2 vext1 <6,2,7,u>, LHS
1544380416U, // <2,u,0,0>: Cost 2 vext2 LHS, <0,0,0,0>
470638699U, // <2,u,0,1>: Cost 1 vext2 LHS, LHS
1544380580U, // <2,u,0,2>: Cost 2 vext2 LHS, <0,2,0,2>
2020786845U, // <2,u,0,3>: Cost 2 vtrnr <1,2,3,0>, LHS
1544380754U, // <2,u,0,4>: Cost 2 vext2 LHS, <0,4,1,5>
2094940162U, // <2,u,0,5>: Cost 2 ins <2,3,u,5>, lane 2
1960106138U, // <2,u,0,6>: Cost 2 vtrnl <2,3,0,1>, RHS
2020789801U, // <2,u,0,7>: Cost 2 vtrnr <1,2,3,0>, RHS
470639261U, // <2,u,0,u>: Cost 1 vext2 LHS, LHS
1544381174U, // <2,u,1,0>: Cost 2 vext2 LHS, <1,0,3,2>
1544381236U, // <2,u,1,1>: Cost 2 vext2 LHS, <1,1,1,1>
1544381334U, // <2,u,1,2>: Cost 2 vext2 LHS, <1,2,3,0>
1544381400U, // <2,u,1,3>: Cost 2 vext2 LHS, <1,3,1,3>
2618123325U, // <2,u,1,4>: Cost 3 vext2 LHS, <1,4,3,5>
1544381584U, // <2,u,1,5>: Cost 2 vext2 LHS, <1,5,3,7>
2618123489U, // <2,u,1,6>: Cost 3 vext2 LHS, <1,6,3,7>
2096947202U, // <2,u,1,7>: Cost 2 ins <2,6,u,7>, lane 2
1544381823U, // <2,u,1,u>: Cost 2 vext2 LHS, <1,u,3,3>
1478328556U, // <2,u,2,0>: Cost 2 vext1 <0,2,u,2>, <0,2,u,2>
1825380142U, // <2,u,2,1>: Cost 2 vzipl <2,2,2,2>, LHS
269271142U, // <2,u,2,2>: Cost 1 vdup2 LHS
1055244288U, // <2,u,2,3>: Cost 1 ins LHS, lane 0
1478331702U, // <2,u,2,4>: Cost 2 vext1 <0,2,u,2>, RHS
1825380506U, // <2,u,2,5>: Cost 2 vzipl <2,2,2,2>, RHS
1544382394U, // <2,u,2,6>: Cost 2 vext2 LHS, <2,6,3,7>
2014613033U, // <2,u,2,7>: Cost 2 vtrnr <0,2,0,2>, RHS
1055244288U, // <2,u,2,u>: Cost 1 ins LHS, lane 0
1544382614U, // <2,u,3,0>: Cost 2 vext2 LHS, <3,0,1,2>
1879885550U, // <2,u,3,1>: Cost 2 vzipr LHS, <2,3,u,1>
1879884012U, // <2,u,3,2>: Cost 2 vzipr LHS, <0,2,u,2>
806142108U, // <2,u,3,3>: Cost 1 vzipr LHS, LHS
1544382978U, // <2,u,3,4>: Cost 2 vext2 LHS, <3,4,5,6>
1879885554U, // <2,u,3,5>: Cost 2 vzipr LHS, <2,3,u,5>
1879884016U, // <2,u,3,6>: Cost 2 vzipr LHS, <0,2,u,6>
806145352U, // <2,u,3,7>: Cost 1 vzipr LHS, RHS
806142113U, // <2,u,3,u>: Cost 1 vzipr LHS, LHS
1484316774U, // <2,u,4,0>: Cost 2 vext1 <1,2,u,4>, LHS
1484317639U, // <2,u,4,1>: Cost 2 vext1 <1,2,u,4>, <1,2,u,4>
1960433454U, // <2,u,4,2>: Cost 2 vtrnl <2,3,4,5>, LHS
2020819613U, // <2,u,4,3>: Cost 2 vtrnr <1,2,3,4>, LHS
1484320054U, // <2,u,4,4>: Cost 2 vext1 <1,2,u,4>, RHS
470641974U, // <2,u,4,5>: Cost 1 vext2 LHS, RHS
1691610422U, // <2,u,4,6>: Cost 2 vuzpl <2,2,u,3>, RHS
2020822569U, // <2,u,4,7>: Cost 2 vtrnr <1,2,3,4>, RHS
470642217U, // <2,u,4,u>: Cost 1 vext2 LHS, RHS
2552094959U, // <2,u,5,0>: Cost 3 vext1 <0,2,u,5>, <0,2,u,5>
1592159952U, // <2,u,5,1>: Cost 2 vext2 LHS, <5,1,7,3>
2094252034U, // <2,u,5,2>: Cost 2 ins <2,2,u,2>, lane 2
2094260226U, // <2,u,5,3>: Cost 2 ins <2,2,u,3>, lane 2
1592160198U, // <2,u,5,4>: Cost 2 vext2 LHS, <5,4,7,6>
1592160260U, // <2,u,5,5>: Cost 2 vext2 LHS, <5,5,5,5>
1611962522U, // <2,u,5,6>: Cost 2 vext3 <0,2,0,2>, RHS
1746226486U, // <2,u,5,7>: Cost 2 vuzpr <0,2,0,u>, RHS
1611962540U, // <2,u,5,u>: Cost 2 vext3 <0,2,0,2>, RHS
1478361328U, // <2,u,6,0>: Cost 2 vext1 <0,2,u,6>, <0,2,u,6>
1828149038U, // <2,u,6,1>: Cost 2 vzipl <2,6,3,7>, LHS
1592160762U, // <2,u,6,2>: Cost 2 vext2 LHS, <6,2,7,3>
2014937757U, // <2,u,6,3>: Cost 2 vtrnr <0,2,4,6>, LHS
1478364470U, // <2,u,6,4>: Cost 2 vext1 <0,2,u,6>, RHS
1828149402U, // <2,u,6,5>: Cost 2 vzipl <2,6,3,7>, RHS
1592161080U, // <2,u,6,6>: Cost 2 vext2 LHS, <6,6,6,6>
1060216836U, // <2,u,6,7>: Cost 1 ins RHS, lane 4
1060216836U, // <2,u,6,u>: Cost 1 ins RHS, lane 4
1592161274U, // <2,u,7,0>: Cost 2 vext2 LHS, <7,0,1,2>
2094907394U, // <2,u,7,1>: Cost 2 ins <2,3,u,1>, lane 2
2094252034U, // <2,u,7,2>: Cost 2 ins <2,2,u,2>, lane 2
2129354752U, // <2,u,7,3>: Cost 2 ins <u,1,7,3>, lane 0
1592161638U, // <2,u,7,4>: Cost 2 vext2 LHS, <7,4,5,6>
2094940162U, // <2,u,7,5>: Cost 2 ins <2,3,u,5>, lane 2
2134024196U, // <2,u,7,6>: Cost 2 ins <u,u,7,6>, lane 4
1592161900U, // <2,u,7,7>: Cost 2 vext2 LHS, <7,7,7,7>
1592161922U, // <2,u,7,u>: Cost 2 vext2 LHS, <7,u,1,2>
1879925699U, // <2,u,u,0>: Cost 2 vzipr LHS, <1,2,u,0>
470644526U, // <2,u,u,1>: Cost 1 vext2 LHS, LHS
269271142U, // <2,u,u,2>: Cost 1 vdup2 LHS
806183068U, // <2,u,u,3>: Cost 1 vzipr LHS, LHS
1879925703U, // <2,u,u,4>: Cost 2 vzipr LHS, <1,2,u,4>
470644890U, // <2,u,u,5>: Cost 1 vext2 LHS, RHS
1879924976U, // <2,u,u,6>: Cost 2 vzipr LHS, <0,2,u,6>
806186312U, // <2,u,u,7>: Cost 1 vzipr LHS, RHS
470645093U, // <2,u,u,u>: Cost 1 vext2 LHS, LHS
1611448320U, // <3,0,0,0>: Cost 2 vext3 LHS, <0,0,0,0>
1611890698U, // <3,0,0,1>: Cost 2 vext3 LHS, <0,0,1,1>
1611890708U, // <3,0,0,2>: Cost 2 vext3 LHS, <0,0,2,2>
2960312624U, // <3,0,0,3>: Cost 3 vzipr <1,2,3,0>, <3,2,0,3>
2689835045U, // <3,0,0,4>: Cost 3 vext3 LHS, <0,0,4,1>
3177381889U, // <3,0,0,5>: Cost 3 ins <3,u,0,5>, lane 1
3177390081U, // <3,0,0,6>: Cost 3 ins <3,u,0,6>, lane 1
3177398273U, // <3,0,0,7>: Cost 3 ins <3,u,0,7>, lane 1
1616093258U, // <3,0,0,u>: Cost 2 vext3 LHS, <0,0,u,2>
1490337894U, // <3,0,1,0>: Cost 2 vext1 <2,3,0,1>, LHS
2128232448U, // <3,0,1,1>: Cost 2 ins <u,0,1,1>, lane 0
537706598U, // <3,0,1,2>: Cost 1 vext3 LHS, LHS
2098429955U, // <3,0,1,3>: Cost 2 ins <3,0,1,u>, lane 3
1490341174U, // <3,0,1,4>: Cost 2 vext1 <2,3,0,1>, RHS
2098429955U, // <3,0,1,5>: Cost 2 ins <3,0,1,u>, lane 3
2098429955U, // <3,0,1,6>: Cost 2 ins <3,0,1,u>, lane 3
2098429955U, // <3,0,1,7>: Cost 2 ins <3,0,1,u>, lane 3
537706652U, // <3,0,1,u>: Cost 1 vext3 LHS, LHS
1611890852U, // <3,0,2,0>: Cost 2 vext3 LHS, <0,2,0,2>
2685632684U, // <3,0,2,1>: Cost 3 vext3 LHS, <0,2,1,1>
2128314368U, // <3,0,2,2>: Cost 2 ins <u,0,2,2>, lane 0
2098946053U, // <3,0,2,3>: Cost 2 ins <3,0,u,u>, lane 5
1611890892U, // <3,0,2,4>: Cost 2 vext3 LHS, <0,2,4,6>
2959000610U, // <3,0,2,5>: Cost 3 vzipr <1,0,3,2>, <1,4,0,5>
2624767930U, // <3,0,2,6>: Cost 3 vext2 <1,2,3,0>, <2,6,3,7>
3177545729U, // <3,0,2,7>: Cost 3 ins <3,u,2,7>, lane 1
1611890924U, // <3,0,2,u>: Cost 2 vext3 LHS, <0,2,u,2>
2820636924U, // <3,0,3,0>: Cost 3 vuzpr <0,3,1,0>, <0,3,1,0>
1832091750U, // <3,0,3,1>: Cost 2 vzipl <3,3,3,3>, LHS
1966309478U, // <3,0,3,2>: Cost 2 vtrnl <3,3,3,3>, LHS
2103844865U, // <3,0,3,3>: Cost 2 ins <3,u,3,3>, lane 1
2624768514U, // <3,0,3,4>: Cost 3 vext2 <1,2,3,0>, <3,4,5,6>
2772716034U, // <3,0,3,5>: Cost 3 vuzpl <3,5,0,2>, <3,4,5,6>
3177611265U, // <3,0,3,6>: Cost 3 ins <3,u,3,6>, lane 1
3177619457U, // <3,0,3,7>: Cost 3 ins <3,u,3,7>, lane 1
1832092317U, // <3,0,3,u>: Cost 2 vzipl <3,3,3,3>, LHS
2689835334U, // <3,0,4,0>: Cost 3 vext3 LHS, <0,4,0,2>
1611891026U, // <3,0,4,1>: Cost 2 vext3 LHS, <0,4,1,5>
1611891036U, // <3,0,4,2>: Cost 2 vext3 LHS, <0,4,2,6>
2906669312U, // <3,0,4,3>: Cost 3 vzipl <3,4,5,6>, <0,3,1,4>
2689835373U, // <3,0,4,4>: Cost 3 vext3 LHS, <0,4,4,5>
1551027510U, // <3,0,4,5>: Cost 2 vext2 <1,2,3,0>, RHS
2769382710U, // <3,0,4,6>: Cost 3 vuzpl <3,0,0,0>, RHS
3177693185U, // <3,0,4,7>: Cost 3 ins <3,u,4,7>, lane 1
1616093586U, // <3,0,4,u>: Cost 2 vext3 LHS, <0,4,u,6>
3101278208U, // <3,0,5,0>: Cost 3 vtrnr <2,3,4,5>, <0,0,0,0>
2128527360U, // <3,0,5,1>: Cost 2 ins <u,0,5,1>, lane 0
1967145062U, // <3,0,5,2>: Cost 2 vtrnl <3,4,5,6>, LHS
3040886978U, // <3,0,5,3>: Cost 3 vtrnl <3,4,5,6>, <0,2,3,5>
3040886988U, // <3,0,5,4>: Cost 3 vtrnl <3,4,5,6>, <0,2,4,6>
2666573828U, // <3,0,5,5>: Cost 3 vext2 <u,2,3,0>, <5,5,5,5>
2104016897U, // <3,0,5,6>: Cost 2 ins <3,u,5,6>, lane 1
2820640054U, // <3,0,5,7>: Cost 3 vuzpr <0,3,1,0>, RHS
1967145116U, // <3,0,5,u>: Cost 2 vtrnl <3,4,5,6>, LHS
3202334720U, // <3,0,6,0>: Cost 3 ins <u,0,6,0>, lane 0
2907635814U, // <3,0,6,1>: Cost 3 vzipl <3,6,0,7>, LHS
2128609280U, // <3,0,6,2>: Cost 2 ins <u,0,6,2>, lane 0
3177807873U, // <3,0,6,3>: Cost 3 ins <3,u,6,3>, lane 1
3202367488U, // <3,0,6,4>: Cost 3 ins <u,0,6,4>, lane 0
3172663298U, // <3,0,6,5>: Cost 3 ins <3,0,u,5>, lane 2
2666574648U, // <3,0,6,6>: Cost 3 vext2 <u,2,3,0>, <6,6,6,6>
2098946053U, // <3,0,6,7>: Cost 2 ins <3,0,u,u>, lane 5
2128609280U, // <3,0,6,u>: Cost 2 ins <u,0,6,2>, lane 0
3095396352U, // <3,0,7,0>: Cost 3 vtrnr <1,3,5,7>, <0,0,0,0>
3095396362U, // <3,0,7,1>: Cost 3 vtrnr <1,3,5,7>, <0,0,1,1>
2098896898U, // <3,0,7,2>: Cost 2 ins <3,0,u,2>, lane 2
3177881601U, // <3,0,7,3>: Cost 3 ins <3,u,7,3>, lane 1
2666575206U, // <3,0,7,4>: Cost 3 vext2 <u,2,3,0>, <7,4,5,6>
3177897985U, // <3,0,7,5>: Cost 3 ins <3,u,7,5>, lane 1
3202457600U, // <3,0,7,6>: Cost 3 ins <u,0,7,6>, lane 0
2666575468U, // <3,0,7,7>: Cost 3 vext2 <u,2,3,0>, <7,7,7,7>
2098896898U, // <3,0,7,u>: Cost 2 ins <3,0,u,2>, lane 2
1616093834U, // <3,0,u,0>: Cost 2 vext3 LHS, <0,u,0,2>
1611891346U, // <3,0,u,1>: Cost 2 vext3 LHS, <0,u,1,1>
537707165U, // <3,0,u,2>: Cost 1 vext3 LHS, LHS
2098429955U, // <3,0,u,3>: Cost 2 ins <3,0,1,u>, lane 3
1616093874U, // <3,0,u,4>: Cost 2 vext3 LHS, <0,u,4,6>
1551030426U, // <3,0,u,5>: Cost 2 vext2 <1,2,3,0>, RHS
2098429955U, // <3,0,u,6>: Cost 2 ins <3,0,1,u>, lane 3
2098429955U, // <3,0,u,7>: Cost 2 ins <3,0,1,u>, lane 3
537707219U, // <3,0,u,u>: Cost 1 vext3 LHS, LHS
2552201468U, // <3,1,0,0>: Cost 3 vext1 <0,3,1,0>, <0,3,1,0>
2128822272U, // <3,1,0,1>: Cost 2 ins <u,1,0,1>, lane 0
1695727718U, // <3,1,0,2>: Cost 2 vuzpl <3,0,1,2>, LHS
1611449078U, // <3,1,0,3>: Cost 2 vext3 LHS, <1,0,3,2>
2552204598U, // <3,1,0,4>: Cost 3 vext1 <0,3,1,0>, RHS
2960310610U, // <3,1,0,5>: Cost 3 vzipr <1,2,3,0>, <0,4,1,5>
2832516572U, // <3,1,0,6>: Cost 3 vuzpr <2,3,0,1>, <2,0,4,6>
3177398273U, // <3,1,0,7>: Cost 3 ins <3,u,0,7>, lane 1
1611891491U, // <3,1,0,u>: Cost 2 vext3 LHS, <1,0,u,2>
2689835819U, // <3,1,1,0>: Cost 3 vext3 LHS, <1,1,0,1>
1611449140U, // <3,1,1,1>: Cost 2 vext3 LHS, <1,1,1,1>
2103689217U, // <3,1,1,2>: Cost 2 ins <3,u,1,2>, lane 1
1611891528U, // <3,1,1,3>: Cost 2 vext3 LHS, <1,1,3,3>
2689835859U, // <3,1,1,4>: Cost 3 vext3 LHS, <1,1,4,5>
2689835868U, // <3,1,1,5>: Cost 3 vext3 LHS, <1,1,5,5>
3177463809U, // <3,1,1,6>: Cost 3 ins <3,u,1,6>, lane 1
3100952848U, // <3,1,1,7>: Cost 3 vtrnr <2,3,0,1>, <3,1,5,7>
1611891573U, // <3,1,1,u>: Cost 2 vext3 LHS, <1,1,u,3>
2128961536U, // <3,1,2,0>: Cost 2 ins <u,1,2,0>, lane 0
2128969728U, // <3,1,2,1>: Cost 2 ins <u,1,2,1>, lane 0
2128977920U, // <3,1,2,2>: Cost 2 ins <u,1,2,2>, lane 0
1055244288U, // <3,1,2,3>: Cost 1 ins LHS, lane 0
2128994304U, // <3,1,2,4>: Cost 2 ins <u,1,2,4>, lane 0
2129002496U, // <3,1,2,5>: Cost 2 ins <u,1,2,5>, lane 0
2129010688U, // <3,1,2,6>: Cost 2 ins <u,1,2,6>, lane 0
2129018880U, // <3,1,2,7>: Cost 2 ins <u,1,2,7>, lane 0
1055244288U, // <3,1,2,u>: Cost 1 ins LHS, lane 0
1484456038U, // <3,1,3,0>: Cost 2 vext1 <1,3,1,3>, LHS
1611891672U, // <3,1,3,1>: Cost 2 vext3 LHS, <1,3,1,3>
2685633502U, // <3,1,3,2>: Cost 3 vext3 LHS, <1,3,2,0>
2021326950U, // <3,1,3,3>: Cost 2 vtrnr <1,3,1,3>, LHS
1484459318U, // <3,1,3,4>: Cost 2 vext1 <1,3,1,3>, RHS
1611891712U, // <3,1,3,5>: Cost 2 vext3 LHS, <1,3,5,7>
2689836041U, // <3,1,3,6>: Cost 3 vext3 LHS, <1,3,6,7>
2832516096U, // <3,1,3,7>: Cost 3 vuzpr <2,3,0,1>, <1,3,5,7>
1611891735U, // <3,1,3,u>: Cost 2 vext3 LHS, <1,3,u,3>
2552234240U, // <3,1,4,0>: Cost 3 vext1 <0,3,1,4>, <0,3,1,4>
2960343050U, // <3,1,4,1>: Cost 3 vzipr <1,2,3,4>, <0,0,1,1>
2960345238U, // <3,1,4,2>: Cost 3 vzipr <1,2,3,4>, <3,0,1,2>
2129133568U, // <3,1,4,3>: Cost 2 ins <u,1,4,3>, lane 0
2552237366U, // <3,1,4,4>: Cost 3 vext1 <0,3,1,4>, RHS
2129149952U, // <3,1,4,5>: Cost 2 ins <u,1,4,5>, lane 0
1695730998U, // <3,1,4,6>: Cost 2 vuzpl <3,0,1,2>, RHS
3177693185U, // <3,1,4,7>: Cost 3 ins <3,u,4,7>, lane 1
1695731016U, // <3,1,4,u>: Cost 2 vuzpl <3,0,1,2>, RHS
2689836143U, // <3,1,5,0>: Cost 3 vext3 LHS, <1,5,0,1>
2564187280U, // <3,1,5,1>: Cost 3 vext1 <2,3,1,5>, <1,5,3,7>
2564187827U, // <3,1,5,2>: Cost 3 vext1 <2,3,1,5>, <2,3,1,5>
1611891856U, // <3,1,5,3>: Cost 2 vext3 LHS, <1,5,3,7>
2689836183U, // <3,1,5,4>: Cost 3 vext3 LHS, <1,5,4,5>
2961678674U, // <3,1,5,5>: Cost 3 vzipr <1,4,3,5>, <0,4,1,5>
2104016897U, // <3,1,5,6>: Cost 2 ins <3,u,5,6>, lane 1
1758776630U, // <3,1,5,7>: Cost 2 vuzpr <2,3,0,1>, RHS
1611891901U, // <3,1,5,u>: Cost 2 vext3 LHS, <1,5,u,7>
2907783926U, // <3,1,6,0>: Cost 3 vzipl <3,6,2,7>, <1,0,3,2>
2689836239U, // <3,1,6,1>: Cost 3 vext3 LHS, <1,6,1,7>
2222752740U, // <3,1,6,2>: Cost 3 vrev <1,3,2,6>
2129281024U, // <3,1,6,3>: Cost 2 ins <u,1,6,3>, lane 0
2222900214U, // <3,1,6,4>: Cost 3 vrev <1,3,4,6>
2689836275U, // <3,1,6,5>: Cost 3 vext3 LHS, <1,6,5,7>
2868350324U, // <3,1,6,6>: Cost 3 vuzpr <u,3,0,1>, <4,6,4,6>
2129313792U, // <3,1,6,7>: Cost 2 ins <u,1,6,7>, lane 0
2129281024U, // <3,1,6,u>: Cost 2 ins <u,1,6,3>, lane 0
3177857025U, // <3,1,7,0>: Cost 3 ins <3,u,7,0>, lane 1
3095397172U, // <3,1,7,1>: Cost 3 vtrnr <1,3,5,7>, <1,1,1,1>
2962360470U, // <3,1,7,2>: Cost 3 vzipr <1,5,3,7>, <3,0,1,2>
2021654630U, // <3,1,7,3>: Cost 2 vtrnr <1,3,5,7>, LHS
3177889793U, // <3,1,7,4>: Cost 3 ins <3,u,7,4>, lane 1
1149240320U, // <3,1,7,5>: Cost 2 vrev <1,3,5,7>
2223055881U, // <3,1,7,6>: Cost 3 vrev <1,3,6,7>
2868351144U, // <3,1,7,7>: Cost 3 vuzpr <u,3,0,1>, <5,7,5,7>
2021654635U, // <3,1,7,u>: Cost 2 vtrnr <1,3,5,7>, LHS
1484496998U, // <3,1,u,0>: Cost 2 vext1 <1,3,1,u>, LHS
1611892077U, // <3,1,u,1>: Cost 2 vext3 LHS, <1,u,1,3>
1695733550U, // <3,1,u,2>: Cost 2 vuzpl <3,0,1,2>, LHS
1055244288U, // <3,1,u,3>: Cost 1 ins LHS, lane 0
1484500278U, // <3,1,u,4>: Cost 2 vext1 <1,3,1,u>, RHS
1611892117U, // <3,1,u,5>: Cost 2 vext3 LHS, <1,u,5,7>
1695733914U, // <3,1,u,6>: Cost 2 vuzpl <3,0,1,2>, RHS
1758776873U, // <3,1,u,7>: Cost 2 vuzpr <2,3,0,1>, RHS
1055244288U, // <3,1,u,u>: Cost 1 ins LHS, lane 0
2623455232U, // <3,2,0,0>: Cost 3 vext2 <1,0,3,2>, <0,0,0,0>
1549713510U, // <3,2,0,1>: Cost 2 vext2 <1,0,3,2>, LHS
2129494016U, // <3,2,0,2>: Cost 2 ins <u,2,0,2>, lane 0
1886568550U, // <3,2,0,3>: Cost 2 vzipr <1,2,3,0>, LHS
2623455570U, // <3,2,0,4>: Cost 3 vext2 <1,0,3,2>, <0,4,1,5>
2960311348U, // <3,2,0,5>: Cost 3 vzipr <1,2,3,0>, <1,4,2,5>
2689836524U, // <3,2,0,6>: Cost 3 vext3 LHS, <2,0,6,4>
3177398273U, // <3,2,0,7>: Cost 3 ins <3,u,0,7>, lane 1
1549714077U, // <3,2,0,u>: Cost 2 vext2 <1,0,3,2>, LHS
1549714166U, // <3,2,1,0>: Cost 2 vext2 <1,0,3,2>, <1,0,3,2>
2623456052U, // <3,2,1,1>: Cost 3 vext2 <1,0,3,2>, <1,1,1,1>
2103689217U, // <3,2,1,2>: Cost 2 ins <3,u,1,2>, lane 1
2685634079U, // <3,2,1,3>: Cost 3 vext3 LHS, <2,1,3,1>
2552286518U, // <3,2,1,4>: Cost 3 vext1 <0,3,2,1>, RHS
2623456400U, // <3,2,1,5>: Cost 3 vext2 <1,0,3,2>, <1,5,3,7>
2689836604U, // <3,2,1,6>: Cost 3 vext3 LHS, <2,1,6,3>
3177472001U, // <3,2,1,7>: Cost 3 ins <3,u,1,7>, lane 1
1155385070U, // <3,2,1,u>: Cost 2 vrev <2,3,u,1>
2689836629U, // <3,2,2,0>: Cost 3 vext3 LHS, <2,2,0,1>
2689836640U, // <3,2,2,1>: Cost 3 vext3 LHS, <2,2,1,3>
1611449960U, // <3,2,2,2>: Cost 2 vext3 LHS, <2,2,2,2>
1611892338U, // <3,2,2,3>: Cost 2 vext3 LHS, <2,2,3,3>
2689836669U, // <3,2,2,4>: Cost 3 vext3 LHS, <2,2,4,5>
2689836680U, // <3,2,2,5>: Cost 3 vext3 LHS, <2,2,5,7>
2689836685U, // <3,2,2,6>: Cost 3 vext3 LHS, <2,2,6,3>
3177545729U, // <3,2,2,7>: Cost 3 ins <3,u,2,7>, lane 1
1611892383U, // <3,2,2,u>: Cost 2 vext3 LHS, <2,2,u,3>
1611450022U, // <3,2,3,0>: Cost 2 vext3 LHS, <2,3,0,1>
2685191854U, // <3,2,3,1>: Cost 3 vext3 LHS, <2,3,1,0>
1611450042U, // <3,2,3,2>: Cost 2 vext3 LHS, <2,3,2,3>
1885929574U, // <3,2,3,3>: Cost 2 vzipr <1,1,3,3>, LHS
1611450062U, // <3,2,3,4>: Cost 2 vext3 LHS, <2,3,4,5>
2732967635U, // <3,2,3,5>: Cost 3 vext3 LHS, <2,3,5,1>
1611450082U, // <3,2,3,6>: Cost 2 vext3 LHS, <2,3,6,7>
2732967652U, // <3,2,3,7>: Cost 3 vext3 LHS, <2,3,7,0>
1611450094U, // <3,2,3,u>: Cost 2 vext3 LHS, <2,3,u,1>
2558279782U, // <3,2,4,0>: Cost 3 vext1 <1,3,2,4>, LHS
2558280674U, // <3,2,4,1>: Cost 3 vext1 <1,3,2,4>, <1,3,2,4>
2960343060U, // <3,2,4,2>: Cost 3 vzipr <1,2,3,4>, <0,0,2,2>
1886601318U, // <3,2,4,3>: Cost 2 vzipr <1,2,3,4>, LHS
2960344034U, // <3,2,4,4>: Cost 3 vzipr <1,2,3,4>, <1,3,2,4>
1549716790U, // <3,2,4,5>: Cost 2 vext2 <1,0,3,2>, RHS
2129821696U, // <3,2,4,6>: Cost 2 ins <u,2,4,6>, lane 0
3177693185U, // <3,2,4,7>: Cost 3 ins <3,u,4,7>, lane 1
1549717033U, // <3,2,4,u>: Cost 2 vext2 <1,0,3,2>, RHS
2552316170U, // <3,2,5,0>: Cost 3 vext1 <0,3,2,5>, <0,3,2,5>
2228643507U, // <3,2,5,1>: Cost 3 vrev <2,3,1,5>
2689836896U, // <3,2,5,2>: Cost 3 vext3 LHS, <2,5,2,7>
2685634408U, // <3,2,5,3>: Cost 3 vext3 LHS, <2,5,3,6>
1155122894U, // <3,2,5,4>: Cost 2 vrev <2,3,4,5>
2665263108U, // <3,2,5,5>: Cost 3 vext2 <u,0,3,2>, <5,5,5,5>
2104016897U, // <3,2,5,6>: Cost 2 ins <3,u,5,6>, lane 1
2826554678U, // <3,2,5,7>: Cost 3 vuzpr <1,3,0,2>, RHS
1155417842U, // <3,2,5,u>: Cost 2 vrev <2,3,u,5>
2689836953U, // <3,2,6,0>: Cost 3 vext3 LHS, <2,6,0,1>
2689836964U, // <3,2,6,1>: Cost 3 vext3 LHS, <2,6,1,3>
2689836976U, // <3,2,6,2>: Cost 3 vext3 LHS, <2,6,2,6>
1611892666U, // <3,2,6,3>: Cost 2 vext3 LHS, <2,6,3,7>
2689836993U, // <3,2,6,4>: Cost 3 vext3 LHS, <2,6,4,5>
2689837004U, // <3,2,6,5>: Cost 3 vext3 LHS, <2,6,5,7>
2689837013U, // <3,2,6,6>: Cost 3 vext3 LHS, <2,6,6,7>
2129977344U, // <3,2,6,7>: Cost 2 ins <u,2,6,7>, lane 0
1611892711U, // <3,2,6,u>: Cost 2 vext3 LHS, <2,6,u,7>
3095397270U, // <3,2,7,0>: Cost 3 vtrnr <1,3,5,7>, <1,2,3,0>
3203743744U, // <3,2,7,1>: Cost 3 ins <u,2,7,1>, lane 0
3095396516U, // <3,2,7,2>: Cost 3 vtrnr <1,3,5,7>, <0,2,0,2>
1888616550U, // <3,2,7,3>: Cost 2 vzipr <1,5,3,7>, LHS
3095397274U, // <3,2,7,4>: Cost 3 vtrnr <1,3,5,7>, <1,2,3,4>
3095396528U, // <3,2,7,5>: Cost 3 vtrnr <1,3,5,7>, <0,2,1,5>
1155286754U, // <3,2,7,6>: Cost 2 vrev <2,3,6,7>
2665264748U, // <3,2,7,7>: Cost 3 vext2 <u,0,3,2>, <7,7,7,7>
1888616555U, // <3,2,7,u>: Cost 2 vzipr <1,5,3,7>, LHS
1611892795U, // <3,2,u,0>: Cost 2 vext3 LHS, <2,u,0,1>
1549719342U, // <3,2,u,1>: Cost 2 vext2 <1,0,3,2>, LHS
2129494016U, // <3,2,u,2>: Cost 2 ins <u,2,0,2>, lane 0
1611892824U, // <3,2,u,3>: Cost 2 vext3 LHS, <2,u,3,3>
1611892835U, // <3,2,u,4>: Cost 2 vext3 LHS, <2,u,4,5>
1549719706U, // <3,2,u,5>: Cost 2 vext2 <1,0,3,2>, RHS
2129821696U, // <3,2,u,6>: Cost 2 ins <u,2,4,6>, lane 0
2129977344U, // <3,2,u,7>: Cost 2 ins <u,2,6,7>, lane 0
1611892867U, // <3,2,u,u>: Cost 2 vext3 LHS, <2,u,u,1>
1886569366U, // <3,3,0,0>: Cost 2 vzipr <1,2,3,0>, <1,2,3,0>
1611450518U, // <3,3,0,1>: Cost 2 vext3 LHS, <3,0,1,2>
1697874022U, // <3,3,0,2>: Cost 2 vuzpl <3,3,3,3>, LHS
2100895746U, // <3,3,0,3>: Cost 2 ins <3,3,u,3>, lane 2
2685634736U, // <3,3,0,4>: Cost 3 vext3 LHS, <3,0,4,1>
3041151490U, // <3,3,0,5>: Cost 3 vtrnl <3,5,0,2>, <3,4,5,6>
3177390081U, // <3,3,0,6>: Cost 3 ins <3,u,0,6>, lane 1
2960311440U, // <3,3,0,7>: Cost 3 vzipr <1,2,3,0>, <1,5,3,7>
1611450581U, // <3,3,0,u>: Cost 2 vext3 LHS, <3,0,u,2>
2685192415U, // <3,3,1,0>: Cost 3 vext3 LHS, <3,1,0,3>
1550385992U, // <3,3,1,1>: Cost 2 vext2 <1,1,3,3>, <1,1,3,3>
2103689217U, // <3,3,1,2>: Cost 2 ins <3,u,1,2>, lane 1
1752891494U, // <3,3,1,3>: Cost 2 vuzpr <1,3,1,3>, LHS
2826635515U, // <3,3,1,4>: Cost 3 vuzpr <1,3,1,3>, <3,1,3,4>
2685634828U, // <3,3,1,5>: Cost 3 vext3 LHS, <3,1,5,3>
3177463809U, // <3,3,1,6>: Cost 3 ins <3,u,1,6>, lane 1
3100951552U, // <3,3,1,7>: Cost 3 vtrnr <2,3,0,1>, <1,3,5,7>
1752891499U, // <3,3,1,u>: Cost 2 vuzpr <1,3,1,3>, LHS
2959000470U, // <3,3,2,0>: Cost 3 vzipr <1,0,3,2>, <1,2,3,0>
2959000471U, // <3,3,2,1>: Cost 3 vzipr <1,0,3,2>, <1,2,3,1>
1885258486U, // <3,3,2,2>: Cost 2 vzipr <1,0,3,2>, <1,0,3,2>
2130313216U, // <3,3,2,3>: Cost 2 ins <u,3,2,3>, lane 0
2959000474U, // <3,3,2,4>: Cost 3 vzipr <1,0,3,2>, <1,2,3,4>
2732968286U, // <3,3,2,5>: Cost 3 vext3 LHS, <3,2,5,4>
2685634918U, // <3,3,2,6>: Cost 3 vext3 LHS, <3,2,6,3>
2959000720U, // <3,3,2,7>: Cost 3 vzipr <1,0,3,2>, <1,5,3,7>
1561004120U, // <3,3,2,u>: Cost 2 vext2 <2,u,3,3>, <2,u,3,3>
1496547430U, // <3,3,3,0>: Cost 2 vext1 <3,3,3,3>, LHS
2100568067U, // <3,3,3,1>: Cost 2 ins <3,3,3,u>, lane 3
2100568067U, // <3,3,3,2>: Cost 2 ins <3,3,3,u>, lane 3
336380006U, // <3,3,3,3>: Cost 1 vdup3 LHS
1496550710U, // <3,3,3,4>: Cost 2 vext1 <3,3,3,3>, RHS
2100568067U, // <3,3,3,5>: Cost 2 ins <3,3,3,u>, lane 3
2100568067U, // <3,3,3,6>: Cost 2 ins <3,3,3,u>, lane 3
2100568067U, // <3,3,3,7>: Cost 2 ins <3,3,3,u>, lane 3
336380006U, // <3,3,3,u>: Cost 1 vdup3 LHS
2960343958U, // <3,3,4,0>: Cost 3 vzipr <1,2,3,4>, <1,2,3,0>
2558354411U, // <3,3,4,1>: Cost 3 vext1 <1,3,3,4>, <1,3,3,4>
2960343798U, // <3,3,4,2>: Cost 3 vzipr <1,2,3,4>, <1,0,3,2>
2100895746U, // <3,3,4,3>: Cost 2 ins <3,3,u,3>, lane 2
1886602138U, // <3,3,4,4>: Cost 2 vzipr <1,2,3,4>, <1,2,3,4>
1611893250U, // <3,3,4,5>: Cost 2 vext3 LHS, <3,4,5,6>
1697877302U, // <3,3,4,6>: Cost 2 vuzpl <3,3,3,3>, RHS
2960344208U, // <3,3,4,7>: Cost 3 vzipr <1,2,3,4>, <1,5,3,7>
1611893277U, // <3,3,4,u>: Cost 2 vext3 LHS, <3,4,u,6>
2558361702U, // <3,3,5,0>: Cost 3 vext1 <1,3,3,5>, LHS
2558362604U, // <3,3,5,1>: Cost 3 vext1 <1,3,3,5>, <1,3,3,5>
2558363342U, // <3,3,5,2>: Cost 3 vext1 <1,3,3,5>, <2,3,4,5>
2100895746U, // <3,3,5,3>: Cost 2 ins <3,3,u,3>, lane 2
2558364982U, // <3,3,5,4>: Cost 3 vext1 <1,3,3,5>, RHS
2027538126U, // <3,3,5,5>: Cost 2 vtrnr <2,3,4,5>, <2,3,4,5>
2104016897U, // <3,3,5,6>: Cost 2 ins <3,u,5,6>, lane 1
1752894774U, // <3,3,5,7>: Cost 2 vuzpr <1,3,1,3>, RHS
1752894775U, // <3,3,5,u>: Cost 2 vuzpr <1,3,1,3>, RHS
2732968568U, // <3,3,6,0>: Cost 3 vext3 LHS, <3,6,0,7>
3204333568U, // <3,3,6,1>: Cost 3 ins <u,3,6,1>, lane 0
2732968586U, // <3,3,6,2>: Cost 3 vext3 LHS, <3,6,2,7>
2100895746U, // <3,3,6,3>: Cost 2 ins <3,3,u,3>, lane 2
2234845608U, // <3,3,6,4>: Cost 3 vrev <3,3,4,6>
3204366336U, // <3,3,6,5>: Cost 3 ins <u,3,6,5>, lane 0
1967893085U, // <3,3,6,6>: Cost 2 vtrnl <3,5,6,7>, <3,5,6,7>
2130640896U, // <3,3,6,7>: Cost 2 ins <u,3,6,7>, lane 0
2100895746U, // <3,3,6,u>: Cost 2 ins <3,3,u,3>, lane 2
2558378086U, // <3,3,7,0>: Cost 3 vext1 <1,3,3,7>, LHS
2558378990U, // <3,3,7,1>: Cost 3 vext1 <1,3,3,7>, <1,3,3,7>
2962359030U, // <3,3,7,2>: Cost 3 vzipr <1,5,3,7>, <1,0,3,2>
2100895746U, // <3,3,7,3>: Cost 2 ins <3,3,u,3>, lane 2
2558381366U, // <3,3,7,4>: Cost 3 vext1 <1,3,3,7>, RHS
3095398094U, // <3,3,7,5>: Cost 3 vtrnr <1,3,5,7>, <2,3,4,5>
3174662146U, // <3,3,7,6>: Cost 3 ins <3,3,u,6>, lane 2
2021655552U, // <3,3,7,7>: Cost 2 vtrnr <1,3,5,7>, <1,3,5,7>
2021655552U, // <3,3,7,u>: Cost 2 vtrnr <1,3,5,7>, <1,3,5,7>
1886569366U, // <3,3,u,0>: Cost 2 vzipr <1,2,3,0>, <1,2,3,0>
1611893534U, // <3,3,u,1>: Cost 2 vext3 LHS, <3,u,1,2>
1697879854U, // <3,3,u,2>: Cost 2 vuzpl <3,3,3,3>, LHS
336380006U, // <3,3,u,3>: Cost 1 vdup3 LHS
1496550710U, // <3,3,u,4>: Cost 2 vext1 <3,3,3,3>, RHS
1611893574U, // <3,3,u,5>: Cost 2 vext3 LHS, <3,u,5,6>
1697880218U, // <3,3,u,6>: Cost 2 vuzpl <3,3,3,3>, RHS
1752895017U, // <3,3,u,7>: Cost 2 vuzpr <1,3,1,3>, RHS
336380006U, // <3,3,u,u>: Cost 1 vdup3 LHS
2624798720U, // <3,4,0,0>: Cost 3 vext2 <1,2,3,4>, <0,0,0,0>
1551056998U, // <3,4,0,1>: Cost 2 vext2 <1,2,3,4>, LHS
2624798884U, // <3,4,0,2>: Cost 3 vext2 <1,2,3,4>, <0,2,0,2>
3177365505U, // <3,4,0,3>: Cost 3 ins <3,u,0,3>, lane 1
2624799058U, // <3,4,0,4>: Cost 3 vext2 <1,2,3,4>, <0,4,1,5>
1829948726U, // <3,4,0,5>: Cost 2 vzipl <3,0,1,2>, RHS
1659227036U, // <3,4,0,6>: Cost 2 vext3 LHS, <4,0,6,2>
3177398273U, // <3,4,0,7>: Cost 3 ins <3,u,0,7>, lane 1
1551057565U, // <3,4,0,u>: Cost 2 vext2 <1,2,3,4>, LHS
2624799478U, // <3,4,1,0>: Cost 3 vext2 <1,2,3,4>, <1,0,3,2>
2624799540U, // <3,4,1,1>: Cost 3 vext2 <1,2,3,4>, <1,1,1,1>
1551057818U, // <3,4,1,2>: Cost 2 vext2 <1,2,3,4>, <1,2,3,4>
2820669542U, // <3,4,1,3>: Cost 3 vuzpr <0,3,1,4>, LHS
2564377910U, // <3,4,1,4>: Cost 3 vext1 <2,3,4,1>, RHS
2130919424U, // <3,4,1,5>: Cost 2 ins <u,4,1,5>, lane 0
1964166454U, // <3,4,1,6>: Cost 2 vtrnl <3,0,1,2>, RHS
3177472001U, // <3,4,1,7>: Cost 3 ins <3,u,1,7>, lane 1
1555039616U, // <3,4,1,u>: Cost 2 vext2 <1,u,3,4>, <1,u,3,4>
3204694016U, // <3,4,2,0>: Cost 3 ins <u,4,2,0>, lane 0
2624800298U, // <3,4,2,1>: Cost 3 vext2 <1,2,3,4>, <2,1,4,3>
2624800360U, // <3,4,2,2>: Cost 3 vext2 <1,2,3,4>, <2,2,2,2>
2101600261U, // <3,4,2,3>: Cost 2 ins <3,4,u,u>, lane 5
2826716058U, // <3,4,2,4>: Cost 3 vuzpr <1,3,2,4>, <1,2,3,4>
2959001294U, // <3,4,2,5>: Cost 3 vzipr <1,0,3,2>, <2,3,4,5>
2131001344U, // <3,4,2,6>: Cost 2 ins <u,4,2,6>, lane 0
3177545729U, // <3,4,2,7>: Cost 3 ins <3,u,2,7>, lane 1
2101600261U, // <3,4,2,u>: Cost 2 ins <3,4,u,u>, lane 5
2624800918U, // <3,4,3,0>: Cost 3 vext2 <1,2,3,4>, <3,0,1,2>
2636081403U, // <3,4,3,1>: Cost 3 vext2 <3,1,3,4>, <3,1,3,4>
2636745036U, // <3,4,3,2>: Cost 3 vext2 <3,2,3,4>, <3,2,3,4>
2103844865U, // <3,4,3,3>: Cost 2 ins <3,u,3,3>, lane 1
2820669696U, // <3,4,3,4>: Cost 3 vuzpr <0,3,1,4>, <0,3,1,4>
1832095030U, // <3,4,3,5>: Cost 2 vzipl <3,3,3,3>, RHS
1966312758U, // <3,4,3,6>: Cost 2 vtrnl <3,3,3,3>, RHS
3177619457U, // <3,4,3,7>: Cost 3 ins <3,u,3,7>, lane 1
1832095273U, // <3,4,3,u>: Cost 2 vzipl <3,3,3,3>, RHS
2960344777U, // <3,4,4,0>: Cost 3 vzipr <1,2,3,4>, <2,3,4,0>
2960344778U, // <3,4,4,1>: Cost 3 vzipr <1,2,3,4>, <2,3,4,1>
2564400845U, // <3,4,4,2>: Cost 3 vext1 <2,3,4,4>, <2,3,4,4>
2960344618U, // <3,4,4,3>: Cost 3 vzipr <1,2,3,4>, <2,1,4,3>
1659227344U, // <3,4,4,4>: Cost 2 vext3 LHS, <4,4,4,4>
1551060278U, // <3,4,4,5>: Cost 2 vext2 <1,2,3,4>, RHS
1659227364U, // <3,4,4,6>: Cost 2 vext3 LHS, <4,4,6,6>
3177693185U, // <3,4,4,7>: Cost 3 ins <3,u,4,7>, lane 1
1551060521U, // <3,4,4,u>: Cost 2 vext2 <1,2,3,4>, RHS
1490665574U, // <3,4,5,0>: Cost 2 vext1 <2,3,4,5>, LHS
2101379075U, // <3,4,5,1>: Cost 2 ins <3,4,5,u>, lane 3
1490667214U, // <3,4,5,2>: Cost 2 vext1 <2,3,4,5>, <2,3,4,5>
2101379075U, // <3,4,5,3>: Cost 2 ins <3,4,5,u>, lane 3
1490668854U, // <3,4,5,4>: Cost 2 vext1 <2,3,4,5>, RHS
2131214336U, // <3,4,5,5>: Cost 2 ins <u,4,5,5>, lane 0
537709878U, // <3,4,5,6>: Cost 1 vext3 LHS, RHS
2101379075U, // <3,4,5,7>: Cost 2 ins <3,4,5,u>, lane 3
537709896U, // <3,4,5,u>: Cost 1 vext3 LHS, RHS
1659227468U, // <3,4,6,0>: Cost 2 vext3 LHS, <4,6,0,2>
2689838422U, // <3,4,6,1>: Cost 3 vext3 LHS, <4,6,1,3>
2564417231U, // <3,4,6,2>: Cost 3 vext1 <2,3,4,6>, <2,3,4,6>
2558446082U, // <3,4,6,3>: Cost 3 vext1 <1,3,4,6>, <3,4,5,6>
1659227508U, // <3,4,6,4>: Cost 2 vext3 LHS, <4,6,4,6>
2689838462U, // <3,4,6,5>: Cost 3 vext3 LHS, <4,6,5,7>
2131296256U, // <3,4,6,6>: Cost 2 ins <u,4,6,6>, lane 0
2101600261U, // <3,4,6,7>: Cost 2 ins <3,4,u,u>, lane 5
1659227540U, // <3,4,6,u>: Cost 2 vext3 LHS, <4,6,u,2>
2666607610U, // <3,4,7,0>: Cost 3 vext2 <u,2,3,4>, <7,0,1,2>
2659972191U, // <3,4,7,1>: Cost 3 vext2 <7,1,3,4>, <7,1,3,4>
2660635824U, // <3,4,7,2>: Cost 3 vext2 <7,2,3,4>, <7,2,3,4>
3177881601U, // <3,4,7,3>: Cost 3 ins <3,u,7,3>, lane 1
2666607974U, // <3,4,7,4>: Cost 3 vext2 <u,2,3,4>, <7,4,5,6>
3095396690U, // <3,4,7,5>: Cost 3 vtrnr <1,3,5,7>, <0,4,1,5>
2131369984U, // <3,4,7,6>: Cost 2 ins <u,4,7,6>, lane 0
2666608236U, // <3,4,7,7>: Cost 3 vext2 <u,2,3,4>, <7,7,7,7>
2131369984U, // <3,4,7,u>: Cost 2 ins <u,4,7,6>, lane 0
1490690150U, // <3,4,u,0>: Cost 2 vext1 <2,3,4,u>, LHS
1551062830U, // <3,4,u,1>: Cost 2 vext2 <1,2,3,4>, LHS
1490691793U, // <3,4,u,2>: Cost 2 vext1 <2,3,4,u>, <2,3,4,u>
2101600261U, // <3,4,u,3>: Cost 2 ins <3,4,u,u>, lane 5
1490693430U, // <3,4,u,4>: Cost 2 vext1 <2,3,4,u>, RHS
1551063194U, // <3,4,u,5>: Cost 2 vext2 <1,2,3,4>, RHS
537710121U, // <3,4,u,6>: Cost 1 vext3 LHS, RHS
2101379075U, // <3,4,u,7>: Cost 2 ins <3,4,5,u>, lane 3
537710139U, // <3,4,u,u>: Cost 1 vext3 LHS, RHS
2832842752U, // <3,5,0,0>: Cost 3 vuzpr <2,3,4,5>, <0,0,0,0>
2131476480U, // <3,5,0,1>: Cost 2 ins <u,5,0,1>, lane 0
1698709606U, // <3,5,0,2>: Cost 2 vuzpl <3,4,5,6>, LHS
2772451522U, // <3,5,0,3>: Cost 3 vuzpl <3,4,5,6>, <0,2,3,5>
2689838690U, // <3,5,0,4>: Cost 3 vext3 LHS, <5,0,4,1>
2732969579U, // <3,5,0,5>: Cost 3 vext3 LHS, <5,0,5,1>
2960310647U, // <3,5,0,6>: Cost 3 vzipr <1,2,3,0>, <0,4,5,6>
2131525632U, // <3,5,0,7>: Cost 2 ins <u,5,0,7>, lane 0
1698709660U, // <3,5,0,u>: Cost 2 vuzpl <3,4,5,6>, LHS
2594308198U, // <3,5,1,0>: Cost 3 vext1 <7,3,5,1>, LHS
2832843572U, // <3,5,1,1>: Cost 3 vuzpr <2,3,4,5>, <1,1,1,1>
2103689217U, // <3,5,1,2>: Cost 2 ins <3,u,1,2>, lane 1
1759101030U, // <3,5,1,3>: Cost 2 vuzpr <2,3,4,5>, LHS
2626135101U, // <3,5,1,4>: Cost 3 vext2 <1,4,3,5>, <1,4,3,5>
2772452352U, // <3,5,1,5>: Cost 3 vuzpl <3,4,5,6>, <1,3,5,7>
3205332992U, // <3,5,1,6>: Cost 3 ins <u,5,1,6>, lane 0
2027212086U, // <3,5,1,7>: Cost 2 vtrnr <2,3,0,1>, RHS
2027212087U, // <3,5,1,u>: Cost 2 vtrnr <2,3,0,1>, RHS
2832843670U, // <3,5,2,0>: Cost 3 vuzpr <2,3,4,5>, <1,2,3,0>
2630116899U, // <3,5,2,1>: Cost 3 vext2 <2,1,3,5>, <2,1,3,5>
2832842916U, // <3,5,2,2>: Cost 3 vuzpr <2,3,4,5>, <0,2,0,2>
2131640320U, // <3,5,2,3>: Cost 2 ins <u,5,2,3>, lane 0
2832842936U, // <3,5,2,4>: Cost 3 vuzpr <2,3,4,5>, <0,2,2,4>
2715938575U, // <3,5,2,5>: Cost 3 vext3 <5,2,5,3>, <5,2,5,3>
2959002114U, // <3,5,2,6>: Cost 3 vzipr <1,0,3,2>, <3,4,5,6>
2131673088U, // <3,5,2,7>: Cost 2 ins <u,5,2,7>, lane 0
2131640320U, // <3,5,2,u>: Cost 2 ins <u,5,2,3>, lane 0
2772453922U, // <3,5,3,0>: Cost 3 vuzpl <3,4,5,6>, <3,5,0,2>
2832844454U, // <3,5,3,1>: Cost 3 vuzpr <2,3,4,5>, <2,3,0,1>
3177578497U, // <3,5,3,2>: Cost 3 ins <3,u,3,2>, lane 1
2103844865U, // <3,5,3,3>: Cost 2 ins <3,u,3,3>, lane 1
2618837506U, // <3,5,3,4>: Cost 3 vext2 <0,2,3,5>, <3,4,5,6>
1759102670U, // <3,5,3,5>: Cost 2 vuzpr <2,3,4,5>, <2,3,4,5>
2959673858U, // <3,5,3,6>: Cost 3 vzipr <1,1,3,3>, <3,4,5,6>
2021330230U, // <3,5,3,7>: Cost 2 vtrnr <1,3,1,3>, RHS
2021330231U, // <3,5,3,u>: Cost 2 vtrnr <1,3,1,3>, RHS
2832845308U, // <3,5,4,0>: Cost 3 vuzpr <2,3,4,5>, <3,4,5,0>
2732969871U, // <3,5,4,1>: Cost 3 vext3 LHS, <5,4,1,5>
2832844536U, // <3,5,4,2>: Cost 3 vuzpr <2,3,4,5>, <2,4,0,2>
3177660417U, // <3,5,4,3>: Cost 3 ins <3,u,4,3>, lane 1
2832845312U, // <3,5,4,4>: Cost 3 vuzpr <2,3,4,5>, <3,4,5,4>
2131804160U, // <3,5,4,5>: Cost 2 ins <u,5,4,5>, lane 0
1698712886U, // <3,5,4,6>: Cost 2 vuzpl <3,4,5,6>, RHS
1659228102U, // <3,5,4,7>: Cost 2 vext3 LHS, <5,4,7,6>
1698712904U, // <3,5,4,u>: Cost 2 vuzpl <3,4,5,6>, RHS
2570453094U, // <3,5,5,0>: Cost 3 vext1 <3,3,5,5>, LHS
2832846074U, // <3,5,5,1>: Cost 3 vuzpr <2,3,4,5>, <4,5,0,1>
2570454734U, // <3,5,5,2>: Cost 3 vext1 <3,3,5,5>, <2,3,4,5>
2832845356U, // <3,5,5,3>: Cost 3 vuzpr <2,3,4,5>, <3,5,1,3>
2570456374U, // <3,5,5,4>: Cost 3 vext1 <3,3,5,5>, RHS
1659228164U, // <3,5,5,5>: Cost 2 vext3 LHS, <5,5,5,5>
2104016897U, // <3,5,5,6>: Cost 2 ins <3,u,5,6>, lane 1
1759104310U, // <3,5,5,7>: Cost 2 vuzpr <2,3,4,5>, RHS
1759104311U, // <3,5,5,u>: Cost 2 vuzpr <2,3,4,5>, RHS
2131910656U, // <3,5,6,0>: Cost 2 ins <u,5,6,0>, lane 0
2131918848U, // <3,5,6,1>: Cost 2 ins <u,5,6,1>, lane 0
2131927040U, // <3,5,6,2>: Cost 2 ins <u,5,6,2>, lane 0
2131935232U, // <3,5,6,3>: Cost 2 ins <u,5,6,3>, lane 0
2131943424U, // <3,5,6,4>: Cost 2 ins <u,5,6,4>, lane 0
2131951616U, // <3,5,6,5>: Cost 2 ins <u,5,6,5>, lane 0
2131959808U, // <3,5,6,6>: Cost 2 ins <u,5,6,6>, lane 0
1058226176U, // <3,5,6,7>: Cost 1 ins RHS, lane 0
1058226176U, // <3,5,6,u>: Cost 1 ins RHS, lane 0
1484783718U, // <3,5,7,0>: Cost 2 vext1 <1,3,5,7>, LHS
1484784640U, // <3,5,7,1>: Cost 2 vext1 <1,3,5,7>, <1,3,5,7>
2558527080U, // <3,5,7,2>: Cost 3 vext1 <1,3,5,7>, <2,2,2,2>
2558527638U, // <3,5,7,3>: Cost 3 vext1 <1,3,5,7>, <3,0,1,2>
1484786998U, // <3,5,7,4>: Cost 2 vext1 <1,3,5,7>, RHS
1659228328U, // <3,5,7,5>: Cost 2 vext3 LHS, <5,7,5,7>
3095397528U, // <3,5,7,6>: Cost 3 vtrnr <1,3,5,7>, <1,5,4,6>
2021657910U, // <3,5,7,7>: Cost 2 vtrnr <1,3,5,7>, RHS
1484789550U, // <3,5,7,u>: Cost 2 vext1 <1,3,5,7>, LHS
1484791910U, // <3,5,u,0>: Cost 2 vext1 <1,3,5,u>, LHS
1484792833U, // <3,5,u,1>: Cost 2 vext1 <1,3,5,u>, <1,3,5,u>
1698715438U, // <3,5,u,2>: Cost 2 vuzpl <3,4,5,6>, LHS
1759101597U, // <3,5,u,3>: Cost 2 vuzpr <2,3,4,5>, LHS
1484795190U, // <3,5,u,4>: Cost 2 vext1 <1,3,5,u>, RHS
1659228409U, // <3,5,u,5>: Cost 2 vext3 LHS, <5,u,5,7>
1698715802U, // <3,5,u,6>: Cost 2 vuzpl <3,4,5,6>, RHS
1058226176U, // <3,5,u,7>: Cost 1 ins RHS, lane 0
1058226176U, // <3,5,u,u>: Cost 1 ins RHS, lane 0
2732970264U, // <3,6,0,0>: Cost 3 vext3 LHS, <6,0,0,2>
2689839393U, // <3,6,0,1>: Cost 3 vext3 LHS, <6,0,1,2>
2132148224U, // <3,6,0,2>: Cost 2 ins <u,6,0,2>, lane 0
3177365505U, // <3,6,0,3>: Cost 3 ins <3,u,0,3>, lane 1
2689839420U, // <3,6,0,4>: Cost 3 vext3 LHS, <6,0,4,2>
2732970314U, // <3,6,0,5>: Cost 3 vext3 LHS, <6,0,5,7>
2732970316U, // <3,6,0,6>: Cost 3 vext3 LHS, <6,0,6,0>
1886571830U, // <3,6,0,7>: Cost 2 vzipr <1,2,3,0>, RHS
1886571831U, // <3,6,0,u>: Cost 2 vzipr <1,2,3,0>, RHS
2720878954U, // <3,6,1,0>: Cost 3 vext3 <6,1,0,3>, <6,1,0,3>
3205955584U, // <3,6,1,1>: Cost 3 ins <u,6,1,1>, lane 0
2103689217U, // <3,6,1,2>: Cost 2 ins <3,u,1,2>, lane 1
2826731622U, // <3,6,1,3>: Cost 3 vuzpr <1,3,2,6>, LHS
2626143294U, // <3,6,1,4>: Cost 3 vext2 <1,4,3,6>, <1,4,3,6>
3205988352U, // <3,6,1,5>: Cost 3 ins <u,6,1,5>, lane 0
2721321376U, // <3,6,1,6>: Cost 3 vext3 <6,1,6,3>, <6,1,6,3>
2954349878U, // <3,6,1,7>: Cost 3 vzipr <0,2,3,1>, RHS
2103689217U, // <3,6,1,u>: Cost 2 ins <3,u,1,2>, lane 1
2594390118U, // <3,6,2,0>: Cost 3 vext1 <7,3,6,2>, LHS
2721616324U, // <3,6,2,1>: Cost 3 vext3 <6,2,1,3>, <6,2,1,3>
2630788725U, // <3,6,2,2>: Cost 3 vext2 <2,2,3,6>, <2,2,3,6>
2132303872U, // <3,6,2,3>: Cost 2 ins <u,6,2,3>, lane 0
2632115991U, // <3,6,2,4>: Cost 3 vext2 <2,4,3,6>, <2,4,3,6>
2632779624U, // <3,6,2,5>: Cost 3 vext2 <2,5,3,6>, <2,5,3,6>
2826731724U, // <3,6,2,6>: Cost 3 vuzpr <1,3,2,6>, <0,2,4,6>
1885261110U, // <3,6,2,7>: Cost 2 vzipr <1,0,3,2>, RHS
1885261111U, // <3,6,2,u>: Cost 2 vzipr <1,0,3,2>, RHS
3136876642U, // <3,6,3,0>: Cost 3 vtrnr <u,3,1,3>, <5,6,7,0>
3206103040U, // <3,6,3,1>: Cost 3 ins <u,6,3,1>, lane 0
3001478044U, // <3,6,3,2>: Cost 3 vzipr <u,1,3,3>, <4,0,6,2>
2103844865U, // <3,6,3,3>: Cost 2 ins <3,u,3,3>, lane 1
2632780290U, // <3,6,3,4>: Cost 3 vext2 <2,5,3,6>, <3,4,5,6>
3206135808U, // <3,6,3,5>: Cost 3 ins <u,6,3,5>, lane 0
1699457629U, // <3,6,3,6>: Cost 2 vuzpl <3,5,6,7>, <3,5,6,7>
1885932854U, // <3,6,3,7>: Cost 2 vzipr <1,1,3,3>, RHS
1885932855U, // <3,6,3,u>: Cost 2 vzipr <1,1,3,3>, RHS
2732970588U, // <3,6,4,0>: Cost 3 vext3 LHS, <6,4,0,2>
2722943590U, // <3,6,4,1>: Cost 3 vext3 <6,4,1,3>, <6,4,1,3>
2732970604U, // <3,6,4,2>: Cost 3 vext3 LHS, <6,4,2,0>
2906673714U, // <3,6,4,3>: Cost 3 vzipl <3,4,5,6>, <6,3,4,5>
2732970628U, // <3,6,4,4>: Cost 3 vext3 LHS, <6,4,4,6>
2689839757U, // <3,6,4,5>: Cost 3 vext3 LHS, <6,4,5,6>
2132475904U, // <3,6,4,6>: Cost 2 ins <u,6,4,6>, lane 0
1886604598U, // <3,6,4,7>: Cost 2 vzipr <1,2,3,4>, RHS
1886604599U, // <3,6,4,u>: Cost 2 vzipr <1,2,3,4>, RHS
2576498790U, // <3,6,5,0>: Cost 3 vext1 <4,3,6,5>, LHS
3206250496U, // <3,6,5,1>: Cost 3 ins <u,6,5,1>, lane 0
2732970692U, // <3,6,5,2>: Cost 3 vext3 LHS, <6,5,2,7>
2576501250U, // <3,6,5,3>: Cost 3 vext1 <4,3,6,5>, <3,4,5,6>
3040891442U, // <3,6,5,4>: Cost 3 vtrnl <3,4,5,6>, <6,3,4,5>
3206283264U, // <3,6,5,5>: Cost 3 ins <u,6,5,5>, lane 0
2104016897U, // <3,6,5,6>: Cost 2 ins <3,u,5,6>, lane 1
2954382646U, // <3,6,5,7>: Cost 3 vzipr <0,2,3,5>, RHS
2104016897U, // <3,6,5,u>: Cost 2 ins <3,u,5,6>, lane 1
2732970748U, // <3,6,6,0>: Cost 3 vext3 LHS, <6,6,0,0>
2724270856U, // <3,6,6,1>: Cost 3 vext3 <6,6,1,3>, <6,6,1,3>
2732970768U, // <3,6,6,2>: Cost 3 vext3 LHS, <6,6,2,2>
3177807873U, // <3,6,6,3>: Cost 3 ins <3,u,6,3>, lane 1
2732970788U, // <3,6,6,4>: Cost 3 vext3 LHS, <6,6,4,4>
2732970800U, // <3,6,6,5>: Cost 3 vext3 LHS, <6,6,5,7>
1659228984U, // <3,6,6,6>: Cost 2 vext3 LHS, <6,6,6,6>
1659228994U, // <3,6,6,7>: Cost 2 vext3 LHS, <6,6,7,7>
1659229003U, // <3,6,6,u>: Cost 2 vext3 LHS, <6,6,u,7>
1659229006U, // <3,6,7,0>: Cost 2 vext3 LHS, <6,7,0,1>
2558600201U, // <3,6,7,1>: Cost 3 vext1 <1,3,6,7>, <1,3,6,7>
1611453282U, // <3,6,7,2>: Cost 2 vext3 LHS, <6,7,2,3>
2968996198U, // <3,6,7,3>: Cost 3 vzipr <2,6,3,7>, <3,2,6,3>
1659229046U, // <3,6,7,4>: Cost 2 vext3 LHS, <6,7,4,5>
2968995633U, // <3,6,7,5>: Cost 3 vzipr <2,6,3,7>, <2,4,6,5>
1611453322U, // <3,6,7,6>: Cost 2 vext3 LHS, <6,7,6,7>
1888619830U, // <3,6,7,7>: Cost 2 vzipr <1,5,3,7>, RHS
1888619831U, // <3,6,7,u>: Cost 2 vzipr <1,5,3,7>, RHS
1659229087U, // <3,6,u,0>: Cost 2 vext3 LHS, <6,u,0,1>
2689840041U, // <3,6,u,1>: Cost 3 vext3 LHS, <6,u,1,2>
2132148224U, // <3,6,u,2>: Cost 2 ins <u,6,0,2>, lane 0
2132303872U, // <3,6,u,3>: Cost 2 ins <u,6,2,3>, lane 0
1659229127U, // <3,6,u,4>: Cost 2 vext3 LHS, <6,u,4,5>
2689840081U, // <3,6,u,5>: Cost 3 vext3 LHS, <6,u,5,6>
2132475904U, // <3,6,u,6>: Cost 2 ins <u,6,4,6>, lane 0
1885310262U, // <3,6,u,7>: Cost 2 vzipr <1,0,3,u>, RHS
1885310263U, // <3,6,u,u>: Cost 2 vzipr <1,0,3,u>, RHS
2826960896U, // <3,7,0,0>: Cost 3 vuzpr <1,3,5,7>, <0,0,0,0>
1553072230U, // <3,7,0,1>: Cost 2 vext2 <1,5,3,7>, LHS
2826960916U, // <3,7,0,2>: Cost 3 vuzpr <1,3,5,7>, <0,0,2,2>
3002117840U, // <3,7,0,3>: Cost 3 vzipr <u,2,3,0>, <5,1,7,3>
2626814290U, // <3,7,0,4>: Cost 3 vext2 <1,5,3,7>, <0,4,1,5>
2582507375U, // <3,7,0,5>: Cost 3 vext1 <5,3,7,0>, <5,3,7,0>
2588480072U, // <3,7,0,6>: Cost 3 vext1 <6,3,7,0>, <6,3,7,0>
2732971055U, // <3,7,0,7>: Cost 3 vext3 LHS, <7,0,7,1>
1553072797U, // <3,7,0,u>: Cost 2 vext2 <1,5,3,7>, LHS
2626814710U, // <3,7,1,0>: Cost 3 vext2 <1,5,3,7>, <1,0,3,2>
2826961716U, // <3,7,1,1>: Cost 3 vuzpr <1,3,5,7>, <1,1,1,1>
2103689217U, // <3,7,1,2>: Cost 2 ins <3,u,1,2>, lane 1
1753219174U, // <3,7,1,3>: Cost 2 vuzpr <1,3,5,7>, LHS
2582514998U, // <3,7,1,4>: Cost 3 vext1 <5,3,7,1>, RHS
1553073296U, // <3,7,1,5>: Cost 2 vext2 <1,5,3,7>, <1,5,3,7>
2627478753U, // <3,7,1,6>: Cost 3 vext2 <1,6,3,7>, <1,6,3,7>
2727367810U, // <3,7,1,7>: Cost 3 vext3 <7,1,7,3>, <7,1,7,3>
1753219179U, // <3,7,1,u>: Cost 2 vuzpr <1,3,5,7>, LHS
2826961814U, // <3,7,2,0>: Cost 3 vuzpr <1,3,5,7>, <1,2,3,0>
3206692864U, // <3,7,2,1>: Cost 3 ins <u,7,2,1>, lane 0
2826961060U, // <3,7,2,2>: Cost 3 vuzpr <1,3,5,7>, <0,2,0,2>
2132967424U, // <3,7,2,3>: Cost 2 ins <u,7,2,3>, lane 0
2826961818U, // <3,7,2,4>: Cost 3 vuzpr <1,3,5,7>, <1,2,3,4>
2826961072U, // <3,7,2,5>: Cost 3 vuzpr <1,3,5,7>, <0,2,1,5>
1559709626U, // <3,7,2,6>: Cost 2 vext2 <2,6,3,7>, <2,6,3,7>
2728031443U, // <3,7,2,7>: Cost 3 vext3 <7,2,7,3>, <7,2,7,3>
1561036892U, // <3,7,2,u>: Cost 2 vext2 <2,u,3,7>, <2,u,3,7>
2626816150U, // <3,7,3,0>: Cost 3 vext2 <1,5,3,7>, <3,0,1,2>
2826962598U, // <3,7,3,1>: Cost 3 vuzpr <1,3,5,7>, <2,3,0,1>
2633451878U, // <3,7,3,2>: Cost 3 vext2 <2,6,3,7>, <3,2,6,3>
2103844865U, // <3,7,3,3>: Cost 2 ins <3,u,3,3>, lane 1
2626816514U, // <3,7,3,4>: Cost 3 vext2 <1,5,3,7>, <3,4,5,6>
2826962638U, // <3,7,3,5>: Cost 3 vuzpr <1,3,5,7>, <2,3,4,5>
2639424147U, // <3,7,3,6>: Cost 3 vext2 <3,6,3,7>, <3,6,3,7>
1753220096U, // <3,7,3,7>: Cost 2 vuzpr <1,3,5,7>, <1,3,5,7>
1753220096U, // <3,7,3,u>: Cost 2 vuzpr <1,3,5,7>, <1,3,5,7>
2582536294U, // <3,7,4,0>: Cost 3 vext1 <5,3,7,4>, LHS
2582537360U, // <3,7,4,1>: Cost 3 vext1 <5,3,7,4>, <1,5,3,7>
2588510138U, // <3,7,4,2>: Cost 3 vext1 <6,3,7,4>, <2,6,3,7>
3002150608U, // <3,7,4,3>: Cost 3 vzipr <u,2,3,4>, <5,1,7,3>
2582539574U, // <3,7,4,4>: Cost 3 vext1 <5,3,7,4>, RHS
1553075510U, // <3,7,4,5>: Cost 2 vext2 <1,5,3,7>, RHS
2826961244U, // <3,7,4,6>: Cost 3 vuzpr <1,3,5,7>, <0,4,2,6>
2732971383U, // <3,7,4,7>: Cost 3 vext3 LHS, <7,4,7,5>
1553075753U, // <3,7,4,u>: Cost 2 vext2 <1,5,3,7>, RHS
2826963551U, // <3,7,5,0>: Cost 3 vuzpr <1,3,5,7>, <3,5,7,0>
2826963552U, // <3,7,5,1>: Cost 3 vuzpr <1,3,5,7>, <3,5,7,1>
2826962032U, // <3,7,5,2>: Cost 3 vuzpr <1,3,5,7>, <1,5,0,2>
2626817903U, // <3,7,5,3>: Cost 3 vext2 <1,5,3,7>, <5,3,7,0>
2826963555U, // <3,7,5,4>: Cost 3 vuzpr <1,3,5,7>, <3,5,7,4>
2826962044U, // <3,7,5,5>: Cost 3 vuzpr <1,3,5,7>, <1,5,1,5>
2104016897U, // <3,7,5,6>: Cost 2 ins <3,u,5,6>, lane 1
1753222454U, // <3,7,5,7>: Cost 2 vuzpr <1,3,5,7>, RHS
1753222455U, // <3,7,5,u>: Cost 2 vuzpr <1,3,5,7>, RHS
2732971478U, // <3,7,6,0>: Cost 3 vext3 LHS, <7,6,0,1>
2732971486U, // <3,7,6,1>: Cost 3 vext3 LHS, <7,6,1,0>
2633454074U, // <3,7,6,2>: Cost 3 vext2 <2,6,3,7>, <6,2,7,3>
2633454152U, // <3,7,6,3>: Cost 3 vext2 <2,6,3,7>, <6,3,7,0>
2732971518U, // <3,7,6,4>: Cost 3 vext3 LHS, <7,6,4,5>
2732971526U, // <3,7,6,5>: Cost 3 vext3 LHS, <7,6,5,4>
2732971537U, // <3,7,6,6>: Cost 3 vext3 LHS, <7,6,6,6>
2133295104U, // <3,7,6,7>: Cost 2 ins <u,7,6,7>, lane 0
2133295104U, // <3,7,6,u>: Cost 2 ins <u,7,6,7>, lane 0
2962362223U, // <3,7,7,0>: Cost 3 vzipr <1,5,3,7>, <5,3,7,0>
2826965109U, // <3,7,7,1>: Cost 3 vuzpr <1,3,5,7>, <5,7,0,1>
2968998474U, // <3,7,7,2>: Cost 3 vzipr <2,6,3,7>, <6,3,7,2>
2826963662U, // <3,7,7,3>: Cost 3 vuzpr <1,3,5,7>, <3,7,1,3>
2962362227U, // <3,7,7,4>: Cost 3 vzipr <1,5,3,7>, <5,3,7,4>
2826965149U, // <3,7,7,5>: Cost 3 vuzpr <1,3,5,7>, <5,7,4,5>
2588537423U, // <3,7,7,6>: Cost 3 vext1 <6,3,7,7>, <6,3,7,7>
1659229804U, // <3,7,7,7>: Cost 2 vext3 LHS, <7,7,7,7>
1659229804U, // <3,7,7,u>: Cost 2 vext3 LHS, <7,7,7,7>
2826962300U, // <3,7,u,0>: Cost 3 vuzpr <1,3,5,7>, <1,u,3,0>
1553078062U, // <3,7,u,1>: Cost 2 vext2 <1,5,3,7>, LHS
2103689217U, // <3,7,u,2>: Cost 2 ins <3,u,1,2>, lane 1
1753219741U, // <3,7,u,3>: Cost 2 vuzpr <1,3,5,7>, LHS
2826962304U, // <3,7,u,4>: Cost 3 vuzpr <1,3,5,7>, <1,u,3,4>
1553078426U, // <3,7,u,5>: Cost 2 vext2 <1,5,3,7>, RHS
1595545808U, // <3,7,u,6>: Cost 2 vext2 <u,6,3,7>, <u,6,3,7>
1753222697U, // <3,7,u,7>: Cost 2 vuzpr <1,3,5,7>, RHS
1753219746U, // <3,7,u,u>: Cost 2 vuzpr <1,3,5,7>, LHS
1611448320U, // <3,u,0,0>: Cost 2 vext3 LHS, <0,0,0,0>
1611896531U, // <3,u,0,1>: Cost 2 vext3 LHS, <u,0,1,2>
1696243814U, // <3,u,0,2>: Cost 2 vuzpl <3,0,u,2>, LHS
1616099045U, // <3,u,0,3>: Cost 2 vext3 LHS, <u,0,3,2>
2685638381U, // <3,u,0,4>: Cost 3 vext3 LHS, <u,0,4,1>
1829951642U, // <3,u,0,5>: Cost 2 vzipl <3,0,1,2>, RHS
1663874816U, // <3,u,0,6>: Cost 2 vext3 LHS, <u,0,6,2>
1886571848U, // <3,u,0,7>: Cost 2 vzipr <1,2,3,0>, RHS
1611896594U, // <3,u,0,u>: Cost 2 vext3 LHS, <u,0,u,2>
1549763324U, // <3,u,1,0>: Cost 2 vext2 <1,0,3,u>, <1,0,3,u>
1550426957U, // <3,u,1,1>: Cost 2 vext2 <1,1,3,u>, <1,1,3,u>
537712430U, // <3,u,1,2>: Cost 1 vext3 LHS, LHS
1616541495U, // <3,u,1,3>: Cost 2 vext3 LHS, <u,1,3,3>
1490930998U, // <3,u,1,4>: Cost 2 vext1 <2,3,u,1>, RHS
1553081489U, // <3,u,1,5>: Cost 2 vext2 <1,5,3,u>, <1,5,3,u>
1964169370U, // <3,u,1,6>: Cost 2 vtrnl <3,0,1,2>, RHS
2027212329U, // <3,u,1,7>: Cost 2 vtrnr <2,3,0,1>, RHS
537712484U, // <3,u,1,u>: Cost 1 vext3 LHS, LHS
1659672428U, // <3,u,2,0>: Cost 2 vext3 LHS, <u,2,0,2>
2128969728U, // <3,u,2,1>: Cost 2 ins <u,1,2,1>, lane 0
1557063287U, // <3,u,2,2>: Cost 2 vext2 <2,2,3,u>, <2,2,3,u>
1055244288U, // <3,u,2,3>: Cost 1 ins LHS, lane 0
1659672468U, // <3,u,2,4>: Cost 2 vext3 LHS, <u,2,4,6>
2129002496U, // <3,u,2,5>: Cost 2 ins <u,1,2,5>, lane 0
1559717819U, // <3,u,2,6>: Cost 2 vext2 <2,6,3,u>, <2,6,3,u>
1885261128U, // <3,u,2,7>: Cost 2 vzipr <1,0,3,2>, RHS
1055244288U, // <3,u,2,u>: Cost 1 ins LHS, lane 0
1611896764U, // <3,u,3,0>: Cost 2 vext3 LHS, <u,3,0,1>
1616541639U, // <3,u,3,1>: Cost 2 vext3 LHS, <u,3,1,3>
1966315310U, // <3,u,3,2>: Cost 2 vtrnl <3,3,3,3>, LHS
336380006U, // <3,u,3,3>: Cost 1 vdup3 LHS
1611896804U, // <3,u,3,4>: Cost 2 vext3 LHS, <u,3,4,5>
1616541679U, // <3,u,3,5>: Cost 2 vext3 LHS, <u,3,5,7>
1966315674U, // <3,u,3,6>: Cost 2 vtrnl <3,3,3,3>, RHS
1885932872U, // <3,u,3,7>: Cost 2 vzipr <1,1,3,3>, RHS
336380006U, // <3,u,3,u>: Cost 1 vdup3 LHS
2960344003U, // <3,u,4,0>: Cost 3 vzipr <1,2,3,4>, <1,2,u,0>
1832933166U, // <3,u,4,1>: Cost 2 vzipl <3,4,5,6>, LHS
1659672612U, // <3,u,4,2>: Cost 2 vext3 LHS, <u,4,2,6>
1886601372U, // <3,u,4,3>: Cost 2 vzipr <1,2,3,4>, LHS
1886602138U, // <3,u,4,4>: Cost 2 vzipr <1,2,3,4>, <1,2,3,4>
1611896895U, // <3,u,4,5>: Cost 2 vext3 LHS, <u,4,5,6>
1696247094U, // <3,u,4,6>: Cost 2 vuzpl <3,0,u,2>, RHS
1886604616U, // <3,u,4,7>: Cost 2 vzipr <1,2,3,4>, RHS
1611896922U, // <3,u,4,u>: Cost 2 vext3 LHS, <u,4,u,6>
1490960486U, // <3,u,5,0>: Cost 2 vext1 <2,3,u,5>, LHS
2128527360U, // <3,u,5,1>: Cost 2 ins <u,0,5,1>, lane 0
1490962162U, // <3,u,5,2>: Cost 2 vext1 <2,3,u,5>, <2,3,u,5>
1616541823U, // <3,u,5,3>: Cost 2 vext3 LHS, <u,5,3,7>
1490963766U, // <3,u,5,4>: Cost 2 vext1 <2,3,u,5>, RHS
2027538126U, // <3,u,5,5>: Cost 2 vtrnr <2,3,4,5>, <2,3,4,5>
537712794U, // <3,u,5,6>: Cost 1 vext3 LHS, RHS
1752935734U, // <3,u,5,7>: Cost 2 vuzpr <1,3,1,u>, RHS
537712812U, // <3,u,5,u>: Cost 1 vext3 LHS, RHS
1663875248U, // <3,u,6,0>: Cost 2 vext3 LHS, <u,6,0,2>
2131918848U, // <3,u,6,1>: Cost 2 ins <u,5,6,1>, lane 0
2128609280U, // <3,u,6,2>: Cost 2 ins <u,0,6,2>, lane 0
1616099536U, // <3,u,6,3>: Cost 2 vext3 LHS, <u,6,3,7>
1663875288U, // <3,u,6,4>: Cost 2 vext3 LHS, <u,6,4,6>
2131951616U, // <3,u,6,5>: Cost 2 ins <u,5,6,5>, lane 0
2131296256U, // <3,u,6,6>: Cost 2 ins <u,4,6,6>, lane 0
1058226176U, // <3,u,6,7>: Cost 1 ins RHS, lane 0
1058226176U, // <3,u,6,u>: Cost 1 ins RHS, lane 0
1485004902U, // <3,u,7,0>: Cost 2 vext1 <1,3,u,7>, LHS
1485005851U, // <3,u,7,1>: Cost 2 vext1 <1,3,u,7>, <1,3,u,7>
2098896898U, // <3,u,7,2>: Cost 2 ins <3,0,u,2>, lane 2
2021655197U, // <3,u,7,3>: Cost 2 vtrnr <1,3,5,7>, LHS
1485008182U, // <3,u,7,4>: Cost 2 vext1 <1,3,u,7>, RHS
1659230515U, // <3,u,7,5>: Cost 2 vext3 LHS, <u,7,5,7>
2131369984U, // <3,u,7,6>: Cost 2 ins <u,4,7,6>, lane 0
2021658153U, // <3,u,7,7>: Cost 2 vtrnr <1,3,5,7>, RHS
2021655202U, // <3,u,7,u>: Cost 2 vtrnr <1,3,5,7>, LHS
1616099665U, // <3,u,u,0>: Cost 2 vext3 LHS, <u,u,0,1>
1611897179U, // <3,u,u,1>: Cost 2 vext3 LHS, <u,u,1,2>
537712997U, // <3,u,u,2>: Cost 1 vext3 LHS, LHS
1055244288U, // <3,u,u,3>: Cost 1 ins LHS, lane 0
1616099705U, // <3,u,u,4>: Cost 2 vext3 LHS, <u,u,4,5>
1611897219U, // <3,u,u,5>: Cost 2 vext3 LHS, <u,u,5,6>
537713037U, // <3,u,u,6>: Cost 1 vext3 LHS, RHS
1058226176U, // <3,u,u,7>: Cost 1 ins RHS, lane 0
537713051U, // <3,u,u,u>: Cost 1 vext3 LHS, LHS
2128150528U, // <4,0,0,0>: Cost 2 ins <u,0,0,0>, lane 0
2104860674U, // <4,0,0,1>: Cost 2 ins <4,0,u,1>, lane 2
1705607270U, // <4,0,0,2>: Cost 2 vuzpl <4,6,0,2>, LHS
3178070019U, // <4,0,0,3>: Cost 3 ins <4,0,0,u>, lane 3
2909946194U, // <4,0,0,4>: Cost 3 vzipl <4,0,5,1>, <0,4,1,5>
3178070019U, // <4,0,0,5>: Cost 3 ins <4,0,0,u>, lane 3
3183362049U, // <4,0,0,6>: Cost 3 ins <4,u,0,6>, lane 1
2109628417U, // <4,0,0,7>: Cost 2 ins <4,u,0,7>, lane 1
1705607324U, // <4,0,0,u>: Cost 2 vuzpl <4,6,0,2>, LHS
2570715238U, // <4,0,1,0>: Cost 3 vext1 <3,4,0,1>, LHS
2128232448U, // <4,0,1,1>: Cost 2 ins <u,0,1,1>, lane 0
1618165862U, // <4,0,1,2>: Cost 2 vext3 <1,2,3,4>, LHS
2833612902U, // <4,0,1,3>: Cost 3 vuzpr <2,4,6,0>, LHS
2570718518U, // <4,0,1,4>: Cost 3 vext1 <3,4,0,1>, RHS
2779350016U, // <4,0,1,5>: Cost 3 vuzpl <4,6,0,2>, <1,3,5,7>
3202015232U, // <4,0,1,6>: Cost 3 ins <u,0,1,6>, lane 0
2109702145U, // <4,0,1,7>: Cost 2 ins <4,u,1,7>, lane 1
1618165916U, // <4,0,1,u>: Cost 2 vext3 <1,2,3,4>, LHS
2685714598U, // <4,0,2,0>: Cost 3 vext3 <0,2,0,4>, <0,2,0,4>
2104860674U, // <4,0,2,1>: Cost 2 ins <4,0,u,1>, lane 2
2128314368U, // <4,0,2,2>: Cost 2 ins <u,0,2,2>, lane 0
2104918021U, // <4,0,2,3>: Cost 2 ins <4,0,u,u>, lane 5
2685714636U, // <4,0,2,4>: Cost 3 vext3 <0,2,0,4>, <0,2,4,6>
3044622465U, // <4,0,2,5>: Cost 3 vtrnl <4,1,2,3>, <0,1,5,3>
2833613004U, // <4,0,2,6>: Cost 3 vuzpr <2,4,6,0>, <0,2,4,6>
2109775873U, // <4,0,2,7>: Cost 2 ins <4,u,2,7>, lane 1
2104860674U, // <4,0,2,u>: Cost 2 ins <4,0,u,1>, lane 2
3202113536U, // <4,0,3,0>: Cost 3 ins <u,0,3,0>, lane 0
2104860674U, // <4,0,3,1>: Cost 2 ins <4,0,u,1>, lane 2
2128388096U, // <4,0,3,2>: Cost 2 ins <u,0,3,2>, lane 0
2779351452U, // <4,0,3,3>: Cost 3 vuzpl <4,6,0,2>, <3,3,3,3>
3178627074U, // <4,0,3,4>: Cost 3 ins <4,0,u,4>, lane 2
2839512782U, // <4,0,3,5>: Cost 3 vuzpr <3,4,5,0>, <2,3,4,5>
3178643458U, // <4,0,3,6>: Cost 3 ins <4,0,u,6>, lane 2
2109849601U, // <4,0,3,7>: Cost 2 ins <4,u,3,7>, lane 1
2104860674U, // <4,0,3,u>: Cost 2 ins <4,0,u,1>, lane 2
1705610572U, // <4,0,4,0>: Cost 2 vuzpl <4,6,0,2>, <4,6,0,2>
2104860674U, // <4,0,4,1>: Cost 2 ins <4,0,u,1>, lane 2
1974370406U, // <4,0,4,2>: Cost 2 vtrnl <4,6,4,6>, LHS
3178364931U, // <4,0,4,3>: Cost 3 ins <4,0,4,u>, lane 3
2109898753U, // <4,0,4,4>: Cost 2 ins <4,u,4,4>, lane 1
2104918021U, // <4,0,4,5>: Cost 2 ins <4,0,u,u>, lane 5
1705610550U, // <4,0,4,6>: Cost 2 vuzpl <4,6,0,2>, RHS
2109923329U, // <4,0,4,7>: Cost 2 ins <4,u,4,7>, lane 1
1705610568U, // <4,0,4,u>: Cost 2 vuzpl <4,6,0,2>, RHS
1839644672U, // <4,0,5,0>: Cost 2 vzipl RHS, <0,0,0,0>
765902950U, // <4,0,5,1>: Cost 1 vzipl RHS, LHS
1839644836U, // <4,0,5,2>: Cost 2 vzipl RHS, <0,2,0,2>
2104696835U, // <4,0,5,3>: Cost 2 ins <4,0,5,u>, lane 3
1839645010U, // <4,0,5,4>: Cost 2 vzipl RHS, <0,4,1,5>
2109980673U, // <4,0,5,5>: Cost 2 ins <4,u,5,5>, lane 1
2104696835U, // <4,0,5,6>: Cost 2 ins <4,0,5,u>, lane 3
2104696835U, // <4,0,5,7>: Cost 2 ins <4,0,5,u>, lane 3
765903517U, // <4,0,5,u>: Cost 1 vzipl RHS, LHS
1973862400U, // <4,0,6,0>: Cost 2 vtrnl RHS, <0,0,0,0>
1973862410U, // <4,0,6,1>: Cost 2 vtrnl RHS, <0,0,1,1>
900120678U, // <4,0,6,2>: Cost 1 vtrnl RHS, LHS
2104770563U, // <4,0,6,3>: Cost 2 ins <4,0,6,u>, lane 3
1973862604U, // <4,0,6,4>: Cost 2 vtrnl RHS, <0,2,4,6>
2104770563U, // <4,0,6,5>: Cost 2 ins <4,0,6,u>, lane 3
2110062593U, // <4,0,6,6>: Cost 2 ins <4,u,6,6>, lane 1
1036328961U, // <4,0,6,7>: Cost 1 ins RHS, lane 1
900120732U, // <4,0,6,u>: Cost 1 vtrnl RHS, LHS
3202408448U, // <4,0,7,0>: Cost 3 ins <u,0,7,0>, lane 0
2104860674U, // <4,0,7,1>: Cost 2 ins <4,0,u,1>, lane 2
2104868866U, // <4,0,7,2>: Cost 2 ins <4,0,u,2>, lane 2
3114049557U, // <4,0,7,3>: Cost 3 vtrnr <4,4,6,7>, <0,0,2,3>
3178627074U, // <4,0,7,4>: Cost 3 ins <4,0,u,4>, lane 2
2779354470U, // <4,0,7,5>: Cost 3 vuzpl <4,6,0,2>, <7,4,5,6>
2779354473U, // <4,0,7,6>: Cost 3 vuzpl <4,6,0,2>, <7,4,6,0>
2110144513U, // <4,0,7,7>: Cost 2 ins <4,u,7,7>, lane 1
2104860674U, // <4,0,7,u>: Cost 2 ins <4,0,u,1>, lane 2
1974009856U, // <4,0,u,0>: Cost 2 vtrnl RHS, <0,0,0,0>
767893606U, // <4,0,u,1>: Cost 1 vzipl RHS, LHS
900268134U, // <4,0,u,2>: Cost 1 vtrnl RHS, LHS
2104918021U, // <4,0,u,3>: Cost 2 ins <4,0,u,u>, lane 5
1974010060U, // <4,0,u,4>: Cost 2 vtrnl RHS, <0,2,4,6>
2104918021U, // <4,0,u,5>: Cost 2 ins <4,0,u,u>, lane 5
1705613466U, // <4,0,u,6>: Cost 2 vuzpl <4,6,0,2>, RHS
1036328961U, // <4,0,u,7>: Cost 1 ins RHS, lane 1
900268188U, // <4,0,u,u>: Cost 1 vtrnl RHS, LHS
2600640614U, // <4,1,0,0>: Cost 3 vext1 <u,4,1,0>, LHS
2128822272U, // <4,1,0,1>: Cost 2 ins <u,1,0,1>, lane 0
2109587457U, // <4,1,0,2>: Cost 2 ins <4,u,0,2>, lane 1
2128838656U, // <4,1,0,3>: Cost 2 ins <u,1,0,3>, lane 0
2622857554U, // <4,1,0,4>: Cost 3 vext2 <0,u,4,1>, <0,4,1,5>
3047785472U, // <4,1,0,5>: Cost 3 vtrnl <4,6,0,2>, <1,3,5,7>
3183362049U, // <4,1,0,6>: Cost 3 ins <4,u,0,6>, lane 1
2109628417U, // <4,1,0,7>: Cost 2 ins <4,u,0,7>, lane 1
2109587457U, // <4,1,0,u>: Cost 2 ins <4,u,0,2>, lane 1
3202629632U, // <4,1,1,0>: Cost 3 ins <u,1,1,0>, lane 0
2128896000U, // <4,1,1,1>: Cost 2 ins <u,1,1,1>, lane 0
2631484314U, // <4,1,1,2>: Cost 3 vext2 <2,3,4,1>, <1,2,3,4>
2128912384U, // <4,1,1,3>: Cost 2 ins <u,1,1,3>, lane 0
3202662400U, // <4,1,1,4>: Cost 3 ins <u,1,1,4>, lane 0
2958401874U, // <4,1,1,5>: Cost 3 vzipr <0,u,4,1>, <0,4,1,5>
2778801323U, // <4,1,1,6>: Cost 3 vuzpl <4,5,1,7>, <1,5,6,7>
2109702145U, // <4,1,1,7>: Cost 2 ins <4,u,1,7>, lane 1
2128896000U, // <4,1,1,u>: Cost 2 ins <u,1,1,1>, lane 0
2128961536U, // <4,1,2,0>: Cost 2 ins <u,1,2,0>, lane 0
2128969728U, // <4,1,2,1>: Cost 2 ins <u,1,2,1>, lane 0
2128977920U, // <4,1,2,2>: Cost 2 ins <u,1,2,2>, lane 0
1055244288U, // <4,1,2,3>: Cost 1 ins LHS, lane 0
2128994304U, // <4,1,2,4>: Cost 2 ins <u,1,2,4>, lane 0
2129002496U, // <4,1,2,5>: Cost 2 ins <u,1,2,5>, lane 0
2129010688U, // <4,1,2,6>: Cost 2 ins <u,1,2,6>, lane 0
2129018880U, // <4,1,2,7>: Cost 2 ins <u,1,2,7>, lane 0
1055244288U, // <4,1,2,u>: Cost 1 ins LHS, lane 0
2564833382U, // <4,1,3,0>: Cost 3 vext1 <2,4,1,3>, LHS
2691908568U, // <4,1,3,1>: Cost 3 vext3 <1,2,3,4>, <1,3,1,3>
2691908578U, // <4,1,3,2>: Cost 3 vext3 <1,2,3,4>, <1,3,2,4>
2129059840U, // <4,1,3,3>: Cost 2 ins <u,1,3,3>, lane 0
2564836662U, // <4,1,3,4>: Cost 3 vext1 <2,4,1,3>, RHS
2691908608U, // <4,1,3,5>: Cost 3 vext3 <1,2,3,4>, <1,3,5,7>
2588725862U, // <4,1,3,6>: Cost 3 vext1 <6,4,1,3>, <6,4,1,3>
2109849601U, // <4,1,3,7>: Cost 2 ins <4,u,3,7>, lane 1
2129059840U, // <4,1,3,u>: Cost 2 ins <u,1,3,3>, lane 0
2600673382U, // <4,1,4,0>: Cost 3 vext1 <u,4,1,4>, LHS
1705061641U, // <4,1,4,1>: Cost 2 vuzpl <4,5,1,7>, <4,5,1,7>
2912641946U, // <4,1,4,2>: Cost 3 vzipl <4,4,5,6>, <1,2,3,4>
2040135782U, // <4,1,4,3>: Cost 2 vtrnr <4,4,4,4>, LHS
2109898753U, // <4,1,4,4>: Cost 2 ins <4,u,4,4>, lane 1
2129149952U, // <4,1,4,5>: Cost 2 ins <u,1,4,5>, lane 0
2109915137U, // <4,1,4,6>: Cost 2 ins <4,u,4,6>, lane 1
2109923329U, // <4,1,4,7>: Cost 2 ins <4,u,4,7>, lane 1
2109915137U, // <4,1,4,u>: Cost 2 ins <4,u,4,6>, lane 1
1479164242U, // <4,1,5,0>: Cost 2 vext1 <0,4,1,5>, <0,4,1,5>
1839645492U, // <4,1,5,1>: Cost 2 vzipl RHS, <1,1,1,1>
1839645590U, // <4,1,5,2>: Cost 2 vzipl RHS, <1,2,3,0>
2016034918U, // <4,1,5,3>: Cost 2 vtrnr <0,4,1,5>, LHS
1479167286U, // <4,1,5,4>: Cost 2 vext1 <0,4,1,5>, RHS
1839645840U, // <4,1,5,5>: Cost 2 vzipl RHS, <1,5,3,7>
3089776763U, // <4,1,5,6>: Cost 3 vtrnr <0,4,1,5>, <0,1,4,6>
2109997057U, // <4,1,5,7>: Cost 2 ins <4,u,5,7>, lane 1
1479169838U, // <4,1,5,u>: Cost 2 vext1 <0,4,1,5>, LHS
2110013441U, // <4,1,6,0>: Cost 2 ins <4,u,6,0>, lane 1
1973863220U, // <4,1,6,1>: Cost 2 vtrnl RHS, <1,1,1,1>
2110029825U, // <4,1,6,2>: Cost 2 ins <4,u,6,2>, lane 1
2016116838U, // <4,1,6,3>: Cost 2 vtrnr <0,4,2,6>, LHS
2110046209U, // <4,1,6,4>: Cost 2 ins <4,u,6,4>, lane 1
1973863424U, // <4,1,6,5>: Cost 2 vtrnl RHS, <1,3,5,7>
2110062593U, // <4,1,6,6>: Cost 2 ins <4,u,6,6>, lane 1
1036328961U, // <4,1,6,7>: Cost 1 ins RHS, lane 1
1036328961U, // <4,1,6,u>: Cost 1 ins RHS, lane 1
2659357716U, // <4,1,7,0>: Cost 3 vext2 <7,0,4,1>, <7,0,4,1>
3203080192U, // <4,1,7,1>: Cost 3 ins <u,1,7,1>, lane 0
3203088384U, // <4,1,7,2>: Cost 3 ins <u,1,7,2>, lane 0
2129354752U, // <4,1,7,3>: Cost 2 ins <u,1,7,3>, lane 0
2664666470U, // <4,1,7,4>: Cost 3 vext2 <7,u,4,1>, <7,4,5,6>
3203112960U, // <4,1,7,5>: Cost 3 ins <u,1,7,5>, lane 0
3114049641U, // <4,1,7,6>: Cost 3 vtrnr <4,4,6,7>, <0,1,2,6>
2110144513U, // <4,1,7,7>: Cost 2 ins <4,u,7,7>, lane 1
2129354752U, // <4,1,7,u>: Cost 2 ins <u,1,7,3>, lane 0
1479188821U, // <4,1,u,0>: Cost 2 vext1 <0,4,1,u>, <0,4,1,u>
1974010676U, // <4,1,u,1>: Cost 2 vtrnl RHS, <1,1,1,1>
1841636246U, // <4,1,u,2>: Cost 2 vzipl RHS, <1,2,3,0>
1055244288U, // <4,1,u,3>: Cost 1 ins LHS, lane 0
1479191862U, // <4,1,u,4>: Cost 2 vext1 <0,4,1,u>, RHS
1974010880U, // <4,1,u,5>: Cost 2 vtrnl RHS, <1,3,5,7>
2109915137U, // <4,1,u,6>: Cost 2 ins <4,u,4,6>, lane 1
1036328961U, // <4,1,u,7>: Cost 1 ins RHS, lane 1
1055244288U, // <4,1,u,u>: Cost 1 ins LHS, lane 0
3047786150U, // <4,2,0,0>: Cost 3 vtrnl <4,6,0,2>, <2,3,0,1>
2109579265U, // <4,2,0,1>: Cost 2 ins <4,u,0,1>, lane 1
2129494016U, // <4,2,0,2>: Cost 2 ins <u,2,0,2>, lane 0
2967019622U, // <4,2,0,3>: Cost 3 vzipr <2,3,4,0>, LHS
2635473244U, // <4,2,0,4>: Cost 3 vext2 <3,0,4,2>, <0,4,2,6>
2909947747U, // <4,2,0,5>: Cost 3 vzipl <4,0,5,1>, <2,5,3,1>
2696775148U, // <4,2,0,6>: Cost 3 vext3 <2,0,6,4>, <2,0,6,4>
2109628417U, // <4,2,0,7>: Cost 2 ins <4,u,0,7>, lane 1
2129494016U, // <4,2,0,u>: Cost 2 ins <u,2,0,2>, lane 0
3203293184U, // <4,2,1,0>: Cost 3 ins <u,2,1,0>, lane 0
3203301376U, // <4,2,1,1>: Cost 3 ins <u,2,1,1>, lane 0
3203309568U, // <4,2,1,2>: Cost 3 ins <u,2,1,2>, lane 0
2821242982U, // <4,2,1,3>: Cost 3 vuzpr <0,4,0,2>, LHS
2691909162U, // <4,2,1,4>: Cost 3 vext3 <1,2,3,4>, <2,1,4,3>
3203334144U, // <4,2,1,5>: Cost 3 ins <u,2,1,5>, lane 0
3203342336U, // <4,2,1,6>: Cost 3 ins <u,2,1,6>, lane 0
2109702145U, // <4,2,1,7>: Cost 2 ins <4,u,1,7>, lane 1
2109702145U, // <4,2,1,u>: Cost 2 ins <4,u,1,7>, lane 1
2229208824U, // <4,2,2,0>: Cost 3 vrev <2,4,0,2>
2911397400U, // <4,2,2,1>: Cost 3 vzipl <4,2,6,7>, <2,1,2,3>
2129641472U, // <4,2,2,2>: Cost 2 ins <u,2,2,2>, lane 0
2129649664U, // <4,2,2,3>: Cost 2 ins <u,2,2,3>, lane 0
2697954940U, // <4,2,2,4>: Cost 3 vext3 <2,2,4,4>, <2,2,4,4>
2911397764U, // <4,2,2,5>: Cost 3 vzipl <4,2,6,7>, <2,5,6,7>
2821243084U, // <4,2,2,6>: Cost 3 vuzpr <0,4,0,2>, <0,2,4,6>
2109775873U, // <4,2,2,7>: Cost 2 ins <4,u,2,7>, lane 1
2129641472U, // <4,2,2,u>: Cost 2 ins <u,2,2,2>, lane 0
2129698816U, // <4,2,3,0>: Cost 2 ins <u,2,3,0>, lane 0
2229290754U, // <4,2,3,1>: Cost 3 vrev <2,4,1,3>
3203457024U, // <4,2,3,2>: Cost 3 ins <u,2,3,2>, lane 0
2129723392U, // <4,2,3,3>: Cost 2 ins <u,2,3,3>, lane 0
2129731584U, // <4,2,3,4>: Cost 2 ins <u,2,3,4>, lane 0
2833188558U, // <4,2,3,5>: Cost 3 vuzpr <2,4,0,2>, <2,3,4,5>
3203489792U, // <4,2,3,6>: Cost 3 ins <u,2,3,6>, lane 0
2109849601U, // <4,2,3,7>: Cost 2 ins <4,u,3,7>, lane 1
2129698816U, // <4,2,3,u>: Cost 2 ins <u,2,3,0>, lane 0
2564915302U, // <4,2,4,0>: Cost 3 vext1 <2,4,2,4>, LHS
2564916122U, // <4,2,4,1>: Cost 3 vext1 <2,4,2,4>, <1,2,3,4>
1702448074U, // <4,2,4,2>: Cost 2 vuzpl <4,1,2,3>, <4,1,2,3>
1905918054U, // <4,2,4,3>: Cost 2 vzipr <4,4,4,4>, LHS
2109898753U, // <4,2,4,4>: Cost 2 ins <4,u,4,4>, lane 1
2109906945U, // <4,2,4,5>: Cost 2 ins <4,u,4,5>, lane 1
2129821696U, // <4,2,4,6>: Cost 2 ins <u,2,4,6>, lane 0
2109923329U, // <4,2,4,7>: Cost 2 ins <4,u,4,7>, lane 1
2129821696U, // <4,2,4,u>: Cost 2 ins <u,2,4,6>, lane 0
3089777558U, // <4,2,5,0>: Cost 3 vtrnr <0,4,1,5>, <1,2,3,0>
2109947905U, // <4,2,5,1>: Cost 2 ins <4,u,5,1>, lane 1
1839646312U, // <4,2,5,2>: Cost 2 vzipl RHS, <2,2,2,2>
1893318758U, // <4,2,5,3>: Cost 2 vzipr <2,3,4,5>, LHS
3089777562U, // <4,2,5,4>: Cost 3 vtrnr <0,4,1,5>, <1,2,3,4>
2109980673U, // <4,2,5,5>: Cost 2 ins <4,u,5,5>, lane 1
1839646650U, // <4,2,5,6>: Cost 2 vzipl RHS, <2,6,3,7>
2109997057U, // <4,2,5,7>: Cost 2 ins <4,u,5,7>, lane 1
1893318763U, // <4,2,5,u>: Cost 2 vzipr <2,3,4,5>, LHS
1479246172U, // <4,2,6,0>: Cost 2 vext1 <0,4,2,6>, <0,4,2,6>
2110021633U, // <4,2,6,1>: Cost 2 ins <4,u,6,1>, lane 1
1973864040U, // <4,2,6,2>: Cost 2 vtrnl RHS, <2,2,2,2>
1880719462U, // <4,2,6,3>: Cost 2 vzipr <0,2,4,6>, LHS
1479249206U, // <4,2,6,4>: Cost 2 vext1 <0,4,2,6>, RHS
2110054401U, // <4,2,6,5>: Cost 2 ins <4,u,6,5>, lane 1
2110062593U, // <4,2,6,6>: Cost 2 ins <4,u,6,6>, lane 1
1036328961U, // <4,2,6,7>: Cost 1 ins RHS, lane 1
1036328961U, // <4,2,6,u>: Cost 1 ins RHS, lane 1
2659365909U, // <4,2,7,0>: Cost 3 vext2 <7,0,4,2>, <7,0,4,2>
3203743744U, // <4,2,7,1>: Cost 3 ins <u,2,7,1>, lane 0
3203751936U, // <4,2,7,2>: Cost 3 ins <u,2,7,2>, lane 0
2130018304U, // <4,2,7,3>: Cost 2 ins <u,2,7,3>, lane 0
3102032794U, // <4,2,7,4>: Cost 3 vtrnr <2,4,5,7>, <1,2,3,4>
2229618474U, // <4,2,7,5>: Cost 3 vrev <2,4,5,7>
3203784704U, // <4,2,7,6>: Cost 3 ins <u,2,7,6>, lane 0
2110144513U, // <4,2,7,7>: Cost 2 ins <4,u,7,7>, lane 1
2130018304U, // <4,2,7,u>: Cost 2 ins <u,2,7,3>, lane 0
1479262558U, // <4,2,u,0>: Cost 2 vext1 <0,4,2,u>, <0,4,2,u>
2109947905U, // <4,2,u,1>: Cost 2 ins <4,u,5,1>, lane 1
1974011496U, // <4,2,u,2>: Cost 2 vtrnl RHS, <2,2,2,2>
1880735846U, // <4,2,u,3>: Cost 2 vzipr <0,2,4,u>, LHS
1479265590U, // <4,2,u,4>: Cost 2 vext1 <0,4,2,u>, RHS
2109980673U, // <4,2,u,5>: Cost 2 ins <4,u,5,5>, lane 1
1841637306U, // <4,2,u,6>: Cost 2 vzipl RHS, <2,6,3,7>
1036328961U, // <4,2,u,7>: Cost 1 ins RHS, lane 1
1036328961U, // <4,2,u,u>: Cost 1 ins RHS, lane 1
3203883008U, // <4,3,0,0>: Cost 3 ins <u,3,0,0>, lane 0
2130149376U, // <4,3,0,1>: Cost 2 ins <u,3,0,1>, lane 0
2109587457U, // <4,3,0,2>: Cost 2 ins <4,u,0,2>, lane 1
3047786908U, // <4,3,0,3>: Cost 3 vtrnl <4,6,0,2>, <3,3,3,3>
2967020442U, // <4,3,0,4>: Cost 3 vzipr <2,3,4,0>, <1,2,3,4>
2235533820U, // <4,3,0,5>: Cost 3 vrev <3,4,5,0>
3183362049U, // <4,3,0,6>: Cost 3 ins <4,u,0,6>, lane 1
2109628417U, // <4,3,0,7>: Cost 2 ins <4,u,0,7>, lane 1
2130149376U, // <4,3,0,u>: Cost 2 ins <u,3,0,1>, lane 0
2235173328U, // <4,3,1,0>: Cost 3 vrev <3,4,0,1>
3203964928U, // <4,3,1,1>: Cost 3 ins <u,3,1,1>, lane 0
2630173594U, // <4,3,1,2>: Cost 3 vext2 <2,1,4,3>, <1,2,3,4>
2130239488U, // <4,3,1,3>: Cost 2 ins <u,3,1,3>, lane 0
2967028634U, // <4,3,1,4>: Cost 3 vzipr <2,3,4,1>, <1,2,3,4>
3203997696U, // <4,3,1,5>: Cost 3 ins <u,3,1,5>, lane 0
2821398633U, // <4,3,1,6>: Cost 3 vuzpr <0,4,2,3>, <0,1,2,6>
2109702145U, // <4,3,1,7>: Cost 2 ins <4,u,1,7>, lane 1
2130239488U, // <4,3,1,u>: Cost 2 ins <u,3,1,3>, lane 0
3204030464U, // <4,3,2,0>: Cost 3 ins <u,3,2,0>, lane 0
2630174250U, // <4,3,2,1>: Cost 3 vext2 <2,1,4,3>, <2,1,4,3>
3204046848U, // <4,3,2,2>: Cost 3 ins <u,3,2,2>, lane 0
2130313216U, // <4,3,2,3>: Cost 2 ins <u,3,2,3>, lane 0
2833269658U, // <4,3,2,4>: Cost 3 vuzpr <2,4,1,3>, <1,2,3,4>
3101624014U, // <4,3,2,5>: Cost 3 vtrnr <2,4,0,2>, <2,3,4,5>
3204079616U, // <4,3,2,6>: Cost 3 ins <u,3,2,6>, lane 0
2109775873U, // <4,3,2,7>: Cost 2 ins <4,u,2,7>, lane 1
2130313216U, // <4,3,2,u>: Cost 2 ins <u,3,2,3>, lane 0
3204104192U, // <4,3,3,0>: Cost 3 ins <u,3,3,0>, lane 0
2779564182U, // <4,3,3,1>: Cost 3 vuzpl <4,6,3,1>, <3,0,1,2>
2636810580U, // <4,3,3,2>: Cost 3 vext2 <3,2,4,3>, <3,2,4,3>
2130386944U, // <4,3,3,3>: Cost 2 ins <u,3,3,3>, lane 0
2965717914U, // <4,3,3,4>: Cost 3 vzipr <2,1,4,3>, <1,2,3,4>
2779597314U, // <4,3,3,5>: Cost 3 vuzpl <4,6,3,5>, <3,4,5,6>
2778950237U, // <4,3,3,6>: Cost 3 vuzpl <4,5,3,7>, <3,5,6,7>
2109849601U, // <4,3,3,7>: Cost 2 ins <4,u,3,7>, lane 1
2130386944U, // <4,3,3,u>: Cost 2 ins <u,3,3,3>, lane 0
2691910096U, // <4,3,4,0>: Cost 3 vext3 <1,2,3,4>, <3,4,0,1>
2691910106U, // <4,3,4,1>: Cost 3 vext3 <1,2,3,4>, <3,4,1,2>
3183624193U, // <4,3,4,2>: Cost 3 ins <4,u,4,2>, lane 1
1747657049U, // <4,3,4,3>: Cost 2 vuzpr <0,4,2,3>, <0,4,2,3>
2109898753U, // <4,3,4,4>: Cost 2 ins <4,u,4,4>, lane 1
2130477056U, // <4,3,4,5>: Cost 2 ins <u,3,4,5>, lane 0
2109915137U, // <4,3,4,6>: Cost 2 ins <4,u,4,6>, lane 1
2109923329U, // <4,3,4,7>: Cost 2 ins <4,u,4,7>, lane 1
2130477056U, // <4,3,4,u>: Cost 2 ins <u,3,4,5>, lane 0
1839646870U, // <4,3,5,0>: Cost 2 vzipl RHS, <3,0,1,2>
2109947905U, // <4,3,5,1>: Cost 2 ins <4,u,5,1>, lane 1
2967061238U, // <4,3,5,2>: Cost 3 vzipr <2,3,4,5>, <1,0,3,2>
1839647132U, // <4,3,5,3>: Cost 2 vzipl RHS, <3,3,3,3>
1839647234U, // <4,3,5,4>: Cost 2 vzipl RHS, <3,4,5,6>
2109980673U, // <4,3,5,5>: Cost 2 ins <4,u,5,5>, lane 1
2913389176U, // <4,3,5,6>: Cost 3 vzipl RHS, <3,6,0,7>
2130567168U, // <4,3,5,7>: Cost 2 ins <u,3,5,7>, lane 0
1839647518U, // <4,3,5,u>: Cost 2 vzipl RHS, <3,u,1,2>
2110013441U, // <4,3,6,0>: Cost 2 ins <4,u,6,0>, lane 1
1973864598U, // <4,3,6,1>: Cost 2 vtrnl RHS, <3,0,1,2>
2110029825U, // <4,3,6,2>: Cost 2 ins <4,u,6,2>, lane 1
1973864860U, // <4,3,6,3>: Cost 2 vtrnl RHS, <3,3,3,3>
2110046209U, // <4,3,6,4>: Cost 2 ins <4,u,6,4>, lane 1
1161841154U, // <4,3,6,5>: Cost 2 vrev <3,4,5,6>
2110062593U, // <4,3,6,6>: Cost 2 ins <4,u,6,6>, lane 1
1036328961U, // <4,3,6,7>: Cost 1 ins RHS, lane 1
1036328961U, // <4,3,6,u>: Cost 1 ins RHS, lane 1
3204399104U, // <4,3,7,0>: Cost 3 ins <u,3,7,0>, lane 0
3204407296U, // <4,3,7,1>: Cost 3 ins <u,3,7,1>, lane 0
2660701368U, // <4,3,7,2>: Cost 3 vext2 <7,2,4,3>, <7,2,4,3>
3204423680U, // <4,3,7,3>: Cost 3 ins <u,3,7,3>, lane 0
2968404890U, // <4,3,7,4>: Cost 3 vzipr <2,5,4,7>, <1,2,3,4>
3204440064U, // <4,3,7,5>: Cost 3 ins <u,3,7,5>, lane 0
2235664908U, // <4,3,7,6>: Cost 3 vrev <3,4,6,7>
2110144513U, // <4,3,7,7>: Cost 2 ins <4,u,7,7>, lane 1
2110144513U, // <4,3,7,u>: Cost 2 ins <4,u,7,7>, lane 1
1841637526U, // <4,3,u,0>: Cost 2 vzipl RHS, <3,0,1,2>
1974012054U, // <4,3,u,1>: Cost 2 vtrnl RHS, <3,0,1,2>
2109587457U, // <4,3,u,2>: Cost 2 ins <4,u,0,2>, lane 1
1974012316U, // <4,3,u,3>: Cost 2 vtrnl RHS, <3,3,3,3>
1841637890U, // <4,3,u,4>: Cost 2 vzipl RHS, <3,4,5,6>
1161857540U, // <4,3,u,5>: Cost 2 vrev <3,4,5,u>
2109915137U, // <4,3,u,6>: Cost 2 ins <4,u,4,6>, lane 1
1036328961U, // <4,3,u,7>: Cost 1 ins RHS, lane 1
1036328961U, // <4,3,u,u>: Cost 1 ins RHS, lane 1
1974046028U, // <4,4,0,0>: Cost 2 vtrnl <4,6,0,2>, <4,6,0,2>
2107572229U, // <4,4,0,1>: Cost 2 ins <4,4,u,u>, lane 5
1705934950U, // <4,4,0,2>: Cost 2 vuzpl <4,6,4,6>, LHS
3180724227U, // <4,4,0,3>: Cost 3 ins <4,4,0,u>, lane 3
2107539458U, // <4,4,0,4>: Cost 2 ins <4,4,u,4>, lane 2
2107547650U, // <4,4,0,5>: Cost 2 ins <4,4,u,5>, lane 2
1974046006U, // <4,4,0,6>: Cost 2 vtrnl <4,6,0,2>, RHS
2109628417U, // <4,4,0,7>: Cost 2 ins <4,u,0,7>, lane 1
1974046024U, // <4,4,0,u>: Cost 2 vtrnl <4,6,0,2>, RHS
3204620288U, // <4,4,1,0>: Cost 3 ins <u,4,1,0>, lane 0
1836665802U, // <4,4,1,1>: Cost 2 vzipl <4,1,2,3>, <4,1,2,3>
2691910602U, // <4,4,1,2>: Cost 3 vext3 <1,2,3,4>, <4,1,2,3>
1771700326U, // <4,4,1,3>: Cost 2 vuzpr <4,4,4,4>, LHS
2107539458U, // <4,4,1,4>: Cost 2 ins <4,4,u,4>, lane 2
2130919424U, // <4,4,1,5>: Cost 2 ins <u,4,1,5>, lane 0
2107555842U, // <4,4,1,6>: Cost 2 ins <4,4,u,6>, lane 2
2109702145U, // <4,4,1,7>: Cost 2 ins <4,u,1,7>, lane 1
2130919424U, // <4,4,1,u>: Cost 2 ins <u,4,1,5>, lane 0
2779678374U, // <4,4,2,0>: Cost 3 vuzpl <4,6,4,6>, <2,3,0,1>
3044625673U, // <4,4,2,1>: Cost 3 vtrnl <4,1,2,3>, <4,5,1,7>
1970883530U, // <4,4,2,2>: Cost 2 vtrnl <4,1,2,3>, <4,1,2,3>
2107572229U, // <4,4,2,3>: Cost 2 ins <4,4,u,u>, lane 5
2107539458U, // <4,4,2,4>: Cost 2 ins <4,4,u,4>, lane 2
2107547650U, // <4,4,2,5>: Cost 2 ins <4,4,u,5>, lane 2
2131001344U, // <4,4,2,6>: Cost 2 ins <u,4,2,6>, lane 0
2109775873U, // <4,4,2,7>: Cost 2 ins <4,u,2,7>, lane 1
2107572229U, // <4,4,2,u>: Cost 2 ins <4,4,u,u>, lane 5
3181248514U, // <4,4,3,0>: Cost 3 ins <4,4,u,0>, lane 2
2779678870U, // <4,4,3,1>: Cost 3 vuzpl <4,6,4,6>, <3,0,1,2>
3181264898U, // <4,4,3,2>: Cost 3 ins <4,4,u,2>, lane 2
1880031352U, // <4,4,3,3>: Cost 2 vzipr <0,1,4,3>, <0,1,4,3>
2107539458U, // <4,4,3,4>: Cost 2 ins <4,4,u,4>, lane 2
2107547650U, // <4,4,3,5>: Cost 2 ins <4,4,u,5>, lane 2
2107555842U, // <4,4,3,6>: Cost 2 ins <4,4,u,6>, lane 2
2109849601U, // <4,4,3,7>: Cost 2 ins <4,u,3,7>, lane 1
2107547650U, // <4,4,3,u>: Cost 2 ins <4,4,u,5>, lane 2
1503264870U, // <4,4,4,0>: Cost 2 vext1 <4,4,4,4>, LHS
2107277315U, // <4,4,4,1>: Cost 2 ins <4,4,4,u>, lane 3
2107277315U, // <4,4,4,2>: Cost 2 ins <4,4,4,u>, lane 3
2107277315U, // <4,4,4,3>: Cost 2 ins <4,4,4,u>, lane 3
161926454U, // <4,4,4,4>: Cost 1 vdup0 RHS
2107547650U, // <4,4,4,5>: Cost 2 ins <4,4,u,5>, lane 2
1705938230U, // <4,4,4,6>: Cost 2 vuzpl <4,6,4,6>, RHS
2109923329U, // <4,4,4,7>: Cost 2 ins <4,u,4,7>, lane 1
161926454U, // <4,4,4,u>: Cost 1 vdup0 RHS
1839647634U, // <4,4,5,0>: Cost 2 vzipl RHS, <4,0,5,1>
2109947905U, // <4,4,5,1>: Cost 2 ins <4,u,5,1>, lane 1
2107351043U, // <4,4,5,2>: Cost 2 ins <4,4,5,u>, lane 3
2107351043U, // <4,4,5,3>: Cost 2 ins <4,4,5,u>, lane 3
1839647952U, // <4,4,5,4>: Cost 2 vzipl RHS, <4,4,4,4>
765906230U, // <4,4,5,5>: Cost 1 vzipl RHS, RHS
1618169142U, // <4,4,5,6>: Cost 2 vext3 <1,2,3,4>, RHS
2107351043U, // <4,4,5,7>: Cost 2 ins <4,4,5,u>, lane 3
765906473U, // <4,4,5,u>: Cost 1 vzipl RHS, RHS
1973865804U, // <4,4,6,0>: Cost 2 vtrnl RHS, <4,6,0,2>
2107424771U, // <4,4,6,1>: Cost 2 ins <4,4,6,u>, lane 3
2110029825U, // <4,4,6,2>: Cost 2 ins <4,u,6,2>, lane 1
2107424771U, // <4,4,6,3>: Cost 2 ins <4,4,6,u>, lane 3
1973865680U, // <4,4,6,4>: Cost 2 vtrnl RHS, <4,4,4,4>
1973865362U, // <4,4,6,5>: Cost 2 vtrnl RHS, <4,0,5,1>
900123958U, // <4,4,6,6>: Cost 1 vtrnl RHS, RHS
1036328961U, // <4,4,6,7>: Cost 1 ins RHS, lane 1
900123976U, // <4,4,6,u>: Cost 1 vtrnl RHS, RHS
3181248514U, // <4,4,7,0>: Cost 3 ins <4,4,u,0>, lane 2
2779681786U, // <4,4,7,1>: Cost 3 vuzpl <4,6,4,6>, <7,0,1,2>
3181264898U, // <4,4,7,2>: Cost 3 ins <4,4,u,2>, lane 2
2845442636U, // <4,4,7,3>: Cost 3 vuzpr <4,4,4,4>, <0,7,2,3>
2107539458U, // <4,4,7,4>: Cost 2 ins <4,4,u,4>, lane 2
2107547650U, // <4,4,7,5>: Cost 2 ins <4,4,u,5>, lane 2
2131369984U, // <4,4,7,6>: Cost 2 ins <u,4,7,6>, lane 0
2040311013U, // <4,4,7,7>: Cost 2 vtrnr <4,4,6,7>, <4,4,6,7>
2107547650U, // <4,4,7,u>: Cost 2 ins <4,4,u,5>, lane 2
1974013260U, // <4,4,u,0>: Cost 2 vtrnl RHS, <4,6,0,2>
2107572229U, // <4,4,u,1>: Cost 2 ins <4,4,u,u>, lane 5
1705940782U, // <4,4,u,2>: Cost 2 vuzpl <4,6,4,6>, LHS
2107572229U, // <4,4,u,3>: Cost 2 ins <4,4,u,u>, lane 5
161926454U, // <4,4,u,4>: Cost 1 vdup0 RHS
767896886U, // <4,4,u,5>: Cost 1 vzipl RHS, RHS
900271414U, // <4,4,u,6>: Cost 1 vtrnl RHS, RHS
1036328961U, // <4,4,u,7>: Cost 1 ins RHS, lane 1
900271432U, // <4,4,u,u>: Cost 1 vtrnl RHS, RHS
2108170242U, // <4,5,0,0>: Cost 2 ins <4,5,u,0>, lane 2
1034493957U, // <4,5,0,1>: Cost 1 ins RHS, lane 5
1707294822U, // <4,5,0,2>: Cost 2 vuzpl <4,u,5,1>, LHS
2108194818U, // <4,5,0,3>: Cost 2 ins <4,5,u,3>, lane 2
2108203010U, // <4,5,0,4>: Cost 2 ins <4,5,u,4>, lane 2
2108211202U, // <4,5,0,5>: Cost 2 ins <4,5,u,5>, lane 2
2108219394U, // <4,5,0,6>: Cost 2 ins <4,5,u,6>, lane 2
1034485762U, // <4,5,0,7>: Cost 1 ins RHS, lane 2
1034493957U, // <4,5,0,u>: Cost 1 ins RHS, lane 5
2108170242U, // <4,5,1,0>: Cost 2 ins <4,5,u,0>, lane 2
2133540868U, // <4,5,1,1>: Cost 2 ins <u,u,1,1>, lane 4
2133549060U, // <4,5,1,2>: Cost 2 ins <u,u,1,2>, lane 4
1747599462U, // <4,5,1,3>: Cost 2 vuzpr <0,4,1,5>, LHS
2108203010U, // <4,5,1,4>: Cost 2 ins <4,5,u,4>, lane 2
2133573636U, // <4,5,1,5>: Cost 2 ins <u,u,1,5>, lane 4
2108219394U, // <4,5,1,6>: Cost 2 ins <4,5,u,6>, lane 2
1034485762U, // <4,5,1,7>: Cost 1 ins RHS, lane 2
1034485762U, // <4,5,1,u>: Cost 1 ins RHS, lane 2
2108170242U, // <4,5,2,0>: Cost 2 ins <4,5,u,0>, lane 2
2108178434U, // <4,5,2,1>: Cost 2 ins <4,5,u,1>, lane 2
2133622788U, // <4,5,2,2>: Cost 2 ins <u,u,2,2>, lane 4
1059889156U, // <4,5,2,3>: Cost 1 ins LHS, lane 4
2108203010U, // <4,5,2,4>: Cost 2 ins <4,5,u,4>, lane 2
2108211202U, // <4,5,2,5>: Cost 2 ins <4,5,u,5>, lane 2
2133655556U, // <4,5,2,6>: Cost 2 ins <u,u,2,6>, lane 4
1034485762U, // <4,5,2,7>: Cost 1 ins RHS, lane 2
1059889156U, // <4,5,2,u>: Cost 1 ins LHS, lane 4
2133680132U, // <4,5,3,0>: Cost 2 ins <u,u,3,0>, lane 4
2108178434U, // <4,5,3,1>: Cost 2 ins <4,5,u,1>, lane 2
2133696516U, // <4,5,3,2>: Cost 2 ins <u,u,3,2>, lane 4
2133704708U, // <4,5,3,3>: Cost 2 ins <u,u,3,3>, lane 4
2133712900U, // <4,5,3,4>: Cost 2 ins <u,u,3,4>, lane 4
2108211202U, // <4,5,3,5>: Cost 2 ins <4,5,u,5>, lane 2
2108219394U, // <4,5,3,6>: Cost 2 ins <4,5,u,6>, lane 2
1034485762U, // <4,5,3,7>: Cost 1 ins RHS, lane 2
1034485762U, // <4,5,3,u>: Cost 1 ins RHS, lane 2
2108170242U, // <4,5,4,0>: Cost 2 ins <4,5,u,0>, lane 2
2108178434U, // <4,5,4,1>: Cost 2 ins <4,5,u,1>, lane 2
2108186626U, // <4,5,4,2>: Cost 2 ins <4,5,u,2>, lane 2
2108194818U, // <4,5,4,3>: Cost 2 ins <4,5,u,3>, lane 2
2109898753U, // <4,5,4,4>: Cost 2 ins <4,u,4,4>, lane 1
1034493957U, // <4,5,4,5>: Cost 1 ins RHS, lane 5
1707298102U, // <4,5,4,6>: Cost 2 vuzpl <4,u,5,1>, RHS
1034485762U, // <4,5,4,7>: Cost 1 ins RHS, lane 2
1034493957U, // <4,5,4,u>: Cost 1 ins RHS, lane 5
1503346790U, // <4,5,5,0>: Cost 2 vext1 <4,4,5,5>, LHS
1839656656U, // <4,5,5,1>: Cost 2 vzipl RHS, <5,1,7,3>
2108186626U, // <4,5,5,2>: Cost 2 ins <4,5,u,2>, lane 2
2108194818U, // <4,5,5,3>: Cost 2 ins <4,5,u,3>, lane 2
1839648710U, // <4,5,5,4>: Cost 2 vzipl RHS, <5,4,7,6>
1839648772U, // <4,5,5,5>: Cost 2 vzipl RHS, <5,5,5,5>
1839648866U, // <4,5,5,6>: Cost 2 vzipl RHS, <5,6,7,0>
1034485762U, // <4,5,5,7>: Cost 1 ins RHS, lane 2
1034485762U, // <4,5,5,u>: Cost 1 ins RHS, lane 2
1034346499U, // <4,5,6,0>: Cost 1 ins RHS, lane 3
1034346499U, // <4,5,6,1>: Cost 1 ins RHS, lane 3
1034346499U, // <4,5,6,2>: Cost 1 ins RHS, lane 3
1034346499U, // <4,5,6,3>: Cost 1 ins RHS, lane 3
1034346499U, // <4,5,6,4>: Cost 1 ins RHS, lane 3
1034346499U, // <4,5,6,5>: Cost 1 ins RHS, lane 3
1034346499U, // <4,5,6,6>: Cost 1 ins RHS, lane 3
27705344U, // <4,5,6,7>: Cost 0 copy RHS
27705344U, // <4,5,6,u>: Cost 0 copy RHS
2133975044U, // <4,5,7,0>: Cost 2 ins <u,u,7,0>, lane 4
2108178434U, // <4,5,7,1>: Cost 2 ins <4,5,u,1>, lane 2
2108186626U, // <4,5,7,2>: Cost 2 ins <4,5,u,2>, lane 2
2133999620U, // <4,5,7,3>: Cost 2 ins <u,u,7,3>, lane 4
2134007812U, // <4,5,7,4>: Cost 2 ins <u,u,7,4>, lane 4
2108211202U, // <4,5,7,5>: Cost 2 ins <4,5,u,5>, lane 2
2134024196U, // <4,5,7,6>: Cost 2 ins <u,u,7,6>, lane 4
1034485762U, // <4,5,7,7>: Cost 1 ins RHS, lane 2
1034485762U, // <4,5,7,u>: Cost 1 ins RHS, lane 2
1034346499U, // <4,5,u,0>: Cost 1 ins RHS, lane 3
1034493957U, // <4,5,u,1>: Cost 1 ins RHS, lane 5
1034346499U, // <4,5,u,2>: Cost 1 ins RHS, lane 3
1059889156U, // <4,5,u,3>: Cost 1 ins LHS, lane 4
1034346499U, // <4,5,u,4>: Cost 1 ins RHS, lane 3
1034493957U, // <4,5,u,5>: Cost 1 ins RHS, lane 5
1034346499U, // <4,5,u,6>: Cost 1 ins RHS, lane 3
27705344U, // <4,5,u,7>: Cost 0 copy RHS
27705344U, // <4,5,u,u>: Cost 0 copy RHS
1705426944U, // <4,6,0,0>: Cost 2 vuzpl RHS, <0,0,0,0>
1545175142U, // <4,6,0,1>: Cost 2 vext2 <0,2,4,6>, LHS
631685222U, // <4,6,0,2>: Cost 1 vuzpl RHS, LHS
2108309507U, // <4,6,0,3>: Cost 2 ins <4,6,0,u>, lane 3
1705427148U, // <4,6,0,4>: Cost 2 vuzpl RHS, <0,2,4,6>
2108309507U, // <4,6,0,5>: Cost 2 ins <4,6,0,u>, lane 3
2108882946U, // <4,6,0,6>: Cost 2 ins <4,6,u,6>, lane 2
2108309507U, // <4,6,0,7>: Cost 2 ins <4,6,0,u>, lane 3
631685276U, // <4,6,0,u>: Cost 1 vuzpl RHS, LHS
2618917622U, // <4,6,1,0>: Cost 3 vext2 <0,2,4,6>, <1,0,3,2>
1705427764U, // <4,6,1,1>: Cost 2 vuzpl RHS, <1,1,1,1>
2108850178U, // <4,6,1,2>: Cost 2 ins <4,6,u,2>, lane 2
1747681382U, // <4,6,1,3>: Cost 2 vuzpr <0,4,2,6>, LHS
2779169619U, // <4,6,1,4>: Cost 3 vuzpl RHS, <1,1,4,5>
1705427968U, // <4,6,1,5>: Cost 2 vuzpl RHS, <1,3,5,7>
2108882946U, // <4,6,1,6>: Cost 2 ins <4,6,u,6>, lane 2
2109702145U, // <4,6,1,7>: Cost 2 ins <4,u,1,7>, lane 1
1747681387U, // <4,6,1,u>: Cost 2 vuzpr <0,4,2,6>, LHS
1705428646U, // <4,6,2,0>: Cost 2 vuzpl RHS, <2,3,0,1>
2779170237U, // <4,6,2,1>: Cost 3 vuzpl RHS, <2,0,1,2>
1705428584U, // <4,6,2,2>: Cost 2 vuzpl RHS, <2,2,2,2>
1705428594U, // <4,6,2,3>: Cost 2 vuzpl RHS, <2,2,3,3>
1705428686U, // <4,6,2,4>: Cost 2 vuzpl RHS, <2,3,4,5>
2839560386U, // <4,6,2,5>: Cost 3 vuzpr <3,4,5,6>, <0,2,3,5>
2108882946U, // <4,6,2,6>: Cost 2 ins <4,6,u,6>, lane 2
2109775873U, // <4,6,2,7>: Cost 2 ins <4,u,2,7>, lane 1
1705428639U, // <4,6,2,u>: Cost 2 vuzpl RHS, <2,2,u,3>
2618919062U, // <4,6,3,0>: Cost 3 vext2 <0,2,4,6>, <3,0,1,2>
1705429142U, // <4,6,3,1>: Cost 2 vuzpl RHS, <3,0,1,2>
2108850178U, // <4,6,3,2>: Cost 2 ins <4,6,u,2>, lane 2
1705429404U, // <4,6,3,3>: Cost 2 vuzpl RHS, <3,3,3,3>
2618919426U, // <4,6,3,4>: Cost 3 vext2 <0,2,4,6>, <3,4,5,6>
1705429506U, // <4,6,3,5>: Cost 2 vuzpl RHS, <3,4,5,6>
2108882946U, // <4,6,3,6>: Cost 2 ins <4,6,u,6>, lane 2
2132410368U, // <4,6,3,7>: Cost 2 ins <u,6,3,7>, lane 0
1705429205U, // <4,6,3,u>: Cost 2 vuzpl RHS, <3,0,u,2>
1705430348U, // <4,6,4,0>: Cost 2 vuzpl RHS, <4,6,0,2>
2108604419U, // <4,6,4,1>: Cost 2 ins <4,6,4,u>, lane 3
2108850178U, // <4,6,4,2>: Cost 2 ins <4,6,u,2>, lane 2
2108604419U, // <4,6,4,3>: Cost 2 ins <4,6,4,u>, lane 3
1705430224U, // <4,6,4,4>: Cost 2 vuzpl RHS, <4,4,4,4>
1545178422U, // <4,6,4,5>: Cost 2 vext2 <0,2,4,6>, RHS
631688502U, // <4,6,4,6>: Cost 1 vuzpl RHS, RHS
2108604419U, // <4,6,4,7>: Cost 2 ins <4,6,4,u>, lane 3
631688520U, // <4,6,4,u>: Cost 1 vuzpl RHS, RHS
2839563567U, // <4,6,5,0>: Cost 3 vuzpr <3,4,5,6>, <4,5,6,0>
1705439360U, // <4,6,5,1>: Cost 2 vuzpl RHS, <5,7,1,3>
1839657466U, // <4,6,5,2>: Cost 2 vzipl RHS, <6,2,7,3>
2839563570U, // <4,6,5,3>: Cost 3 vuzpr <3,4,5,6>, <4,5,6,3>
2839563571U, // <4,6,5,4>: Cost 3 vuzpr <3,4,5,6>, <4,5,6,4>
1705431044U, // <4,6,5,5>: Cost 2 vuzpl RHS, <5,5,5,5>
1839649592U, // <4,6,5,6>: Cost 2 vzipl RHS, <6,6,6,6>
1747684662U, // <4,6,5,7>: Cost 2 vuzpr <0,4,2,6>, RHS
1747684663U, // <4,6,5,u>: Cost 2 vuzpr <0,4,2,6>, RHS
1705431886U, // <4,6,6,0>: Cost 2 vuzpl RHS, <6,7,0,1>
2110021633U, // <4,6,6,1>: Cost 2 ins <4,u,6,1>, lane 1
2110029825U, // <4,6,6,2>: Cost 2 ins <4,u,6,2>, lane 1
2110038017U, // <4,6,6,3>: Cost 2 ins <4,u,6,3>, lane 1
1705431926U, // <4,6,6,4>: Cost 2 vuzpl RHS, <6,7,4,5>
2110054401U, // <4,6,6,5>: Cost 2 ins <4,u,6,5>, lane 1
1705431864U, // <4,6,6,6>: Cost 2 vuzpl RHS, <6,6,6,6>
1036328961U, // <4,6,6,7>: Cost 1 ins RHS, lane 1
1036328961U, // <4,6,6,u>: Cost 1 ins RHS, lane 1
2132647936U, // <4,6,7,0>: Cost 2 ins <u,6,7,0>, lane 0
1705432058U, // <4,6,7,1>: Cost 2 vuzpl RHS, <7,0,1,2>
2108850178U, // <4,6,7,2>: Cost 2 ins <4,6,u,2>, lane 2
2779173980U, // <4,6,7,3>: Cost 3 vuzpl RHS, <7,1,3,1>
2132680704U, // <4,6,7,4>: Cost 2 ins <u,6,7,4>, lane 0
1705432422U, // <4,6,7,5>: Cost 2 vuzpl RHS, <7,4,5,6>
2108882946U, // <4,6,7,6>: Cost 2 ins <4,6,u,6>, lane 2
1705432684U, // <4,6,7,7>: Cost 2 vuzpl RHS, <7,7,7,7>
1705432121U, // <4,6,7,u>: Cost 2 vuzpl RHS, <7,0,u,2>
1705433020U, // <4,6,u,0>: Cost 2 vuzpl RHS, <u,3,0,1>
1545180974U, // <4,6,u,1>: Cost 2 vext2 <0,2,4,6>, LHS
631691054U, // <4,6,u,2>: Cost 1 vuzpl RHS, LHS
1747681949U, // <4,6,u,3>: Cost 2 vuzpr <0,4,2,6>, LHS
1705433060U, // <4,6,u,4>: Cost 2 vuzpl RHS, <u,3,4,5>
1545181338U, // <4,6,u,5>: Cost 2 vext2 <0,2,4,6>, RHS
631691418U, // <4,6,u,6>: Cost 1 vuzpl RHS, RHS
1036328961U, // <4,6,u,7>: Cost 1 ins RHS, lane 1
631691108U, // <4,6,u,u>: Cost 1 vuzpl RHS, LHS
3206537216U, // <4,7,0,0>: Cost 3 ins <u,7,0,0>, lane 0
2132803584U, // <4,7,0,1>: Cost 2 ins <u,7,0,1>, lane 0
2109587457U, // <4,7,0,2>: Cost 2 ins <4,u,0,2>, lane 1
2845614101U, // <4,7,0,3>: Cost 3 vuzpr <4,4,6,7>, <0,0,2,3>
3206569984U, // <4,7,0,4>: Cost 3 ins <u,7,0,4>, lane 0
3047789926U, // <4,7,0,5>: Cost 3 vtrnl <4,6,0,2>, <7,4,5,6>
3047789929U, // <4,7,0,6>: Cost 3 vtrnl <4,6,0,2>, <7,4,6,0>
2109628417U, // <4,7,0,7>: Cost 2 ins <4,u,0,7>, lane 1
2132803584U, // <4,7,0,u>: Cost 2 ins <u,7,0,1>, lane 0
2259064116U, // <4,7,1,0>: Cost 3 vrev <7,4,0,1>
3206619136U, // <4,7,1,1>: Cost 3 ins <u,7,1,1>, lane 0
2632860570U, // <4,7,1,2>: Cost 3 vext2 <2,5,4,7>, <1,2,3,4>
2132893696U, // <4,7,1,3>: Cost 2 ins <u,7,1,3>, lane 0
3206643712U, // <4,7,1,4>: Cost 3 ins <u,7,1,4>, lane 0
3206651904U, // <4,7,1,5>: Cost 3 ins <u,7,1,5>, lane 0
2988265414U, // <4,7,1,6>: Cost 3 vzipr <5,u,4,1>, <5,4,7,6>
2109702145U, // <4,7,1,7>: Cost 2 ins <4,u,1,7>, lane 1
2132893696U, // <4,7,1,u>: Cost 2 ins <u,7,1,3>, lane 0
3206684672U, // <4,7,2,0>: Cost 3 ins <u,7,2,0>, lane 0
3206692864U, // <4,7,2,1>: Cost 3 ins <u,7,2,1>, lane 0
3206701056U, // <4,7,2,2>: Cost 3 ins <u,7,2,2>, lane 0
2132967424U, // <4,7,2,3>: Cost 2 ins <u,7,2,3>, lane 0
2833597338U, // <4,7,2,4>: Cost 3 vuzpr <2,4,5,7>, <1,2,3,4>
2632861554U, // <4,7,2,5>: Cost 3 vext2 <2,5,4,7>, <2,5,4,7>
3206733824U, // <4,7,2,6>: Cost 3 ins <u,7,2,6>, lane 0
2109775873U, // <4,7,2,7>: Cost 2 ins <4,u,2,7>, lane 1
2132967424U, // <4,7,2,u>: Cost 2 ins <u,7,2,3>, lane 0
3206758400U, // <4,7,3,0>: Cost 3 ins <u,7,3,0>, lane 0
3206766592U, // <4,7,3,1>: Cost 3 ins <u,7,3,1>, lane 0
3047388245U, // <4,7,3,2>: Cost 3 vtrnl <4,5,3,7>, <7,1,2,3>
3206782976U, // <4,7,3,3>: Cost 3 ins <u,7,3,3>, lane 0
2989609062U, // <4,7,3,4>: Cost 3 vzipr <6,1,4,3>, <5,6,7,4>
3206799360U, // <4,7,3,5>: Cost 3 ins <u,7,3,5>, lane 0
2639497884U, // <4,7,3,6>: Cost 3 vext2 <3,6,4,7>, <3,6,4,7>
2109849601U, // <4,7,3,7>: Cost 2 ins <4,u,3,7>, lane 1
2109849601U, // <4,7,3,u>: Cost 2 ins <4,u,3,7>, lane 1
2583199846U, // <4,7,4,0>: Cost 3 vext1 <5,4,7,4>, LHS
3048117242U, // <4,7,4,1>: Cost 3 vtrnl <4,6,4,6>, <7,0,1,2>
3183624193U, // <4,7,4,2>: Cost 3 ins <4,u,4,2>, lane 1
2979659923U, // <4,7,4,3>: Cost 3 vzipr <4,4,4,4>, <0,1,7,3>
2109898753U, // <4,7,4,4>: Cost 2 ins <4,u,4,4>, lane 1
2133131264U, // <4,7,4,5>: Cost 2 ins <u,7,4,5>, lane 0
2109915137U, // <4,7,4,6>: Cost 2 ins <4,u,4,6>, lane 1
1771875557U, // <4,7,4,7>: Cost 2 vuzpr <4,4,6,7>, <4,4,6,7>
2133131264U, // <4,7,4,u>: Cost 2 ins <u,7,4,5>, lane 0
1839649786U, // <4,7,5,0>: Cost 2 vzipl RHS, <7,0,1,2>
2109947905U, // <4,7,5,1>: Cost 2 ins <4,u,5,1>, lane 1
2913391781U, // <4,7,5,2>: Cost 3 vzipl RHS, <7,2,2,2>
2913391843U, // <4,7,5,3>: Cost 3 vzipl RHS, <7,3,0,1>
1839650150U, // <4,7,5,4>: Cost 2 vzipl RHS, <7,4,5,6>
2109980673U, // <4,7,5,5>: Cost 2 ins <4,u,5,5>, lane 1
2913392145U, // <4,7,5,6>: Cost 3 vzipl RHS, <7,6,6,6>
1839650412U, // <4,7,5,7>: Cost 2 vzipl RHS, <7,7,7,7>
1839650434U, // <4,7,5,u>: Cost 2 vzipl RHS, <7,u,1,2>
1509474406U, // <4,7,6,0>: Cost 2 vext1 <5,4,7,6>, LHS
1973867514U, // <4,7,6,1>: Cost 2 vtrnl RHS, <7,0,1,2>
2110029825U, // <4,7,6,2>: Cost 2 ins <4,u,6,2>, lane 1
2110038017U, // <4,7,6,3>: Cost 2 ins <4,u,6,3>, lane 1
1509477686U, // <4,7,6,4>: Cost 2 vext1 <5,4,7,6>, RHS
1973867878U, // <4,7,6,5>: Cost 2 vtrnl RHS, <7,4,5,6>
2110062593U, // <4,7,6,6>: Cost 2 ins <4,u,6,6>, lane 1
1036328961U, // <4,7,6,7>: Cost 1 ins RHS, lane 1
1036328961U, // <4,7,6,u>: Cost 1 ins RHS, lane 1
2914587642U, // <4,7,7,0>: Cost 3 vzipl <4,7,5,0>, <7,0,1,2>
2779862010U, // <4,7,7,1>: Cost 3 vuzpl <4,6,7,1>, <7,0,1,2>
2779247701U, // <4,7,7,2>: Cost 3 vuzpl <4,5,7,7>, <7,1,2,3>
3207077888U, // <4,7,7,3>: Cost 3 ins <u,7,7,3>, lane 0
2914620774U, // <4,7,7,4>: Cost 3 vzipl <4,7,5,4>, <7,4,5,6>
2779895142U, // <4,7,7,5>: Cost 3 vuzpl <4,6,7,5>, <7,4,5,6>
2992295878U, // <4,7,7,6>: Cost 3 vzipr <6,5,4,7>, <5,4,7,6>
2133368832U, // <4,7,7,7>: Cost 2 ins <u,7,7,7>, lane 0
2133368832U, // <4,7,7,u>: Cost 2 ins <u,7,7,7>, lane 0
1841640442U, // <4,7,u,0>: Cost 2 vzipl RHS, <7,0,1,2>
1974014970U, // <4,7,u,1>: Cost 2 vtrnl RHS, <7,0,1,2>
2109587457U, // <4,7,u,2>: Cost 2 ins <4,u,0,2>, lane 1
2132893696U, // <4,7,u,3>: Cost 2 ins <u,7,1,3>, lane 0
1841640806U, // <4,7,u,4>: Cost 2 vzipl RHS, <7,4,5,6>
1974015334U, // <4,7,u,5>: Cost 2 vtrnl RHS, <7,4,5,6>
2109915137U, // <4,7,u,6>: Cost 2 ins <4,u,4,6>, lane 1
1036328961U, // <4,7,u,7>: Cost 1 ins RHS, lane 1
1036328961U, // <4,7,u,u>: Cost 1 ins RHS, lane 1
1705574400U, // <4,u,0,0>: Cost 2 vuzpl RHS, <0,0,0,0>
1034493957U, // <4,u,0,1>: Cost 1 ins RHS, lane 5
631832678U, // <4,u,0,2>: Cost 1 vuzpl RHS, LHS
2108309507U, // <4,u,0,3>: Cost 2 ins <4,6,0,u>, lane 3
1705574604U, // <4,u,0,4>: Cost 2 vuzpl RHS, <0,2,4,6>
2107547650U, // <4,u,0,5>: Cost 2 ins <4,4,u,5>, lane 2
1974048922U, // <4,u,0,6>: Cost 2 vtrnl <4,6,0,2>, RHS
1034485762U, // <4,u,0,7>: Cost 1 ins RHS, lane 2
631832732U, // <4,u,0,u>: Cost 1 vuzpl RHS, LHS
2108170242U, // <4,u,1,0>: Cost 2 ins <4,5,u,0>, lane 2
1705575220U, // <4,u,1,1>: Cost 2 vuzpl RHS, <1,1,1,1>
1618171694U, // <4,u,1,2>: Cost 2 vext3 <1,2,3,4>, LHS
1747624038U, // <4,u,1,3>: Cost 2 vuzpr <0,4,1,u>, LHS
2107539458U, // <4,u,1,4>: Cost 2 ins <4,4,u,4>, lane 2
1705575424U, // <4,u,1,5>: Cost 2 vuzpl RHS, <1,3,5,7>
2107555842U, // <4,u,1,6>: Cost 2 ins <4,4,u,6>, lane 2
1034485762U, // <4,u,1,7>: Cost 1 ins RHS, lane 2
1034485762U, // <4,u,1,u>: Cost 1 ins RHS, lane 2
1705576102U, // <4,u,2,0>: Cost 2 vuzpl RHS, <2,3,0,1>
2104860674U, // <4,u,2,1>: Cost 2 ins <4,0,u,1>, lane 2
1705576040U, // <4,u,2,2>: Cost 2 vuzpl RHS, <2,2,2,2>
1055244288U, // <4,u,2,3>: Cost 1 ins LHS, lane 0
1705576142U, // <4,u,2,4>: Cost 2 vuzpl RHS, <2,3,4,5>
2107547650U, // <4,u,2,5>: Cost 2 ins <4,4,u,5>, lane 2
2131001344U, // <4,u,2,6>: Cost 2 ins <u,4,2,6>, lane 0
1034485762U, // <4,u,2,7>: Cost 1 ins RHS, lane 2
1055244288U, // <4,u,2,u>: Cost 1 ins LHS, lane 0
2129698816U, // <4,u,3,0>: Cost 2 ins <u,2,3,0>, lane 0
1705576598U, // <4,u,3,1>: Cost 2 vuzpl RHS, <3,0,1,2>
2128388096U, // <4,u,3,2>: Cost 2 ins <u,0,3,2>, lane 0
1705576860U, // <4,u,3,3>: Cost 2 vuzpl RHS, <3,3,3,3>
2129731584U, // <4,u,3,4>: Cost 2 ins <u,2,3,4>, lane 0
1705576962U, // <4,u,3,5>: Cost 2 vuzpl RHS, <3,4,5,6>
2107555842U, // <4,u,3,6>: Cost 2 ins <4,4,u,6>, lane 2
1034485762U, // <4,u,3,7>: Cost 1 ins RHS, lane 2
1034485762U, // <4,u,3,u>: Cost 1 ins RHS, lane 2
1705577804U, // <4,u,4,0>: Cost 2 vuzpl RHS, <4,6,0,2>
2104860674U, // <4,u,4,1>: Cost 2 ins <4,0,u,1>, lane 2
1974376238U, // <4,u,4,2>: Cost 2 vtrnl <4,6,4,6>, LHS
2108604419U, // <4,u,4,3>: Cost 2 ins <4,6,4,u>, lane 3
161926454U, // <4,u,4,4>: Cost 1 vdup0 RHS
1034493957U, // <4,u,4,5>: Cost 1 ins RHS, lane 5
631835958U, // <4,u,4,6>: Cost 1 vuzpl RHS, RHS
1034485762U, // <4,u,4,7>: Cost 1 ins RHS, lane 2
631835976U, // <4,u,4,u>: Cost 1 vuzpl RHS, RHS
1839650515U, // <4,u,5,0>: Cost 2 vzipl RHS, <u,0,1,2>
765908782U, // <4,u,5,1>: Cost 1 vzipl RHS, LHS
1839650693U, // <4,u,5,2>: Cost 2 vzipl RHS, <u,2,3,0>
2016035485U, // <4,u,5,3>: Cost 2 vtrnr <0,4,1,5>, LHS
1839650879U, // <4,u,5,4>: Cost 2 vzipl RHS, <u,4,5,6>
765909146U, // <4,u,5,5>: Cost 1 vzipl RHS, RHS
1618172058U, // <4,u,5,6>: Cost 2 vext3 <1,2,3,4>, RHS
1034485762U, // <4,u,5,7>: Cost 1 ins RHS, lane 2
765909349U, // <4,u,5,u>: Cost 1 vzipl RHS, LHS
1034346499U, // <4,u,6,0>: Cost 1 ins RHS, lane 3
1034346499U, // <4,u,6,1>: Cost 1 ins RHS, lane 3
900126510U, // <4,u,6,2>: Cost 1 vtrnl RHS, LHS
1034346499U, // <4,u,6,3>: Cost 1 ins RHS, lane 3
1034346499U, // <4,u,6,4>: Cost 1 ins RHS, lane 3
1034346499U, // <4,u,6,5>: Cost 1 ins RHS, lane 3
900126874U, // <4,u,6,6>: Cost 1 vtrnl RHS, RHS
27705344U, // <4,u,6,7>: Cost 0 copy RHS
27705344U, // <4,u,6,u>: Cost 0 copy RHS
2133975044U, // <4,u,7,0>: Cost 2 ins <u,u,7,0>, lane 4
1705579514U, // <4,u,7,1>: Cost 2 vuzpl RHS, <7,0,1,2>
2104868866U, // <4,u,7,2>: Cost 2 ins <4,0,u,2>, lane 2
2129354752U, // <4,u,7,3>: Cost 2 ins <u,1,7,3>, lane 0
2134007812U, // <4,u,7,4>: Cost 2 ins <u,u,7,4>, lane 4
1705579878U, // <4,u,7,5>: Cost 2 vuzpl RHS, <7,4,5,6>
2131369984U, // <4,u,7,6>: Cost 2 ins <u,4,7,6>, lane 0
1034485762U, // <4,u,7,7>: Cost 1 ins RHS, lane 2
1034485762U, // <4,u,7,u>: Cost 1 ins RHS, lane 2
1034346499U, // <4,u,u,0>: Cost 1 ins RHS, lane 3
767899438U, // <4,u,u,1>: Cost 1 vzipl RHS, LHS
631838510U, // <4,u,u,2>: Cost 1 vuzpl RHS, LHS
1055244288U, // <4,u,u,3>: Cost 1 ins LHS, lane 0
161926454U, // <4,u,u,4>: Cost 1 vdup0 RHS
767899802U, // <4,u,u,5>: Cost 1 vzipl RHS, RHS
631838874U, // <4,u,u,6>: Cost 1 vuzpl RHS, RHS
27705344U, // <4,u,u,7>: Cost 0 copy RHS
27705344U, // <4,u,u,u>: Cost 0 copy RHS
2128150528U, // <5,0,0,0>: Cost 2 ins <u,0,0,0>, lane 0
2687123466U, // <5,0,0,1>: Cost 3 vext3 <0,4,1,5>, <0,0,1,1>
2687123476U, // <5,0,0,2>: Cost 3 vext3 <0,4,1,5>, <0,0,2,2>
2846220309U, // <5,0,0,3>: Cost 3 vuzpr <4,5,6,0>, <0,0,2,3>
2642166098U, // <5,0,0,4>: Cost 3 vext2 <4,1,5,0>, <0,4,1,5>
2583318482U, // <5,0,0,5>: Cost 3 vext1 <5,5,0,0>, <5,5,0,0>
3189334017U, // <5,0,0,6>: Cost 3 ins <5,u,0,6>, lane 1
2846223265U, // <5,0,0,7>: Cost 3 vuzpr <4,5,6,0>, <4,0,6,7>
2128150528U, // <5,0,0,u>: Cost 2 ins <u,0,0,0>, lane 0
1503608934U, // <5,0,1,0>: Cost 2 vext1 <4,5,0,1>, LHS
1843003494U, // <5,0,1,1>: Cost 2 vzipl <5,1,7,3>, LHS
1613381734U, // <5,0,1,2>: Cost 2 vext3 <0,4,1,5>, LHS
2115641345U, // <5,0,1,3>: Cost 2 ins <5,u,1,3>, lane 1
1611612282U, // <5,0,1,4>: Cost 2 vext3 <0,1,4,5>, <0,1,4,5>
2583326675U, // <5,0,1,5>: Cost 3 vext1 <5,5,0,1>, <5,5,0,1>
3202015232U, // <5,0,1,6>: Cost 3 ins <u,0,1,6>, lane 0
3189415937U, // <5,0,1,7>: Cost 3 ins <5,u,1,7>, lane 1
1613381788U, // <5,0,1,u>: Cost 2 vext3 <0,4,1,5>, LHS
2686017700U, // <5,0,2,0>: Cost 3 vext3 <0,2,4,5>, <0,2,0,2>
2685796528U, // <5,0,2,1>: Cost 3 vext3 <0,2,1,5>, <0,2,1,5>
2128314368U, // <5,0,2,2>: Cost 2 ins <u,0,2,2>, lane 0
2128322560U, // <5,0,2,3>: Cost 2 ins <u,0,2,3>, lane 0
2686017739U, // <5,0,2,4>: Cost 3 vext3 <0,2,4,5>, <0,2,4,5>
2686091476U, // <5,0,2,5>: Cost 3 vext3 <0,2,5,5>, <0,2,5,5>
3189481473U, // <5,0,2,6>: Cost 3 ins <5,u,2,6>, lane 1
2595280262U, // <5,0,2,7>: Cost 3 vext1 <7,5,0,2>, <7,5,0,2>
2128314368U, // <5,0,2,u>: Cost 2 ins <u,0,2,2>, lane 0
3202113536U, // <5,0,3,0>: Cost 3 ins <u,0,3,0>, lane 0
2918047846U, // <5,0,3,1>: Cost 3 vzipl <5,3,7,0>, LHS
2128388096U, // <5,0,3,2>: Cost 2 ins <u,0,3,2>, lane 0
3189530625U, // <5,0,3,3>: Cost 3 ins <5,u,3,3>, lane 1
2638187004U, // <5,0,3,4>: Cost 3 vext2 <3,4,5,0>, <3,4,5,0>
2785315330U, // <5,0,3,5>: Cost 3 vuzpl <5,6,0,1>, <3,4,5,6>
3202162688U, // <5,0,3,6>: Cost 3 ins <u,0,3,6>, lane 0
2840323072U, // <5,0,3,7>: Cost 3 vuzpr <3,5,7,0>, <1,3,5,7>
2128388096U, // <5,0,3,u>: Cost 2 ins <u,0,3,2>, lane 0
2559459430U, // <5,0,4,0>: Cost 3 vext1 <1,5,0,4>, LHS
1613381970U, // <5,0,4,1>: Cost 2 vext3 <0,4,1,5>, <0,4,1,5>
2687123804U, // <5,0,4,2>: Cost 3 vext3 <0,4,1,5>, <0,4,2,6>
3184336899U, // <5,0,4,3>: Cost 3 ins <5,0,4,u>, lane 3
2687345005U, // <5,0,4,4>: Cost 3 vext3 <0,4,4,5>, <0,4,4,5>
2638187830U, // <5,0,4,5>: Cost 3 vext2 <3,4,5,0>, RHS
2846222850U, // <5,0,4,6>: Cost 3 vuzpr <4,5,6,0>, <3,4,5,6>
2646150600U, // <5,0,4,7>: Cost 3 vext2 <4,7,5,0>, <4,7,5,0>
1845019293U, // <5,0,4,u>: Cost 2 vzipl <5,4,7,6>, LHS
1772481839U, // <5,0,5,0>: Cost 2 vuzpr <4,5,6,0>, <4,5,6,0>
1845526630U, // <5,0,5,1>: Cost 2 vzipl <5,5,5,5>, LHS
1979744358U, // <5,0,5,2>: Cost 2 vtrnl <5,5,5,5>, LHS
3189678081U, // <5,0,5,3>: Cost 3 ins <5,u,5,3>, lane 1
2919268690U, // <5,0,5,4>: Cost 3 vzipl <5,5,5,5>, <0,4,1,5>
2115952641U, // <5,0,5,5>: Cost 2 ins <5,u,5,5>, lane 1
3202310144U, // <5,0,5,6>: Cost 3 ins <u,0,5,6>, lane 0
2115969025U, // <5,0,5,7>: Cost 2 ins <5,u,5,7>, lane 1
1845527197U, // <5,0,5,u>: Cost 2 vzipl <5,5,5,5>, LHS
2973777920U, // <5,0,6,0>: Cost 3 vzipr <3,4,5,6>, <0,0,0,0>
1846296678U, // <5,0,6,1>: Cost 2 vzipl <5,6,7,0>, LHS
2128609280U, // <5,0,6,2>: Cost 2 ins <u,0,6,2>, lane 0
3189751809U, // <5,0,6,3>: Cost 3 ins <5,u,6,3>, lane 1
2920038738U, // <5,0,6,4>: Cost 3 vzipl <5,6,7,0>, <0,4,1,5>
2920038866U, // <5,0,6,5>: Cost 3 vzipl <5,6,7,0>, <0,5,6,7>
3189776385U, // <5,0,6,6>: Cost 3 ins <5,u,6,6>, lane 1
2128650240U, // <5,0,6,7>: Cost 2 ins <u,0,6,7>, lane 0
1846297245U, // <5,0,6,u>: Cost 2 vzipl <5,6,7,0>, LHS
2040971264U, // <5,0,7,0>: Cost 2 vtrnr RHS, <0,0,0,0>
2040971274U, // <5,0,7,1>: Cost 2 vtrnr RHS, <0,0,1,1>
2040971284U, // <5,0,7,2>: Cost 2 vtrnr RHS, <0,0,2,2>
2116083713U, // <5,0,7,3>: Cost 2 ins <5,u,7,3>, lane 1
2116091905U, // <5,0,7,4>: Cost 2 ins <5,u,7,4>, lane 1
3114715316U, // <5,0,7,5>: Cost 3 vtrnr RHS, <3,0,4,5>
2116108289U, // <5,0,7,6>: Cost 2 ins <5,u,7,6>, lane 1
2116116481U, // <5,0,7,7>: Cost 2 ins <5,u,7,7>, lane 1
2040971281U, // <5,0,7,u>: Cost 2 vtrnr RHS, <0,0,1,u>
2040979456U, // <5,0,u,0>: Cost 2 vtrnr RHS, <0,0,0,0>
1616036502U, // <5,0,u,1>: Cost 2 vext3 <0,u,1,5>, <0,u,1,5>
1613382301U, // <5,0,u,2>: Cost 2 vext3 <0,4,1,5>, LHS
2115641345U, // <5,0,u,3>: Cost 2 ins <5,u,1,3>, lane 1
2116091905U, // <5,0,u,4>: Cost 2 ins <5,u,7,4>, lane 1
2115952641U, // <5,0,u,5>: Cost 2 ins <5,u,5,5>, lane 1
2116108289U, // <5,0,u,6>: Cost 2 ins <5,u,7,6>, lane 1
2115969025U, // <5,0,u,7>: Cost 2 ins <5,u,5,7>, lane 1
1613382355U, // <5,0,u,u>: Cost 2 vext3 <0,4,1,5>, LHS
2646818816U, // <5,1,0,0>: Cost 3 vext2 <4,u,5,1>, <0,0,0,0>
1573077094U, // <5,1,0,1>: Cost 2 vext2 <4,u,5,1>, LHS
1712324710U, // <5,1,0,2>: Cost 2 vuzpl <5,7,1,3>, LHS
2111512578U, // <5,1,0,3>: Cost 2 ins <5,1,u,3>, lane 2
2641510738U, // <5,1,0,4>: Cost 3 vext2 <4,0,5,1>, <0,4,1,5>
2977710418U, // <5,1,0,5>: Cost 3 vzipr <4,1,5,0>, <0,4,1,5>
3185278978U, // <5,1,0,6>: Cost 3 ins <5,1,u,6>, lane 2
3184705539U, // <5,1,0,7>: Cost 3 ins <5,1,0,u>, lane 3
1573077661U, // <5,1,0,u>: Cost 2 vext2 <4,u,5,1>, LHS
2223891567U, // <5,1,1,0>: Cost 3 vrev <1,5,0,1>
2128896000U, // <5,1,1,1>: Cost 2 ins <u,1,1,1>, lane 0
2646819734U, // <5,1,1,2>: Cost 3 vext2 <4,u,5,1>, <1,2,3,0>
2115641345U, // <5,1,1,3>: Cost 2 ins <5,u,1,3>, lane 1
2691326803U, // <5,1,1,4>: Cost 3 vext3 <1,1,4,5>, <1,1,4,5>
2691400540U, // <5,1,1,5>: Cost 3 vext3 <1,1,5,5>, <1,1,5,5>
3189407745U, // <5,1,1,6>: Cost 3 ins <5,u,1,6>, lane 1
2982367283U, // <5,1,1,7>: Cost 3 vzipr <4,u,5,1>, <5,6,1,7>
2115641345U, // <5,1,1,u>: Cost 2 ins <5,u,1,3>, lane 1
2128961536U, // <5,1,2,0>: Cost 2 ins <u,1,2,0>, lane 0
2128969728U, // <5,1,2,1>: Cost 2 ins <u,1,2,1>, lane 0
2128977920U, // <5,1,2,2>: Cost 2 ins <u,1,2,2>, lane 0
1055244288U, // <5,1,2,3>: Cost 1 ins LHS, lane 0
2128994304U, // <5,1,2,4>: Cost 2 ins <u,1,2,4>, lane 0
2129002496U, // <5,1,2,5>: Cost 2 ins <u,1,2,5>, lane 0
2129010688U, // <5,1,2,6>: Cost 2 ins <u,1,2,6>, lane 0
2129018880U, // <5,1,2,7>: Cost 2 ins <u,1,2,7>, lane 0
1055244288U, // <5,1,2,u>: Cost 1 ins LHS, lane 0
2571468902U, // <5,1,3,0>: Cost 3 vext1 <3,5,1,3>, LHS
2687124440U, // <5,1,3,1>: Cost 3 vext3 <0,4,1,5>, <1,3,1,3>
2571470542U, // <5,1,3,2>: Cost 3 vext1 <3,5,1,3>, <2,3,4,5>
2129059840U, // <5,1,3,3>: Cost 2 ins <u,1,3,3>, lane 0
2687124469U, // <5,1,3,4>: Cost 3 vext3 <0,4,1,5>, <1,3,4,5>
2685207552U, // <5,1,3,5>: Cost 3 vext3 <0,1,2,5>, <1,3,5,7>
2595361654U, // <5,1,3,6>: Cost 3 vext1 <7,5,1,3>, <6,7,4,5>
2840331264U, // <5,1,3,7>: Cost 3 vuzpr <3,5,7,1>, <1,3,5,7>
2129059840U, // <5,1,3,u>: Cost 2 ins <u,1,3,3>, lane 0
1567771538U, // <5,1,4,0>: Cost 2 vext2 <4,0,5,1>, <4,0,5,1>
2693096491U, // <5,1,4,1>: Cost 3 vext3 <1,4,1,5>, <1,4,1,5>
2693170228U, // <5,1,4,2>: Cost 3 vext3 <1,4,2,5>, <1,4,2,5>
2111512578U, // <5,1,4,3>: Cost 2 ins <5,1,u,3>, lane 2
2646822096U, // <5,1,4,4>: Cost 3 vext2 <4,u,5,1>, <4,4,4,4>
1573080374U, // <5,1,4,5>: Cost 2 vext2 <4,u,5,1>, RHS
1712327990U, // <5,1,4,6>: Cost 2 vuzpl <5,7,1,3>, RHS
3185000451U, // <5,1,4,7>: Cost 3 ins <5,1,4,u>, lane 3
1573080602U, // <5,1,4,u>: Cost 2 vext2 <4,u,5,1>, <4,u,5,1>
2687124591U, // <5,1,5,0>: Cost 3 vext3 <0,4,1,5>, <1,5,0,1>
1712328832U, // <5,1,5,1>: Cost 2 vuzpl <5,7,1,3>, <5,7,1,3>
2982398102U, // <5,1,5,2>: Cost 3 vzipr <4,u,5,5>, <3,0,1,2>
2046853222U, // <5,1,5,3>: Cost 2 vtrnr <5,5,5,5>, LHS
2687124631U, // <5,1,5,4>: Cost 3 vext3 <0,4,1,5>, <1,5,4,5>
2115952641U, // <5,1,5,5>: Cost 2 ins <5,u,5,5>, lane 1
2646823010U, // <5,1,5,6>: Cost 3 vext2 <4,u,5,1>, <5,6,7,0>
2115969025U, // <5,1,5,7>: Cost 2 ins <5,u,5,7>, lane 1
2046853227U, // <5,1,5,u>: Cost 2 vtrnr <5,5,5,5>, LHS
2920039158U, // <5,1,6,0>: Cost 3 vzipl <5,6,7,0>, <1,0,3,2>
2961834642U, // <5,1,6,1>: Cost 3 vzipr <1,4,5,6>, <0,u,1,1>
2973780118U, // <5,1,6,2>: Cost 3 vzipr <3,4,5,6>, <3,0,1,2>
2111512578U, // <5,1,6,3>: Cost 2 ins <5,1,u,3>, lane 2
2224227480U, // <5,1,6,4>: Cost 3 vrev <1,5,4,6>
2973778258U, // <5,1,6,5>: Cost 3 vzipr <3,4,5,6>, <0,4,1,5>
2646823736U, // <5,1,6,6>: Cost 3 vext2 <4,u,5,1>, <6,6,6,6>
2111553541U, // <5,1,6,7>: Cost 2 ins <5,1,u,u>, lane 5
2111512578U, // <5,1,6,u>: Cost 2 ins <5,1,u,3>, lane 2
2116059137U, // <5,1,7,0>: Cost 2 ins <5,u,7,0>, lane 1
2040972084U, // <5,1,7,1>: Cost 2 vtrnr RHS, <1,1,1,1>
2111479811U, // <5,1,7,2>: Cost 2 ins <5,1,7,u>, lane 3
967229542U, // <5,1,7,3>: Cost 1 vtrnr RHS, LHS
2116091905U, // <5,1,7,4>: Cost 2 ins <5,u,7,4>, lane 1
2111479811U, // <5,1,7,5>: Cost 2 ins <5,1,7,u>, lane 3
2116108289U, // <5,1,7,6>: Cost 2 ins <5,u,7,6>, lane 1
2116116481U, // <5,1,7,7>: Cost 2 ins <5,u,7,7>, lane 1
967229547U, // <5,1,7,u>: Cost 1 vtrnr RHS, LHS
2116059137U, // <5,1,u,0>: Cost 2 ins <5,u,7,0>, lane 1
2040980276U, // <5,1,u,1>: Cost 2 vtrnr RHS, <1,1,1,1>
1712330542U, // <5,1,u,2>: Cost 2 vuzpl <5,7,1,3>, LHS
967237734U, // <5,1,u,3>: Cost 1 vtrnr RHS, LHS
2116091905U, // <5,1,u,4>: Cost 2 ins <5,u,7,4>, lane 1
1573083290U, // <5,1,u,5>: Cost 2 vext2 <4,u,5,1>, RHS
1712330906U, // <5,1,u,6>: Cost 2 vuzpl <5,7,1,3>, RHS
2115969025U, // <5,1,u,7>: Cost 2 ins <5,u,5,7>, lane 1
967237739U, // <5,1,u,u>: Cost 1 vtrnr RHS, LHS
2786132132U, // <5,2,0,0>: Cost 3 vuzpl <5,7,2,2>, <0,2,0,2>
2628911206U, // <5,2,0,1>: Cost 3 vext2 <1,u,5,2>, LHS
2129494016U, // <5,2,0,2>: Cost 2 ins <u,2,0,2>, lane 0
2973728870U, // <5,2,0,3>: Cost 3 vzipr <3,4,5,0>, LHS
2786164940U, // <5,2,0,4>: Cost 3 vuzpl <5,7,2,6>, <0,2,4,6>
2782158977U, // <5,2,0,5>: Cost 3 vuzpl <5,1,2,3>, <0,1,5,3>
3185942530U, // <5,2,0,6>: Cost 3 ins <5,2,u,6>, lane 2
3114658883U, // <5,2,0,7>: Cost 3 vtrnr <4,5,6,0>, <4,2,6,7>
2129494016U, // <5,2,0,u>: Cost 2 ins <u,2,0,2>, lane 0
3054503590U, // <5,2,1,0>: Cost 3 vtrnl <5,7,1,3>, <2,3,0,1>
3203301376U, // <5,2,1,1>: Cost 3 ins <u,2,1,1>, lane 0
2982363156U, // <5,2,1,2>: Cost 3 vzipr <4,u,5,1>, <0,0,2,2>
1908621414U, // <5,2,1,3>: Cost 2 vzipr <4,u,5,1>, LHS
3054503630U, // <5,2,1,4>: Cost 3 vtrnl <5,7,1,3>, <2,3,4,5>
2601390208U, // <5,2,1,5>: Cost 3 vext1 <u,5,2,1>, <5,7,1,3>
2982363484U, // <5,2,1,6>: Cost 3 vzipr <4,u,5,1>, <0,4,2,6>
3189415937U, // <5,2,1,7>: Cost 3 ins <5,u,1,7>, lane 1
1908621419U, // <5,2,1,u>: Cost 2 vzipr <4,u,5,1>, LHS
3203366912U, // <5,2,2,0>: Cost 3 ins <u,2,2,0>, lane 0
3203375104U, // <5,2,2,1>: Cost 3 ins <u,2,2,1>, lane 0
2129641472U, // <5,2,2,2>: Cost 2 ins <u,2,2,2>, lane 0
2129649664U, // <5,2,2,3>: Cost 2 ins <u,2,2,3>, lane 0
2697963133U, // <5,2,2,4>: Cost 3 vext3 <2,2,4,5>, <2,2,4,5>
2698036870U, // <5,2,2,5>: Cost 3 vext3 <2,2,5,5>, <2,2,5,5>
3189481473U, // <5,2,2,6>: Cost 3 ins <5,u,2,6>, lane 1
2846239811U, // <5,2,2,7>: Cost 3 vuzpr <4,5,6,2>, <4,2,6,7>
2129641472U, // <5,2,2,u>: Cost 2 ins <u,2,2,2>, lane 0
2129698816U, // <5,2,3,0>: Cost 2 ins <u,2,3,0>, lane 0
2698405555U, // <5,2,3,1>: Cost 3 vext3 <2,3,1,5>, <2,3,1,5>
2577516238U, // <5,2,3,2>: Cost 3 vext1 <4,5,2,3>, <2,3,4,5>
2129723392U, // <5,2,3,3>: Cost 2 ins <u,2,3,3>, lane 0
1624884942U, // <5,2,3,4>: Cost 2 vext3 <2,3,4,5>, <2,3,4,5>
2717943511U, // <5,2,3,5>: Cost 3 vext3 <5,5,5,5>, <2,3,5,5>
3203489792U, // <5,2,3,6>: Cost 3 ins <u,2,3,6>, lane 0
2827879424U, // <5,2,3,7>: Cost 3 vuzpr <1,5,0,2>, <1,3,5,7>
1625179890U, // <5,2,3,u>: Cost 2 vext3 <2,3,u,5>, <2,3,u,5>
3203514368U, // <5,2,4,0>: Cost 3 ins <u,2,4,0>, lane 0
3189587969U, // <5,2,4,1>: Cost 3 ins <5,u,4,1>, lane 1
2699142925U, // <5,2,4,2>: Cost 3 vext3 <2,4,2,5>, <2,4,2,5>
2698626838U, // <5,2,4,3>: Cost 3 vext3 <2,3,4,5>, <2,4,3,5>
3203547136U, // <5,2,4,4>: Cost 3 ins <u,2,4,4>, lane 0
2628914486U, // <5,2,4,5>: Cost 3 vext2 <1,u,5,2>, RHS
2129821696U, // <5,2,4,6>: Cost 2 ins <u,2,4,6>, lane 0
2846239973U, // <5,2,4,7>: Cost 3 vuzpr <4,5,6,2>, <4,4,6,7>
2129821696U, // <5,2,4,u>: Cost 2 ins <u,2,4,6>, lane 0
3053487782U, // <5,2,5,0>: Cost 3 vtrnl <5,5,5,5>, <2,3,0,1>
3203596288U, // <5,2,5,1>: Cost 3 ins <u,2,5,1>, lane 0
1772498225U, // <5,2,5,2>: Cost 2 vuzpr <4,5,6,2>, <4,5,6,2>
1908654182U, // <5,2,5,3>: Cost 2 vzipr <4,u,5,5>, LHS
3053487822U, // <5,2,5,4>: Cost 3 vtrnl <5,5,5,5>, <2,3,4,5>
2115952641U, // <5,2,5,5>: Cost 2 ins <5,u,5,5>, lane 1
2982396252U, // <5,2,5,6>: Cost 3 vzipr <4,u,5,5>, <0,4,2,6>
2115969025U, // <5,2,5,7>: Cost 2 ins <5,u,5,7>, lane 1
1908654187U, // <5,2,5,u>: Cost 2 vzipr <4,u,5,5>, LHS
3203661824U, // <5,2,6,0>: Cost 3 ins <u,2,6,0>, lane 0
3189735425U, // <5,2,6,1>: Cost 3 ins <5,u,6,1>, lane 1
2973777940U, // <5,2,6,2>: Cost 3 vzipr <3,4,5,6>, <0,0,2,2>
1900036198U, // <5,2,6,3>: Cost 2 vzipr <3,4,5,6>, LHS
2700617665U, // <5,2,6,4>: Cost 3 vext3 <2,6,4,5>, <2,6,4,5>
2973778186U, // <5,2,6,5>: Cost 3 vzipr <3,4,5,6>, <0,3,2,5>
2973778268U, // <5,2,6,6>: Cost 3 vzipr <3,4,5,6>, <0,4,2,6>
2129977344U, // <5,2,6,7>: Cost 2 ins <u,2,6,7>, lane 0
1900036203U, // <5,2,6,u>: Cost 2 vzipr <3,4,5,6>, LHS
2040972182U, // <5,2,7,0>: Cost 2 vtrnr RHS, <1,2,3,0>
3114713251U, // <5,2,7,1>: Cost 3 vtrnr RHS, <0,2,0,1>
2040971428U, // <5,2,7,2>: Cost 2 vtrnr RHS, <0,2,0,2>
1887436902U, // <5,2,7,3>: Cost 2 vzipr <1,3,5,7>, LHS
2040972186U, // <5,2,7,4>: Cost 2 vtrnr RHS, <1,2,3,4>
2961178728U, // <5,2,7,5>: Cost 3 vzipr <1,3,5,7>, <0,1,2,5>
2040971468U, // <5,2,7,6>: Cost 2 vtrnr RHS, <0,2,4,6>
2116116481U, // <5,2,7,7>: Cost 2 ins <5,u,7,7>, lane 1
1887436907U, // <5,2,7,u>: Cost 2 vzipr <1,3,5,7>, LHS
2040980374U, // <5,2,u,0>: Cost 2 vtrnr RHS, <1,2,3,0>
2628917038U, // <5,2,u,1>: Cost 3 vext2 <1,u,5,2>, LHS
2040979620U, // <5,2,u,2>: Cost 2 vtrnr RHS, <0,2,0,2>
1887445094U, // <5,2,u,3>: Cost 2 vzipr <1,3,5,u>, LHS
1628203107U, // <5,2,u,4>: Cost 2 vext3 <2,u,4,5>, <2,u,4,5>
2115952641U, // <5,2,u,5>: Cost 2 ins <5,u,5,5>, lane 1
2040979660U, // <5,2,u,6>: Cost 2 vtrnr RHS, <0,2,4,6>
2115969025U, // <5,2,u,7>: Cost 2 ins <5,u,5,7>, lane 1
1887445099U, // <5,2,u,u>: Cost 2 vzipr <1,3,5,u>, LHS
3203883008U, // <5,3,0,0>: Cost 3 ins <u,3,0,0>, lane 0
2130149376U, // <5,3,0,1>: Cost 2 ins <u,3,0,1>, lane 0
2782904422U, // <5,3,0,2>: Cost 3 vuzpl <5,2,3,4>, LHS
3186581506U, // <5,3,0,3>: Cost 3 ins <5,3,u,3>, lane 2
2687125680U, // <5,3,0,4>: Cost 3 vext3 <0,4,1,5>, <3,0,4,1>
3053750786U, // <5,3,0,5>: Cost 3 vtrnl <5,6,0,1>, <3,4,5,6>
2618302971U, // <5,3,0,6>: Cost 3 vext2 <0,1,5,3>, <0,6,2,3>
2236344927U, // <5,3,0,7>: Cost 3 vrev <3,5,7,0>
2130149376U, // <5,3,0,u>: Cost 2 ins <u,3,0,1>, lane 0
2982364054U, // <5,3,1,0>: Cost 3 vzipr <4,u,5,1>, <1,2,3,0>
3054504086U, // <5,3,1,1>: Cost 3 vtrnl <5,7,1,3>, <3,0,1,2>
2624938923U, // <5,3,1,2>: Cost 3 vext2 <1,2,5,3>, <1,2,5,3>
2130239488U, // <5,3,1,3>: Cost 2 ins <u,3,1,3>, lane 0
2982364058U, // <5,3,1,4>: Cost 3 vzipr <4,u,5,1>, <1,2,3,4>
2636219536U, // <5,3,1,5>: Cost 3 vext2 <3,1,5,3>, <1,5,3,7>
3189407745U, // <5,3,1,6>: Cost 3 ins <5,u,1,6>, lane 1
2964448400U, // <5,3,1,7>: Cost 3 vzipr <1,u,5,1>, <1,5,3,7>
2130239488U, // <5,3,1,u>: Cost 2 ins <u,3,1,3>, lane 0
2235845154U, // <5,3,2,0>: Cost 3 vrev <3,5,0,2>
3204038656U, // <5,3,2,1>: Cost 3 ins <u,3,2,1>, lane 0
3204046848U, // <5,3,2,2>: Cost 3 ins <u,3,2,2>, lane 0
2130313216U, // <5,3,2,3>: Cost 2 ins <u,3,2,3>, lane 0
2703935830U, // <5,3,2,4>: Cost 3 vext3 <3,2,4,5>, <3,2,4,5>
2698627422U, // <5,3,2,5>: Cost 3 vext3 <2,3,4,5>, <3,2,5,4>
3204079616U, // <5,3,2,6>: Cost 3 ins <u,3,2,6>, lane 0
3096314880U, // <5,3,2,7>: Cost 3 vtrnr <1,5,0,2>, <1,3,5,7>
2130313216U, // <5,3,2,u>: Cost 2 ins <u,3,2,3>, lane 0
3204104192U, // <5,3,3,0>: Cost 3 ins <u,3,3,0>, lane 0
2636220684U, // <5,3,3,1>: Cost 3 vext2 <3,1,5,3>, <3,1,5,3>
3204120576U, // <5,3,3,2>: Cost 3 ins <u,3,3,2>, lane 0
2130386944U, // <5,3,3,3>: Cost 2 ins <u,3,3,3>, lane 0
2704599463U, // <5,3,3,4>: Cost 3 vext3 <3,3,4,5>, <3,3,4,5>
2704673200U, // <5,3,3,5>: Cost 3 vext3 <3,3,5,5>, <3,3,5,5>
3189555201U, // <5,3,3,6>: Cost 3 ins <5,u,3,6>, lane 1
2971763856U, // <5,3,3,7>: Cost 3 vzipr <3,1,5,3>, <1,5,3,7>
2130386944U, // <5,3,3,u>: Cost 2 ins <u,3,3,3>, lane 0
2704968148U, // <5,3,4,0>: Cost 3 vext3 <3,4,0,5>, <3,4,0,5>
2642193381U, // <5,3,4,1>: Cost 3 vext2 <4,1,5,3>, <4,1,5,3>
2642857014U, // <5,3,4,2>: Cost 3 vext2 <4,2,5,3>, <4,2,5,3>
2705189359U, // <5,3,4,3>: Cost 3 vext3 <3,4,3,5>, <3,4,3,5>
2705263096U, // <5,3,4,4>: Cost 3 vext3 <3,4,4,5>, <3,4,4,5>
2130477056U, // <5,3,4,5>: Cost 2 ins <u,3,4,5>, lane 0
2846247426U, // <5,3,4,6>: Cost 3 vuzpr <4,5,6,3>, <3,4,5,6>
2236377699U, // <5,3,4,7>: Cost 3 vrev <3,5,7,4>
2130477056U, // <5,3,4,u>: Cost 2 ins <u,3,4,5>, lane 0
2571632742U, // <5,3,5,0>: Cost 3 vext1 <3,5,3,5>, LHS
3053488278U, // <5,3,5,1>: Cost 3 vtrnl <5,5,5,5>, <3,0,1,2>
2571634382U, // <5,3,5,2>: Cost 3 vext1 <3,5,3,5>, <2,3,4,5>
1748320682U, // <5,3,5,3>: Cost 2 vuzpr <0,5,2,3>, <0,5,2,3>
2571636022U, // <5,3,5,4>: Cost 3 vext1 <3,5,3,5>, RHS
2115952641U, // <5,3,5,5>: Cost 2 ins <5,u,5,5>, lane 1
3204300800U, // <5,3,5,6>: Cost 3 ins <u,3,5,6>, lane 0
2130567168U, // <5,3,5,7>: Cost 2 ins <u,3,5,7>, lane 0
2130567168U, // <5,3,5,u>: Cost 2 ins <u,3,5,7>, lane 0
2565668966U, // <5,3,6,0>: Cost 3 vext1 <2,5,3,6>, LHS
3204333568U, // <5,3,6,1>: Cost 3 ins <u,3,6,1>, lane 0
2565670760U, // <5,3,6,2>: Cost 3 vext1 <2,5,3,6>, <2,5,3,6>
2565671426U, // <5,3,6,3>: Cost 3 vext1 <2,5,3,6>, <3,4,5,6>
2565672246U, // <5,3,6,4>: Cost 3 vext1 <2,5,3,6>, RHS
2973778114U, // <5,3,6,5>: Cost 3 vzipr <3,4,5,6>, <0,2,3,5>
2973779816U, // <5,3,6,6>: Cost 3 vzipr <3,4,5,6>, <2,5,3,6>
2130640896U, // <5,3,6,7>: Cost 2 ins <u,3,6,7>, lane 0
2130640896U, // <5,3,6,u>: Cost 2 ins <u,3,6,7>, lane 0
1485963366U, // <5,3,7,0>: Cost 2 vext1 <1,5,3,7>, LHS
1485964432U, // <5,3,7,1>: Cost 2 vext1 <1,5,3,7>, <1,5,3,7>
2961179382U, // <5,3,7,2>: Cost 3 vzipr <1,3,5,7>, <1,0,3,2>
2040972248U, // <5,3,7,3>: Cost 2 vtrnr RHS, <1,3,1,3>
1485966646U, // <5,3,7,4>: Cost 2 vext1 <1,5,3,7>, RHS
2040973006U, // <5,3,7,5>: Cost 2 vtrnr RHS, <2,3,4,5>
2116108289U, // <5,3,7,6>: Cost 2 ins <5,u,7,6>, lane 1
2040972288U, // <5,3,7,7>: Cost 2 vtrnr RHS, <1,3,5,7>
1485969198U, // <5,3,7,u>: Cost 2 vext1 <1,5,3,7>, LHS
1485971558U, // <5,3,u,0>: Cost 2 vext1 <1,5,3,u>, LHS
1485972625U, // <5,3,u,1>: Cost 2 vext1 <1,5,3,u>, <1,5,3,u>
2961187574U, // <5,3,u,2>: Cost 3 vzipr <1,3,5,u>, <1,0,3,2>
2040980440U, // <5,3,u,3>: Cost 2 vtrnr RHS, <1,3,1,3>
1485974838U, // <5,3,u,4>: Cost 2 vext1 <1,5,3,u>, RHS
2040981198U, // <5,3,u,5>: Cost 2 vtrnr RHS, <2,3,4,5>
2116108289U, // <5,3,u,6>: Cost 2 ins <5,u,7,6>, lane 1
2040980480U, // <5,3,u,7>: Cost 2 vtrnr RHS, <1,3,5,7>
1485977390U, // <5,3,u,u>: Cost 2 vext1 <1,5,3,u>, LHS
3189284865U, // <5,4,0,0>: Cost 3 ins <5,u,0,0>, lane 1
2113544197U, // <5,4,0,1>: Cost 2 ins <5,4,u,u>, lane 5
2781626470U, // <5,4,0,2>: Cost 3 vuzpl <5,0,4,1>, LHS
2242022676U, // <5,4,0,3>: Cost 3 vrev <4,5,3,0>
2642198866U, // <5,4,0,4>: Cost 3 vext2 <4,1,5,4>, <0,4,1,5>
2687126418U, // <5,4,0,5>: Cost 3 vext3 <0,4,1,5>, <4,0,5,1>
2113527810U, // <5,4,0,6>: Cost 2 ins <5,4,u,6>, lane 2
3114659045U, // <5,4,0,7>: Cost 3 vtrnr <4,5,6,0>, <4,4,6,7>
2113544197U, // <5,4,0,u>: Cost 2 ins <5,4,u,u>, lane 5
1168067834U, // <5,4,1,0>: Cost 2 vrev <4,5,0,1>
3189366785U, // <5,4,1,1>: Cost 3 ins <5,u,1,1>, lane 1
3204636672U, // <5,4,1,2>: Cost 3 ins <u,4,1,2>, lane 0
2115641345U, // <5,4,1,3>: Cost 2 ins <5,u,1,3>, lane 1
2982366416U, // <5,4,1,4>: Cost 3 vzipr <4,u,5,1>, <4,4,4,4>
1843006774U, // <5,4,1,5>: Cost 2 vzipl <5,1,7,3>, RHS
1980763446U, // <5,4,1,6>: Cost 2 vtrnl <5,7,1,3>, RHS
3189415937U, // <5,4,1,7>: Cost 3 ins <5,u,1,7>, lane 1
1843007017U, // <5,4,1,u>: Cost 2 vzipl <5,1,7,3>, RHS
3204694016U, // <5,4,2,0>: Cost 3 ins <u,4,2,0>, lane 0
2241891588U, // <5,4,2,1>: Cost 3 vrev <4,5,1,2>
3189448705U, // <5,4,2,2>: Cost 3 ins <5,u,2,2>, lane 1
2113544197U, // <5,4,2,3>: Cost 2 ins <5,4,u,u>, lane 5
3204726784U, // <5,4,2,4>: Cost 3 ins <u,4,2,4>, lane 0
2973746894U, // <5,4,2,5>: Cost 3 vzipr <3,4,5,2>, <2,3,4,5>
2131001344U, // <5,4,2,6>: Cost 2 ins <u,4,2,6>, lane 0
3114675429U, // <5,4,2,7>: Cost 3 vtrnr <4,5,6,2>, <4,4,6,7>
2113544197U, // <5,4,2,u>: Cost 2 ins <5,4,u,u>, lane 5
3204767744U, // <5,4,3,0>: Cost 3 ins <u,4,3,0>, lane 0
2241899781U, // <5,4,3,1>: Cost 3 vrev <4,5,1,3>
1168231694U, // <5,4,3,2>: Cost 2 vrev <4,5,2,3>
3189530625U, // <5,4,3,3>: Cost 3 ins <5,u,3,3>, lane 1
2638219776U, // <5,4,3,4>: Cost 3 vext2 <3,4,5,4>, <3,4,5,4>
2978399950U, // <5,4,3,5>: Cost 3 vzipr <4,2,5,3>, <2,3,4,5>
2113527810U, // <5,4,3,6>: Cost 2 ins <5,4,u,6>, lane 2
2840355840U, // <5,4,3,7>: Cost 3 vuzpr <3,5,7,4>, <1,3,5,7>
2113527810U, // <5,4,3,u>: Cost 2 ins <5,4,u,6>, lane 2
2918763410U, // <5,4,4,0>: Cost 3 vzipl <5,4,7,6>, <4,0,5,1>
2642201574U, // <5,4,4,1>: Cost 3 vext2 <4,1,5,4>, <4,1,5,4>
3186991107U, // <5,4,4,2>: Cost 3 ins <5,4,4,u>, lane 3
3186991107U, // <5,4,4,3>: Cost 3 ins <5,4,4,u>, lane 3
2131132416U, // <5,4,4,4>: Cost 2 ins <u,4,4,4>, lane 0
1845022006U, // <5,4,4,5>: Cost 2 vzipl <5,4,7,6>, RHS
2113527810U, // <5,4,4,6>: Cost 2 ins <5,4,u,6>, lane 2
2646183372U, // <5,4,4,7>: Cost 3 vext2 <4,7,5,4>, <4,7,5,4>
1845022249U, // <5,4,4,u>: Cost 2 vzipl <5,4,7,6>, RHS
1503936614U, // <5,4,5,0>: Cost 2 vext1 <4,5,4,5>, LHS
2559763607U, // <5,4,5,1>: Cost 3 vext1 <1,5,4,5>, <1,5,4,5>
2698628366U, // <5,4,5,2>: Cost 3 vext3 <2,3,4,5>, <4,5,2,3>
3189678081U, // <5,4,5,3>: Cost 3 ins <5,u,5,3>, lane 1
1168395554U, // <5,4,5,4>: Cost 2 vrev <4,5,4,5>
1845529910U, // <5,4,5,5>: Cost 2 vzipl <5,5,5,5>, RHS
1613385014U, // <5,4,5,6>: Cost 2 vext3 <0,4,1,5>, RHS
2115969025U, // <5,4,5,7>: Cost 2 ins <5,u,5,7>, lane 1
1613385032U, // <5,4,5,u>: Cost 2 vext3 <0,4,1,5>, RHS
2559770726U, // <5,4,6,0>: Cost 3 vext1 <1,5,4,6>, LHS
2559771800U, // <5,4,6,1>: Cost 3 vext1 <1,5,4,6>, <1,5,4,6>
3189743617U, // <5,4,6,2>: Cost 3 ins <5,u,6,2>, lane 1
2571717194U, // <5,4,6,3>: Cost 3 vext1 <3,5,4,6>, <3,5,4,6>
2559774006U, // <5,4,6,4>: Cost 3 vext1 <1,5,4,6>, RHS
1846299958U, // <5,4,6,5>: Cost 2 vzipl <5,6,7,0>, RHS
2131296256U, // <5,4,6,6>: Cost 2 ins <u,4,6,6>, lane 0
2113544197U, // <5,4,6,7>: Cost 2 ins <5,4,u,u>, lane 5
1846300201U, // <5,4,6,u>: Cost 2 vzipl <5,6,7,0>, RHS
2116059137U, // <5,4,7,0>: Cost 2 ins <5,u,7,0>, lane 1
2113470467U, // <5,4,7,1>: Cost 2 ins <5,4,7,u>, lane 3
2113470467U, // <5,4,7,2>: Cost 2 ins <5,4,7,u>, lane 3
2116083713U, // <5,4,7,3>: Cost 2 ins <5,u,7,3>, lane 1
2040974544U, // <5,4,7,4>: Cost 2 vtrnr RHS, <4,4,4,4>
2040971602U, // <5,4,7,5>: Cost 2 vtrnr RHS, <0,4,1,5>
94817590U, // <5,4,7,6>: Cost 1 vrev RHS
2116116481U, // <5,4,7,7>: Cost 2 ins <5,u,7,7>, lane 1
94965064U, // <5,4,7,u>: Cost 1 vrev RHS
2116059137U, // <5,4,u,0>: Cost 2 ins <5,u,7,0>, lane 1
2113544197U, // <5,4,u,1>: Cost 2 ins <5,4,u,u>, lane 5
2113470467U, // <5,4,u,2>: Cost 2 ins <5,4,7,u>, lane 3
2115641345U, // <5,4,u,3>: Cost 2 ins <5,u,1,3>, lane 1
2040982736U, // <5,4,u,4>: Cost 2 vtrnr RHS, <4,4,4,4>
2040979794U, // <5,4,u,5>: Cost 2 vtrnr RHS, <0,4,1,5>
94825783U, // <5,4,u,6>: Cost 1 vrev RHS
2115969025U, // <5,4,u,7>: Cost 2 ins <5,u,5,7>, lane 1
94973257U, // <5,4,u,u>: Cost 1 vrev RHS
2040917295U, // <5,5,0,0>: Cost 2 vtrnr <4,5,6,0>, <4,5,6,0>
1573109862U, // <5,5,0,1>: Cost 2 vext2 <4,u,5,5>, LHS
1711308902U, // <5,5,0,2>: Cost 2 vuzpl <5,5,5,5>, LHS
3187908610U, // <5,5,0,3>: Cost 3 ins <5,5,u,3>, lane 2
2687127138U, // <5,5,0,4>: Cost 3 vext3 <0,4,1,5>, <5,0,4,1>
2114183170U, // <5,5,0,5>: Cost 2 ins <5,5,u,5>, lane 2
3187933186U, // <5,5,0,6>: Cost 3 ins <5,5,u,6>, lane 2
2114199554U, // <5,5,0,7>: Cost 2 ins <5,5,u,7>, lane 2
1573110429U, // <5,5,0,u>: Cost 2 vext2 <4,u,5,5>, LHS
2646852342U, // <5,5,1,0>: Cost 3 vext2 <4,u,5,5>, <1,0,3,2>
1908624922U, // <5,5,1,1>: Cost 2 vzipr <4,u,5,1>, <4,u,5,1>
2646852502U, // <5,5,1,2>: Cost 3 vext2 <4,u,5,5>, <1,2,3,0>
1778417766U, // <5,5,1,3>: Cost 2 vuzpr <5,5,5,5>, LHS
2715217591U, // <5,5,1,4>: Cost 3 vext3 <5,1,4,5>, <5,1,4,5>
2114183170U, // <5,5,1,5>: Cost 2 ins <5,5,u,5>, lane 2
2982365698U, // <5,5,1,6>: Cost 3 vzipr <4,u,5,1>, <3,4,5,6>
2114199554U, // <5,5,1,7>: Cost 2 ins <5,5,u,7>, lane 2
1778417771U, // <5,5,1,u>: Cost 2 vuzpr <5,5,5,5>, LHS
2785052326U, // <5,5,2,0>: Cost 3 vuzpl <5,5,5,5>, <2,3,0,1>
3205365760U, // <5,5,2,1>: Cost 3 ins <u,5,2,1>, lane 0
2040933681U, // <5,5,2,2>: Cost 2 vtrnr <4,5,6,2>, <4,5,6,2>
2114207749U, // <5,5,2,3>: Cost 2 ins <5,5,u,u>, lane 5
2785052366U, // <5,5,2,4>: Cost 3 vuzpl <5,5,5,5>, <2,3,4,5>
2114183170U, // <5,5,2,5>: Cost 2 ins <5,5,u,5>, lane 2
2646853562U, // <5,5,2,6>: Cost 3 vext2 <4,u,5,5>, <2,6,3,7>
2114199554U, // <5,5,2,7>: Cost 2 ins <5,5,u,7>, lane 2
2114207749U, // <5,5,2,u>: Cost 2 ins <5,5,u,u>, lane 5
2646853782U, // <5,5,3,0>: Cost 3 vext2 <4,u,5,5>, <3,0,1,2>
2785052822U, // <5,5,3,1>: Cost 3 vuzpl <5,5,5,5>, <3,0,1,2>
3187900418U, // <5,5,3,2>: Cost 3 ins <5,5,u,2>, lane 2
1880105089U, // <5,5,3,3>: Cost 2 vzipr <0,1,5,3>, <0,1,5,3>
2646854146U, // <5,5,3,4>: Cost 3 vext2 <4,u,5,5>, <3,4,5,6>
2114183170U, // <5,5,3,5>: Cost 2 ins <5,5,u,5>, lane 2
3205480448U, // <5,5,3,6>: Cost 3 ins <u,5,3,6>, lane 0
2131746816U, // <5,5,3,7>: Cost 2 ins <u,5,3,7>, lane 0
2131746816U, // <5,5,3,u>: Cost 2 ins <u,5,3,7>, lane 0
2646854546U, // <5,5,4,0>: Cost 3 vext2 <4,u,5,5>, <4,0,5,1>
2716987279U, // <5,5,4,1>: Cost 3 vext3 <5,4,1,5>, <5,4,1,5>
3187900418U, // <5,5,4,2>: Cost 3 ins <5,5,u,2>, lane 2
3187908610U, // <5,5,4,3>: Cost 3 ins <5,5,u,3>, lane 2
1845022662U, // <5,5,4,4>: Cost 2 vzipl <5,4,7,6>, <5,4,7,6>
1573113142U, // <5,5,4,5>: Cost 2 vext2 <4,u,5,5>, RHS
1711312182U, // <5,5,4,6>: Cost 2 vuzpl <5,5,5,5>, RHS
2114199554U, // <5,5,4,7>: Cost 2 ins <5,5,u,7>, lane 2
1573113374U, // <5,5,4,u>: Cost 2 vext2 <4,u,5,5>, <4,u,5,5>
1509982310U, // <5,5,5,0>: Cost 2 vext1 <5,5,5,5>, LHS
2113986563U, // <5,5,5,1>: Cost 2 ins <5,5,5,u>, lane 3
2113986563U, // <5,5,5,2>: Cost 2 ins <5,5,5,u>, lane 3
2113986563U, // <5,5,5,3>: Cost 2 ins <5,5,5,u>, lane 3
1509985590U, // <5,5,5,4>: Cost 2 vext1 <5,5,5,5>, RHS
229035318U, // <5,5,5,5>: Cost 1 vdup1 RHS
2113986563U, // <5,5,5,6>: Cost 2 ins <5,5,5,u>, lane 3
1778421046U, // <5,5,5,7>: Cost 2 vuzpr <5,5,5,5>, RHS
229035318U, // <5,5,5,u>: Cost 1 vdup1 RHS
2131910656U, // <5,5,6,0>: Cost 2 ins <u,5,6,0>, lane 0
2131918848U, // <5,5,6,1>: Cost 2 ins <u,5,6,1>, lane 0
2131927040U, // <5,5,6,2>: Cost 2 ins <u,5,6,2>, lane 0
2131935232U, // <5,5,6,3>: Cost 2 ins <u,5,6,3>, lane 0
2131943424U, // <5,5,6,4>: Cost 2 ins <u,5,6,4>, lane 0
2131951616U, // <5,5,6,5>: Cost 2 ins <u,5,6,5>, lane 0
1900038658U, // <5,5,6,6>: Cost 2 vzipr <3,4,5,6>, <3,4,5,6>
1058226176U, // <5,5,6,7>: Cost 1 ins RHS, lane 0
1058226176U, // <5,5,6,u>: Cost 1 ins RHS, lane 0
2116059137U, // <5,5,7,0>: Cost 2 ins <5,u,7,0>, lane 1
2114134019U, // <5,5,7,1>: Cost 2 ins <5,5,7,u>, lane 3
2114134019U, // <5,5,7,2>: Cost 2 ins <5,5,7,u>, lane 3
2116083713U, // <5,5,7,3>: Cost 2 ins <5,u,7,3>, lane 1
2116091905U, // <5,5,7,4>: Cost 2 ins <5,u,7,4>, lane 1
2040975364U, // <5,5,7,5>: Cost 2 vtrnr RHS, <5,5,5,5>
2116108289U, // <5,5,7,6>: Cost 2 ins <5,u,7,6>, lane 1
967232822U, // <5,5,7,7>: Cost 1 vtrnr RHS, RHS
967232823U, // <5,5,7,u>: Cost 1 vtrnr RHS, RHS
1509982310U, // <5,5,u,0>: Cost 2 vext1 <5,5,5,5>, LHS
1573115694U, // <5,5,u,1>: Cost 2 vext2 <4,u,5,5>, LHS
1711314734U, // <5,5,u,2>: Cost 2 vuzpl <5,5,5,5>, LHS
1778418333U, // <5,5,u,3>: Cost 2 vuzpr <5,5,5,5>, LHS
1845022662U, // <5,5,u,4>: Cost 2 vzipl <5,4,7,6>, <5,4,7,6>
229035318U, // <5,5,u,5>: Cost 1 vdup1 RHS
1711315098U, // <5,5,u,6>: Cost 2 vuzpl <5,5,5,5>, RHS
967241014U, // <5,5,u,7>: Cost 1 vtrnr RHS, RHS
967241015U, // <5,5,u,u>: Cost 1 vtrnr RHS, RHS
2114805762U, // <5,6,0,0>: Cost 2 ins <5,6,u,0>, lane 2
1564491878U, // <5,6,0,1>: Cost 2 vext2 <3,4,5,6>, LHS
2132148224U, // <5,6,0,2>: Cost 2 ins <u,6,0,2>, lane 0
2638233856U, // <5,6,0,3>: Cost 3 vext2 <3,4,5,6>, <0,3,1,4>
2114838530U, // <5,6,0,4>: Cost 2 ins <5,6,u,4>, lane 2
3188588546U, // <5,6,0,5>: Cost 3 ins <5,6,u,5>, lane 2
3188596738U, // <5,6,0,6>: Cost 3 ins <5,6,u,6>, lane 2
2973732150U, // <5,6,0,7>: Cost 3 vzipr <3,4,5,0>, RHS
1564492445U, // <5,6,0,u>: Cost 2 vext2 <3,4,5,6>, LHS
2114805762U, // <5,6,1,0>: Cost 2 ins <5,6,u,0>, lane 2
2638234420U, // <5,6,1,1>: Cost 3 vext2 <3,4,5,6>, <1,1,1,1>
2638234518U, // <5,6,1,2>: Cost 3 vext2 <3,4,5,6>, <1,2,3,0>
2115641345U, // <5,6,1,3>: Cost 2 ins <5,u,1,3>, lane 1
2114838530U, // <5,6,1,4>: Cost 2 ins <5,6,u,4>, lane 2
2638234768U, // <5,6,1,5>: Cost 3 vext2 <3,4,5,6>, <1,5,3,7>
2982366436U, // <5,6,1,6>: Cost 3 vzipr <4,u,5,1>, <4,4,6,6>
1908624694U, // <5,6,1,7>: Cost 2 vzipr <4,u,5,1>, RHS
1908624695U, // <5,6,1,u>: Cost 2 vzipr <4,u,5,1>, RHS
2114805762U, // <5,6,2,0>: Cost 2 ins <5,6,u,0>, lane 2
3188555778U, // <5,6,2,1>: Cost 3 ins <5,6,u,1>, lane 2
2638235240U, // <5,6,2,2>: Cost 3 vext2 <3,4,5,6>, <2,2,2,2>
2114871301U, // <5,6,2,3>: Cost 2 ins <5,6,u,u>, lane 5
2114838530U, // <5,6,2,4>: Cost 2 ins <5,6,u,4>, lane 2
2638235496U, // <5,6,2,5>: Cost 3 vext2 <3,4,5,6>, <2,5,3,6>
2638235578U, // <5,6,2,6>: Cost 3 vext2 <3,4,5,6>, <2,6,3,7>
2964458806U, // <5,6,2,7>: Cost 3 vzipr <1,u,5,2>, RHS
2114805762U, // <5,6,2,u>: Cost 2 ins <5,6,u,0>, lane 2
2114805762U, // <5,6,3,0>: Cost 2 ins <5,6,u,0>, lane 2
3206103040U, // <5,6,3,1>: Cost 3 ins <u,6,3,1>, lane 0
3206111232U, // <5,6,3,2>: Cost 3 ins <u,6,3,2>, lane 0
2638236060U, // <5,6,3,3>: Cost 3 vext2 <3,4,5,6>, <3,3,3,3>
1564494338U, // <5,6,3,4>: Cost 2 vext2 <3,4,5,6>, <3,4,5,6>
2783119874U, // <5,6,3,5>: Cost 3 vuzpl <5,2,6,3>, <3,4,5,6>
3206144000U, // <5,6,3,6>: Cost 3 ins <u,6,3,6>, lane 0
2132410368U, // <5,6,3,7>: Cost 2 ins <u,6,3,7>, lane 0
1567148870U, // <5,6,3,u>: Cost 2 vext2 <3,u,5,6>, <3,u,5,6>
2114805762U, // <5,6,4,0>: Cost 2 ins <5,6,u,0>, lane 2
3189587969U, // <5,6,4,1>: Cost 3 ins <5,u,4,1>, lane 1
2918765050U, // <5,6,4,2>: Cost 3 vzipl <5,4,7,6>, <6,2,7,3>
2638236818U, // <5,6,4,3>: Cost 3 vext2 <3,4,5,6>, <4,3,6,5>
2114838530U, // <5,6,4,4>: Cost 2 ins <5,6,u,4>, lane 2
1564495158U, // <5,6,4,5>: Cost 2 vext2 <3,4,5,6>, RHS
2132475904U, // <5,6,4,6>: Cost 2 ins <u,6,4,6>, lane 0
2972437814U, // <5,6,4,7>: Cost 3 vzipr <3,2,5,4>, RHS
1564495401U, // <5,6,4,u>: Cost 2 vext2 <3,4,5,6>, RHS
2114805762U, // <5,6,5,0>: Cost 2 ins <5,6,u,0>, lane 2
2662125264U, // <5,6,5,1>: Cost 3 vext2 <7,4,5,6>, <5,1,7,3>
2982398876U, // <5,6,5,2>: Cost 3 vzipr <4,u,5,5>, <4,0,6,2>
3189678081U, // <5,6,5,3>: Cost 3 ins <5,u,5,3>, lane 1
2114838530U, // <5,6,5,4>: Cost 2 ins <5,6,u,4>, lane 2
2115952641U, // <5,6,5,5>: Cost 2 ins <5,u,5,5>, lane 1
1772530997U, // <5,6,5,6>: Cost 2 vuzpr <4,5,6,6>, <4,5,6,6>
1908657462U, // <5,6,5,7>: Cost 2 vzipr <4,u,5,5>, RHS
1908657463U, // <5,6,5,u>: Cost 2 vzipr <4,u,5,5>, RHS
2114805762U, // <5,6,6,0>: Cost 2 ins <5,6,u,0>, lane 2
3189735425U, // <5,6,6,1>: Cost 3 ins <5,u,6,1>, lane 1
2920043002U, // <5,6,6,2>: Cost 3 vzipl <5,6,7,0>, <6,2,7,3>
2973781298U, // <5,6,6,3>: Cost 3 vzipr <3,4,5,6>, <4,5,6,3>
2114838530U, // <5,6,6,4>: Cost 2 ins <5,6,u,4>, lane 2
2973781138U, // <5,6,6,5>: Cost 3 vzipr <3,4,5,6>, <4,3,6,5>
2132623360U, // <5,6,6,6>: Cost 2 ins <u,6,6,6>, lane 0
1900039478U, // <5,6,6,7>: Cost 2 vzipr <3,4,5,6>, RHS
1900039479U, // <5,6,6,u>: Cost 2 vzipr <3,4,5,6>, RHS
430358630U, // <5,6,7,0>: Cost 1 vext1 RHS, LHS
1504101110U, // <5,6,7,1>: Cost 2 vext1 RHS, <1,0,3,2>
1504101992U, // <5,6,7,2>: Cost 2 vext1 RHS, <2,2,2,2>
1504102550U, // <5,6,7,3>: Cost 2 vext1 RHS, <3,0,1,2>
430361910U, // <5,6,7,4>: Cost 1 vext1 RHS, RHS
1504104390U, // <5,6,7,5>: Cost 2 vext1 RHS, <5,4,7,6>
1504105272U, // <5,6,7,6>: Cost 2 vext1 RHS, <6,6,6,6>
1887440182U, // <5,6,7,7>: Cost 2 vzipr <1,3,5,7>, RHS
430364462U, // <5,6,7,u>: Cost 1 vext1 RHS, LHS
430366822U, // <5,6,u,0>: Cost 1 vext1 RHS, LHS
1564497710U, // <5,6,u,1>: Cost 2 vext2 <3,4,5,6>, LHS
1504110184U, // <5,6,u,2>: Cost 2 vext1 RHS, <2,2,2,2>
1504110742U, // <5,6,u,3>: Cost 2 vext1 RHS, <3,0,1,2>
430370103U, // <5,6,u,4>: Cost 1 vext1 RHS, RHS
1564498074U, // <5,6,u,5>: Cost 2 vext2 <3,4,5,6>, RHS
1504113146U, // <5,6,u,6>: Cost 2 vext1 RHS, <6,2,7,3>
1887448374U, // <5,6,u,7>: Cost 2 vzipr <1,3,5,u>, RHS
430372654U, // <5,6,u,u>: Cost 1 vext1 RHS, LHS
1772535808U, // <5,7,0,0>: Cost 2 vuzpr RHS, <0,0,0,0>
1551892582U, // <5,7,0,1>: Cost 2 vext2 <1,3,5,7>, LHS
1772535828U, // <5,7,0,2>: Cost 2 vuzpr RHS, <0,0,2,2>
2115493890U, // <5,7,0,3>: Cost 2 ins <5,7,u,3>, lane 2
2625634642U, // <5,7,0,4>: Cost 3 vext2 <1,3,5,7>, <0,4,1,5>
2846279860U, // <5,7,0,5>: Cost 3 vuzpr RHS, <3,0,4,5>
2846277674U, // <5,7,0,6>: Cost 3 vuzpr RHS, <0,0,4,6>
2115526658U, // <5,7,0,7>: Cost 2 ins <5,7,u,7>, lane 2
1551893149U, // <5,7,0,u>: Cost 2 vext2 <1,3,5,7>, LHS
2115018755U, // <5,7,1,0>: Cost 2 ins <5,7,1,u>, lane 3
1772536628U, // <5,7,1,1>: Cost 2 vuzpr RHS, <1,1,1,1>
2115018755U, // <5,7,1,2>: Cost 2 ins <5,7,1,u>, lane 3
698794086U, // <5,7,1,3>: Cost 1 vuzpr RHS, LHS
2115018755U, // <5,7,1,4>: Cost 2 ins <5,7,1,u>, lane 3
2115018755U, // <5,7,1,5>: Cost 2 ins <5,7,1,u>, lane 3
2115018755U, // <5,7,1,6>: Cost 2 ins <5,7,1,u>, lane 3
2115526658U, // <5,7,1,7>: Cost 2 ins <5,7,u,7>, lane 2
698794091U, // <5,7,1,u>: Cost 1 vuzpr RHS, LHS
1772536726U, // <5,7,2,0>: Cost 2 vuzpr RHS, <1,2,3,0>
2846277795U, // <5,7,2,1>: Cost 3 vuzpr RHS, <0,2,0,1>
1772535972U, // <5,7,2,2>: Cost 2 vuzpr RHS, <0,2,0,2>
1772537458U, // <5,7,2,3>: Cost 2 vuzpr RHS, <2,2,3,3>
1772536730U, // <5,7,2,4>: Cost 2 vuzpr RHS, <1,2,3,4>
2625636201U, // <5,7,2,5>: Cost 3 vext2 <1,3,5,7>, <2,5,3,7>
1772536012U, // <5,7,2,6>: Cost 2 vuzpr RHS, <0,2,4,6>
2115526658U, // <5,7,2,7>: Cost 2 ins <5,7,u,7>, lane 2
1772535978U, // <5,7,2,u>: Cost 2 vuzpr RHS, <0,2,0,u>
2625636502U, // <5,7,3,0>: Cost 3 vext2 <1,3,5,7>, <3,0,1,2>
1772537510U, // <5,7,3,1>: Cost 2 vuzpr RHS, <2,3,0,1>
2846278606U, // <5,7,3,2>: Cost 3 vuzpr RHS, <1,3,0,2>
1772536792U, // <5,7,3,3>: Cost 2 vuzpr RHS, <1,3,1,3>
2625636866U, // <5,7,3,4>: Cost 3 vext2 <1,3,5,7>, <3,4,5,6>
1772537550U, // <5,7,3,5>: Cost 2 vuzpr RHS, <2,3,4,5>
2846278628U, // <5,7,3,6>: Cost 3 vuzpr RHS, <1,3,2,6>
1772536832U, // <5,7,3,7>: Cost 2 vuzpr RHS, <1,3,5,7>
1772536797U, // <5,7,3,u>: Cost 2 vuzpr RHS, <1,3,1,u>
2571919462U, // <5,7,4,0>: Cost 3 vext1 <3,5,7,4>, LHS
2571920384U, // <5,7,4,1>: Cost 3 vext1 <3,5,7,4>, <1,3,5,7>
2846277958U, // <5,7,4,2>: Cost 3 vuzpr RHS, <0,4,0,2>
2115493890U, // <5,7,4,3>: Cost 2 ins <5,7,u,3>, lane 2
1772539088U, // <5,7,4,4>: Cost 2 vuzpr RHS, <4,4,4,4>
1551895862U, // <5,7,4,5>: Cost 2 vext2 <1,3,5,7>, RHS
1772536156U, // <5,7,4,6>: Cost 2 vuzpr RHS, <0,4,2,6>
2115526658U, // <5,7,4,7>: Cost 2 ins <5,7,u,7>, lane 2
1551896105U, // <5,7,4,u>: Cost 2 vext2 <1,3,5,7>, RHS
2115313667U, // <5,7,5,0>: Cost 2 ins <5,7,5,u>, lane 3
2115313667U, // <5,7,5,1>: Cost 2 ins <5,7,5,u>, lane 3
2115313667U, // <5,7,5,2>: Cost 2 ins <5,7,5,u>, lane 3
2115493890U, // <5,7,5,3>: Cost 2 ins <5,7,u,3>, lane 2
2115313667U, // <5,7,5,4>: Cost 2 ins <5,7,5,u>, lane 3
1772539908U, // <5,7,5,5>: Cost 2 vuzpr RHS, <5,5,5,5>
2115313667U, // <5,7,5,6>: Cost 2 ins <5,7,5,u>, lane 3
698797366U, // <5,7,5,7>: Cost 1 vuzpr RHS, RHS
698797367U, // <5,7,5,u>: Cost 1 vuzpr RHS, RHS
1772540002U, // <5,7,6,0>: Cost 2 vuzpr RHS, <5,6,7,0>
2846279577U, // <5,7,6,1>: Cost 3 vuzpr RHS, <2,6,0,1>
1772539212U, // <5,7,6,2>: Cost 2 vuzpr RHS, <4,6,0,2>
2115493890U, // <5,7,6,3>: Cost 2 ins <5,7,u,3>, lane 2
1772540006U, // <5,7,6,4>: Cost 2 vuzpr RHS, <5,6,7,4>
2846279617U, // <5,7,6,5>: Cost 3 vuzpr RHS, <2,6,4,5>
1772539252U, // <5,7,6,6>: Cost 2 vuzpr RHS, <4,6,4,6>
1772537786U, // <5,7,6,7>: Cost 2 vuzpr RHS, <2,6,3,7>
1772537787U, // <5,7,6,u>: Cost 2 vuzpr RHS, <2,6,3,u>
1510146150U, // <5,7,7,0>: Cost 2 vext1 <5,5,7,7>, LHS
1772540750U, // <5,7,7,1>: Cost 2 vuzpr RHS, <6,7,0,1>
2846281846U, // <5,7,7,2>: Cost 3 vuzpr RHS, <5,7,0,2>
1772540032U, // <5,7,7,3>: Cost 2 vuzpr RHS, <5,7,1,3>
1510149430U, // <5,7,7,4>: Cost 2 vext1 <5,5,7,7>, RHS
1772540790U, // <5,7,7,5>: Cost 2 vuzpr RHS, <6,7,4,5>
2116108289U, // <5,7,7,6>: Cost 2 ins <5,u,7,6>, lane 1
1772540072U, // <5,7,7,7>: Cost 2 vuzpr RHS, <5,7,5,7>
1772540037U, // <5,7,7,u>: Cost 2 vuzpr RHS, <5,7,1,u>
1772537212U, // <5,7,u,0>: Cost 2 vuzpr RHS, <1,u,3,0>
1551898414U, // <5,7,u,1>: Cost 2 vext2 <1,3,5,7>, LHS
1772536458U, // <5,7,u,2>: Cost 2 vuzpr RHS, <0,u,0,2>
698794653U, // <5,7,u,3>: Cost 1 vuzpr RHS, LHS
1772537216U, // <5,7,u,4>: Cost 2 vuzpr RHS, <1,u,3,4>
1551898778U, // <5,7,u,5>: Cost 2 vext2 <1,3,5,7>, RHS
1772536480U, // <5,7,u,6>: Cost 2 vuzpr RHS, <0,u,2,6>
698797609U, // <5,7,u,7>: Cost 1 vuzpr RHS, RHS
698794658U, // <5,7,u,u>: Cost 1 vuzpr RHS, LHS
1772544000U, // <5,u,0,0>: Cost 2 vuzpr RHS, <0,0,0,0>
1551900774U, // <5,u,0,1>: Cost 2 vext2 <1,3,5,u>, LHS
1772544020U, // <5,u,0,2>: Cost 2 vuzpr RHS, <0,0,2,2>
2111512578U, // <5,u,0,3>: Cost 2 ins <5,1,u,3>, lane 2
2114838530U, // <5,u,0,4>: Cost 2 ins <5,6,u,4>, lane 2
2114183170U, // <5,u,0,5>: Cost 2 ins <5,5,u,5>, lane 2
2113527810U, // <5,u,0,6>: Cost 2 ins <5,4,u,6>, lane 2
2114199554U, // <5,u,0,7>: Cost 2 ins <5,5,u,7>, lane 2
1551901341U, // <5,u,0,u>: Cost 2 vext2 <1,3,5,u>, LHS
2114805762U, // <5,u,1,0>: Cost 2 ins <5,6,u,0>, lane 2
1772544820U, // <5,u,1,1>: Cost 2 vuzpr RHS, <1,1,1,1>
1613387566U, // <5,u,1,2>: Cost 2 vext3 <0,4,1,5>, LHS
698802278U, // <5,u,1,3>: Cost 1 vuzpr RHS, LHS
2114838530U, // <5,u,1,4>: Cost 2 ins <5,6,u,4>, lane 2
1843009690U, // <5,u,1,5>: Cost 2 vzipl <5,1,7,3>, RHS
1980766362U, // <5,u,1,6>: Cost 2 vtrnl <5,7,1,3>, RHS
1908624712U, // <5,u,1,7>: Cost 2 vzipr <4,u,5,1>, RHS
698802283U, // <5,u,1,u>: Cost 1 vuzpr RHS, LHS
1772544918U, // <5,u,2,0>: Cost 2 vuzpr RHS, <1,2,3,0>
2128969728U, // <5,u,2,1>: Cost 2 ins <u,1,2,1>, lane 0
1772544164U, // <5,u,2,2>: Cost 2 vuzpr RHS, <0,2,0,2>
1055244288U, // <5,u,2,3>: Cost 1 ins LHS, lane 0
1772544922U, // <5,u,2,4>: Cost 2 vuzpr RHS, <1,2,3,4>
2129002496U, // <5,u,2,5>: Cost 2 ins <u,1,2,5>, lane 0
1772544204U, // <5,u,2,6>: Cost 2 vuzpr RHS, <0,2,4,6>
2114199554U, // <5,u,2,7>: Cost 2 ins <5,5,u,7>, lane 2
1055244288U, // <5,u,2,u>: Cost 1 ins LHS, lane 0
2129698816U, // <5,u,3,0>: Cost 2 ins <u,2,3,0>, lane 0
1772545702U, // <5,u,3,1>: Cost 2 vuzpr RHS, <2,3,0,1>
2128388096U, // <5,u,3,2>: Cost 2 ins <u,0,3,2>, lane 0
1772544984U, // <5,u,3,3>: Cost 2 vuzpr RHS, <1,3,1,3>
1564510724U, // <5,u,3,4>: Cost 2 vext2 <3,4,5,u>, <3,4,5,u>
1772545742U, // <5,u,3,5>: Cost 2 vuzpr RHS, <2,3,4,5>
2113527810U, // <5,u,3,6>: Cost 2 ins <5,4,u,6>, lane 2
1772545024U, // <5,u,3,7>: Cost 2 vuzpr RHS, <1,3,5,7>
1567165256U, // <5,u,3,u>: Cost 2 vext2 <3,u,5,u>, <3,u,5,u>
2114805762U, // <5,u,4,0>: Cost 2 ins <5,6,u,0>, lane 2
1845024558U, // <5,u,4,1>: Cost 2 vzipl <5,4,7,6>, LHS
2642897979U, // <5,u,4,2>: Cost 3 vext2 <4,2,5,u>, <4,2,5,u>
2111512578U, // <5,u,4,3>: Cost 2 ins <5,1,u,3>, lane 2
1772547280U, // <5,u,4,4>: Cost 2 vuzpr RHS, <4,4,4,4>
1551904054U, // <5,u,4,5>: Cost 2 vext2 <1,3,5,u>, RHS
1772544348U, // <5,u,4,6>: Cost 2 vuzpr RHS, <0,4,2,6>
2114199554U, // <5,u,4,7>: Cost 2 ins <5,5,u,7>, lane 2
1551904297U, // <5,u,4,u>: Cost 2 vext2 <1,3,5,u>, RHS
1509982310U, // <5,u,5,0>: Cost 2 vext1 <5,5,5,5>, LHS
1845532462U, // <5,u,5,1>: Cost 2 vzipl <5,5,5,5>, LHS
1979750190U, // <5,u,5,2>: Cost 2 vtrnl <5,5,5,5>, LHS
1908654236U, // <5,u,5,3>: Cost 2 vzipr <4,u,5,5>, LHS
1509985590U, // <5,u,5,4>: Cost 2 vext1 <5,5,5,5>, RHS
229035318U, // <5,u,5,5>: Cost 1 vdup1 RHS
1613387930U, // <5,u,5,6>: Cost 2 vext3 <0,4,1,5>, RHS
698805558U, // <5,u,5,7>: Cost 1 vuzpr RHS, RHS
698805559U, // <5,u,5,u>: Cost 1 vuzpr RHS, RHS
1772548194U, // <5,u,6,0>: Cost 2 vuzpr RHS, <5,6,7,0>
1846302510U, // <5,u,6,1>: Cost 2 vzipl <5,6,7,0>, LHS
1772547404U, // <5,u,6,2>: Cost 2 vuzpr RHS, <4,6,0,2>
1900036252U, // <5,u,6,3>: Cost 2 vzipr <3,4,5,6>, LHS
1772548198U, // <5,u,6,4>: Cost 2 vuzpr RHS, <5,6,7,4>
1846302874U, // <5,u,6,5>: Cost 2 vzipl <5,6,7,0>, RHS
1772547444U, // <5,u,6,6>: Cost 2 vuzpr RHS, <4,6,4,6>
1058226176U, // <5,u,6,7>: Cost 1 ins RHS, lane 0
1058226176U, // <5,u,6,u>: Cost 1 ins RHS, lane 0
430506086U, // <5,u,7,0>: Cost 1 vext1 RHS, LHS
1486333117U, // <5,u,7,1>: Cost 2 vext1 <1,5,u,7>, <1,5,u,7>
2040971914U, // <5,u,7,2>: Cost 2 vtrnr RHS, <0,u,0,2>
967230109U, // <5,u,7,3>: Cost 1 vtrnr RHS, LHS
430509384U, // <5,u,7,4>: Cost 1 vext1 RHS, RHS
2040971926U, // <5,u,7,5>: Cost 2 vtrnr RHS, <0,u,1,5>
118708378U, // <5,u,7,6>: Cost 1 vrev RHS
967233065U, // <5,u,7,7>: Cost 1 vtrnr RHS, RHS
967230114U, // <5,u,7,u>: Cost 1 vtrnr RHS, LHS
430514278U, // <5,u,u,0>: Cost 1 vext1 RHS, LHS
1551906606U, // <5,u,u,1>: Cost 2 vext2 <1,3,5,u>, LHS
1613388133U, // <5,u,u,2>: Cost 2 vext3 <0,4,1,5>, LHS
698802845U, // <5,u,u,3>: Cost 1 vuzpr RHS, LHS
430517577U, // <5,u,u,4>: Cost 1 vext1 RHS, RHS
229035318U, // <5,u,u,5>: Cost 1 vdup1 RHS
118716571U, // <5,u,u,6>: Cost 1 vrev RHS
698805801U, // <5,u,u,7>: Cost 1 vuzpr RHS, RHS
698802850U, // <5,u,u,u>: Cost 1 vuzpr RHS, LHS
2128150528U, // <6,0,0,0>: Cost 2 ins <u,0,0,0>, lane 0
2121523201U, // <6,0,0,1>: Cost 2 ins <6,u,0,1>, lane 1
1718206566U, // <6,0,0,2>: Cost 2 vuzpl <6,7,0,1>, LHS
2852933922U, // <6,0,0,3>: Cost 3 vuzpr <5,6,7,0>, <6,0,1,3>
2642903388U, // <6,0,0,4>: Cost 3 vext2 <4,2,6,0>, <0,4,2,6>
2852934680U, // <6,0,0,5>: Cost 3 vuzpr <5,6,7,0>, <7,0,4,5>
2852934690U, // <6,0,0,6>: Cost 3 vuzpr <5,6,7,0>, <7,0,5,6>
2852933962U, // <6,0,0,7>: Cost 3 vuzpr <5,6,7,0>, <6,0,5,7>
1718206620U, // <6,0,0,u>: Cost 2 vuzpl <6,7,0,1>, LHS
2566070374U, // <6,0,1,0>: Cost 3 vext1 <2,6,0,1>, LHS
2128232448U, // <6,0,1,1>: Cost 2 ins <u,0,1,1>, lane 0
1612284006U, // <6,0,1,2>: Cost 2 vext3 <0,2,4,6>, LHS
1779187814U, // <6,0,1,3>: Cost 2 vuzpr <5,6,7,0>, LHS
2566073654U, // <6,0,1,4>: Cost 3 vext1 <2,6,0,1>, RHS
2583990308U, // <6,0,1,5>: Cost 3 vext1 <5,6,0,1>, <5,6,0,1>
2589963005U, // <6,0,1,6>: Cost 3 vext1 <6,6,0,1>, <6,6,0,1>
2791949566U, // <6,0,1,7>: Cost 3 vuzpl <6,7,0,1>, <1,6,7,0>
1612284060U, // <6,0,1,u>: Cost 2 vext3 <0,2,4,6>, LHS
1504280678U, // <6,0,2,0>: Cost 2 vext1 <4,6,0,2>, LHS
1849639014U, // <6,0,2,1>: Cost 2 vzipl <6,2,7,3>, LHS
2128314368U, // <6,0,2,2>: Cost 2 ins <u,0,2,2>, lane 0
2128322560U, // <6,0,2,3>: Cost 2 ins <u,0,2,3>, lane 0
1612284108U, // <6,0,2,4>: Cost 2 vext3 <0,2,4,6>, <0,2,4,6>
2578026192U, // <6,0,2,5>: Cost 3 vext1 <4,6,0,2>, <5,1,7,3>
2578026792U, // <6,0,2,6>: Cost 3 vext1 <4,6,0,2>, <6,0,2,0>
2578027514U, // <6,0,2,7>: Cost 3 vext1 <4,6,0,2>, <7,0,1,2>
1612579056U, // <6,0,2,u>: Cost 2 vext3 <0,2,u,6>, <0,2,u,6>
3202113536U, // <6,0,3,0>: Cost 3 ins <u,0,3,0>, lane 0
2705342720U, // <6,0,3,1>: Cost 3 vext3 <3,4,5,6>, <0,3,1,4>
2128388096U, // <6,0,3,2>: Cost 2 ins <u,0,3,2>, lane 0
2852930520U, // <6,0,3,3>: Cost 3 vuzpr <5,6,7,0>, <1,3,1,3>
2644896258U, // <6,0,3,4>: Cost 3 vext2 <4,5,6,0>, <3,4,5,6>
2852931278U, // <6,0,3,5>: Cost 3 vuzpr <5,6,7,0>, <2,3,4,5>
3190587394U, // <6,0,3,6>: Cost 3 ins <6,0,u,6>, lane 2
2852930560U, // <6,0,3,7>: Cost 3 vuzpr <5,6,7,0>, <1,3,5,7>
2128388096U, // <6,0,3,u>: Cost 2 ins <u,0,3,2>, lane 0
2687058250U, // <6,0,4,0>: Cost 3 vext3 <0,4,0,6>, <0,4,0,6>
2686026066U, // <6,0,4,1>: Cost 3 vext3 <0,2,4,6>, <0,4,1,5>
1613463900U, // <6,0,4,2>: Cost 2 vext3 <0,4,2,6>, <0,4,2,6>
3195576321U, // <6,0,4,3>: Cost 3 ins <6,u,4,3>, lane 1
2687353198U, // <6,0,4,4>: Cost 3 vext3 <0,4,4,6>, <0,4,4,6>
2121850881U, // <6,0,4,5>: Cost 2 ins <6,u,4,5>, lane 1
1718209846U, // <6,0,4,6>: Cost 2 vuzpl <6,7,0,1>, RHS
3195609089U, // <6,0,4,7>: Cost 3 ins <6,u,4,7>, lane 1
1613906322U, // <6,0,4,u>: Cost 2 vext3 <0,4,u,6>, <0,4,u,6>
3202260992U, // <6,0,5,0>: Cost 3 ins <u,0,5,0>, lane 0
2128527360U, // <6,0,5,1>: Cost 2 ins <u,0,5,1>, lane 0
3056156774U, // <6,0,5,2>: Cost 3 vtrnl <6,0,5,7>, LHS
3190562818U, // <6,0,5,3>: Cost 3 ins <6,0,u,3>, lane 2
3058802892U, // <6,0,5,4>: Cost 3 vtrnl <6,4,5,6>, <0,2,4,6>
2852933636U, // <6,0,5,5>: Cost 3 vuzpr <5,6,7,0>, <5,5,5,5>
2852932908U, // <6,0,5,6>: Cost 3 vuzpr <5,6,7,0>, <4,5,5,6>
1779191094U, // <6,0,5,7>: Cost 2 vuzpr <5,6,7,0>, RHS
1779191095U, // <6,0,5,u>: Cost 2 vuzpr <5,6,7,0>, RHS
1779191906U, // <6,0,6,0>: Cost 2 vuzpr <5,6,7,0>, <5,6,7,0>
1852244070U, // <6,0,6,1>: Cost 2 vzipl <6,6,6,6>, LHS
1986461798U, // <6,0,6,2>: Cost 2 vtrnl <6,6,6,6>, LHS
3195723777U, // <6,0,6,3>: Cost 3 ins <6,u,6,3>, lane 1
2852933734U, // <6,0,6,4>: Cost 3 vuzpr <5,6,7,0>, <5,6,7,4>
3195740161U, // <6,0,6,5>: Cost 3 ins <6,u,6,5>, lane 1
2122006529U, // <6,0,6,6>: Cost 2 ins <6,u,6,6>, lane 1
2128650240U, // <6,0,6,7>: Cost 2 ins <u,0,6,7>, lane 0
1852244637U, // <6,0,6,u>: Cost 2 vzipl <6,6,6,6>, LHS
1906753536U, // <6,0,7,0>: Cost 2 vzipr RHS, <0,0,0,0>
1906755238U, // <6,0,7,1>: Cost 2 vzipr RHS, <2,3,0,1>
1906753700U, // <6,0,7,2>: Cost 2 vzipr RHS, <0,2,0,2>
2122055681U, // <6,0,7,3>: Cost 2 ins <6,u,7,3>, lane 1
2572094774U, // <6,0,7,4>: Cost 3 vext1 <3,6,0,7>, RHS
2980496418U, // <6,0,7,5>: Cost 3 vzipr RHS, <1,4,0,5>
2980495690U, // <6,0,7,6>: Cost 3 vzipr RHS, <0,4,0,6>
2122088449U, // <6,0,7,7>: Cost 2 ins <6,u,7,7>, lane 1
1906753706U, // <6,0,7,u>: Cost 2 vzipr RHS, <0,2,0,u>
1906761728U, // <6,0,u,0>: Cost 2 vzipr RHS, <0,0,0,0>
1906763430U, // <6,0,u,1>: Cost 2 vzipr RHS, <2,3,0,1>
1612284573U, // <6,0,u,2>: Cost 2 vext3 <0,2,4,6>, LHS
1779188381U, // <6,0,u,3>: Cost 2 vuzpr <5,6,7,0>, LHS
1616265906U, // <6,0,u,4>: Cost 2 vext3 <0,u,4,6>, <0,u,4,6>
2121850881U, // <6,0,u,5>: Cost 2 ins <6,u,4,5>, lane 1
1718212762U, // <6,0,u,6>: Cost 2 vuzpl <6,7,0,1>, RHS
1779191337U, // <6,0,u,7>: Cost 2 vuzpr <5,6,7,0>, RHS
1612284627U, // <6,0,u,u>: Cost 2 vext3 <0,2,4,6>, LHS
2595995750U, // <6,1,0,0>: Cost 3 vext1 <7,6,1,0>, LHS
2121523201U, // <6,1,0,1>: Cost 2 ins <6,u,0,1>, lane 1
2846673046U, // <6,1,0,2>: Cost 3 vuzpr <4,6,3,1>, <3,0,1,2>
2047623270U, // <6,1,0,3>: Cost 2 vtrnr <5,6,7,0>, LHS
2787385548U, // <6,1,0,4>: Cost 3 vuzpl <6,0,1,2>, <0,2,4,6>
3060384768U, // <6,1,0,5>: Cost 3 vtrnl <6,7,0,1>, <1,3,5,7>
2596000590U, // <6,1,0,6>: Cost 3 vext1 <7,6,1,0>, <6,7,0,1>
3060385022U, // <6,1,0,7>: Cost 3 vtrnl <6,7,0,1>, <1,6,7,0>
2047623275U, // <6,1,0,u>: Cost 2 vtrnr <5,6,7,0>, LHS
2578088038U, // <6,1,1,0>: Cost 3 vext1 <4,6,1,1>, LHS
2128896000U, // <6,1,1,1>: Cost 2 ins <u,1,1,1>, lane 0
2981778426U, // <6,1,1,2>: Cost 3 vzipr <4,7,6,1>, <7,0,1,2>
2128912384U, // <6,1,1,3>: Cost 2 ins <u,1,1,3>, lane 0
2691334996U, // <6,1,1,4>: Cost 3 vext3 <1,1,4,6>, <1,1,4,6>
3202670592U, // <6,1,1,5>: Cost 3 ins <u,1,1,5>, lane 0
2691482470U, // <6,1,1,6>: Cost 3 vext3 <1,1,6,6>, <1,1,6,6>
2980449545U, // <6,1,1,7>: Cost 3 vzipr <4,5,6,1>, <4,5,1,7>
2128896000U, // <6,1,1,u>: Cost 2 ins <u,1,1,1>, lane 0
2128961536U, // <6,1,2,0>: Cost 2 ins <u,1,2,0>, lane 0
2128969728U, // <6,1,2,1>: Cost 2 ins <u,1,2,1>, lane 0
2128977920U, // <6,1,2,2>: Cost 2 ins <u,1,2,2>, lane 0
1055244288U, // <6,1,2,3>: Cost 1 ins LHS, lane 0
2128994304U, // <6,1,2,4>: Cost 2 ins <u,1,2,4>, lane 0
2129002496U, // <6,1,2,5>: Cost 2 ins <u,1,2,5>, lane 0
2129010688U, // <6,1,2,6>: Cost 2 ins <u,1,2,6>, lane 0
2129018880U, // <6,1,2,7>: Cost 2 ins <u,1,2,7>, lane 0
1055244288U, // <6,1,2,u>: Cost 1 ins LHS, lane 0
2566160486U, // <6,1,3,0>: Cost 3 vext1 <2,6,1,3>, LHS
2686026712U, // <6,1,3,1>: Cost 3 vext3 <0,2,4,6>, <1,3,1,3>
2686026724U, // <6,1,3,2>: Cost 3 vext3 <0,2,4,6>, <1,3,2,6>
2129059840U, // <6,1,3,3>: Cost 2 ins <u,1,3,3>, lane 0
2692662262U, // <6,1,3,4>: Cost 3 vext3 <1,3,4,6>, <1,3,4,6>
2686026752U, // <6,1,3,5>: Cost 3 vext3 <0,2,4,6>, <1,3,5,7>
2590053128U, // <6,1,3,6>: Cost 3 vext1 <6,6,1,3>, <6,6,1,3>
2953923849U, // <6,1,3,7>: Cost 3 vzipr <0,1,6,3>, <4,5,1,7>
2129059840U, // <6,1,3,u>: Cost 2 ins <u,1,3,3>, lane 0
2788724044U, // <6,1,4,0>: Cost 3 vuzpl <6,2,1,3>, <4,6,0,2>
2693104684U, // <6,1,4,1>: Cost 3 vext3 <1,4,1,6>, <1,4,1,6>
3195568129U, // <6,1,4,2>: Cost 3 ins <6,u,4,2>, lane 1
2047656038U, // <6,1,4,3>: Cost 2 vtrnr <5,6,7,4>, LHS
2791378292U, // <6,1,4,4>: Cost 3 vuzpl <6,6,1,3>, <4,6,4,6>
2121850881U, // <6,1,4,5>: Cost 2 ins <6,u,4,5>, lane 1
2834506076U, // <6,1,4,6>: Cost 3 vuzpr <2,6,0,1>, <0,4,2,6>
2646232530U, // <6,1,4,7>: Cost 3 vext2 <4,7,6,1>, <4,7,6,1>
2047656043U, // <6,1,4,u>: Cost 2 vtrnr <5,6,7,4>, LHS
2578120806U, // <6,1,5,0>: Cost 3 vext1 <4,6,1,5>, LHS
2578121728U, // <6,1,5,1>: Cost 3 vext1 <4,6,1,5>, <1,3,5,7>
3202940928U, // <6,1,5,2>: Cost 3 ins <u,1,5,2>, lane 0
2129207296U, // <6,1,5,3>: Cost 2 ins <u,1,5,3>, lane 0
2693989528U, // <6,1,5,4>: Cost 3 vext3 <1,5,4,6>, <1,5,4,6>
3202965504U, // <6,1,5,5>: Cost 3 ins <u,1,5,5>, lane 0
2652868706U, // <6,1,5,6>: Cost 3 vext2 <5,u,6,1>, <5,6,7,0>
2834509110U, // <6,1,5,7>: Cost 3 vuzpr <2,6,0,1>, RHS
2129207296U, // <6,1,5,u>: Cost 2 ins <u,1,5,3>, lane 0
2925986550U, // <6,1,6,0>: Cost 3 vzipl <6,6,6,6>, <1,0,3,2>
2834507673U, // <6,1,6,1>: Cost 3 vuzpr <2,6,0,1>, <2,6,0,1>
2982480022U, // <6,1,6,2>: Cost 3 vzipr <4,u,6,6>, <3,0,1,2>
2041479270U, // <6,1,6,3>: Cost 2 vtrnr <4,6,4,6>, LHS
2602020150U, // <6,1,6,4>: Cost 3 vext1 <u,6,1,6>, RHS
2982478162U, // <6,1,6,5>: Cost 3 vzipr <4,u,6,6>, <0,4,1,5>
2122006529U, // <6,1,6,6>: Cost 2 ins <6,u,6,6>, lane 1
2129313792U, // <6,1,6,7>: Cost 2 ins <u,1,6,7>, lane 0
2041479275U, // <6,1,6,u>: Cost 2 vtrnr <4,6,4,6>, LHS
2560221286U, // <6,1,7,0>: Cost 3 vext1 <1,6,1,7>, LHS
1906753546U, // <6,1,7,1>: Cost 2 vzipr RHS, <0,0,1,1>
1906755734U, // <6,1,7,2>: Cost 2 vzipr RHS, <3,0,1,2>
2029469798U, // <6,1,7,3>: Cost 2 vtrnr <2,6,3,7>, LHS
2560224566U, // <6,1,7,4>: Cost 3 vext1 <1,6,1,7>, RHS
1906753874U, // <6,1,7,5>: Cost 2 vzipr RHS, <0,4,1,5>
2980495537U, // <6,1,7,6>: Cost 3 vzipr RHS, <0,2,1,6>
2122088449U, // <6,1,7,7>: Cost 2 ins <6,u,7,7>, lane 1
2029469803U, // <6,1,7,u>: Cost 2 vtrnr <2,6,3,7>, LHS
2128961536U, // <6,1,u,0>: Cost 2 ins <u,1,2,0>, lane 0
1906761738U, // <6,1,u,1>: Cost 2 vzipr RHS, <0,0,1,1>
1906763926U, // <6,1,u,2>: Cost 2 vzipr RHS, <3,0,1,2>
1055244288U, // <6,1,u,3>: Cost 1 ins LHS, lane 0
2128994304U, // <6,1,u,4>: Cost 2 ins <u,1,2,4>, lane 0
1906762066U, // <6,1,u,5>: Cost 2 vzipr RHS, <0,4,1,5>
2129010688U, // <6,1,u,6>: Cost 2 ins <u,1,2,6>, lane 0
2122088449U, // <6,1,u,7>: Cost 2 ins <6,u,7,7>, lane 1
1055244288U, // <6,1,u,u>: Cost 1 ins LHS, lane 0
2846457856U, // <6,2,0,0>: Cost 3 vuzpr <4,6,0,2>, <0,0,0,0>
1573159014U, // <6,2,0,1>: Cost 2 vext2 <4,u,6,2>, LHS
2129494016U, // <6,2,0,2>: Cost 2 ins <u,2,0,2>, lane 0
2118148098U, // <6,2,0,3>: Cost 2 ins <6,2,u,3>, lane 2
2641592668U, // <6,2,0,4>: Cost 3 vext2 <4,0,6,2>, <0,4,2,6>
3195297793U, // <6,2,0,5>: Cost 3 ins <6,u,0,5>, lane 1
2686027244U, // <6,2,0,6>: Cost 3 vext3 <0,2,4,6>, <2,0,6,4>
3195314177U, // <6,2,0,7>: Cost 3 ins <6,u,0,7>, lane 1
1573159581U, // <6,2,0,u>: Cost 2 vext2 <4,u,6,2>, LHS
2230527897U, // <6,2,1,0>: Cost 3 vrev <2,6,0,1>
2846458676U, // <6,2,1,1>: Cost 3 vuzpr <4,6,0,2>, <1,1,1,1>
2646901654U, // <6,2,1,2>: Cost 3 vext2 <4,u,6,2>, <1,2,3,0>
1772716134U, // <6,2,1,3>: Cost 2 vuzpr <4,6,0,2>, LHS
3191414787U, // <6,2,1,4>: Cost 3 ins <6,2,1,u>, lane 3
2646901904U, // <6,2,1,5>: Cost 3 vext2 <4,u,6,2>, <1,5,3,7>
3114885324U, // <6,2,1,6>: Cost 3 vtrnr <4,6,0,1>, <0,2,4,6>
3191922690U, // <6,2,1,7>: Cost 3 ins <6,2,u,7>, lane 2
1772716139U, // <6,2,1,u>: Cost 2 vuzpr <4,6,0,2>, LHS
2846458774U, // <6,2,2,0>: Cost 3 vuzpr <4,6,0,2>, <1,2,3,0>
3195412481U, // <6,2,2,1>: Cost 3 ins <6,u,2,1>, lane 1
2129641472U, // <6,2,2,2>: Cost 2 ins <u,2,2,2>, lane 0
1908703334U, // <6,2,2,3>: Cost 2 vzipr <4,u,6,2>, LHS
2697971326U, // <6,2,2,4>: Cost 3 vext3 <2,2,4,6>, <2,2,4,6>
3195445249U, // <6,2,2,5>: Cost 3 ins <6,u,2,5>, lane 1
2698118800U, // <6,2,2,6>: Cost 3 vext3 <2,2,6,6>, <2,2,6,6>
2846462444U, // <6,2,2,7>: Cost 3 vuzpr <4,6,0,2>, <6,2,5,7>
1908703339U, // <6,2,2,u>: Cost 2 vzipr <4,u,6,2>, LHS
2129698816U, // <6,2,3,0>: Cost 2 ins <u,2,3,0>, lane 0
2230618020U, // <6,2,3,1>: Cost 3 vrev <2,6,1,3>
2698487485U, // <6,2,3,2>: Cost 3 vext3 <2,3,2,6>, <2,3,2,6>
2129723392U, // <6,2,3,3>: Cost 2 ins <u,2,3,3>, lane 0
2129731584U, // <6,2,3,4>: Cost 2 ins <u,2,3,4>, lane 0
2846459598U, // <6,2,3,5>: Cost 3 vuzpr <4,6,0,2>, <2,3,4,5>
2966528348U, // <6,2,3,6>: Cost 3 vzipr <2,2,6,3>, <0,4,2,6>
2846458880U, // <6,2,3,7>: Cost 3 vuzpr <4,6,0,2>, <1,3,5,7>
2129698816U, // <6,2,3,u>: Cost 2 ins <u,2,3,0>, lane 0
1567853468U, // <6,2,4,0>: Cost 2 vext2 <4,0,6,2>, <4,0,6,2>
3191873538U, // <6,2,4,1>: Cost 3 ins <6,2,u,1>, lane 2
2699151118U, // <6,2,4,2>: Cost 3 vext3 <2,4,2,6>, <2,4,2,6>
2118148098U, // <6,2,4,3>: Cost 2 ins <6,2,u,3>, lane 2
2699298592U, // <6,2,4,4>: Cost 3 vext3 <2,4,4,6>, <2,4,4,6>
1573162294U, // <6,2,4,5>: Cost 2 vext2 <4,u,6,2>, RHS
2129821696U, // <6,2,4,6>: Cost 2 ins <u,2,4,6>, lane 0
3195609089U, // <6,2,4,7>: Cost 3 ins <6,u,4,7>, lane 1
1573162532U, // <6,2,4,u>: Cost 2 vext2 <4,u,6,2>, <4,u,6,2>
3191709699U, // <6,2,5,0>: Cost 3 ins <6,2,5,u>, lane 3
2646904528U, // <6,2,5,1>: Cost 3 vext2 <4,u,6,2>, <5,1,7,3>
3203604480U, // <6,2,5,2>: Cost 3 ins <u,2,5,2>, lane 0
2118148098U, // <6,2,5,3>: Cost 2 ins <6,2,u,3>, lane 2
2230855617U, // <6,2,5,4>: Cost 3 vrev <2,6,4,5>
2846461956U, // <6,2,5,5>: Cost 3 vuzpr <4,6,0,2>, <5,5,5,5>
3115213004U, // <6,2,5,6>: Cost 3 vtrnr <4,6,4,5>, <0,2,4,6>
1772719414U, // <6,2,5,7>: Cost 2 vuzpr <4,6,0,2>, RHS
1772719415U, // <6,2,5,u>: Cost 2 vuzpr <4,6,0,2>, RHS
2687207321U, // <6,2,6,0>: Cost 3 vext3 <0,4,2,6>, <2,6,0,1>
3195707393U, // <6,2,6,1>: Cost 3 ins <6,u,6,1>, lane 1
1772719436U, // <6,2,6,2>: Cost 2 vuzpr <4,6,0,2>, <4,6,0,2>
1908736102U, // <6,2,6,3>: Cost 2 vzipr <4,u,6,6>, LHS
2687207361U, // <6,2,6,4>: Cost 3 vext3 <0,4,2,6>, <2,6,4,5>
3195740161U, // <6,2,6,5>: Cost 3 ins <6,u,6,5>, lane 1
2122006529U, // <6,2,6,6>: Cost 2 ins <6,u,6,6>, lane 1
2118189061U, // <6,2,6,7>: Cost 2 ins <6,2,u,u>, lane 5
1908736107U, // <6,2,6,u>: Cost 2 vzipr <4,u,6,6>, LHS
2118115331U, // <6,2,7,0>: Cost 2 ins <6,2,7,u>, lane 3
2118115331U, // <6,2,7,1>: Cost 2 ins <6,2,7,u>, lane 3
1906753556U, // <6,2,7,2>: Cost 2 vzipr RHS, <0,0,2,2>
833011814U, // <6,2,7,3>: Cost 1 vzipr RHS, LHS
2118115331U, // <6,2,7,4>: Cost 2 ins <6,2,7,u>, lane 3
2118115331U, // <6,2,7,5>: Cost 2 ins <6,2,7,u>, lane 3
1906753884U, // <6,2,7,6>: Cost 2 vzipr RHS, <0,4,2,6>
2122088449U, // <6,2,7,7>: Cost 2 ins <6,u,7,7>, lane 1
833011819U, // <6,2,7,u>: Cost 1 vzipr RHS, LHS
2129698816U, // <6,2,u,0>: Cost 2 ins <u,2,3,0>, lane 0
1573164846U, // <6,2,u,1>: Cost 2 vext2 <4,u,6,2>, LHS
1906761748U, // <6,2,u,2>: Cost 2 vzipr RHS, <0,0,2,2>
833020006U, // <6,2,u,3>: Cost 1 vzipr RHS, LHS
2129731584U, // <6,2,u,4>: Cost 2 ins <u,2,3,4>, lane 0
1573165210U, // <6,2,u,5>: Cost 2 vext2 <4,u,6,2>, RHS
1906762076U, // <6,2,u,6>: Cost 2 vzipr RHS, <0,4,2,6>
1772719657U, // <6,2,u,7>: Cost 2 vuzpr <4,6,0,2>, RHS
833020011U, // <6,2,u,u>: Cost 1 vzipr RHS, LHS
3203883008U, // <6,3,0,0>: Cost 3 ins <u,3,0,0>, lane 0
2130149376U, // <6,3,0,1>: Cost 2 ins <u,3,0,1>, lane 0
2686027937U, // <6,3,0,2>: Cost 3 vext3 <0,2,4,6>, <3,0,2,4>
3121365976U, // <6,3,0,3>: Cost 3 vtrnr <5,6,7,0>, <1,3,1,3>
2687207601U, // <6,3,0,4>: Cost 3 vext3 <0,4,2,6>, <3,0,4,2>
3121366734U, // <6,3,0,5>: Cost 3 vtrnr <5,6,7,0>, <2,3,4,5>
3195305985U, // <6,3,0,6>: Cost 3 ins <6,u,0,6>, lane 1
3121366016U, // <6,3,0,7>: Cost 3 vtrnr <5,6,7,0>, <1,3,5,7>
2130149376U, // <6,3,0,u>: Cost 2 ins <u,3,0,1>, lane 0
2578235494U, // <6,3,1,0>: Cost 3 vext1 <4,6,3,1>, LHS
3203964928U, // <6,3,1,1>: Cost 3 ins <u,3,1,1>, lane 0
3203973120U, // <6,3,1,2>: Cost 3 ins <u,3,1,2>, lane 0
2130239488U, // <6,3,1,3>: Cost 2 ins <u,3,1,3>, lane 0
2703280390U, // <6,3,1,4>: Cost 3 vext3 <3,1,4,6>, <3,1,4,6>
3203997696U, // <6,3,1,5>: Cost 3 ins <u,3,1,5>, lane 0
2822725737U, // <6,3,1,6>: Cost 3 vuzpr <0,6,2,3>, <0,1,2,6>
2970494906U, // <6,3,1,7>: Cost 3 vzipr <2,u,6,1>, <2,6,3,7>
2130239488U, // <6,3,1,u>: Cost 2 ins <u,3,1,3>, lane 0
2982445974U, // <6,3,2,0>: Cost 3 vzipr <4,u,6,2>, <1,2,3,0>
2630321724U, // <6,3,2,1>: Cost 3 vext2 <2,1,6,3>, <2,1,6,3>
2630985357U, // <6,3,2,2>: Cost 3 vext2 <2,2,6,3>, <2,2,6,3>
2130313216U, // <6,3,2,3>: Cost 2 ins <u,3,2,3>, lane 0
2982445978U, // <6,3,2,4>: Cost 3 vzipr <4,u,6,2>, <1,2,3,4>
3114895054U, // <6,3,2,5>: Cost 3 vtrnr <4,6,0,2>, <2,3,4,5>
2834596044U, // <6,3,2,6>: Cost 3 vuzpr <2,6,1,3>, <0,2,4,6>
3114894336U, // <6,3,2,7>: Cost 3 vtrnr <4,6,0,2>, <1,3,5,7>
2130313216U, // <6,3,2,u>: Cost 2 ins <u,3,2,3>, lane 0
2578251878U, // <6,3,3,0>: Cost 3 vext1 <4,6,3,3>, LHS
2792163478U, // <6,3,3,1>: Cost 3 vuzpl <6,7,3,0>, <3,0,1,2>
2636958054U, // <6,3,3,2>: Cost 3 vext2 <3,2,6,3>, <3,2,6,3>
2130386944U, // <6,3,3,3>: Cost 2 ins <u,3,3,3>, lane 0
2704607656U, // <6,3,3,4>: Cost 3 vext3 <3,3,4,6>, <3,3,4,6>
2792196610U, // <6,3,3,5>: Cost 3 vuzpl <6,7,3,4>, <3,4,5,6>
2590200602U, // <6,3,3,6>: Cost 3 vext1 <6,6,3,3>, <6,6,3,3>
2972501946U, // <6,3,3,7>: Cost 3 vzipr <3,2,6,3>, <2,6,3,7>
2130386944U, // <6,3,3,u>: Cost 2 ins <u,3,3,3>, lane 0
2584232038U, // <6,3,4,0>: Cost 3 vext1 <5,6,3,4>, LHS
2705050078U, // <6,3,4,1>: Cost 3 vext3 <3,4,1,6>, <3,4,1,6>
2642930751U, // <6,3,4,2>: Cost 3 vext2 <4,2,6,3>, <4,2,6,3>
2705197552U, // <6,3,4,3>: Cost 3 vext3 <3,4,3,6>, <3,4,3,6>
2584235318U, // <6,3,4,4>: Cost 3 vext1 <5,6,3,4>, RHS
1631603202U, // <6,3,4,5>: Cost 2 vext3 <3,4,5,6>, <3,4,5,6>
2846540124U, // <6,3,4,6>: Cost 3 vuzpr <4,6,1,3>, <0,4,2,6>
3121398784U, // <6,3,4,7>: Cost 3 vtrnr <5,6,7,4>, <1,3,5,7>
1631824413U, // <6,3,4,u>: Cost 2 vext3 <3,4,u,6>, <3,4,u,6>
2578268262U, // <6,3,5,0>: Cost 3 vext1 <4,6,3,5>, LHS
3204259840U, // <6,3,5,1>: Cost 3 ins <u,3,5,1>, lane 0
2648903448U, // <6,3,5,2>: Cost 3 vext2 <5,2,6,3>, <5,2,6,3>
2578270722U, // <6,3,5,3>: Cost 3 vext1 <4,6,3,5>, <3,4,5,6>
2705934922U, // <6,3,5,4>: Cost 3 vext3 <3,5,4,6>, <3,5,4,6>
3204292608U, // <6,3,5,5>: Cost 3 ins <u,3,5,5>, lane 0
3204300800U, // <6,3,5,6>: Cost 3 ins <u,3,5,6>, lane 0
2130567168U, // <6,3,5,7>: Cost 2 ins <u,3,5,7>, lane 0
2130567168U, // <6,3,5,u>: Cost 2 ins <u,3,5,7>, lane 0
2982478742U, // <6,3,6,0>: Cost 3 vzipr <4,u,6,6>, <1,2,3,0>
3115222694U, // <6,3,6,1>: Cost 3 vtrnr <4,6,4,6>, <2,3,0,1>
2982478582U, // <6,3,6,2>: Cost 3 vzipr <4,u,6,6>, <1,0,3,2>
1748984315U, // <6,3,6,3>: Cost 2 vuzpr <0,6,2,3>, <0,6,2,3>
2982478746U, // <6,3,6,4>: Cost 3 vzipr <4,u,6,6>, <1,2,3,4>
3115222734U, // <6,3,6,5>: Cost 3 vtrnr <4,6,4,6>, <2,3,4,5>
2122006529U, // <6,3,6,6>: Cost 2 ins <6,u,6,6>, lane 1
2130640896U, // <6,3,6,7>: Cost 2 ins <u,3,6,7>, lane 0
1748984315U, // <6,3,6,u>: Cost 2 vuzpr <0,6,2,3>, <0,6,2,3>
1492598886U, // <6,3,7,0>: Cost 2 vext1 <2,6,3,7>, LHS
2560369889U, // <6,3,7,1>: Cost 3 vext1 <1,6,3,7>, <1,6,3,7>
1492600762U, // <6,3,7,2>: Cost 2 vext1 <2,6,3,7>, <2,6,3,7>
1906754376U, // <6,3,7,3>: Cost 2 vzipr RHS, <1,1,3,3>
1492602166U, // <6,3,7,4>: Cost 2 vext1 <2,6,3,7>, RHS
3103213262U, // <6,3,7,5>: Cost 3 vtrnr <2,6,3,7>, <2,3,4,5>
2566345210U, // <6,3,7,6>: Cost 3 vext1 <2,6,3,7>, <6,2,7,3>
1906754704U, // <6,3,7,7>: Cost 2 vzipr RHS, <1,5,3,7>
1492604718U, // <6,3,7,u>: Cost 2 vext1 <2,6,3,7>, LHS
1492607078U, // <6,3,u,0>: Cost 2 vext1 <2,6,3,u>, LHS
2130149376U, // <6,3,u,1>: Cost 2 ins <u,3,0,1>, lane 0
1492608955U, // <6,3,u,2>: Cost 2 vext1 <2,6,3,u>, <2,6,3,u>
1906762568U, // <6,3,u,3>: Cost 2 vzipr RHS, <1,1,3,3>
1492610358U, // <6,3,u,4>: Cost 2 vext1 <2,6,3,u>, RHS
1634257734U, // <6,3,u,5>: Cost 2 vext3 <3,u,5,6>, <3,u,5,6>
2122006529U, // <6,3,u,6>: Cost 2 ins <6,u,6,6>, lane 1
1906762896U, // <6,3,u,7>: Cost 2 vzipr RHS, <1,5,3,7>
1492612910U, // <6,3,u,u>: Cost 2 vext1 <2,6,3,u>, LHS
2242465098U, // <6,4,0,0>: Cost 3 vrev <4,6,0,0>
2121523201U, // <6,4,0,1>: Cost 2 ins <6,u,0,1>, lane 1
1718534246U, // <6,4,0,2>: Cost 2 vuzpl <6,7,4,5>, LHS
3195281409U, // <6,4,0,3>: Cost 3 ins <6,u,0,3>, lane 1
2642936156U, // <6,4,0,4>: Cost 3 vext2 <4,2,6,4>, <0,4,2,6>
2712570770U, // <6,4,0,5>: Cost 3 vext3 <4,6,4,6>, <4,0,5,1>
1986645302U, // <6,4,0,6>: Cost 2 vtrnl <6,7,0,1>, RHS
3195314177U, // <6,4,0,7>: Cost 3 ins <6,u,0,7>, lane 1
1986645320U, // <6,4,0,u>: Cost 2 vtrnl <6,7,0,1>, RHS
2242473291U, // <6,4,1,0>: Cost 3 vrev <4,6,0,1>
2242547028U, // <6,4,1,1>: Cost 3 vrev <4,6,1,1>
3204636672U, // <6,4,1,2>: Cost 3 ins <u,4,1,2>, lane 0
1779220582U, // <6,4,1,3>: Cost 2 vuzpr <5,6,7,4>, LHS
3059813748U, // <6,4,1,4>: Cost 3 vtrnl <6,6,1,3>, <4,6,4,6>
2130919424U, // <6,4,1,5>: Cost 2 ins <u,4,1,5>, lane 0
3102941532U, // <6,4,1,6>: Cost 3 vtrnr <2,6,0,1>, <0,4,2,6>
2242989450U, // <6,4,1,7>: Cost 3 vrev <4,6,7,1>
1779220587U, // <6,4,1,u>: Cost 2 vuzpr <5,6,7,4>, LHS
1168739660U, // <6,4,2,0>: Cost 2 vrev <4,6,0,2>
3195412481U, // <6,4,2,1>: Cost 3 ins <6,u,2,1>, lane 1
2242628958U, // <6,4,2,2>: Cost 3 vrev <4,6,2,2>
2130976768U, // <6,4,2,3>: Cost 2 ins <u,4,2,3>, lane 0
2632320816U, // <6,4,2,4>: Cost 3 vext2 <2,4,6,4>, <2,4,6,4>
1849642294U, // <6,4,2,5>: Cost 2 vzipl <6,2,7,3>, RHS
2131001344U, // <6,4,2,6>: Cost 2 ins <u,4,2,6>, lane 0
3195461633U, // <6,4,2,7>: Cost 3 ins <6,u,2,7>, lane 1
1169329556U, // <6,4,2,u>: Cost 2 vrev <4,6,u,2>
3195478017U, // <6,4,3,0>: Cost 3 ins <6,u,3,0>, lane 1
2242563414U, // <6,4,3,1>: Cost 3 vrev <4,6,1,3>
2242637151U, // <6,4,3,2>: Cost 3 vrev <4,6,2,3>
2242710888U, // <6,4,3,3>: Cost 3 vrev <4,6,3,3>
2644929026U, // <6,4,3,4>: Cost 3 vext2 <4,5,6,4>, <3,4,5,6>
2846623438U, // <6,4,3,5>: Cost 3 vuzpr <4,6,2,4>, <2,3,4,5>
2965864652U, // <6,4,3,6>: Cost 3 vzipr <2,1,6,3>, <0,2,4,6>
2852963328U, // <6,4,3,7>: Cost 3 vuzpr <5,6,7,4>, <1,3,5,7>
2243079573U, // <6,4,3,u>: Cost 3 vrev <4,6,u,3>
2242497870U, // <6,4,4,0>: Cost 3 vrev <4,6,0,4>
2852967732U, // <6,4,4,1>: Cost 3 vuzpr <5,6,7,4>, <7,4,0,1>
2642938944U, // <6,4,4,2>: Cost 3 vext2 <4,2,6,4>, <4,2,6,4>
2852967014U, // <6,4,4,3>: Cost 3 vuzpr <5,6,7,4>, <6,4,1,3>
2131132416U, // <6,4,4,4>: Cost 2 ins <u,4,4,4>, lane 0
2121850881U, // <6,4,4,5>: Cost 2 ins <6,u,4,5>, lane 1
1718537526U, // <6,4,4,6>: Cost 2 vuzpl <6,7,4,5>, RHS
2852967054U, // <6,4,4,7>: Cost 3 vuzpr <5,6,7,4>, <6,4,5,7>
1718537544U, // <6,4,4,u>: Cost 2 vuzpl <6,7,4,5>, RHS
2566398054U, // <6,4,5,0>: Cost 3 vext1 <2,6,4,5>, LHS
2242579800U, // <6,4,5,1>: Cost 3 vrev <4,6,1,5>
2566399937U, // <6,4,5,2>: Cost 3 vext1 <2,6,4,5>, <2,6,4,5>
2242727274U, // <6,4,5,3>: Cost 3 vrev <4,6,3,5>
2566401334U, // <6,4,5,4>: Cost 3 vext1 <2,6,4,5>, RHS
2131214336U, // <6,4,5,5>: Cost 2 ins <u,4,5,5>, lane 0
1612287286U, // <6,4,5,6>: Cost 2 vext3 <0,2,4,6>, RHS
1779223862U, // <6,4,5,7>: Cost 2 vuzpr <5,6,7,4>, RHS
1612287304U, // <6,4,5,u>: Cost 2 vext3 <0,2,4,6>, RHS
1504608358U, // <6,4,6,0>: Cost 2 vext1 <4,6,4,6>, LHS
2578350838U, // <6,4,6,1>: Cost 3 vext1 <4,6,4,6>, <1,0,3,2>
2578351720U, // <6,4,6,2>: Cost 3 vext1 <4,6,4,6>, <2,2,2,2>
2578352278U, // <6,4,6,3>: Cost 3 vext1 <4,6,4,6>, <3,0,1,2>
1169067380U, // <6,4,6,4>: Cost 2 vrev <4,6,4,6>
1852247350U, // <6,4,6,5>: Cost 2 vzipl <6,6,6,6>, RHS
1986465078U, // <6,4,6,6>: Cost 2 vtrnl <6,6,6,6>, RHS
2131304448U, // <6,4,6,7>: Cost 2 ins <u,4,6,7>, lane 0
1504614190U, // <6,4,6,u>: Cost 2 vext1 <4,6,4,6>, LHS
2572386406U, // <6,4,7,0>: Cost 3 vext1 <3,6,4,7>, LHS
2572387226U, // <6,4,7,1>: Cost 3 vext1 <3,6,4,7>, <1,2,3,4>
2980495398U, // <6,4,7,2>: Cost 3 vzipr RHS, <0,0,4,2>
2122055681U, // <6,4,7,3>: Cost 2 ins <6,u,7,3>, lane 1
1906756816U, // <6,4,7,4>: Cost 2 vzipr RHS, <4,4,4,4>
1906755278U, // <6,4,7,5>: Cost 2 vzipr RHS, <2,3,4,5>
1906753740U, // <6,4,7,6>: Cost 2 vzipr RHS, <0,2,4,6>
2122088449U, // <6,4,7,7>: Cost 2 ins <6,u,7,7>, lane 1
1906753742U, // <6,4,7,u>: Cost 2 vzipr RHS, <0,2,4,u>
1168788818U, // <6,4,u,0>: Cost 2 vrev <4,6,0,u>
2121523201U, // <6,4,u,1>: Cost 2 ins <6,u,0,1>, lane 1
1718540078U, // <6,4,u,2>: Cost 2 vuzpl <6,7,4,5>, LHS
1779221149U, // <6,4,u,3>: Cost 2 vuzpr <5,6,7,4>, LHS
1906765008U, // <6,4,u,4>: Cost 2 vzipr RHS, <4,4,4,4>
1906763470U, // <6,4,u,5>: Cost 2 vzipr RHS, <2,3,4,5>
1612287529U, // <6,4,u,6>: Cost 2 vext3 <0,2,4,6>, RHS
1779224105U, // <6,4,u,7>: Cost 2 vuzpr <5,6,7,4>, RHS
1612287547U, // <6,4,u,u>: Cost 2 vext3 <0,2,4,6>, RHS
3195256833U, // <6,5,0,0>: Cost 3 ins <6,u,0,0>, lane 1
2121523201U, // <6,5,0,1>: Cost 2 ins <6,u,0,1>, lane 1
2787721318U, // <6,5,0,2>: Cost 3 vuzpl <6,0,5,7>, LHS
3195281409U, // <6,5,0,3>: Cost 3 ins <6,u,0,3>, lane 1
2790367436U, // <6,5,0,4>: Cost 3 vuzpl <6,4,5,6>, <0,2,4,6>
3121369092U, // <6,5,0,5>: Cost 3 vtrnr <5,6,7,0>, <5,5,5,5>
2980440578U, // <6,5,0,6>: Cost 3 vzipr <4,5,6,0>, <3,4,5,6>
1175212130U, // <6,5,0,7>: Cost 2 vrev <5,6,7,0>
2047626551U, // <6,5,0,u>: Cost 2 vtrnr <5,6,7,0>, RHS
2578382950U, // <6,5,1,0>: Cost 3 vext1 <4,6,5,1>, LHS
3205292032U, // <6,5,1,1>: Cost 3 ins <u,5,1,1>, lane 0
3195346945U, // <6,5,1,2>: Cost 3 ins <6,u,1,2>, lane 1
2834833510U, // <6,5,1,3>: Cost 3 vuzpr <2,6,4,5>, LHS
2578386296U, // <6,5,1,4>: Cost 3 vext1 <4,6,5,1>, <4,6,5,1>
2578387072U, // <6,5,1,5>: Cost 3 vext1 <4,6,5,1>, <5,7,1,3>
2922205282U, // <6,5,1,6>: Cost 3 vzipl <6,1,0,3>, <5,6,7,0>
2131599360U, // <6,5,1,7>: Cost 2 ins <u,5,1,7>, lane 0
2131599360U, // <6,5,1,u>: Cost 2 ins <u,5,1,7>, lane 0
2578391142U, // <6,5,2,0>: Cost 3 vext1 <4,6,5,2>, LHS
2982448018U, // <6,5,2,1>: Cost 3 vzipr <4,u,6,2>, <4,0,5,1>
3195420673U, // <6,5,2,2>: Cost 3 ins <6,u,2,2>, lane 1
2131640320U, // <6,5,2,3>: Cost 2 ins <u,5,2,3>, lane 0
2578394489U, // <6,5,2,4>: Cost 3 vext1 <4,6,5,2>, <4,6,5,2>
3114897412U, // <6,5,2,5>: Cost 3 vtrnr <4,6,0,2>, <5,5,5,5>
2634983354U, // <6,5,2,6>: Cost 3 vext2 <2,u,6,5>, <2,6,3,7>
2041154870U, // <6,5,2,7>: Cost 2 vtrnr <4,6,0,2>, RHS
2041154871U, // <6,5,2,u>: Cost 2 vtrnr <4,6,0,2>, RHS
3195478017U, // <6,5,3,0>: Cost 3 ins <6,u,3,0>, lane 1
3205439488U, // <6,5,3,1>: Cost 3 ins <u,5,3,1>, lane 0
3091164465U, // <6,5,3,2>: Cost 3 vtrnr <0,6,2,3>, <4,5,6,2>
3195502593U, // <6,5,3,3>: Cost 3 ins <6,u,3,3>, lane 1
2643610114U, // <6,5,3,4>: Cost 3 vext2 <4,3,6,5>, <3,4,5,6>
3205472256U, // <6,5,3,5>: Cost 3 ins <u,5,3,5>, lane 0
2980465154U, // <6,5,3,6>: Cost 3 vzipr <4,5,6,3>, <3,4,5,6>
2131746816U, // <6,5,3,7>: Cost 2 ins <u,5,3,7>, lane 0
2131746816U, // <6,5,3,u>: Cost 2 ins <u,5,3,7>, lane 0
2789051724U, // <6,5,4,0>: Cost 3 vuzpl <6,2,5,7>, <4,6,0,2>
3060715648U, // <6,5,4,1>: Cost 3 vtrnl <6,7,4,5>, <5,7,1,3>
3195568129U, // <6,5,4,2>: Cost 3 ins <6,u,4,2>, lane 1
2643610770U, // <6,5,4,3>: Cost 3 vext2 <4,3,6,5>, <4,3,6,5>
2791705972U, // <6,5,4,4>: Cost 3 vuzpl <6,6,5,7>, <4,6,4,6>
2121850881U, // <6,5,4,5>: Cost 2 ins <6,u,4,5>, lane 1
2834833756U, // <6,5,4,6>: Cost 3 vuzpr <2,6,4,5>, <0,4,2,6>
1643696070U, // <6,5,4,7>: Cost 2 vext3 <5,4,7,6>, <5,4,7,6>
1643769807U, // <6,5,4,u>: Cost 2 vext3 <5,4,u,6>, <5,4,u,6>
2578415718U, // <6,5,5,0>: Cost 3 vext1 <4,6,5,5>, LHS
3006363382U, // <6,5,5,1>: Cost 3 vzipr <u,u,6,5>, <u,0,5,1>
3205595136U, // <6,5,5,2>: Cost 3 ins <u,5,5,2>, lane 0
2980479105U, // <6,5,5,3>: Cost 3 vzipr <4,5,6,5>, <0,1,5,3>
2578419068U, // <6,5,5,4>: Cost 3 vext1 <4,6,5,5>, <4,6,5,5>
2131877888U, // <6,5,5,5>: Cost 2 ins <u,5,5,5>, lane 0
2979154434U, // <6,5,5,6>: Cost 3 vzipr <4,3,6,5>, <3,4,5,6>
2131894272U, // <6,5,5,7>: Cost 2 ins <u,5,5,7>, lane 0
2131877888U, // <6,5,5,u>: Cost 2 ins <u,5,5,5>, lane 0
2131910656U, // <6,5,6,0>: Cost 2 ins <u,5,6,0>, lane 0
2131918848U, // <6,5,6,1>: Cost 2 ins <u,5,6,1>, lane 0
2131927040U, // <6,5,6,2>: Cost 2 ins <u,5,6,2>, lane 0
2131935232U, // <6,5,6,3>: Cost 2 ins <u,5,6,3>, lane 0
2131943424U, // <6,5,6,4>: Cost 2 ins <u,5,6,4>, lane 0
2131951616U, // <6,5,6,5>: Cost 2 ins <u,5,6,5>, lane 0
2131959808U, // <6,5,6,6>: Cost 2 ins <u,5,6,6>, lane 0
1058226176U, // <6,5,6,7>: Cost 1 ins RHS, lane 0
1058226176U, // <6,5,6,u>: Cost 1 ins RHS, lane 0
2560516198U, // <6,5,7,0>: Cost 3 vext1 <1,6,5,7>, LHS
1906756498U, // <6,5,7,1>: Cost 2 vzipr RHS, <4,0,5,1>
2566490060U, // <6,5,7,2>: Cost 3 vext1 <2,6,5,7>, <2,6,5,7>
2122055681U, // <6,5,7,3>: Cost 2 ins <6,u,7,3>, lane 1
2560519478U, // <6,5,7,4>: Cost 3 vext1 <1,6,5,7>, RHS
1906756826U, // <6,5,7,5>: Cost 2 vzipr RHS, <4,4,5,5>
1906756098U, // <6,5,7,6>: Cost 2 vzipr RHS, <3,4,5,6>
2029473078U, // <6,5,7,7>: Cost 2 vtrnr <2,6,3,7>, RHS
2029473079U, // <6,5,7,u>: Cost 2 vtrnr <2,6,3,7>, RHS
2131910656U, // <6,5,u,0>: Cost 2 ins <u,5,6,0>, lane 0
1906764690U, // <6,5,u,1>: Cost 2 vzipr RHS, <4,0,5,1>
2131927040U, // <6,5,u,2>: Cost 2 ins <u,5,6,2>, lane 0
2122055681U, // <6,5,u,3>: Cost 2 ins <6,u,7,3>, lane 1
2131943424U, // <6,5,u,4>: Cost 2 ins <u,5,6,4>, lane 0
1906765018U, // <6,5,u,5>: Cost 2 vzipr RHS, <4,4,5,5>
1906764290U, // <6,5,u,6>: Cost 2 vzipr RHS, <3,4,5,6>
1058226176U, // <6,5,u,7>: Cost 1 ins RHS, lane 0
1058226176U, // <6,5,u,u>: Cost 1 ins RHS, lane 0
2047627362U, // <6,6,0,0>: Cost 2 vtrnr <5,6,7,0>, <5,6,7,0>
1573191782U, // <6,6,0,1>: Cost 2 vext2 <4,u,6,6>, LHS
1718026342U, // <6,6,0,2>: Cost 2 vuzpl <6,6,6,6>, LHS
3195281409U, // <6,6,0,3>: Cost 3 ins <6,u,0,3>, lane 1
2687209788U, // <6,6,0,4>: Cost 3 vext3 <0,4,2,6>, <6,0,4,2>
3195297793U, // <6,6,0,5>: Cost 3 ins <6,u,0,5>, lane 1
2120826882U, // <6,6,0,6>: Cost 2 ins <6,6,u,6>, lane 2
2120835074U, // <6,6,0,7>: Cost 2 ins <6,6,u,7>, lane 2
1573192349U, // <6,6,0,u>: Cost 2 vext2 <4,u,6,6>, LHS
2646934262U, // <6,6,1,0>: Cost 3 vext2 <4,u,6,6>, <1,0,3,2>
1906707760U, // <6,6,1,1>: Cost 2 vzipr <4,5,6,1>, <4,5,6,1>
2646934422U, // <6,6,1,2>: Cost 3 vext2 <4,u,6,6>, <1,2,3,0>
1773043814U, // <6,6,1,3>: Cost 2 vuzpr <4,6,4,6>, LHS
3194068995U, // <6,6,1,4>: Cost 3 ins <6,6,1,u>, lane 3
2646934672U, // <6,6,1,5>: Cost 3 vext2 <4,u,6,6>, <1,5,3,7>
2120826882U, // <6,6,1,6>: Cost 2 ins <6,6,u,6>, lane 2
2120835074U, // <6,6,1,7>: Cost 2 ins <6,6,u,7>, lane 2
1773043819U, // <6,6,1,u>: Cost 2 vuzpr <4,6,4,6>, LHS
3114896750U, // <6,6,2,0>: Cost 3 vtrnr <4,6,0,2>, <4,6,4,0>
3195412481U, // <6,6,2,1>: Cost 3 ins <6,u,2,1>, lane 1
2041154892U, // <6,6,2,2>: Cost 2 vtrnr <4,6,0,2>, <4,6,0,2>
2120843269U, // <6,6,2,3>: Cost 2 ins <6,6,u,u>, lane 5
3114897510U, // <6,6,2,4>: Cost 3 vtrnr <4,6,0,2>, <5,6,7,4>
3195445249U, // <6,6,2,5>: Cost 3 ins <6,u,2,5>, lane 1
2120826882U, // <6,6,2,6>: Cost 2 ins <6,6,u,6>, lane 2
1908706614U, // <6,6,2,7>: Cost 2 vzipr <4,u,6,2>, RHS
1908706615U, // <6,6,2,u>: Cost 2 vzipr <4,u,6,2>, RHS
2646935702U, // <6,6,3,0>: Cost 3 vext2 <4,u,6,6>, <3,0,1,2>
2846787238U, // <6,6,3,1>: Cost 3 vuzpr <4,6,4,6>, <2,3,0,1>
3206111232U, // <6,6,3,2>: Cost 3 ins <u,6,3,2>, lane 0
1880178826U, // <6,6,3,3>: Cost 2 vzipr <0,1,6,3>, <0,1,6,3>
2705347122U, // <6,6,3,4>: Cost 3 vext3 <3,4,5,6>, <6,3,4,5>
2846787278U, // <6,6,3,5>: Cost 3 vuzpr <4,6,4,6>, <2,3,4,5>
2120826882U, // <6,6,3,6>: Cost 2 ins <6,6,u,6>, lane 2
2132410368U, // <6,6,3,7>: Cost 2 ins <u,6,3,7>, lane 0
2132410368U, // <6,6,3,u>: Cost 2 ins <u,6,3,7>, lane 0
2846790288U, // <6,6,4,0>: Cost 3 vuzpr <4,6,4,6>, <6,4,6,0>
3194527746U, // <6,6,4,1>: Cost 3 ins <6,6,u,1>, lane 2
2846788778U, // <6,6,4,2>: Cost 3 vuzpr <4,6,4,6>, <4,4,0,2>
3195576321U, // <6,6,4,3>: Cost 3 ins <6,u,4,3>, lane 1
2047660134U, // <6,6,4,4>: Cost 2 vtrnr <5,6,7,4>, <5,6,7,4>
1573195062U, // <6,6,4,5>: Cost 2 vext2 <4,u,6,6>, RHS
1718029622U, // <6,6,4,6>: Cost 2 vuzpl <6,6,6,6>, RHS
2120835074U, // <6,6,4,7>: Cost 2 ins <6,6,u,7>, lane 2
1573195304U, // <6,6,4,u>: Cost 2 vext2 <4,u,6,6>, <4,u,6,6>
3194363907U, // <6,6,5,0>: Cost 3 ins <6,6,5,u>, lane 3
2646937296U, // <6,6,5,1>: Cost 3 vext2 <4,u,6,6>, <5,1,7,3>
3206258688U, // <6,6,5,2>: Cost 3 ins <u,6,5,2>, lane 0
3194544130U, // <6,6,5,3>: Cost 3 ins <6,6,u,3>, lane 2
2646937542U, // <6,6,5,4>: Cost 3 vext2 <4,u,6,6>, <5,4,7,6>
1906740532U, // <6,6,5,5>: Cost 2 vzipr <4,5,6,5>, <4,5,6,5>
2120826882U, // <6,6,5,6>: Cost 2 ins <6,6,u,6>, lane 2
1773047094U, // <6,6,5,7>: Cost 2 vuzpr <4,6,4,6>, RHS
1773047095U, // <6,6,5,u>: Cost 2 vuzpr <4,6,4,6>, RHS
1516699750U, // <6,6,6,0>: Cost 2 vext1 <6,6,6,6>, LHS
2120695811U, // <6,6,6,1>: Cost 2 ins <6,6,6,u>, lane 3
2120695811U, // <6,6,6,2>: Cost 2 ins <6,6,6,u>, lane 3
2120695811U, // <6,6,6,3>: Cost 2 ins <6,6,6,u>, lane 3
1516703030U, // <6,6,6,4>: Cost 2 vext1 <6,6,6,6>, RHS
2120695811U, // <6,6,6,5>: Cost 2 ins <6,6,6,u>, lane 3
296144182U, // <6,6,6,6>: Cost 1 vdup2 RHS
1908739382U, // <6,6,6,7>: Cost 2 vzipr <4,u,6,6>, RHS
296144182U, // <6,6,6,u>: Cost 1 vdup2 RHS
2132647936U, // <6,6,7,0>: Cost 2 ins <u,6,7,0>, lane 0
2120769539U, // <6,6,7,1>: Cost 2 ins <6,6,7,u>, lane 3
1908747164U, // <6,6,7,2>: Cost 2 vzipr RHS, <4,0,6,2>
2122055681U, // <6,6,7,3>: Cost 2 ins <6,u,7,3>, lane 1
2132680704U, // <6,6,7,4>: Cost 2 ins <u,6,7,4>, lane 0
2120769539U, // <6,6,7,5>: Cost 2 ins <6,6,7,u>, lane 3
1906758456U, // <6,6,7,6>: Cost 2 vzipr RHS, <6,6,6,6>
833015094U, // <6,6,7,7>: Cost 1 vzipr RHS, RHS
833015095U, // <6,6,7,u>: Cost 1 vzipr RHS, RHS
2047627362U, // <6,6,u,0>: Cost 2 vtrnr <5,6,7,0>, <5,6,7,0>
1573197614U, // <6,6,u,1>: Cost 2 vext2 <4,u,6,6>, LHS
1906764700U, // <6,6,u,2>: Cost 2 vzipr RHS, <4,0,6,2>
1773044381U, // <6,6,u,3>: Cost 2 vuzpr <4,6,4,6>, LHS
2047660134U, // <6,6,u,4>: Cost 2 vtrnr <5,6,7,4>, <5,6,7,4>
1573197978U, // <6,6,u,5>: Cost 2 vext2 <4,u,6,6>, RHS
296144182U, // <6,6,u,6>: Cost 1 vdup2 RHS
833023286U, // <6,6,u,7>: Cost 1 vzipr RHS, RHS
833023287U, // <6,6,u,u>: Cost 1 vzipr RHS, RHS
1571209216U, // <6,7,0,0>: Cost 2 vext2 RHS, <0,0,0,0>
497467494U, // <6,7,0,1>: Cost 1 vext2 RHS, LHS
1571209380U, // <6,7,0,2>: Cost 2 vext2 RHS, <0,2,0,2>
2120916995U, // <6,7,0,3>: Cost 2 ins <6,7,0,u>, lane 3
1571209554U, // <6,7,0,4>: Cost 2 vext2 RHS, <0,4,1,5>
1510756450U, // <6,7,0,5>: Cost 2 vext1 <5,6,7,0>, <5,6,7,0>
2120916995U, // <6,7,0,6>: Cost 2 ins <6,7,0,u>, lane 3
2120916995U, // <6,7,0,7>: Cost 2 ins <6,7,0,u>, lane 3
497468061U, // <6,7,0,u>: Cost 1 vext2 RHS, LHS
1571209974U, // <6,7,1,0>: Cost 2 vext2 RHS, <1,0,3,2>
1571210036U, // <6,7,1,1>: Cost 2 vext2 RHS, <1,1,1,1>
1571210134U, // <6,7,1,2>: Cost 2 vext2 RHS, <1,2,3,0>
1761034342U, // <6,7,1,3>: Cost 2 vuzpr <2,6,3,7>, LHS
2644952098U, // <6,7,1,4>: Cost 3 vext2 RHS, <1,4,0,5>
1571210384U, // <6,7,1,5>: Cost 2 vext2 RHS, <1,5,3,7>
2644952271U, // <6,7,1,6>: Cost 3 vext2 RHS, <1,6,1,7>
2121498626U, // <6,7,1,7>: Cost 2 ins <6,7,u,7>, lane 2
1761034347U, // <6,7,1,u>: Cost 2 vuzpr <2,6,3,7>, LHS
2121064451U, // <6,7,2,0>: Cost 2 ins <6,7,2,u>, lane 3
2121449474U, // <6,7,2,1>: Cost 2 ins <6,7,u,1>, lane 2
1571210856U, // <6,7,2,2>: Cost 2 vext2 RHS, <2,2,2,2>
1059889156U, // <6,7,2,3>: Cost 1 ins LHS, lane 4
2121064451U, // <6,7,2,4>: Cost 2 ins <6,7,2,u>, lane 3
2121482242U, // <6,7,2,5>: Cost 2 ins <6,7,u,5>, lane 2
1571211194U, // <6,7,2,6>: Cost 2 vext2 RHS, <2,6,3,7>
2121498626U, // <6,7,2,7>: Cost 2 ins <6,7,u,7>, lane 2
1059889156U, // <6,7,2,u>: Cost 1 ins LHS, lane 4
1571211414U, // <6,7,3,0>: Cost 2 vext2 RHS, <3,0,1,2>
2121449474U, // <6,7,3,1>: Cost 2 ins <6,7,u,1>, lane 2
2133696516U, // <6,7,3,2>: Cost 2 ins <u,u,3,2>, lane 4
1571211676U, // <6,7,3,3>: Cost 2 vext2 RHS, <3,3,3,3>
1571211778U, // <6,7,3,4>: Cost 2 vext2 RHS, <3,4,5,6>
2121482242U, // <6,7,3,5>: Cost 2 ins <6,7,u,5>, lane 2
2834777789U, // <6,7,3,6>: Cost 3 vuzpr <2,6,3,7>, <2,3,2,6>
2133737476U, // <6,7,3,7>: Cost 2 ins <u,u,3,7>, lane 4
1571212062U, // <6,7,3,u>: Cost 2 vext2 RHS, <3,u,1,2>
1573202834U, // <6,7,4,0>: Cost 2 vext2 RHS, <4,0,5,1>
2121449474U, // <6,7,4,1>: Cost 2 ins <6,7,u,1>, lane 2
2121211907U, // <6,7,4,2>: Cost 2 ins <6,7,4,u>, lane 3
2121211907U, // <6,7,4,3>: Cost 2 ins <6,7,4,u>, lane 3
1571212496U, // <6,7,4,4>: Cost 2 vext2 RHS, <4,4,4,4>
497470774U, // <6,7,4,5>: Cost 1 vext2 RHS, RHS
1573203276U, // <6,7,4,6>: Cost 2 vext2 RHS, <4,6,0,2>
2121211907U, // <6,7,4,7>: Cost 2 ins <6,7,4,u>, lane 3
497471017U, // <6,7,4,u>: Cost 1 vext2 RHS, RHS
2644954696U, // <6,7,5,0>: Cost 3 vext2 RHS, <5,0,1,2>
1573203664U, // <6,7,5,1>: Cost 2 vext2 RHS, <5,1,7,3>
2644954878U, // <6,7,5,2>: Cost 3 vext2 RHS, <5,2,3,4>
2121465858U, // <6,7,5,3>: Cost 2 ins <6,7,u,3>, lane 2
1571213254U, // <6,7,5,4>: Cost 2 vext2 RHS, <5,4,7,6>
1571213316U, // <6,7,5,5>: Cost 2 vext2 RHS, <5,5,5,5>
1571213410U, // <6,7,5,6>: Cost 2 vext2 RHS, <5,6,7,0>
1761037622U, // <6,7,5,7>: Cost 2 vuzpr <2,6,3,7>, RHS
1761037623U, // <6,7,5,u>: Cost 2 vuzpr <2,6,3,7>, RHS
2121359363U, // <6,7,6,0>: Cost 2 ins <6,7,6,u>, lane 3
2121449474U, // <6,7,6,1>: Cost 2 ins <6,7,u,1>, lane 2
1573204474U, // <6,7,6,2>: Cost 2 vext2 RHS, <6,2,7,3>
2121465858U, // <6,7,6,3>: Cost 2 ins <6,7,u,3>, lane 2
2121359363U, // <6,7,6,4>: Cost 2 ins <6,7,6,u>, lane 3
2121482242U, // <6,7,6,5>: Cost 2 ins <6,7,u,5>, lane 2
1571214136U, // <6,7,6,6>: Cost 2 vext2 RHS, <6,6,6,6>
1060216836U, // <6,7,6,7>: Cost 1 ins RHS, lane 4
1060216836U, // <6,7,6,u>: Cost 1 ins RHS, lane 4
1906757730U, // <6,7,7,0>: Cost 2 vzipr RHS, <5,6,7,0>
2121449474U, // <6,7,7,1>: Cost 2 ins <6,7,u,1>, lane 2
2644956362U, // <6,7,7,2>: Cost 3 vext2 RHS, <7,2,6,3>
1906758138U, // <6,7,7,3>: Cost 2 vzipr RHS, <6,2,7,3>
1906757734U, // <6,7,7,4>: Cost 2 vzipr RHS, <5,6,7,4>
2121482242U, // <6,7,7,5>: Cost 2 ins <6,7,u,5>, lane 2
1906757574U, // <6,7,7,6>: Cost 2 vzipr RHS, <5,4,7,6>
1571214956U, // <6,7,7,7>: Cost 2 vext2 RHS, <7,7,7,7>
1906757738U, // <6,7,7,u>: Cost 2 vzipr RHS, <5,6,7,u>
1571215059U, // <6,7,u,0>: Cost 2 vext2 RHS, <u,0,1,2>
497473326U, // <6,7,u,1>: Cost 1 vext2 RHS, LHS
1571215237U, // <6,7,u,2>: Cost 2 vext2 RHS, <u,2,3,0>
1059889156U, // <6,7,u,3>: Cost 1 ins LHS, lane 4
1571215423U, // <6,7,u,4>: Cost 2 vext2 RHS, <u,4,5,6>
497473690U, // <6,7,u,5>: Cost 1 vext2 RHS, RHS
1571215568U, // <6,7,u,6>: Cost 2 vext2 RHS, <u,6,3,7>
1060216836U, // <6,7,u,7>: Cost 1 ins RHS, lane 4
497473893U, // <6,7,u,u>: Cost 1 vext2 RHS, LHS
1571217408U, // <6,u,0,0>: Cost 2 vext2 RHS, <0,0,0,0>
497475686U, // <6,u,0,1>: Cost 1 vext2 RHS, LHS
1571217572U, // <6,u,0,2>: Cost 2 vext2 RHS, <0,2,0,2>
2047623837U, // <6,u,0,3>: Cost 2 vtrnr <5,6,7,0>, LHS
1571217746U, // <6,u,0,4>: Cost 2 vext2 RHS, <0,4,1,5>
1510830187U, // <6,u,0,5>: Cost 2 vext1 <5,6,u,0>, <5,6,u,0>
1986648218U, // <6,u,0,6>: Cost 2 vtrnl <6,7,0,1>, RHS
2047626793U, // <6,u,0,7>: Cost 2 vtrnr <5,6,7,0>, RHS
497476253U, // <6,u,0,u>: Cost 1 vext2 RHS, LHS
1571218166U, // <6,u,1,0>: Cost 2 vext2 RHS, <1,0,3,2>
1571218228U, // <6,u,1,1>: Cost 2 vext2 RHS, <1,1,1,1>
1612289838U, // <6,u,1,2>: Cost 2 vext3 <0,2,4,6>, LHS
1761042534U, // <6,u,1,3>: Cost 2 vuzpr <2,6,3,u>, LHS
2566663478U, // <6,u,1,4>: Cost 3 vext1 <2,6,u,1>, RHS
1571218576U, // <6,u,1,5>: Cost 2 vext2 RHS, <1,5,3,7>
2120826882U, // <6,u,1,6>: Cost 2 ins <6,6,u,6>, lane 2
2120835074U, // <6,u,1,7>: Cost 2 ins <6,6,u,7>, lane 2
1612289892U, // <6,u,1,u>: Cost 2 vext3 <0,2,4,6>, LHS
1504870502U, // <6,u,2,0>: Cost 2 vext1 <4,6,u,2>, LHS
1849644846U, // <6,u,2,1>: Cost 2 vzipl <6,2,7,3>, LHS
1571219048U, // <6,u,2,2>: Cost 2 vext2 RHS, <2,2,2,2>
1055244288U, // <6,u,2,3>: Cost 1 ins LHS, lane 0
1504873876U, // <6,u,2,4>: Cost 2 vext1 <4,6,u,2>, <4,6,u,2>
1849645210U, // <6,u,2,5>: Cost 2 vzipl <6,2,7,3>, RHS
1571219386U, // <6,u,2,6>: Cost 2 vext2 RHS, <2,6,3,7>
2041155113U, // <6,u,2,7>: Cost 2 vtrnr <4,6,0,2>, RHS
1055244288U, // <6,u,2,u>: Cost 1 ins LHS, lane 0
1571219606U, // <6,u,3,0>: Cost 2 vext2 RHS, <3,0,1,2>
2121449474U, // <6,u,3,1>: Cost 2 ins <6,7,u,1>, lane 2
2128388096U, // <6,u,3,2>: Cost 2 ins <u,0,3,2>, lane 0
1571219868U, // <6,u,3,3>: Cost 2 vext2 RHS, <3,3,3,3>
1571219970U, // <6,u,3,4>: Cost 2 vext2 RHS, <3,4,5,6>
2121482242U, // <6,u,3,5>: Cost 2 ins <6,7,u,5>, lane 2
2120826882U, // <6,u,3,6>: Cost 2 ins <6,6,u,6>, lane 2
2131746816U, // <6,u,3,7>: Cost 2 ins <u,5,3,7>, lane 0
1571220254U, // <6,u,3,u>: Cost 2 vext2 RHS, <3,u,1,2>
1571220370U, // <6,u,4,0>: Cost 2 vext2 RHS, <4,0,5,1>
2121449474U, // <6,u,4,1>: Cost 2 ins <6,7,u,1>, lane 2
1986975534U, // <6,u,4,2>: Cost 2 vtrnl <6,7,4,5>, LHS
2047656605U, // <6,u,4,3>: Cost 2 vtrnr <5,6,7,4>, LHS
1571220688U, // <6,u,4,4>: Cost 2 vext2 RHS, <4,4,4,4>
497478967U, // <6,u,4,5>: Cost 1 vext2 RHS, RHS
1571220812U, // <6,u,4,6>: Cost 2 vext2 RHS, <4,6,0,2>
2047659561U, // <6,u,4,7>: Cost 2 vtrnr <5,6,7,4>, RHS
497479209U, // <6,u,4,u>: Cost 1 vext2 RHS, RHS
2566692966U, // <6,u,5,0>: Cost 3 vext1 <2,6,u,5>, LHS
1571221200U, // <6,u,5,1>: Cost 2 vext2 RHS, <5,1,7,3>
2566694885U, // <6,u,5,2>: Cost 3 vext1 <2,6,u,5>, <2,6,u,5>
2118148098U, // <6,u,5,3>: Cost 2 ins <6,2,u,3>, lane 2
1571221446U, // <6,u,5,4>: Cost 2 vext2 RHS, <5,4,7,6>
1571221508U, // <6,u,5,5>: Cost 2 vext2 RHS, <5,5,5,5>
1612290202U, // <6,u,5,6>: Cost 2 vext3 <0,2,4,6>, RHS
1761045814U, // <6,u,5,7>: Cost 2 vuzpr <2,6,3,u>, RHS
1612290220U, // <6,u,5,u>: Cost 2 vext3 <0,2,4,6>, RHS
1504903270U, // <6,u,6,0>: Cost 2 vext1 <4,6,u,6>, LHS
1852249902U, // <6,u,6,1>: Cost 2 vzipl <6,6,6,6>, LHS
1571222010U, // <6,u,6,2>: Cost 2 vext2 RHS, <6,2,7,3>
2041479837U, // <6,u,6,3>: Cost 2 vtrnr <4,6,4,6>, LHS
1504906648U, // <6,u,6,4>: Cost 2 vext1 <4,6,u,6>, <4,6,u,6>
1852250266U, // <6,u,6,5>: Cost 2 vzipl <6,6,6,6>, RHS
296144182U, // <6,u,6,6>: Cost 1 vdup2 RHS
1058226176U, // <6,u,6,7>: Cost 1 ins RHS, lane 0
1058226176U, // <6,u,6,u>: Cost 1 ins RHS, lane 0
1492967526U, // <6,u,7,0>: Cost 2 vext1 <2,6,u,7>, LHS
1906753609U, // <6,u,7,1>: Cost 2 vzipr RHS, <0,0,u,1>
1492969447U, // <6,u,7,2>: Cost 2 vext1 <2,6,u,7>, <2,6,u,7>
833011868U, // <6,u,7,3>: Cost 1 vzipr RHS, LHS
1492970806U, // <6,u,7,4>: Cost 2 vext1 <2,6,u,7>, RHS
1906753937U, // <6,u,7,5>: Cost 2 vzipr RHS, <0,4,u,5>
1906753776U, // <6,u,7,6>: Cost 2 vzipr RHS, <0,2,u,6>
833015112U, // <6,u,7,7>: Cost 1 vzipr RHS, RHS
833011873U, // <6,u,7,u>: Cost 1 vzipr RHS, LHS
1492975718U, // <6,u,u,0>: Cost 2 vext1 <2,6,u,u>, LHS
497481518U, // <6,u,u,1>: Cost 1 vext2 RHS, LHS
1612290405U, // <6,u,u,2>: Cost 2 vext3 <0,2,4,6>, LHS
833020060U, // <6,u,u,3>: Cost 1 vzipr RHS, LHS
1492978998U, // <6,u,u,4>: Cost 2 vext1 <2,6,u,u>, RHS
497481882U, // <6,u,u,5>: Cost 1 vext2 RHS, RHS
296144182U, // <6,u,u,6>: Cost 1 vdup2 RHS
833023304U, // <6,u,u,7>: Cost 1 vzipr RHS, RHS
497482085U, // <6,u,u,u>: Cost 1 vext2 RHS, LHS
1638318080U, // <7,0,0,0>: Cost 2 vext3 RHS, <0,0,0,0>
1638318090U, // <7,0,0,1>: Cost 2 vext3 RHS, <0,0,1,1>
1638318100U, // <7,0,0,2>: Cost 2 vext3 RHS, <0,0,2,2>
2987152532U, // <7,0,0,3>: Cost 3 vzipr <5,6,7,0>, <7,2,0,3>
2712059941U, // <7,0,0,4>: Cost 3 vext3 RHS, <0,0,4,1>
2987152210U, // <7,0,0,5>: Cost 3 vzipr <5,6,7,0>, <6,7,0,5>
2590618445U, // <7,0,0,6>: Cost 3 vext1 <6,7,0,0>, <6,7,0,0>
2987152050U, // <7,0,0,7>: Cost 3 vzipr <5,6,7,0>, <6,5,0,7>
1638318153U, // <7,0,0,u>: Cost 2 vext3 RHS, <0,0,u,1>
1516879974U, // <7,0,1,0>: Cost 2 vext1 <6,7,0,1>, LHS
2128232448U, // <7,0,1,1>: Cost 2 ins <u,0,1,1>, lane 0
564576358U, // <7,0,1,2>: Cost 1 vext3 RHS, LHS
2122317827U, // <7,0,1,3>: Cost 2 ins <7,0,1,u>, lane 3
1516883254U, // <7,0,1,4>: Cost 2 vext1 <6,7,0,1>, RHS
2122317827U, // <7,0,1,5>: Cost 2 ins <7,0,1,u>, lane 3
1516884814U, // <7,0,1,6>: Cost 2 vext1 <6,7,0,1>, <6,7,0,1>
2122317827U, // <7,0,1,7>: Cost 2 ins <7,0,1,u>, lane 3
564576412U, // <7,0,1,u>: Cost 1 vext3 RHS, LHS
1638318244U, // <7,0,2,0>: Cost 2 vext3 RHS, <0,2,0,2>
2692743344U, // <7,0,2,1>: Cost 3 vext3 <1,3,5,7>, <0,2,1,5>
2128314368U, // <7,0,2,2>: Cost 2 ins <u,0,2,2>, lane 0
2122833925U, // <7,0,2,3>: Cost 2 ins <7,0,u,u>, lane 5
1638318284U, // <7,0,2,4>: Cost 2 vext3 RHS, <0,2,4,6>
2712060118U, // <7,0,2,5>: Cost 3 vext3 RHS, <0,2,5,7>
2712060126U, // <7,0,2,6>: Cost 3 vext3 RHS, <0,2,6,6>
3201433601U, // <7,0,2,7>: Cost 3 ins <7,u,2,7>, lane 1
1638318316U, // <7,0,2,u>: Cost 2 vext3 RHS, <0,2,u,2>
2983854080U, // <7,0,3,0>: Cost 3 vzipr <5,1,7,3>, <0,0,0,0>
2712060156U, // <7,0,3,1>: Cost 3 vext3 RHS, <0,3,1,0>
2128388096U, // <7,0,3,2>: Cost 2 ins <u,0,3,2>, lane 0
2651605404U, // <7,0,3,3>: Cost 3 vext2 <5,6,7,0>, <3,3,3,3>
2651605506U, // <7,0,3,4>: Cost 3 vext2 <5,6,7,0>, <3,4,5,6>
2638998111U, // <7,0,3,5>: Cost 3 vext2 <3,5,7,0>, <3,5,7,0>
3196559362U, // <7,0,3,6>: Cost 3 ins <7,0,u,6>, lane 2
3201507329U, // <7,0,3,7>: Cost 3 ins <7,u,3,7>, lane 1
2128388096U, // <7,0,3,u>: Cost 2 ins <u,0,3,2>, lane 0
2712060230U, // <7,0,4,0>: Cost 3 vext3 RHS, <0,4,0,2>
1638318418U, // <7,0,4,1>: Cost 2 vext3 RHS, <0,4,1,5>
1638318428U, // <7,0,4,2>: Cost 2 vext3 RHS, <0,4,2,6>
3201548289U, // <7,0,4,3>: Cost 3 ins <7,u,4,3>, lane 1
2712060269U, // <7,0,4,4>: Cost 3 vext3 RHS, <0,4,4,5>
1577864502U, // <7,0,4,5>: Cost 2 vext2 <5,6,7,0>, RHS
2651606348U, // <7,0,4,6>: Cost 3 vext2 <5,6,7,0>, <4,6,0,2>
3201581057U, // <7,0,4,7>: Cost 3 ins <7,u,4,7>, lane 1
1638318481U, // <7,0,4,u>: Cost 2 vext3 RHS, <0,4,u,5>
2647625340U, // <7,0,5,0>: Cost 3 vext2 <5,0,7,0>, <5,0,7,0>
2128527360U, // <7,0,5,1>: Cost 2 ins <u,0,5,1>, lane 0
1991032934U, // <7,0,5,2>: Cost 2 vtrnl <7,4,5,6>, LHS
2649616239U, // <7,0,5,3>: Cost 3 vext2 <5,3,7,0>, <5,3,7,0>
2651606982U, // <7,0,5,4>: Cost 3 vext2 <5,6,7,0>, <5,4,7,6>
2651607044U, // <7,0,5,5>: Cost 3 vext2 <5,6,7,0>, <5,5,5,5>
1577865314U, // <7,0,5,6>: Cost 2 vext2 <5,6,7,0>, <5,6,7,0>
2847477046U, // <7,0,5,7>: Cost 3 vuzpr <4,7,5,0>, RHS
1579192580U, // <7,0,5,u>: Cost 2 vext2 <5,u,7,0>, <5,u,7,0>
2985869312U, // <7,0,6,0>: Cost 3 vzipr <5,4,7,6>, <0,0,0,0>
2712060406U, // <7,0,6,1>: Cost 3 vext3 RHS, <0,6,1,7>
2128609280U, // <7,0,6,2>: Cost 2 ins <u,0,6,2>, lane 0
2655588936U, // <7,0,6,3>: Cost 3 vext2 <6,3,7,0>, <6,3,7,0>
3202367488U, // <7,0,6,4>: Cost 3 ins <u,0,6,4>, lane 0
2651607730U, // <7,0,6,5>: Cost 3 vext2 <5,6,7,0>, <6,5,0,7>
2651607864U, // <7,0,6,6>: Cost 3 vext2 <5,6,7,0>, <6,6,6,6>
2122833925U, // <7,0,6,7>: Cost 2 ins <7,0,u,u>, lane 5
2128609280U, // <7,0,6,u>: Cost 2 ins <u,0,6,2>, lane 0
2847477192U, // <7,0,7,0>: Cost 3 vuzpr <4,7,5,0>, <4,7,5,0>
1858961510U, // <7,0,7,1>: Cost 2 vzipl <7,7,7,7>, LHS
1993179238U, // <7,0,7,2>: Cost 2 vtrnl <7,7,7,7>, LHS
3201769473U, // <7,0,7,3>: Cost 3 ins <7,u,7,3>, lane 1
2651608422U, // <7,0,7,4>: Cost 3 vext2 <5,6,7,0>, <7,4,5,6>
2651608513U, // <7,0,7,5>: Cost 3 vext2 <5,6,7,0>, <7,5,6,7>
2663552532U, // <7,0,7,6>: Cost 3 vext2 <7,6,7,0>, <7,6,7,0>
2128060417U, // <7,0,7,7>: Cost 2 ins <7,u,7,7>, lane 1
1858962077U, // <7,0,7,u>: Cost 2 vzipl <7,7,7,7>, LHS
1638318730U, // <7,0,u,0>: Cost 2 vext3 RHS, <0,u,0,2>
1638318738U, // <7,0,u,1>: Cost 2 vext3 RHS, <0,u,1,1>
564576925U, // <7,0,u,2>: Cost 1 vext3 RHS, LHS
2122317827U, // <7,0,u,3>: Cost 2 ins <7,0,1,u>, lane 3
1638318770U, // <7,0,u,4>: Cost 2 vext3 RHS, <0,u,4,6>
1577867418U, // <7,0,u,5>: Cost 2 vext2 <5,6,7,0>, RHS
1516942165U, // <7,0,u,6>: Cost 2 vext1 <6,7,0,u>, <6,7,0,u>
2122317827U, // <7,0,u,7>: Cost 2 ins <7,0,1,u>, lane 3
564576979U, // <7,0,u,u>: Cost 1 vext3 RHS, LHS
2712060634U, // <7,1,0,0>: Cost 3 vext3 RHS, <1,0,0,1>
2128822272U, // <7,1,0,1>: Cost 2 ins <u,1,0,1>, lane 0
1719615590U, // <7,1,0,2>: Cost 2 vuzpl <7,0,1,2>, LHS
1638318838U, // <7,1,0,3>: Cost 2 vext3 RHS, <1,0,3,2>
2859062268U, // <7,1,0,4>: Cost 3 vuzpr <6,7,0,1>, <7,0,1,4>
2712060679U, // <7,1,0,5>: Cost 3 vext3 RHS, <1,0,5,1>
2859061568U, // <7,1,0,6>: Cost 3 vuzpr <6,7,0,1>, <6,0,4,6>
3201286145U, // <7,1,0,7>: Cost 3 ins <7,u,0,7>, lane 1
1638318883U, // <7,1,0,u>: Cost 2 vext3 RHS, <1,0,u,2>
2712060714U, // <7,1,1,0>: Cost 3 vext3 RHS, <1,1,0,0>
1638318900U, // <7,1,1,1>: Cost 2 vext3 RHS, <1,1,1,1>
2127577089U, // <7,1,1,2>: Cost 2 ins <7,u,1,2>, lane 1
1638318920U, // <7,1,1,3>: Cost 2 vext3 RHS, <1,1,3,3>
2712060755U, // <7,1,1,4>: Cost 3 vext3 RHS, <1,1,4,5>
2691416926U, // <7,1,1,5>: Cost 3 vext3 <1,1,5,7>, <1,1,5,7>
2590700375U, // <7,1,1,6>: Cost 3 vext1 <6,7,1,1>, <6,7,1,1>
2859057294U, // <7,1,1,7>: Cost 3 vuzpr <6,7,0,1>, <0,1,6,7>
1638318965U, // <7,1,1,u>: Cost 2 vext3 RHS, <1,1,u,3>
2128961536U, // <7,1,2,0>: Cost 2 ins <u,1,2,0>, lane 0
2128969728U, // <7,1,2,1>: Cost 2 ins <u,1,2,1>, lane 0
2128977920U, // <7,1,2,2>: Cost 2 ins <u,1,2,2>, lane 0
1055244288U, // <7,1,2,3>: Cost 1 ins LHS, lane 0
2128994304U, // <7,1,2,4>: Cost 2 ins <u,1,2,4>, lane 0
2129002496U, // <7,1,2,5>: Cost 2 ins <u,1,2,5>, lane 0
2129010688U, // <7,1,2,6>: Cost 2 ins <u,1,2,6>, lane 0
2129018880U, // <7,1,2,7>: Cost 2 ins <u,1,2,7>, lane 0
1055244288U, // <7,1,2,u>: Cost 1 ins LHS, lane 0
1510998118U, // <7,1,3,0>: Cost 2 vext1 <5,7,1,3>, LHS
1638319064U, // <7,1,3,1>: Cost 2 vext3 RHS, <1,3,1,3>
2712060894U, // <7,1,3,2>: Cost 3 vext3 RHS, <1,3,2,0>
2047869030U, // <7,1,3,3>: Cost 2 vtrnr <5,7,1,3>, LHS
1511001398U, // <7,1,3,4>: Cost 2 vext1 <5,7,1,3>, RHS
1619002368U, // <7,1,3,5>: Cost 2 vext3 <1,3,5,7>, <1,3,5,7>
2692817929U, // <7,1,3,6>: Cost 3 vext3 <1,3,6,7>, <1,3,6,7>
2983859604U, // <7,1,3,7>: Cost 3 vzipr <5,1,7,3>, <7,5,1,7>
1619223579U, // <7,1,3,u>: Cost 2 vext3 <1,3,u,7>, <1,3,u,7>
2712060962U, // <7,1,4,0>: Cost 3 vext3 RHS, <1,4,0,5>
2712060971U, // <7,1,4,1>: Cost 3 vext3 RHS, <1,4,1,5>
2712060980U, // <7,1,4,2>: Cost 3 vext3 RHS, <1,4,2,5>
2129133568U, // <7,1,4,3>: Cost 2 ins <u,1,4,3>, lane 0
2859060432U, // <7,1,4,4>: Cost 3 vuzpr <6,7,0,1>, <4,4,4,4>
2129149952U, // <7,1,4,5>: Cost 2 ins <u,1,4,5>, lane 0
1719618870U, // <7,1,4,6>: Cost 2 vuzpl <7,0,1,2>, RHS
2793360778U, // <7,1,4,7>: Cost 3 vuzpl <7,0,1,2>, <4,6,7,1>
1719618888U, // <7,1,4,u>: Cost 2 vuzpl <7,0,1,2>, RHS
2572812390U, // <7,1,5,0>: Cost 3 vext1 <3,7,1,5>, LHS
2693776510U, // <7,1,5,1>: Cost 3 vext3 <1,5,1,7>, <1,5,1,7>
3202940928U, // <7,1,5,2>: Cost 3 ins <u,1,5,2>, lane 0
1620182160U, // <7,1,5,3>: Cost 2 vext3 <1,5,3,7>, <1,5,3,7>
2572815670U, // <7,1,5,4>: Cost 3 vext1 <3,7,1,5>, RHS
2985861458U, // <7,1,5,5>: Cost 3 vzipr <5,4,7,5>, <0,4,1,5>
2127904769U, // <7,1,5,6>: Cost 2 ins <7,u,5,6>, lane 1
1785318710U, // <7,1,5,7>: Cost 2 vuzpr <6,7,0,1>, RHS
1620550845U, // <7,1,5,u>: Cost 2 vext3 <1,5,u,7>, <1,5,u,7>
2653606230U, // <7,1,6,0>: Cost 3 vext2 <6,0,7,1>, <6,0,7,1>
2694440143U, // <7,1,6,1>: Cost 3 vext3 <1,6,1,7>, <1,6,1,7>
2712061144U, // <7,1,6,2>: Cost 3 vext3 RHS, <1,6,2,7>
2129281024U, // <7,1,6,3>: Cost 2 ins <u,1,6,3>, lane 0
2859061350U, // <7,1,6,4>: Cost 3 vuzpr <6,7,0,1>, <5,6,7,4>
2694735091U, // <7,1,6,5>: Cost 3 vext3 <1,6,5,7>, <1,6,5,7>
2859060596U, // <7,1,6,6>: Cost 3 vuzpr <6,7,0,1>, <4,6,4,6>
2129313792U, // <7,1,6,7>: Cost 2 ins <u,1,6,7>, lane 0
2129281024U, // <7,1,6,u>: Cost 2 ins <u,1,6,3>, lane 0
2645644282U, // <7,1,7,0>: Cost 3 vext2 <4,6,7,1>, <7,0,1,2>
1785320270U, // <7,1,7,1>: Cost 2 vuzpr <6,7,0,1>, <6,7,0,1>
2986543254U, // <7,1,7,2>: Cost 3 vzipr <5,5,7,7>, <3,0,1,2>
2048196710U, // <7,1,7,3>: Cost 2 vtrnr <5,7,5,7>, LHS
2793362538U, // <7,1,7,4>: Cost 3 vuzpl <7,0,1,2>, <7,1,4,6>
2986541394U, // <7,1,7,5>: Cost 3 vzipr <5,5,7,7>, <0,4,1,5>
3201794049U, // <7,1,7,6>: Cost 3 ins <7,u,7,6>, lane 1
2128060417U, // <7,1,7,7>: Cost 2 ins <7,u,7,7>, lane 1
2048196715U, // <7,1,7,u>: Cost 2 vtrnr <5,7,5,7>, LHS
1511039078U, // <7,1,u,0>: Cost 2 vext1 <5,7,1,u>, LHS
1638319469U, // <7,1,u,1>: Cost 2 vext3 RHS, <1,u,1,3>
1719621422U, // <7,1,u,2>: Cost 2 vuzpl <7,0,1,2>, LHS
1055244288U, // <7,1,u,3>: Cost 1 ins LHS, lane 0
1511042358U, // <7,1,u,4>: Cost 2 vext1 <5,7,1,u>, RHS
1622320533U, // <7,1,u,5>: Cost 2 vext3 <1,u,5,7>, <1,u,5,7>
1719621786U, // <7,1,u,6>: Cost 2 vuzpl <7,0,1,2>, RHS
1785318953U, // <7,1,u,7>: Cost 2 vuzpr <6,7,0,1>, RHS
1055244288U, // <7,1,u,u>: Cost 1 ins LHS, lane 0
2712061364U, // <7,2,0,0>: Cost 3 vext3 RHS, <2,0,0,2>
2712061373U, // <7,2,0,1>: Cost 3 vext3 RHS, <2,0,1,2>
2129494016U, // <7,2,0,2>: Cost 2 ins <u,2,0,2>, lane 0
1913405542U, // <7,2,0,3>: Cost 2 vzipr <5,6,7,0>, LHS
2712061400U, // <7,2,0,4>: Cost 3 vext3 RHS, <2,0,4,2>
2696725990U, // <7,2,0,5>: Cost 3 vext3 <2,0,5,7>, <2,0,5,7>
2712061417U, // <7,2,0,6>: Cost 3 vext3 RHS, <2,0,6,1>
2927577066U, // <7,2,0,7>: Cost 3 vzipl <7,0,1,2>, <2,7,0,1>
1913405547U, // <7,2,0,u>: Cost 2 vzipr <5,6,7,0>, LHS
2712061446U, // <7,2,1,0>: Cost 3 vext3 RHS, <2,1,0,3>
3203301376U, // <7,2,1,1>: Cost 3 ins <u,2,1,1>, lane 0
2127577089U, // <7,2,1,2>: Cost 2 ins <7,u,1,2>, lane 1
2974548070U, // <7,2,1,3>: Cost 3 vzipr <3,5,7,1>, LHS
2712061482U, // <7,2,1,4>: Cost 3 vext3 RHS, <2,1,4,3>
3203334144U, // <7,2,1,5>: Cost 3 ins <u,2,1,5>, lane 0
2712061500U, // <7,2,1,6>: Cost 3 vext3 RHS, <2,1,6,3>
2602718850U, // <7,2,1,7>: Cost 3 vext1 <u,7,2,1>, <7,u,1,2>
2127577089U, // <7,2,1,u>: Cost 2 ins <7,u,1,2>, lane 1
2712061524U, // <7,2,2,0>: Cost 3 vext3 RHS, <2,2,0,0>
2712061536U, // <7,2,2,1>: Cost 3 vext3 RHS, <2,2,1,3>
1638319720U, // <7,2,2,2>: Cost 2 vext3 RHS, <2,2,2,2>
1638319730U, // <7,2,2,3>: Cost 2 vext3 RHS, <2,2,3,3>
2712061564U, // <7,2,2,4>: Cost 3 vext3 RHS, <2,2,4,4>
2698053256U, // <7,2,2,5>: Cost 3 vext3 <2,2,5,7>, <2,2,5,7>
2712061581U, // <7,2,2,6>: Cost 3 vext3 RHS, <2,2,6,3>
3201433601U, // <7,2,2,7>: Cost 3 ins <7,u,2,7>, lane 1
1638319775U, // <7,2,2,u>: Cost 2 vext3 RHS, <2,2,u,3>
1638319782U, // <7,2,3,0>: Cost 2 vext3 RHS, <2,3,0,1>
2693924531U, // <7,2,3,1>: Cost 3 vext3 <1,5,3,7>, <2,3,1,5>
1638319802U, // <7,2,3,2>: Cost 2 vext3 RHS, <2,3,2,3>
1910112358U, // <7,2,3,3>: Cost 2 vzipr <5,1,7,3>, LHS
1638319822U, // <7,2,3,4>: Cost 2 vext3 RHS, <2,3,4,5>
2698716889U, // <7,2,3,5>: Cost 3 vext3 <2,3,5,7>, <2,3,5,7>
1625048802U, // <7,2,3,6>: Cost 2 vext3 <2,3,6,7>, <2,3,6,7>
2990495214U, // <7,2,3,7>: Cost 3 vzipr <6,2,7,3>, <7,6,2,7>
1638319854U, // <7,2,3,u>: Cost 2 vext3 RHS, <2,3,u,1>
2712061688U, // <7,2,4,0>: Cost 3 vext3 RHS, <2,4,0,2>
2712061698U, // <7,2,4,1>: Cost 3 vext3 RHS, <2,4,1,3>
2712061708U, // <7,2,4,2>: Cost 3 vext3 RHS, <2,4,2,4>
1913438310U, // <7,2,4,3>: Cost 2 vzipr <5,6,7,4>, LHS
2712061728U, // <7,2,4,4>: Cost 3 vext3 RHS, <2,4,4,6>
2699380522U, // <7,2,4,5>: Cost 3 vext3 <2,4,5,7>, <2,4,5,7>
2129821696U, // <7,2,4,6>: Cost 2 ins <u,2,4,6>, lane 0
3201581057U, // <7,2,4,7>: Cost 3 ins <7,u,4,7>, lane 1
1913438315U, // <7,2,4,u>: Cost 2 vzipr <5,6,7,4>, LHS
2699675470U, // <7,2,5,0>: Cost 3 vext3 <2,5,0,7>, <2,5,0,7>
3203596288U, // <7,2,5,1>: Cost 3 ins <u,2,5,1>, lane 0
2699822944U, // <7,2,5,2>: Cost 3 vext3 <2,5,2,7>, <2,5,2,7>
2692745065U, // <7,2,5,3>: Cost 3 vext3 <1,3,5,7>, <2,5,3,7>
2699970418U, // <7,2,5,4>: Cost 3 vext3 <2,5,4,7>, <2,5,4,7>
3203629056U, // <7,2,5,5>: Cost 3 ins <u,2,5,5>, lane 0
2127904769U, // <7,2,5,6>: Cost 2 ins <7,u,5,6>, lane 1
2853096758U, // <7,2,5,7>: Cost 3 vuzpr <5,7,0,2>, RHS
2127904769U, // <7,2,5,u>: Cost 2 ins <7,u,5,6>, lane 1
2572894310U, // <7,2,6,0>: Cost 3 vext1 <3,7,2,6>, LHS
2712061860U, // <7,2,6,1>: Cost 3 vext3 RHS, <2,6,1,3>
2700486577U, // <7,2,6,2>: Cost 3 vext3 <2,6,2,7>, <2,6,2,7>
1626818490U, // <7,2,6,3>: Cost 2 vext3 <2,6,3,7>, <2,6,3,7>
2572897590U, // <7,2,6,4>: Cost 3 vext1 <3,7,2,6>, RHS
2700707788U, // <7,2,6,5>: Cost 3 vext3 <2,6,5,7>, <2,6,5,7>
2700781525U, // <7,2,6,6>: Cost 3 vext3 <2,6,6,7>, <2,6,6,7>
2129977344U, // <7,2,6,7>: Cost 2 ins <u,2,6,7>, lane 0
1627187175U, // <7,2,6,u>: Cost 2 vext3 <2,6,u,7>, <2,6,u,7>
3121939350U, // <7,2,7,0>: Cost 3 vtrnr <5,7,5,7>, <1,2,3,0>
3203743744U, // <7,2,7,1>: Cost 3 ins <u,2,7,1>, lane 0
1720366165U, // <7,2,7,2>: Cost 2 vuzpl <7,1,2,3>, <7,1,2,3>
1912799334U, // <7,2,7,3>: Cost 2 vzipr <5,5,7,7>, LHS
3121939354U, // <7,2,7,4>: Cost 3 vtrnr <5,7,5,7>, <1,2,3,4>
3203776512U, // <7,2,7,5>: Cost 3 ins <u,2,7,5>, lane 0
2986541404U, // <7,2,7,6>: Cost 3 vzipr <5,5,7,7>, <0,4,2,6>
2128060417U, // <7,2,7,7>: Cost 2 ins <7,u,7,7>, lane 1
1912799339U, // <7,2,7,u>: Cost 2 vzipr <5,5,7,7>, LHS
1638320187U, // <7,2,u,0>: Cost 2 vext3 RHS, <2,u,0,1>
2693924936U, // <7,2,u,1>: Cost 3 vext3 <1,5,3,7>, <2,u,1,5>
2129494016U, // <7,2,u,2>: Cost 2 ins <u,2,0,2>, lane 0
1628145756U, // <7,2,u,3>: Cost 2 vext3 <2,u,3,7>, <2,u,3,7>
1638320227U, // <7,2,u,4>: Cost 2 vext3 RHS, <2,u,4,5>
2702035054U, // <7,2,u,5>: Cost 3 vext3 <2,u,5,7>, <2,u,5,7>
2129821696U, // <7,2,u,6>: Cost 2 ins <u,2,4,6>, lane 0
2129977344U, // <7,2,u,7>: Cost 2 ins <u,2,6,7>, lane 0
1628514441U, // <7,2,u,u>: Cost 2 vext3 <2,u,u,7>, <2,u,u,7>
2712062091U, // <7,3,0,0>: Cost 3 vext3 RHS, <3,0,0,0>
1638320278U, // <7,3,0,1>: Cost 2 vext3 RHS, <3,0,1,2>
2712062109U, // <7,3,0,2>: Cost 3 vext3 RHS, <3,0,2,0>
2712062119U, // <7,3,0,3>: Cost 3 vext3 RHS, <3,0,3,1>
2712062128U, // <7,3,0,4>: Cost 3 vext3 RHS, <3,0,4,1>
2712062138U, // <7,3,0,5>: Cost 3 vext3 RHS, <3,0,5,2>
2590839656U, // <7,3,0,6>: Cost 3 vext1 <6,7,3,0>, <6,7,3,0>
2985157776U, // <7,3,0,7>: Cost 3 vzipr <5,3,7,0>, <1,5,3,7>
1638320341U, // <7,3,0,u>: Cost 2 vext3 RHS, <3,0,u,2>
2237164227U, // <7,3,1,0>: Cost 3 vrev <3,7,0,1>
2712062182U, // <7,3,1,1>: Cost 3 vext3 RHS, <3,1,1,1>
2127577089U, // <7,3,1,2>: Cost 2 ins <7,u,1,2>, lane 1
1779433574U, // <7,3,1,3>: Cost 2 vuzpr <5,7,1,3>, LHS
2712062214U, // <7,3,1,4>: Cost 3 vext3 RHS, <3,1,4,6>
2693925132U, // <7,3,1,5>: Cost 3 vext3 <1,5,3,7>, <3,1,5,3>
2853179064U, // <7,3,1,6>: Cost 3 vuzpr <5,7,1,3>, <5,1,4,6>
2692745504U, // <7,3,1,7>: Cost 3 vext3 <1,3,5,7>, <3,1,7,5>
1779433579U, // <7,3,1,u>: Cost 2 vuzpr <5,7,1,3>, LHS
2712062254U, // <7,3,2,0>: Cost 3 vext3 RHS, <3,2,0,1>
2712062262U, // <7,3,2,1>: Cost 3 vext3 RHS, <3,2,1,0>
2712062273U, // <7,3,2,2>: Cost 3 vext3 RHS, <3,2,2,2>
2130313216U, // <7,3,2,3>: Cost 2 ins <u,3,2,3>, lane 0
2712062292U, // <7,3,2,4>: Cost 3 vext3 RHS, <3,2,4,3>
2712062302U, // <7,3,2,5>: Cost 3 vext3 RHS, <3,2,5,4>
2700560742U, // <7,3,2,6>: Cost 3 vext3 <2,6,3,7>, <3,2,6,3>
2712062319U, // <7,3,2,7>: Cost 3 vext3 RHS, <3,2,7,3>
2130313216U, // <7,3,2,u>: Cost 2 ins <u,3,2,3>, lane 0
2712062334U, // <7,3,3,0>: Cost 3 vext3 RHS, <3,3,0,0>
2636368158U, // <7,3,3,1>: Cost 3 vext2 <3,1,7,3>, <3,1,7,3>
2637031791U, // <7,3,3,2>: Cost 3 vext2 <3,2,7,3>, <3,2,7,3>
1638320540U, // <7,3,3,3>: Cost 2 vext3 RHS, <3,3,3,3>
2712062374U, // <7,3,3,4>: Cost 3 vext3 RHS, <3,3,4,4>
2704689586U, // <7,3,3,5>: Cost 3 vext3 <3,3,5,7>, <3,3,5,7>
2990491658U, // <7,3,3,6>: Cost 3 vzipr <6,2,7,3>, <2,7,3,6>
2972574864U, // <7,3,3,7>: Cost 3 vzipr <3,2,7,3>, <1,5,3,7>
1638320540U, // <7,3,3,u>: Cost 2 vext3 RHS, <3,3,3,3>
2712062416U, // <7,3,4,0>: Cost 3 vext3 RHS, <3,4,0,1>
2712062426U, // <7,3,4,1>: Cost 3 vext3 RHS, <3,4,1,2>
2987180790U, // <7,3,4,2>: Cost 3 vzipr <5,6,7,4>, <1,0,3,2>
2712062447U, // <7,3,4,3>: Cost 3 vext3 RHS, <3,4,3,5>
2712062455U, // <7,3,4,4>: Cost 3 vext3 RHS, <3,4,4,4>
1638320642U, // <7,3,4,5>: Cost 2 vext3 RHS, <3,4,5,6>
2648313164U, // <7,3,4,6>: Cost 3 vext2 <5,1,7,3>, <4,6,0,2>
2985190544U, // <7,3,4,7>: Cost 3 vzipr <5,3,7,4>, <1,5,3,7>
1638320669U, // <7,3,4,u>: Cost 2 vext3 RHS, <3,4,u,6>
2712062498U, // <7,3,5,0>: Cost 3 vext3 RHS, <3,5,0,2>
1574571728U, // <7,3,5,1>: Cost 2 vext2 <5,1,7,3>, <5,1,7,3>
2648977185U, // <7,3,5,2>: Cost 3 vext2 <5,2,7,3>, <5,2,7,3>
2705869378U, // <7,3,5,3>: Cost 3 vext3 <3,5,3,7>, <3,5,3,7>
2237491947U, // <7,3,5,4>: Cost 3 vrev <3,7,4,5>
2706016852U, // <7,3,5,5>: Cost 3 vext3 <3,5,5,7>, <3,5,5,7>
2127904769U, // <7,3,5,6>: Cost 2 ins <7,u,5,6>, lane 1
1779436854U, // <7,3,5,7>: Cost 2 vuzpr <5,7,1,3>, RHS
1779436855U, // <7,3,5,u>: Cost 2 vuzpr <5,7,1,3>, RHS
2706311800U, // <7,3,6,0>: Cost 3 vext3 <3,6,0,7>, <3,6,0,7>
2853178744U, // <7,3,6,1>: Cost 3 vuzpr <5,7,1,3>, <4,6,5,1>
1581208058U, // <7,3,6,2>: Cost 2 vext2 <6,2,7,3>, <6,2,7,3>
2706533011U, // <7,3,6,3>: Cost 3 vext3 <3,6,3,7>, <3,6,3,7>
2706606748U, // <7,3,6,4>: Cost 3 vext3 <3,6,4,7>, <3,6,4,7>
3204366336U, // <7,3,6,5>: Cost 3 ins <u,3,6,5>, lane 0
2712062637U, // <7,3,6,6>: Cost 3 vext3 RHS, <3,6,6,6>
2130640896U, // <7,3,6,7>: Cost 2 ins <u,3,6,7>, lane 0
1585189856U, // <7,3,6,u>: Cost 2 vext2 <6,u,7,3>, <6,u,7,3>
2693925571U, // <7,3,7,0>: Cost 3 vext3 <1,5,3,7>, <3,7,0,1>
2693925584U, // <7,3,7,1>: Cost 3 vext3 <1,5,3,7>, <3,7,1,5>
2700561114U, // <7,3,7,2>: Cost 3 vext3 <2,6,3,7>, <3,7,2,6>
1779437696U, // <7,3,7,3>: Cost 2 vuzpr <5,7,1,3>, <5,7,1,3>
2693925611U, // <7,3,7,4>: Cost 3 vext3 <1,5,3,7>, <3,7,4,5>
2237582070U, // <7,3,7,5>: Cost 3 vrev <3,7,5,7>
2654950894U, // <7,3,7,6>: Cost 3 vext2 <6,2,7,3>, <7,6,2,7>
2128060417U, // <7,3,7,7>: Cost 2 ins <7,u,7,7>, lane 1
1779437696U, // <7,3,7,u>: Cost 2 vuzpr <5,7,1,3>, <5,7,1,3>
2237221578U, // <7,3,u,0>: Cost 3 vrev <3,7,0,u>
1638320926U, // <7,3,u,1>: Cost 2 vext3 RHS, <3,u,1,2>
1593153452U, // <7,3,u,2>: Cost 2 vext2 <u,2,7,3>, <u,2,7,3>
1779434141U, // <7,3,u,3>: Cost 2 vuzpr <5,7,1,3>, LHS
2237516526U, // <7,3,u,4>: Cost 3 vrev <3,7,4,u>
1638320966U, // <7,3,u,5>: Cost 2 vext3 RHS, <3,u,5,6>
2127904769U, // <7,3,u,6>: Cost 2 ins <7,u,5,6>, lane 1
1779437097U, // <7,3,u,7>: Cost 2 vuzpr <5,7,1,3>, RHS
1638320989U, // <7,3,u,u>: Cost 2 vext3 RHS, <3,u,u,2>
2714053478U, // <7,4,0,0>: Cost 3 vext3 RHS, <4,0,0,2>
1577893990U, // <7,4,0,1>: Cost 2 vext2 <5,6,7,4>, LHS
2651635876U, // <7,4,0,2>: Cost 3 vext2 <5,6,7,4>, <0,2,0,2>
3201253377U, // <7,4,0,3>: Cost 3 ins <7,u,0,3>, lane 1
2714053512U, // <7,4,0,4>: Cost 3 vext3 RHS, <4,0,4,0>
1638468498U, // <7,4,0,5>: Cost 2 vext3 RHS, <4,0,5,1>
1638468508U, // <7,4,0,6>: Cost 2 vext3 RHS, <4,0,6,2>
2927578568U, // <7,4,0,7>: Cost 3 vzipl <7,0,1,2>, <4,7,5,0>
1640311726U, // <7,4,0,u>: Cost 2 vext3 RHS, <4,0,u,2>
2651636470U, // <7,4,1,0>: Cost 3 vext2 <5,6,7,4>, <1,0,3,2>
2651636532U, // <7,4,1,1>: Cost 3 vext2 <5,6,7,4>, <1,1,1,1>
2127577089U, // <7,4,1,2>: Cost 2 ins <7,u,1,2>, lane 1
2639029248U, // <7,4,1,3>: Cost 3 vext2 <3,5,7,4>, <1,3,5,7>
3127495888U, // <7,4,1,4>: Cost 3 vtrnr <6,7,0,1>, <4,4,4,4>
2130919424U, // <7,4,1,5>: Cost 2 ins <u,4,1,5>, lane 0
1988054326U, // <7,4,1,6>: Cost 2 vtrnl <7,0,1,2>, RHS
3061796234U, // <7,4,1,7>: Cost 3 vtrnl <7,0,1,2>, <4,6,7,1>
1988054344U, // <7,4,1,u>: Cost 2 vtrnl <7,0,1,2>, RHS
3204694016U, // <7,4,2,0>: Cost 3 ins <u,4,2,0>, lane 0
3199172610U, // <7,4,2,1>: Cost 3 ins <7,4,u,1>, lane 2
2651637352U, // <7,4,2,2>: Cost 3 vext2 <5,6,7,4>, <2,2,2,2>
2125488133U, // <7,4,2,3>: Cost 2 ins <7,4,u,u>, lane 5
2853258138U, // <7,4,2,4>: Cost 3 vuzpr <5,7,2,4>, <1,2,3,4>
2712063030U, // <7,4,2,5>: Cost 3 vext3 RHS, <4,2,5,3>
2131001344U, // <7,4,2,6>: Cost 2 ins <u,4,2,6>, lane 0
3201433601U, // <7,4,2,7>: Cost 3 ins <7,u,2,7>, lane 1
2125488133U, // <7,4,2,u>: Cost 2 ins <7,4,u,u>, lane 5
2651637910U, // <7,4,3,0>: Cost 3 vext2 <5,6,7,4>, <3,0,1,2>
3201458177U, // <7,4,3,1>: Cost 3 ins <7,u,3,1>, lane 1
3204784128U, // <7,4,3,2>: Cost 3 ins <u,4,3,2>, lane 0
2651638172U, // <7,4,3,3>: Cost 3 vext2 <5,6,7,4>, <3,3,3,3>
2983857360U, // <7,4,3,4>: Cost 3 vzipr <5,1,7,3>, <4,4,4,4>
2639030883U, // <7,4,3,5>: Cost 3 vext2 <3,5,7,4>, <3,5,7,4>
2125471746U, // <7,4,3,6>: Cost 2 ins <7,4,u,6>, lane 2
3201507329U, // <7,4,3,7>: Cost 3 ins <7,u,3,7>, lane 1
2125471746U, // <7,4,3,u>: Cost 2 ins <7,4,u,6>, lane 2
2714053800U, // <7,4,4,0>: Cost 3 vext3 RHS, <4,4,0,0>
3201531905U, // <7,4,4,1>: Cost 3 ins <7,u,4,1>, lane 1
3201540097U, // <7,4,4,2>: Cost 3 ins <7,u,4,2>, lane 1
2987185336U, // <7,4,4,3>: Cost 3 vzipr <5,6,7,4>, <7,2,4,3>
1638321360U, // <7,4,4,4>: Cost 2 vext3 RHS, <4,4,4,4>
1638468826U, // <7,4,4,5>: Cost 2 vext3 RHS, <4,4,5,5>
1638468836U, // <7,4,4,6>: Cost 2 vext3 RHS, <4,4,6,6>
2987185664U, // <7,4,4,7>: Cost 3 vzipr <5,6,7,4>, <7,6,4,7>
1640312054U, // <7,4,4,u>: Cost 2 vext3 RHS, <4,4,u,6>
1517207654U, // <7,4,5,0>: Cost 2 vext1 <6,7,4,5>, LHS
2125266947U, // <7,4,5,1>: Cost 2 ins <7,4,5,u>, lane 3
2125266947U, // <7,4,5,2>: Cost 2 ins <7,4,5,u>, lane 3
2125266947U, // <7,4,5,3>: Cost 2 ins <7,4,5,u>, lane 3
1517210934U, // <7,4,5,4>: Cost 2 vext1 <6,7,4,5>, RHS
2131214336U, // <7,4,5,5>: Cost 2 ins <u,4,5,5>, lane 0
564579638U, // <7,4,5,6>: Cost 1 vext3 RHS, RHS
2125266947U, // <7,4,5,7>: Cost 2 ins <7,4,5,u>, lane 3
564579656U, // <7,4,5,u>: Cost 1 vext3 RHS, RHS
1638468940U, // <7,4,6,0>: Cost 2 vext3 RHS, <4,6,0,2>
2712063318U, // <7,4,6,1>: Cost 3 vext3 RHS, <4,6,1,3>
2712210780U, // <7,4,6,2>: Cost 3 vext3 RHS, <4,6,2,0>
2712210790U, // <7,4,6,3>: Cost 3 vext3 RHS, <4,6,3,1>
1638468980U, // <7,4,6,4>: Cost 2 vext3 RHS, <4,6,4,6>
2712063358U, // <7,4,6,5>: Cost 3 vext3 RHS, <4,6,5,7>
2131296256U, // <7,4,6,6>: Cost 2 ins <u,4,6,6>, lane 0
2125488133U, // <7,4,6,7>: Cost 2 ins <7,4,u,u>, lane 5
1638469012U, // <7,4,6,u>: Cost 2 vext3 RHS, <4,6,u,2>
2651640826U, // <7,4,7,0>: Cost 3 vext2 <5,6,7,4>, <7,0,1,2>
2794279930U, // <7,4,7,1>: Cost 3 vuzpl <7,1,4,6>, <7,0,1,2>
3201761281U, // <7,4,7,2>: Cost 3 ins <7,u,7,2>, lane 1
3201769473U, // <7,4,7,3>: Cost 3 ins <7,u,7,3>, lane 1
2847509964U, // <7,4,7,4>: Cost 3 vuzpr <4,7,5,4>, <4,7,5,4>
1858964790U, // <7,4,7,5>: Cost 2 vzipl <7,7,7,7>, RHS
1993182518U, // <7,4,7,6>: Cost 2 vtrnl <7,7,7,7>, RHS
2128060417U, // <7,4,7,7>: Cost 2 ins <7,u,7,7>, lane 1
1858965033U, // <7,4,7,u>: Cost 2 vzipl <7,7,7,7>, RHS
1640312302U, // <7,4,u,0>: Cost 2 vext3 RHS, <4,u,0,2>
1577899822U, // <7,4,u,1>: Cost 2 vext2 <5,6,7,4>, LHS
2127577089U, // <7,4,u,2>: Cost 2 ins <7,u,1,2>, lane 1
2125488133U, // <7,4,u,3>: Cost 2 ins <7,4,u,u>, lane 5
1640312342U, // <7,4,u,4>: Cost 2 vext3 RHS, <4,u,4,6>
1638469146U, // <7,4,u,5>: Cost 2 vext3 RHS, <4,u,5,1>
564579881U, // <7,4,u,6>: Cost 1 vext3 RHS, RHS
2125266947U, // <7,4,u,7>: Cost 2 ins <7,4,5,u>, lane 3
564579899U, // <7,4,u,u>: Cost 1 vext3 RHS, RHS
2579038310U, // <7,5,0,0>: Cost 3 vext1 <4,7,5,0>, LHS
2131476480U, // <7,5,0,1>: Cost 2 ins <u,5,0,1>, lane 0
1722597478U, // <7,5,0,2>: Cost 2 vuzpl <7,4,5,6>, LHS
3201253377U, // <7,5,0,3>: Cost 3 ins <7,u,0,3>, lane 1
2712063586U, // <7,5,0,4>: Cost 3 vext3 RHS, <5,0,4,1>
2987150554U, // <7,5,0,5>: Cost 3 vzipr <5,6,7,0>, <4,4,5,5>
2987149826U, // <7,5,0,6>: Cost 3 vzipr <5,6,7,0>, <3,4,5,6>
2131525632U, // <7,5,0,7>: Cost 2 ins <u,5,0,7>, lane 0
1722597532U, // <7,5,0,u>: Cost 2 vuzpl <7,4,5,6>, LHS
2714054287U, // <7,5,1,0>: Cost 3 vext3 RHS, <5,1,0,1>
2249183358U, // <7,5,1,1>: Cost 3 vrev <5,7,1,1>
2127577089U, // <7,5,1,2>: Cost 2 ins <7,u,1,2>, lane 1
1785643110U, // <7,5,1,3>: Cost 2 vuzpr <6,7,4,5>, LHS
2714054327U, // <7,5,1,4>: Cost 3 vext3 RHS, <5,1,4,5>
3127496708U, // <7,5,1,5>: Cost 3 vtrnr <6,7,0,1>, <5,5,5,5>
2590995323U, // <7,5,1,6>: Cost 3 vext1 <6,7,5,1>, <6,7,5,1>
1638469328U, // <7,5,1,7>: Cost 2 vext3 RHS, <5,1,7,3>
1638469337U, // <7,5,1,u>: Cost 2 vext3 RHS, <5,1,u,3>
2249117814U, // <7,5,2,0>: Cost 3 vrev <5,7,0,2>
2714054379U, // <7,5,2,1>: Cost 3 vext3 RHS, <5,2,1,3>
2249265288U, // <7,5,2,2>: Cost 3 vrev <5,7,2,2>
2131640320U, // <7,5,2,3>: Cost 2 ins <u,5,2,3>, lane 0
2859385754U, // <7,5,2,4>: Cost 3 vuzpr <6,7,4,5>, <1,2,3,4>
2714054415U, // <7,5,2,5>: Cost 3 vext3 RHS, <5,2,5,3>
2712063768U, // <7,5,2,6>: Cost 3 vext3 RHS, <5,2,6,3>
2131673088U, // <7,5,2,7>: Cost 2 ins <u,5,2,7>, lane 0
2131640320U, // <7,5,2,u>: Cost 2 ins <u,5,2,3>, lane 0
3201449985U, // <7,5,3,0>: Cost 3 ins <7,u,3,0>, lane 1
1175457920U, // <7,5,3,1>: Cost 2 vrev <5,7,1,3>
2249273481U, // <7,5,3,2>: Cost 3 vrev <5,7,2,3>
2249347218U, // <7,5,3,3>: Cost 3 vrev <5,7,3,3>
3201482753U, // <7,5,3,4>: Cost 3 ins <7,u,3,4>, lane 1
2983857370U, // <7,5,3,5>: Cost 3 vzipr <5,1,7,3>, <4,4,5,5>
2983856642U, // <7,5,3,6>: Cost 3 vzipr <5,1,7,3>, <3,4,5,6>
2047872310U, // <7,5,3,7>: Cost 2 vtrnr <5,7,1,3>, RHS
2047872311U, // <7,5,3,u>: Cost 2 vtrnr <5,7,1,3>, RHS
2579071078U, // <7,5,4,0>: Cost 3 vext1 <4,7,5,4>, LHS
2987182994U, // <7,5,4,1>: Cost 3 vzipr <5,6,7,4>, <4,0,5,1>
2249281674U, // <7,5,4,2>: Cost 3 vrev <5,7,2,4>
3201548289U, // <7,5,4,3>: Cost 3 ins <7,u,4,3>, lane 1
2579074508U, // <7,5,4,4>: Cost 3 vext1 <4,7,5,4>, <4,7,5,4>
2131804160U, // <7,5,4,5>: Cost 2 ins <u,5,4,5>, lane 0
1722600758U, // <7,5,4,6>: Cost 2 vuzpl <7,4,5,6>, RHS
1638322118U, // <7,5,4,7>: Cost 2 vext3 RHS, <5,4,7,6>
1638469583U, // <7,5,4,u>: Cost 2 vext3 RHS, <5,4,u,6>
2714054611U, // <7,5,5,0>: Cost 3 vext3 RHS, <5,5,0,1>
2714054620U, // <7,5,5,1>: Cost 3 vext3 RHS, <5,5,1,1>
3201613825U, // <7,5,5,2>: Cost 3 ins <7,u,5,2>, lane 1
2649657204U, // <7,5,5,3>: Cost 3 vext2 <5,3,7,5>, <5,3,7,5>
2714054651U, // <7,5,5,4>: Cost 3 vext3 RHS, <5,5,4,5>
1638322180U, // <7,5,5,5>: Cost 2 vext3 RHS, <5,5,5,5>
2127904769U, // <7,5,5,6>: Cost 2 ins <7,u,5,6>, lane 1
1638469656U, // <7,5,5,7>: Cost 2 vext3 RHS, <5,5,7,7>
1638469665U, // <7,5,5,u>: Cost 2 vext3 RHS, <5,5,u,7>
2131910656U, // <7,5,6,0>: Cost 2 ins <u,5,6,0>, lane 0
2131918848U, // <7,5,6,1>: Cost 2 ins <u,5,6,1>, lane 0
2131927040U, // <7,5,6,2>: Cost 2 ins <u,5,6,2>, lane 0
2131935232U, // <7,5,6,3>: Cost 2 ins <u,5,6,3>, lane 0
2131943424U, // <7,5,6,4>: Cost 2 ins <u,5,6,4>, lane 0
2131951616U, // <7,5,6,5>: Cost 2 ins <u,5,6,5>, lane 0
2131959808U, // <7,5,6,6>: Cost 2 ins <u,5,6,6>, lane 0
1058226176U, // <7,5,6,7>: Cost 1 ins RHS, lane 0
1058226176U, // <7,5,6,u>: Cost 1 ins RHS, lane 0
1511325798U, // <7,5,7,0>: Cost 2 vext1 <5,7,5,7>, LHS
1638469760U, // <7,5,7,1>: Cost 2 vext3 RHS, <5,7,1,3>
2712211590U, // <7,5,7,2>: Cost 3 vext3 RHS, <5,7,2,0>
2573126390U, // <7,5,7,3>: Cost 3 vext1 <3,7,5,7>, <3,7,5,7>
1511329078U, // <7,5,7,4>: Cost 2 vext1 <5,7,5,7>, RHS
1638469800U, // <7,5,7,5>: Cost 2 vext3 RHS, <5,7,5,7>
2712211626U, // <7,5,7,6>: Cost 3 vext3 RHS, <5,7,6,0>
2048199990U, // <7,5,7,7>: Cost 2 vtrnr <5,7,5,7>, RHS
1638469823U, // <7,5,7,u>: Cost 2 vext3 RHS, <5,7,u,3>
1511333990U, // <7,5,u,0>: Cost 2 vext1 <5,7,5,u>, LHS
1638469841U, // <7,5,u,1>: Cost 2 vext3 RHS, <5,u,1,3>
1722603310U, // <7,5,u,2>: Cost 2 vuzpl <7,4,5,6>, LHS
1785643677U, // <7,5,u,3>: Cost 2 vuzpr <6,7,4,5>, LHS
1511337270U, // <7,5,u,4>: Cost 2 vext1 <5,7,5,u>, RHS
1638469881U, // <7,5,u,5>: Cost 2 vext3 RHS, <5,u,5,7>
1722603674U, // <7,5,u,6>: Cost 2 vuzpl <7,4,5,6>, RHS
1058226176U, // <7,5,u,7>: Cost 1 ins RHS, lane 0
1058226176U, // <7,5,u,u>: Cost 1 ins RHS, lane 0
2650324992U, // <7,6,0,0>: Cost 3 vext2 <5,4,7,6>, <0,0,0,0>
1576583270U, // <7,6,0,1>: Cost 2 vext2 <5,4,7,6>, LHS
2132148224U, // <7,6,0,2>: Cost 2 ins <u,6,0,2>, lane 0
2255295336U, // <7,6,0,3>: Cost 3 vrev <6,7,3,0>
2712064316U, // <7,6,0,4>: Cost 3 vext3 RHS, <6,0,4,2>
2987151292U, // <7,6,0,5>: Cost 3 vzipr <5,6,7,0>, <5,4,6,5>
2987150564U, // <7,6,0,6>: Cost 3 vzipr <5,6,7,0>, <4,4,6,6>
1913408822U, // <7,6,0,7>: Cost 2 vzipr <5,6,7,0>, RHS
1576583837U, // <7,6,0,u>: Cost 2 vext2 <5,4,7,6>, LHS
1181340494U, // <7,6,1,0>: Cost 2 vrev <6,7,0,1>
2650325812U, // <7,6,1,1>: Cost 3 vext2 <5,4,7,6>, <1,1,1,1>
2127577089U, // <7,6,1,2>: Cost 2 ins <7,u,1,2>, lane 1
2841329766U, // <7,6,1,3>: Cost 3 vuzpr <3,7,2,6>, LHS
2579123666U, // <7,6,1,4>: Cost 3 vext1 <4,7,6,1>, <4,7,6,1>
2650326160U, // <7,6,1,5>: Cost 3 vext2 <5,4,7,6>, <1,5,3,7>
2714055072U, // <7,6,1,6>: Cost 3 vext3 RHS, <6,1,6,3>
2974551350U, // <7,6,1,7>: Cost 3 vzipr <3,5,7,1>, RHS
1181930390U, // <7,6,1,u>: Cost 2 vrev <6,7,u,1>
2712211897U, // <7,6,2,0>: Cost 3 vext3 RHS, <6,2,0,1>
2714055108U, // <7,6,2,1>: Cost 3 vext3 RHS, <6,2,1,3>
2714055117U, // <7,6,2,2>: Cost 3 vext3 RHS, <6,2,2,3>
2132303872U, // <7,6,2,3>: Cost 2 ins <u,6,2,3>, lane 0
2714055137U, // <7,6,2,4>: Cost 3 vext3 RHS, <6,2,4,5>
2714055148U, // <7,6,2,5>: Cost 3 vext3 RHS, <6,2,5,7>
2714055152U, // <7,6,2,6>: Cost 3 vext3 RHS, <6,2,6,2>
1638470138U, // <7,6,2,7>: Cost 2 vext3 RHS, <6,2,7,3>
1638470147U, // <7,6,2,u>: Cost 2 vext3 RHS, <6,2,u,3>
2650327190U, // <7,6,3,0>: Cost 3 vext2 <5,4,7,6>, <3,0,1,2>
3121614200U, // <7,6,3,1>: Cost 3 vtrnr <5,7,1,3>, <4,6,5,1>
1181504354U, // <7,6,3,2>: Cost 2 vrev <6,7,2,3>
2650327452U, // <7,6,3,3>: Cost 3 vext2 <5,4,7,6>, <3,3,3,3>
2712064562U, // <7,6,3,4>: Cost 3 vext3 RHS, <6,3,4,5>
3206135808U, // <7,6,3,5>: Cost 3 ins <u,6,3,5>, lane 0
2983857380U, // <7,6,3,6>: Cost 3 vzipr <5,1,7,3>, <4,4,6,6>
1910115638U, // <7,6,3,7>: Cost 2 vzipr <5,1,7,3>, RHS
1910115639U, // <7,6,3,u>: Cost 2 vzipr <5,1,7,3>, RHS
2650327954U, // <7,6,4,0>: Cost 3 vext2 <5,4,7,6>, <4,0,5,1>
2735952486U, // <7,6,4,1>: Cost 3 vext3 RHS, <6,4,1,3>
2714055276U, // <7,6,4,2>: Cost 3 vext3 RHS, <6,4,2,0>
2255328108U, // <7,6,4,3>: Cost 3 vrev <6,7,3,4>
2650328272U, // <7,6,4,4>: Cost 3 vext2 <5,4,7,6>, <4,4,4,4>
1576586550U, // <7,6,4,5>: Cost 2 vext2 <5,4,7,6>, RHS
2132475904U, // <7,6,4,6>: Cost 2 ins <u,6,4,6>, lane 0
1913441590U, // <7,6,4,7>: Cost 2 vzipr <5,6,7,4>, RHS
1576586793U, // <7,6,4,u>: Cost 2 vext2 <5,4,7,6>, RHS
2579152998U, // <7,6,5,0>: Cost 3 vext1 <4,7,6,5>, LHS
2650328784U, // <7,6,5,1>: Cost 3 vext2 <5,4,7,6>, <5,1,7,3>
2714055364U, // <7,6,5,2>: Cost 3 vext3 RHS, <6,5,2,7>
3201622017U, // <7,6,5,3>: Cost 3 ins <7,u,5,3>, lane 1
1576587206U, // <7,6,5,4>: Cost 2 vext2 <5,4,7,6>, <5,4,7,6>
2650329092U, // <7,6,5,5>: Cost 3 vext2 <5,4,7,6>, <5,5,5,5>
2127904769U, // <7,6,5,6>: Cost 2 ins <7,u,5,6>, lane 1
2971929910U, // <7,6,5,7>: Cost 3 vzipr <3,1,7,5>, RHS
1181963162U, // <7,6,5,u>: Cost 2 vrev <6,7,u,5>
2714055421U, // <7,6,6,0>: Cost 3 vext3 RHS, <6,6,0,1>
2714055432U, // <7,6,6,1>: Cost 3 vext3 RHS, <6,6,1,3>
2712212245U, // <7,6,6,2>: Cost 3 vext3 RHS, <6,6,2,7>
3201695745U, // <7,6,6,3>: Cost 3 ins <7,u,6,3>, lane 1
2714055461U, // <7,6,6,4>: Cost 3 vext3 RHS, <6,6,4,5>
2714055472U, // <7,6,6,5>: Cost 3 vext3 RHS, <6,6,5,7>
1638323000U, // <7,6,6,6>: Cost 2 vext3 RHS, <6,6,6,6>
1638470466U, // <7,6,6,7>: Cost 2 vext3 RHS, <6,6,7,7>
1638470475U, // <7,6,6,u>: Cost 2 vext3 RHS, <6,6,u,7>
1638323022U, // <7,6,7,0>: Cost 2 vext3 RHS, <6,7,0,1>
2712064854U, // <7,6,7,1>: Cost 3 vext3 RHS, <6,7,1,0>
1638323042U, // <7,6,7,2>: Cost 2 vext3 RHS, <6,7,2,3>
2712064872U, // <7,6,7,3>: Cost 3 vext3 RHS, <6,7,3,0>
1638323062U, // <7,6,7,4>: Cost 2 vext3 RHS, <6,7,4,5>
2712064894U, // <7,6,7,5>: Cost 3 vext3 RHS, <6,7,5,4>
1638323082U, // <7,6,7,6>: Cost 2 vext3 RHS, <6,7,6,7>
1912802614U, // <7,6,7,7>: Cost 2 vzipr <5,5,7,7>, RHS
1638323094U, // <7,6,7,u>: Cost 2 vext3 RHS, <6,7,u,1>
1638470559U, // <7,6,u,0>: Cost 2 vext3 RHS, <6,u,0,1>
1576589102U, // <7,6,u,1>: Cost 2 vext2 <5,4,7,6>, LHS
2132148224U, // <7,6,u,2>: Cost 2 ins <u,6,0,2>, lane 0
2132303872U, // <7,6,u,3>: Cost 2 ins <u,6,2,3>, lane 0
1638470599U, // <7,6,u,4>: Cost 2 vext3 RHS, <6,u,4,5>
1576589466U, // <7,6,u,5>: Cost 2 vext2 <5,4,7,6>, RHS
2132475904U, // <7,6,u,6>: Cost 2 ins <u,6,4,6>, lane 0
1638470624U, // <7,6,u,7>: Cost 2 vext3 RHS, <6,u,7,3>
1638470631U, // <7,6,u,u>: Cost 2 vext3 RHS, <6,u,u,1>
1913409634U, // <7,7,0,0>: Cost 2 vzipr <5,6,7,0>, <5,6,7,0>
1638323194U, // <7,7,0,1>: Cost 2 vext3 RHS, <7,0,1,2>
1724743782U, // <7,7,0,2>: Cost 2 vuzpl <7,7,7,7>, LHS
2987151056U, // <7,7,0,3>: Cost 3 vzipr <5,6,7,0>, <5,1,7,3>
2712065044U, // <7,7,0,4>: Cost 3 vext3 RHS, <7,0,4,1>
2585161907U, // <7,7,0,5>: Cost 3 vext1 <5,7,7,0>, <5,7,7,0>
2987151302U, // <7,7,0,6>: Cost 3 vzipr <5,6,7,0>, <5,4,7,6>
2127470594U, // <7,7,0,7>: Cost 2 ins <7,7,u,7>, lane 2
1638323257U, // <7,7,0,u>: Cost 2 vext3 RHS, <7,0,u,2>
2712065091U, // <7,7,1,0>: Cost 3 vext3 RHS, <7,1,0,3>
2053755726U, // <7,7,1,1>: Cost 2 vtrnr <6,7,0,1>, <6,7,0,1>
2127577089U, // <7,7,1,2>: Cost 2 ins <7,u,1,2>, lane 1
1779761254U, // <7,7,1,3>: Cost 2 vuzpr <5,7,5,7>, LHS
2585169206U, // <7,7,1,4>: Cost 3 vext1 <5,7,7,1>, RHS
2693928048U, // <7,7,1,5>: Cost 3 vext3 <1,5,3,7>, <7,1,5,3>
2585170766U, // <7,7,1,6>: Cost 3 vext1 <5,7,7,1>, <6,7,0,1>
2127470594U, // <7,7,1,7>: Cost 2 ins <7,7,u,7>, lane 2
1779761259U, // <7,7,1,u>: Cost 2 vuzpr <5,7,5,7>, LHS
2853503894U, // <7,7,2,0>: Cost 3 vuzpr <5,7,5,7>, <1,2,3,0>
3206692864U, // <7,7,2,1>: Cost 3 ins <u,7,2,1>, lane 0
1988801621U, // <7,7,2,2>: Cost 2 vtrnl <7,1,2,3>, <7,1,2,3>
2132967424U, // <7,7,2,3>: Cost 2 ins <u,7,2,3>, lane 0
2853503898U, // <7,7,2,4>: Cost 3 vuzpr <5,7,5,7>, <1,2,3,4>
3206725632U, // <7,7,2,5>: Cost 3 ins <u,7,2,5>, lane 0
2700563658U, // <7,7,2,6>: Cost 3 vext3 <2,6,3,7>, <7,2,6,3>
2127470594U, // <7,7,2,7>: Cost 2 ins <7,7,u,7>, lane 2
1988801621U, // <7,7,2,u>: Cost 2 vtrnl <7,1,2,3>, <7,1,2,3>
2712065251U, // <7,7,3,0>: Cost 3 vext3 RHS, <7,3,0,1>
3121615694U, // <7,7,3,1>: Cost 3 vtrnr <5,7,1,3>, <6,7,0,1>
3201171458U, // <7,7,3,2>: Cost 3 ins <7,7,u,2>, lane 2
1910116048U, // <7,7,3,3>: Cost 2 vzipr <5,1,7,3>, <5,1,7,3>
2712065291U, // <7,7,3,4>: Cost 3 vext3 RHS, <7,3,4,5>
2639055462U, // <7,7,3,5>: Cost 3 vext2 <3,5,7,7>, <3,5,7,7>
2639719095U, // <7,7,3,6>: Cost 3 vext2 <3,6,7,7>, <3,6,7,7>
2127470594U, // <7,7,3,7>: Cost 2 ins <7,7,u,7>, lane 2
1910116048U, // <7,7,3,u>: Cost 2 vzipr <5,1,7,3>, <5,1,7,3>
2712212792U, // <7,7,4,0>: Cost 3 vext3 RHS, <7,4,0,5>
3062715386U, // <7,7,4,1>: Cost 3 vtrnl <7,1,4,6>, <7,0,1,2>
3201540097U, // <7,7,4,2>: Cost 3 ins <7,u,4,2>, lane 1
2987183824U, // <7,7,4,3>: Cost 3 vzipr <5,6,7,4>, <5,1,7,3>
1913442406U, // <7,7,4,4>: Cost 2 vzipr <5,6,7,4>, <5,6,7,4>
1638323558U, // <7,7,4,5>: Cost 2 vext3 RHS, <7,4,5,6>
1724747062U, // <7,7,4,6>: Cost 2 vuzpl <7,7,7,7>, RHS
2127470594U, // <7,7,4,7>: Cost 2 ins <7,7,u,7>, lane 2
1638323585U, // <7,7,4,u>: Cost 2 vext3 RHS, <7,4,u,6>
2853508547U, // <7,7,5,0>: Cost 3 vuzpr <5,7,5,7>, <7,5,7,0>
2712212884U, // <7,7,5,1>: Cost 3 vext3 RHS, <7,5,1,7>
3201613825U, // <7,7,5,2>: Cost 3 ins <7,u,5,2>, lane 1
2649673590U, // <7,7,5,3>: Cost 3 vext2 <5,3,7,7>, <5,3,7,7>
2712065455U, // <7,7,5,4>: Cost 3 vext3 RHS, <7,5,4,7>
1577259032U, // <7,7,5,5>: Cost 2 vext2 <5,5,7,7>, <5,5,7,7>
2127904769U, // <7,7,5,6>: Cost 2 ins <7,u,5,6>, lane 1
1779764534U, // <7,7,5,7>: Cost 2 vuzpr <5,7,5,7>, RHS
1779764535U, // <7,7,5,u>: Cost 2 vuzpr <5,7,5,7>, RHS
2985873506U, // <7,7,6,0>: Cost 3 vzipr <5,4,7,6>, <5,6,7,0>
2735953374U, // <7,7,6,1>: Cost 3 vext3 RHS, <7,6,1,0>
2712212974U, // <7,7,6,2>: Cost 3 vext3 RHS, <7,6,2,7>
2985873104U, // <7,7,6,3>: Cost 3 vzipr <5,4,7,6>, <5,1,7,3>
2985873510U, // <7,7,6,4>: Cost 3 vzipr <5,4,7,6>, <5,6,7,4>
2985873511U, // <7,7,6,5>: Cost 3 vzipr <5,4,7,6>, <5,6,7,5>
1912131526U, // <7,7,6,6>: Cost 2 vzipr <5,4,7,6>, <5,4,7,6>
2133295104U, // <7,7,6,7>: Cost 2 ins <u,7,6,7>, lane 0
1585222628U, // <7,7,6,u>: Cost 2 vext2 <6,u,7,7>, <6,u,7,7>
1523417190U, // <7,7,7,0>: Cost 2 vext1 <7,7,7,7>, LHS
2127405059U, // <7,7,7,1>: Cost 2 ins <7,7,7,u>, lane 3
2127405059U, // <7,7,7,2>: Cost 2 ins <7,7,7,u>, lane 3
2127405059U, // <7,7,7,3>: Cost 2 ins <7,7,7,u>, lane 3
1523420470U, // <7,7,7,4>: Cost 2 vext1 <7,7,7,7>, RHS
2127405059U, // <7,7,7,5>: Cost 2 ins <7,7,7,u>, lane 3
2127405059U, // <7,7,7,6>: Cost 2 ins <7,7,7,u>, lane 3
363253046U, // <7,7,7,7>: Cost 1 vdup3 RHS
363253046U, // <7,7,7,u>: Cost 1 vdup3 RHS
1913409634U, // <7,7,u,0>: Cost 2 vzipr <5,6,7,0>, <5,6,7,0>
1638471298U, // <7,7,u,1>: Cost 2 vext3 RHS, <7,u,1,2>
1724749614U, // <7,7,u,2>: Cost 2 vuzpl <7,7,7,7>, LHS
1779761821U, // <7,7,u,3>: Cost 2 vuzpr <5,7,5,7>, LHS
1913442406U, // <7,7,u,4>: Cost 2 vzipr <5,6,7,4>, <5,6,7,4>
1638471338U, // <7,7,u,5>: Cost 2 vext3 RHS, <7,u,5,6>
1724749978U, // <7,7,u,6>: Cost 2 vuzpl <7,7,7,7>, RHS
363253046U, // <7,7,u,7>: Cost 1 vdup3 RHS
363253046U, // <7,7,u,u>: Cost 1 vdup3 RHS
1638318080U, // <7,u,0,0>: Cost 2 vext3 RHS, <0,0,0,0>
1638323923U, // <7,u,0,1>: Cost 2 vext3 RHS, <u,0,1,2>
1720131686U, // <7,u,0,2>: Cost 2 vuzpl <7,0,u,2>, LHS
1638323941U, // <7,u,0,3>: Cost 2 vext3 RHS, <u,0,3,2>
2712065773U, // <7,u,0,4>: Cost 3 vext3 RHS, <u,0,4,1>
1853839514U, // <7,u,0,5>: Cost 2 vzipl <7,0,1,2>, RHS
1662359296U, // <7,u,0,6>: Cost 2 vext3 RHS, <u,0,6,2>
1913408840U, // <7,u,0,7>: Cost 2 vzipr <5,6,7,0>, RHS
1638323986U, // <7,u,0,u>: Cost 2 vext3 RHS, <u,0,u,2>
1517469798U, // <7,u,1,0>: Cost 2 vext1 <6,7,u,1>, LHS
2128232448U, // <7,u,1,1>: Cost 2 ins <u,0,1,1>, lane 0
564582190U, // <7,u,1,2>: Cost 1 vext3 RHS, LHS
1638324023U, // <7,u,1,3>: Cost 2 vext3 RHS, <u,1,3,3>
1517473078U, // <7,u,1,4>: Cost 2 vext1 <6,7,u,1>, RHS
2122317827U, // <7,u,1,5>: Cost 2 ins <7,0,1,u>, lane 3
1517474710U, // <7,u,1,6>: Cost 2 vext1 <6,7,u,1>, <6,7,u,1>
1640462171U, // <7,u,1,7>: Cost 2 vext3 RHS, <u,1,7,3>
564582244U, // <7,u,1,u>: Cost 1 vext3 RHS, LHS
1662211948U, // <7,u,2,0>: Cost 2 vext3 RHS, <u,2,0,2>
2128969728U, // <7,u,2,1>: Cost 2 ins <u,1,2,1>, lane 0
2128314368U, // <7,u,2,2>: Cost 2 ins <u,0,2,2>, lane 0
1055244288U, // <7,u,2,3>: Cost 1 ins LHS, lane 0
1662211988U, // <7,u,2,4>: Cost 2 vext3 RHS, <u,2,4,6>
2129002496U, // <7,u,2,5>: Cost 2 ins <u,1,2,5>, lane 0
2131001344U, // <7,u,2,6>: Cost 2 ins <u,4,2,6>, lane 0
1640314796U, // <7,u,2,7>: Cost 2 vext3 RHS, <u,2,7,3>
1055244288U, // <7,u,2,u>: Cost 1 ins LHS, lane 0
1638324156U, // <7,u,3,0>: Cost 2 vext3 RHS, <u,3,0,1>
1638324167U, // <7,u,3,1>: Cost 2 vext3 RHS, <u,3,1,3>
2128388096U, // <7,u,3,2>: Cost 2 ins <u,0,3,2>, lane 0
1910112412U, // <7,u,3,3>: Cost 2 vzipr <5,1,7,3>, LHS
1638324196U, // <7,u,3,4>: Cost 2 vext3 RHS, <u,3,4,5>
1638324207U, // <7,u,3,5>: Cost 2 vext3 RHS, <u,3,5,7>
2125471746U, // <7,u,3,6>: Cost 2 ins <7,4,u,6>, lane 2
1910115656U, // <7,u,3,7>: Cost 2 vzipr <5,1,7,3>, RHS
1638324228U, // <7,u,3,u>: Cost 2 vext3 RHS, <u,3,u,1>
2712066061U, // <7,u,4,0>: Cost 3 vext3 RHS, <u,4,0,1>
1856821038U, // <7,u,4,1>: Cost 2 vzipl <7,4,5,6>, LHS
1662212132U, // <7,u,4,2>: Cost 2 vext3 RHS, <u,4,2,6>
1913438364U, // <7,u,4,3>: Cost 2 vzipr <5,6,7,4>, LHS
1638321360U, // <7,u,4,4>: Cost 2 vext3 RHS, <4,4,4,4>
1638324287U, // <7,u,4,5>: Cost 2 vext3 RHS, <u,4,5,6>
1720134966U, // <7,u,4,6>: Cost 2 vuzpl <7,0,u,2>, RHS
1640314961U, // <7,u,4,7>: Cost 2 vext3 RHS, <u,4,7,6>
1638324314U, // <7,u,4,u>: Cost 2 vext3 RHS, <u,4,u,6>
1517502566U, // <7,u,5,0>: Cost 2 vext1 <6,7,u,5>, LHS
1574612693U, // <7,u,5,1>: Cost 2 vext2 <5,1,7,u>, <5,1,7,u>
1991038766U, // <7,u,5,2>: Cost 2 vtrnl <7,4,5,6>, LHS
1638324351U, // <7,u,5,3>: Cost 2 vext3 RHS, <u,5,3,7>
1576603592U, // <7,u,5,4>: Cost 2 vext2 <5,4,7,u>, <5,4,7,u>
1577267225U, // <7,u,5,5>: Cost 2 vext2 <5,5,7,u>, <5,5,7,u>
564582554U, // <7,u,5,6>: Cost 1 vext3 RHS, RHS
1640462499U, // <7,u,5,7>: Cost 2 vext3 RHS, <u,5,7,7>
564582572U, // <7,u,5,u>: Cost 1 vext3 RHS, RHS
1662359728U, // <7,u,6,0>: Cost 2 vext3 RHS, <u,6,0,2>
2131918848U, // <7,u,6,1>: Cost 2 ins <u,5,6,1>, lane 0
1581249023U, // <7,u,6,2>: Cost 2 vext2 <6,2,7,u>, <6,2,7,u>
1638324432U, // <7,u,6,3>: Cost 2 vext3 RHS, <u,6,3,7>
1662359768U, // <7,u,6,4>: Cost 2 vext3 RHS, <u,6,4,6>
2131951616U, // <7,u,6,5>: Cost 2 ins <u,5,6,5>, lane 0
1583903555U, // <7,u,6,6>: Cost 2 vext2 <6,6,7,u>, <6,6,7,u>
1058226176U, // <7,u,6,7>: Cost 1 ins RHS, lane 0
1058226176U, // <7,u,6,u>: Cost 1 ins RHS, lane 0
1638471936U, // <7,u,7,0>: Cost 2 vext3 RHS, <u,7,0,1>
1640462603U, // <7,u,7,1>: Cost 2 vext3 RHS, <u,7,1,3>
1993185070U, // <7,u,7,2>: Cost 2 vtrnl <7,7,7,7>, LHS
1912799388U, // <7,u,7,3>: Cost 2 vzipr <5,5,7,7>, LHS
1638471976U, // <7,u,7,4>: Cost 2 vext3 RHS, <u,7,4,5>
1640462643U, // <7,u,7,5>: Cost 2 vext3 RHS, <u,7,5,7>
1993185434U, // <7,u,7,6>: Cost 2 vtrnl <7,7,7,7>, RHS
363253046U, // <7,u,7,7>: Cost 1 vdup3 RHS
363253046U, // <7,u,7,u>: Cost 1 vdup3 RHS
1638324561U, // <7,u,u,0>: Cost 2 vext3 RHS, <u,u,0,1>
1638324571U, // <7,u,u,1>: Cost 2 vext3 RHS, <u,u,1,2>
564582757U, // <7,u,u,2>: Cost 1 vext3 RHS, LHS
1055244288U, // <7,u,u,3>: Cost 1 ins LHS, lane 0
1638324601U, // <7,u,u,4>: Cost 2 vext3 RHS, <u,u,4,5>
1638324611U, // <7,u,u,5>: Cost 2 vext3 RHS, <u,u,5,6>
564582797U, // <7,u,u,6>: Cost 1 vext3 RHS, RHS
1058226176U, // <7,u,u,7>: Cost 1 ins RHS, lane 0
564582811U, // <7,u,u,u>: Cost 1 vext3 RHS, LHS
135053414U, // <u,0,0,0>: Cost 1 vdup0 LHS
1611489290U, // <u,0,0,1>: Cost 2 vext3 LHS, <0,0,1,1>
1611489300U, // <u,0,0,2>: Cost 2 vext3 LHS, <0,0,2,2>
2085707777U, // <u,0,0,3>: Cost 2 ins <0,u,0,3>, lane 1
1481706806U, // <u,0,0,4>: Cost 2 vext1 <0,u,0,0>, RHS
2080440323U, // <u,0,0,5>: Cost 2 ins <0,0,0,u>, lane 3
2080440323U, // <u,0,0,6>: Cost 2 ins <0,0,0,u>, lane 3
2080440323U, // <u,0,0,7>: Cost 2 ins <0,0,0,u>, lane 3
135053414U, // <u,0,0,u>: Cost 1 vdup0 LHS
1493655654U, // <u,0,1,0>: Cost 2 vext1 <2,u,0,1>, LHS
786808934U, // <u,0,1,1>: Cost 1 vzipl LHS, LHS
537747563U, // <u,0,1,2>: Cost 1 vext3 LHS, LHS
1756332134U, // <u,0,1,3>: Cost 2 vuzpr <1,u,3,0>, LHS
1493658934U, // <u,0,1,4>: Cost 2 vext1 <2,u,0,1>, RHS
2085797889U, // <u,0,1,5>: Cost 2 ins <0,u,1,5>, lane 1
1517548447U, // <u,0,1,6>: Cost 2 vext1 <6,u,0,1>, <6,u,0,1>
2080514051U, // <u,0,1,7>: Cost 2 ins <0,0,1,u>, lane 3
537747612U, // <u,0,1,u>: Cost 1 vext3 LHS, LHS
1611489444U, // <u,0,2,0>: Cost 2 vext3 LHS, <0,2,0,2>
1994768394U, // <u,0,2,1>: Cost 2 vtrnl LHS, <0,0,1,1>
921026662U, // <u,0,2,2>: Cost 1 vtrnl LHS, LHS
1012113409U, // <u,0,2,3>: Cost 1 ins LHS, lane 1
1611489484U, // <u,0,2,4>: Cost 2 vext3 LHS, <0,2,4,6>
2080587779U, // <u,0,2,5>: Cost 2 ins <0,0,2,u>, lane 3
2085879809U, // <u,0,2,6>: Cost 2 ins <0,u,2,6>, lane 1
2080587779U, // <u,0,2,7>: Cost 2 ins <0,0,2,u>, lane 3
921026716U, // <u,0,2,u>: Cost 1 vtrnl LHS, LHS
1880326144U, // <u,0,3,0>: Cost 2 vzipr LHS, <0,0,0,0>
1880327846U, // <u,0,3,1>: Cost 2 vzipr LHS, <2,3,0,1>
72589981U, // <u,0,3,2>: Cost 1 vrev LHS
2091900929U, // <u,0,3,3>: Cost 2 ins <1,u,3,3>, lane 1
2091909121U, // <u,0,3,4>: Cost 2 ins <1,u,3,4>, lane 1
2086633475U, // <u,0,3,5>: Cost 2 ins <1,0,3,u>, lane 3
2086633475U, // <u,0,3,6>: Cost 2 ins <1,0,3,u>, lane 3
2091933697U, // <u,0,3,7>: Cost 2 ins <1,u,3,7>, lane 1
73032403U, // <u,0,3,u>: Cost 1 vrev LHS
1705610572U, // <u,0,4,0>: Cost 2 vuzpl <4,6,0,2>, <4,6,0,2>
1611489618U, // <u,0,4,1>: Cost 2 vext3 LHS, <0,4,1,5>
1611489628U, // <u,0,4,2>: Cost 2 vext3 LHS, <0,4,2,6>
2086002689U, // <u,0,4,3>: Cost 2 ins <0,u,4,3>, lane 1
1947828428U, // <u,0,4,4>: Cost 2 vtrnl <0,2,4,6>, <0,2,4,6>
1551396150U, // <u,0,4,5>: Cost 2 vext2 <1,2,u,0>, RHS
1726844214U, // <u,0,4,6>: Cost 2 vuzpl <u,2,0,2>, RHS
2109923329U, // <u,0,4,7>: Cost 2 ins <4,u,4,7>, lane 1
1611932050U, // <u,0,4,u>: Cost 2 vext3 LHS, <0,4,u,6>
1863532544U, // <u,0,5,0>: Cost 2 vzipl RHS, <0,0,0,0>
789790822U, // <u,0,5,1>: Cost 1 vzipl RHS, LHS
1996349542U, // <u,0,5,2>: Cost 2 vtrnl <u,3,5,7>, LHS
2104696835U, // <u,0,5,3>: Cost 2 ins <4,0,5,u>, lane 3
1863532882U, // <u,0,5,4>: Cost 2 vzipl RHS, <0,4,1,5>
2109980673U, // <u,0,5,5>: Cost 2 ins <4,u,5,5>, lane 1
1577939051U, // <u,0,5,6>: Cost 2 vext2 <5,6,u,0>, <5,6,u,0>
1756335414U, // <u,0,5,7>: Cost 2 vuzpr <1,u,3,0>, RHS
789791389U, // <u,0,5,u>: Cost 1 vzipl RHS, LHS
1997750272U, // <u,0,6,0>: Cost 2 vtrnl RHS, <0,0,0,0>
1997750282U, // <u,0,6,1>: Cost 2 vtrnl RHS, <0,0,1,1>
924008550U, // <u,0,6,2>: Cost 1 vtrnl RHS, LHS
2104770563U, // <u,0,6,3>: Cost 2 ins <4,0,6,u>, lane 3
1146503858U, // <u,0,6,4>: Cost 2 vrev <0,u,4,6>
2104770563U, // <u,0,6,5>: Cost 2 ins <4,0,6,u>, lane 3
2110062593U, // <u,0,6,6>: Cost 2 ins <4,u,6,6>, lane 1
1036328961U, // <u,0,6,7>: Cost 1 ins RHS, lane 1
924008604U, // <u,0,6,u>: Cost 1 vtrnl RHS, LHS
1906900992U, // <u,0,7,0>: Cost 2 vzipr RHS, <0,0,0,0>
1906902694U, // <u,0,7,1>: Cost 2 vzipr RHS, <2,3,0,1>
1906901156U, // <u,0,7,2>: Cost 2 vzipr RHS, <0,2,0,2>
2116083713U, // <u,0,7,3>: Cost 2 ins <5,u,7,3>, lane 1
2116091905U, // <u,0,7,4>: Cost 2 ins <5,u,7,4>, lane 1
2980643874U, // <u,0,7,5>: Cost 3 vzipr RHS, <1,4,0,5>
2116108289U, // <u,0,7,6>: Cost 2 ins <5,u,7,6>, lane 1
2116116481U, // <u,0,7,7>: Cost 2 ins <5,u,7,7>, lane 1
1906901162U, // <u,0,7,u>: Cost 2 vzipr RHS, <0,2,0,u>
135053414U, // <u,0,u,0>: Cost 1 vdup0 LHS
791453798U, // <u,0,u,1>: Cost 1 vzipl LHS, LHS
537748125U, // <u,0,u,2>: Cost 1 vext3 LHS, LHS
1012113409U, // <u,0,u,3>: Cost 1 ins LHS, lane 1
1611932338U, // <u,0,u,4>: Cost 2 vext3 LHS, <0,u,4,6>
1551399066U, // <u,0,u,5>: Cost 2 vext2 <1,2,u,0>, RHS
1517605798U, // <u,0,u,6>: Cost 2 vext1 <6,u,0,u>, <6,u,0,u>
1036328961U, // <u,0,u,7>: Cost 1 ins RHS, lane 1
537748179U, // <u,0,u,u>: Cost 1 vext3 LHS, LHS
1818149622U, // <u,1,0,0>: Cost 2 vzipl <1,0,3,2>, <1,0,3,2>
1007951877U, // <u,1,0,1>: Cost 1 ins LHS, lane 5
1725587558U, // <u,1,0,2>: Cost 2 vuzpl <u,0,1,2>, LHS
1007910914U, // <u,1,0,3>: Cost 1 ins LHS, lane 2
2081660930U, // <u,1,0,4>: Cost 2 ins <0,1,u,4>, lane 2
2081669122U, // <u,1,0,5>: Cost 2 ins <0,1,u,5>, lane 2
2081677314U, // <u,1,0,6>: Cost 2 ins <0,1,u,6>, lane 2
2081685506U, // <u,1,0,7>: Cost 2 ins <0,1,u,7>, lane 2
1007951877U, // <u,1,0,u>: Cost 1 ins LHS, lane 5
1481786002U, // <u,1,1,0>: Cost 2 vext1 <0,u,1,1>, <0,u,1,1>
202162278U, // <u,1,1,1>: Cost 1 vdup1 LHS
1860551574U, // <u,1,1,2>: Cost 2 vzipl LHS, <1,2,3,0>
1007910914U, // <u,1,1,3>: Cost 1 ins LHS, lane 2
1481788726U, // <u,1,1,4>: Cost 2 vext1 <0,u,1,1>, RHS
1860551824U, // <u,1,1,5>: Cost 2 vzipl LHS, <1,5,3,7>
2081677314U, // <u,1,1,6>: Cost 2 ins <0,1,u,6>, lane 2
2081685506U, // <u,1,1,7>: Cost 2 ins <0,1,u,7>, lane 2
1007910914U, // <u,1,1,u>: Cost 1 ins LHS, lane 2
1007509507U, // <u,1,2,0>: Cost 1 ins LHS, lane 3
1007509507U, // <u,1,2,1>: Cost 1 ins LHS, lane 3
1007509507U, // <u,1,2,2>: Cost 1 ins LHS, lane 3
835584U, // <u,1,2,3>: Cost 0 copy LHS
1007509507U, // <u,1,2,4>: Cost 1 ins LHS, lane 3
1007509507U, // <u,1,2,5>: Cost 1 ins LHS, lane 3
1007509507U, // <u,1,2,6>: Cost 1 ins LHS, lane 3
1007509507U, // <u,1,2,7>: Cost 1 ins LHS, lane 3
835584U, // <u,1,2,u>: Cost 0 copy LHS
1487773798U, // <u,1,3,0>: Cost 2 vext1 <1,u,1,3>, LHS
1611490264U, // <u,1,3,1>: Cost 2 vext3 LHS, <1,3,1,3>
1880328342U, // <u,1,3,2>: Cost 2 vzipr LHS, <3,0,1,2>
945004646U, // <u,1,3,3>: Cost 1 vtrnr LHS, LHS
1487777078U, // <u,1,3,4>: Cost 2 vext1 <1,u,1,3>, RHS
1611490304U, // <u,1,3,5>: Cost 2 vext3 LHS, <1,3,5,7>
2087297027U, // <u,1,3,6>: Cost 2 ins <1,1,3,u>, lane 3
2133737476U, // <u,1,3,7>: Cost 2 ins <u,u,3,7>, lane 4
945004651U, // <u,1,3,u>: Cost 1 vtrnr LHS, LHS
1567992749U, // <u,1,4,0>: Cost 2 vext2 <4,0,u,1>, <4,0,u,1>
2081636354U, // <u,1,4,1>: Cost 2 ins <0,1,u,1>, lane 2
2081644546U, // <u,1,4,2>: Cost 2 ins <0,1,u,2>, lane 2
1007910914U, // <u,1,4,3>: Cost 1 ins LHS, lane 2
2081660930U, // <u,1,4,4>: Cost 2 ins <0,1,u,4>, lane 2
1007951877U, // <u,1,4,5>: Cost 1 ins LHS, lane 5
1725590838U, // <u,1,4,6>: Cost 2 vuzpl <u,0,1,2>, RHS
2081685506U, // <u,1,4,7>: Cost 2 ins <0,1,u,7>, lane 2
1007910914U, // <u,1,4,u>: Cost 1 ins LHS, lane 2
1481818774U, // <u,1,5,0>: Cost 2 vext1 <0,u,1,5>, <0,u,1,5>
1863533364U, // <u,1,5,1>: Cost 2 vzipl RHS, <1,1,1,1>
1863533462U, // <u,1,5,2>: Cost 2 vzipl RHS, <1,2,3,0>
1007910914U, // <u,1,5,3>: Cost 1 ins LHS, lane 2
1481821494U, // <u,1,5,4>: Cost 2 vext1 <0,u,1,5>, RHS
1863533712U, // <u,1,5,5>: Cost 2 vzipl RHS, <1,5,3,7>
2133876740U, // <u,1,5,6>: Cost 2 ins <u,u,5,6>, lane 4
1750224182U, // <u,1,5,7>: Cost 2 vuzpr <0,u,1,1>, RHS
1007910914U, // <u,1,5,u>: Cost 1 ins LHS, lane 2
2081628162U, // <u,1,6,0>: Cost 2 ins <0,1,u,0>, lane 2
1997751092U, // <u,1,6,1>: Cost 2 vtrnl RHS, <1,1,1,1>
2133917700U, // <u,1,6,2>: Cost 2 ins <u,u,6,2>, lane 4
1007910914U, // <u,1,6,3>: Cost 1 ins LHS, lane 2
2081660930U, // <u,1,6,4>: Cost 2 ins <0,1,u,4>, lane 2
1997751296U, // <u,1,6,5>: Cost 2 vtrnl RHS, <1,3,5,7>
2133950468U, // <u,1,6,6>: Cost 2 ins <u,u,6,6>, lane 4
1060216836U, // <u,1,6,7>: Cost 1 ins RHS, lane 4
1007910914U, // <u,1,6,u>: Cost 1 ins LHS, lane 2
2133975044U, // <u,1,7,0>: Cost 2 ins <u,u,7,0>, lane 4
1906901002U, // <u,1,7,1>: Cost 2 vzipr RHS, <0,0,1,1>
1906903190U, // <u,1,7,2>: Cost 2 vzipr RHS, <3,0,1,2>
969220198U, // <u,1,7,3>: Cost 1 vtrnr RHS, LHS
2134007812U, // <u,1,7,4>: Cost 2 ins <u,u,7,4>, lane 4
1152558485U, // <u,1,7,5>: Cost 2 vrev <1,u,5,7>
2134024196U, // <u,1,7,6>: Cost 2 ins <u,u,7,6>, lane 4
2134032388U, // <u,1,7,7>: Cost 2 ins <u,u,7,7>, lane 4
969220203U, // <u,1,7,u>: Cost 1 vtrnr RHS, LHS
1007509507U, // <u,1,u,0>: Cost 1 ins LHS, lane 3
1007951877U, // <u,1,u,1>: Cost 1 ins LHS, lane 5
1007509507U, // <u,1,u,2>: Cost 1 ins LHS, lane 3
835584U, // <u,1,u,3>: Cost 0 copy LHS
1007509507U, // <u,1,u,4>: Cost 1 ins LHS, lane 3
1007509507U, // <u,1,u,5>: Cost 1 ins LHS, lane 3
1007509507U, // <u,1,u,6>: Cost 1 ins LHS, lane 3
1007509507U, // <u,1,u,7>: Cost 1 ins LHS, lane 3
835584U, // <u,1,u,u>: Cost 0 copy LHS
1726332928U, // <u,2,0,0>: Cost 2 vuzpl LHS, <0,0,0,0>
1545437286U, // <u,2,0,1>: Cost 2 vext2 <0,2,u,2>, LHS
652591206U, // <u,2,0,2>: Cost 1 vuzpl LHS, LHS
1886937190U, // <u,2,0,3>: Cost 2 vzipr <1,2,u,0>, LHS
1726333132U, // <u,2,0,4>: Cost 2 vuzpl LHS, <0,2,4,6>
2081767427U, // <u,2,0,5>: Cost 2 ins <0,2,0,u>, lane 3
2082340866U, // <u,2,0,6>: Cost 2 ins <0,2,u,6>, lane 2
2081767427U, // <u,2,0,7>: Cost 2 ins <0,2,0,u>, lane 3
652591260U, // <u,2,0,u>: Cost 1 vuzpl LHS, LHS
1550082851U, // <u,2,1,0>: Cost 2 vext2 <1,0,u,2>, <1,0,u,2>
1726333748U, // <u,2,1,1>: Cost 2 vuzpl LHS, <1,1,1,1>
1860552296U, // <u,2,1,2>: Cost 2 vzipl LHS, <2,2,2,2>
1750155366U, // <u,2,1,3>: Cost 2 vuzpr <0,u,0,2>, LHS
2088296450U, // <u,2,1,4>: Cost 2 ins <1,2,u,4>, lane 2
1726333952U, // <u,2,1,5>: Cost 2 vuzpl LHS, <1,3,5,7>
1860552634U, // <u,2,1,6>: Cost 2 vzipl LHS, <2,6,3,7>
2109702145U, // <u,2,1,7>: Cost 2 ins <4,u,1,7>, lane 1
1750155371U, // <u,2,1,u>: Cost 2 vuzpr <0,u,0,2>, LHS
1481867932U, // <u,2,2,0>: Cost 2 vext1 <0,u,2,2>, <0,u,2,2>
2085838849U, // <u,2,2,1>: Cost 2 ins <0,u,2,1>, lane 1
269271142U, // <u,2,2,2>: Cost 1 vdup2 LHS
1012113409U, // <u,2,2,3>: Cost 1 ins LHS, lane 1
1481870646U, // <u,2,2,4>: Cost 2 vext1 <0,u,2,2>, RHS
2085871617U, // <u,2,2,5>: Cost 2 ins <0,u,2,5>, lane 1
2085879809U, // <u,2,2,6>: Cost 2 ins <0,u,2,6>, lane 1
2085888001U, // <u,2,2,7>: Cost 2 ins <0,u,2,7>, lane 1
1012113409U, // <u,2,2,u>: Cost 1 ins LHS, lane 1
408134301U, // <u,2,3,0>: Cost 1 vext1 LHS, LHS
1481876214U, // <u,2,3,1>: Cost 2 vext1 LHS, <1,0,3,2>
1880326164U, // <u,2,3,2>: Cost 2 vzipr LHS, <0,0,2,2>
806584422U, // <u,2,3,3>: Cost 1 vzipr LHS, LHS
408137014U, // <u,2,3,4>: Cost 1 vext1 LHS, RHS
1726335490U, // <u,2,3,5>: Cost 2 vuzpl LHS, <3,4,5,6>
1880326492U, // <u,2,3,6>: Cost 2 vzipr LHS, <0,4,2,6>
1529656314U, // <u,2,3,7>: Cost 2 vext1 LHS, <7,0,1,2>
806584427U, // <u,2,3,u>: Cost 1 vzipr LHS, LHS
1726336332U, // <u,2,4,0>: Cost 2 vuzpl LHS, <4,6,0,2>
2082062339U, // <u,2,4,1>: Cost 2 ins <0,2,4,u>, lane 3
2082308098U, // <u,2,4,2>: Cost 2 ins <0,2,u,2>, lane 2
1886969958U, // <u,2,4,3>: Cost 2 vzipr <1,2,u,4>, LHS
1726336208U, // <u,2,4,4>: Cost 2 vuzpl LHS, <4,4,4,4>
1545440566U, // <u,2,4,5>: Cost 2 vext2 <0,2,u,2>, RHS
652594486U, // <u,2,4,6>: Cost 1 vuzpl LHS, RHS
2082062339U, // <u,2,4,7>: Cost 2 ins <0,2,4,u>, lane 3
652594504U, // <u,2,4,u>: Cost 1 vuzpl LHS, RHS
2088263682U, // <u,2,5,0>: Cost 2 ins <1,2,u,0>, lane 2
1726337152U, // <u,2,5,1>: Cost 2 vuzpl LHS, <5,7,1,3>
1863534184U, // <u,2,5,2>: Cost 2 vzipl RHS, <2,2,2,2>
1884987494U, // <u,2,5,3>: Cost 2 vzipr <0,u,u,5>, LHS
1158441059U, // <u,2,5,4>: Cost 2 vrev <2,u,4,5>
1726337028U, // <u,2,5,5>: Cost 2 vuzpl LHS, <5,5,5,5>
1863534522U, // <u,2,5,6>: Cost 2 vzipl RHS, <2,6,3,7>
1750158646U, // <u,2,5,7>: Cost 2 vuzpr <0,u,0,2>, RHS
1750158647U, // <u,2,5,u>: Cost 2 vuzpr <0,u,0,2>, RHS
1481900704U, // <u,2,6,0>: Cost 2 vext1 <0,u,2,6>, <0,u,2,6>
2110021633U, // <u,2,6,1>: Cost 2 ins <4,u,6,1>, lane 1
1997751912U, // <u,2,6,2>: Cost 2 vtrnl RHS, <2,2,2,2>
1611491258U, // <u,2,6,3>: Cost 2 vext3 LHS, <2,6,3,7>
1481903414U, // <u,2,6,4>: Cost 2 vext1 <0,u,2,6>, RHS
2110054401U, // <u,2,6,5>: Cost 2 ins <4,u,6,5>, lane 1
1726337848U, // <u,2,6,6>: Cost 2 vuzpl LHS, <6,6,6,6>
1036328961U, // <u,2,6,7>: Cost 1 ins RHS, lane 1
1036328961U, // <u,2,6,u>: Cost 1 ins RHS, lane 1
2042962838U, // <u,2,7,0>: Cost 2 vtrnr RHS, <1,2,3,0>
1726338042U, // <u,2,7,1>: Cost 2 vuzpl LHS, <7,0,1,2>
1906901012U, // <u,2,7,2>: Cost 2 vzipr RHS, <0,0,2,2>
833159270U, // <u,2,7,3>: Cost 1 vzipr RHS, LHS
2042962842U, // <u,2,7,4>: Cost 2 vtrnr RHS, <1,2,3,4>
1726338406U, // <u,2,7,5>: Cost 2 vuzpl LHS, <7,4,5,6>
1906901340U, // <u,2,7,6>: Cost 2 vzipr RHS, <0,4,2,6>
1726338668U, // <u,2,7,7>: Cost 2 vuzpl LHS, <7,7,7,7>
833159275U, // <u,2,7,u>: Cost 1 vzipr RHS, LHS
408175266U, // <u,2,u,0>: Cost 1 vext1 LHS, LHS
1545443118U, // <u,2,u,1>: Cost 2 vext2 <0,2,u,2>, LHS
652597038U, // <u,2,u,2>: Cost 1 vuzpl LHS, LHS
806625382U, // <u,2,u,3>: Cost 1 vzipr LHS, LHS
408177974U, // <u,2,u,4>: Cost 1 vext1 LHS, RHS
1545443482U, // <u,2,u,5>: Cost 2 vext2 <0,2,u,2>, RHS
652597402U, // <u,2,u,6>: Cost 1 vuzpl LHS, RHS
1036328961U, // <u,2,u,7>: Cost 1 ins RHS, lane 1
806625387U, // <u,2,u,u>: Cost 1 vzipr LHS, LHS
1544781824U, // <u,3,0,0>: Cost 2 vext2 LHS, <0,0,0,0>
471040156U, // <u,3,0,1>: Cost 1 vext2 LHS, LHS
1544781988U, // <u,3,0,2>: Cost 2 vext2 LHS, <0,2,0,2>
2088951810U, // <u,3,0,3>: Cost 2 ins <1,3,u,3>, lane 2
1544782162U, // <u,3,0,4>: Cost 2 vext2 LHS, <0,4,1,5>
2094940162U, // <u,3,0,5>: Cost 2 ins <2,3,u,5>, lane 2
2094374915U, // <u,3,0,6>: Cost 2 ins <2,3,0,u>, lane 3
2088984578U, // <u,3,0,7>: Cost 2 ins <1,3,u,7>, lane 2
471040669U, // <u,3,0,u>: Cost 1 vext2 LHS, LHS
1544782582U, // <u,3,1,0>: Cost 2 vext2 LHS, <1,0,3,2>
1544782644U, // <u,3,1,1>: Cost 2 vext2 LHS, <1,1,1,1>
1544782742U, // <u,3,1,2>: Cost 2 vext2 LHS, <1,2,3,0>
676569190U, // <u,3,1,3>: Cost 1 vuzpr LHS, LHS
1860553218U, // <u,3,1,4>: Cost 2 vzipl LHS, <3,4,5,6>
1544782992U, // <u,3,1,5>: Cost 2 vext2 LHS, <1,5,3,7>
2088476675U, // <u,3,1,6>: Cost 2 ins <1,3,1,u>, lane 3
2088984578U, // <u,3,1,7>: Cost 2 ins <1,3,u,7>, lane 2
676569195U, // <u,3,1,u>: Cost 1 vuzpr LHS, LHS
1750311830U, // <u,3,2,0>: Cost 2 vuzpr LHS, <1,2,3,0>
1164167966U, // <u,3,2,1>: Cost 2 vrev <3,u,1,2>
1544783464U, // <u,3,2,2>: Cost 2 vext2 LHS, <2,2,2,2>
1012113409U, // <u,3,2,3>: Cost 1 ins LHS, lane 1
1750311834U, // <u,3,2,4>: Cost 2 vuzpr LHS, <1,2,3,4>
1994770946U, // <u,3,2,5>: Cost 2 vtrnl LHS, <3,4,5,6>
1544783802U, // <u,3,2,6>: Cost 2 vext2 LHS, <2,6,3,7>
2088984578U, // <u,3,2,7>: Cost 2 ins <1,3,u,7>, lane 2
1012113409U, // <u,3,2,u>: Cost 1 ins LHS, lane 1
1544784022U, // <u,3,3,0>: Cost 2 vext2 LHS, <3,0,1,2>
1750312614U, // <u,3,3,1>: Cost 2 vuzpr LHS, <2,3,0,1>
1880326902U, // <u,3,3,2>: Cost 2 vzipr LHS, <1,0,3,2>
336380006U, // <u,3,3,3>: Cost 1 vdup3 LHS
1544784386U, // <u,3,3,4>: Cost 2 vext2 LHS, <3,4,5,6>
1750312654U, // <u,3,3,5>: Cost 2 vuzpr LHS, <2,3,4,5>
2100568067U, // <u,3,3,6>: Cost 2 ins <3,3,3,u>, lane 3
1880327312U, // <u,3,3,7>: Cost 2 vzipr LHS, <1,5,3,7>
336380006U, // <u,3,3,u>: Cost 1 vdup3 LHS
1487929446U, // <u,3,4,0>: Cost 2 vext1 <1,u,3,4>, LHS
1487930752U, // <u,3,4,1>: Cost 2 vext1 <1,u,3,4>, <1,u,3,4>
2094669827U, // <u,3,4,2>: Cost 2 ins <2,3,4,u>, lane 3
2088951810U, // <u,3,4,3>: Cost 2 ins <1,3,u,3>, lane 2
1487932726U, // <u,3,4,4>: Cost 2 vext1 <1,u,3,4>, RHS
471043382U, // <u,3,4,5>: Cost 1 vext2 LHS, RHS
1750311260U, // <u,3,4,6>: Cost 2 vuzpr LHS, <0,4,2,6>
2088984578U, // <u,3,4,7>: Cost 2 ins <1,3,u,7>, lane 2
471043625U, // <u,3,4,u>: Cost 1 vext2 LHS, RHS
1863534742U, // <u,3,5,0>: Cost 2 vzipl RHS, <3,0,1,2>
1574645465U, // <u,3,5,1>: Cost 2 vext2 <5,1,u,3>, <5,1,u,3>
2088771587U, // <u,3,5,2>: Cost 2 ins <1,3,5,u>, lane 3
1863535004U, // <u,3,5,3>: Cost 2 vzipl RHS, <3,3,3,3>
1592561606U, // <u,3,5,4>: Cost 2 vext2 LHS, <5,4,7,6>
1592561668U, // <u,3,5,5>: Cost 2 vext2 LHS, <5,5,5,5>
1592561762U, // <u,3,5,6>: Cost 2 vext2 LHS, <5,6,7,0>
676572470U, // <u,3,5,7>: Cost 1 vuzpr LHS, RHS
676572471U, // <u,3,5,u>: Cost 1 vuzpr LHS, RHS
1798090850U, // <u,3,6,0>: Cost 2 vuzpr LHS, <5,6,7,0>
1997752470U, // <u,3,6,1>: Cost 2 vtrnl RHS, <3,0,1,2>
1581281795U, // <u,3,6,2>: Cost 2 vext2 <6,2,u,3>, <6,2,u,3>
1997752732U, // <u,3,6,3>: Cost 2 vtrnl RHS, <3,3,3,3>
1798090854U, // <u,3,6,4>: Cost 2 vuzpr LHS, <5,6,7,4>
1164495686U, // <u,3,6,5>: Cost 2 vrev <3,u,5,6>
1592562488U, // <u,3,6,6>: Cost 2 vext2 LHS, <6,6,6,6>
1060216836U, // <u,3,6,7>: Cost 1 ins RHS, lane 4
1060216836U, // <u,3,6,u>: Cost 1 ins RHS, lane 4
1487954022U, // <u,3,7,0>: Cost 2 vext1 <1,u,3,7>, LHS
1487955331U, // <u,3,7,1>: Cost 2 vext1 <1,u,3,7>, <1,u,3,7>
1493928028U, // <u,3,7,2>: Cost 2 vext1 <2,u,3,7>, <2,u,3,7>
1906901832U, // <u,3,7,3>: Cost 2 vzipr RHS, <1,1,3,3>
1487957302U, // <u,3,7,4>: Cost 2 vext1 <1,u,3,7>, RHS
2042963662U, // <u,3,7,5>: Cost 2 vtrnr RHS, <2,3,4,5>
2134024196U, // <u,3,7,6>: Cost 2 ins <u,u,7,6>, lane 4
1906902160U, // <u,3,7,7>: Cost 2 vzipr RHS, <1,5,3,7>
1487959854U, // <u,3,7,u>: Cost 2 vext1 <1,u,3,7>, LHS
1544787667U, // <u,3,u,0>: Cost 2 vext2 LHS, <u,0,1,2>
471045934U, // <u,3,u,1>: Cost 1 vext2 LHS, LHS
1880367862U, // <u,3,u,2>: Cost 2 vzipr LHS, <1,0,3,2>
676569757U, // <u,3,u,3>: Cost 1 vuzpr LHS, LHS
1544788031U, // <u,3,u,4>: Cost 2 vext2 LHS, <u,4,5,6>
471046298U, // <u,3,u,5>: Cost 1 vext2 LHS, RHS
1750311584U, // <u,3,u,6>: Cost 2 vuzpr LHS, <0,u,2,6>
676572713U, // <u,3,u,7>: Cost 1 vuzpr LHS, RHS
471046501U, // <u,3,u,u>: Cost 1 vext2 LHS, LHS
1974046028U, // <u,4,0,0>: Cost 2 vtrnl <4,6,0,2>, <4,6,0,2>
1551425638U, // <u,4,0,1>: Cost 2 vext2 <1,2,u,4>, LHS
1727168614U, // <u,4,0,2>: Cost 2 vuzpl <u,2,4,6>, LHS
2085707777U, // <u,4,0,3>: Cost 2 ins <0,u,0,3>, lane 1
1679392972U, // <u,4,0,4>: Cost 2 vuzpl <0,2,4,6>, <0,2,4,6>
1638329234U, // <u,4,0,5>: Cost 2 vext3 RHS, <4,0,5,1>
1638329244U, // <u,4,0,6>: Cost 2 vext3 RHS, <4,0,6,2>
2109628417U, // <u,4,0,7>: Cost 2 ins <4,u,0,7>, lane 1
1551426205U, // <u,4,0,u>: Cost 2 vext2 <1,2,u,4>, LHS
1860553618U, // <u,4,1,0>: Cost 2 vzipl LHS, <4,0,5,1>
2085765121U, // <u,4,1,1>: Cost 2 ins <0,u,1,1>, lane 1
1551426503U, // <u,4,1,2>: Cost 2 vext2 <1,2,u,4>, <1,2,u,4>
1756364902U, // <u,4,1,3>: Cost 2 vuzpr <1,u,3,4>, LHS
1860553936U, // <u,4,1,4>: Cost 2 vzipl LHS, <4,4,4,4>
786812214U, // <u,4,1,5>: Cost 1 vzipl LHS, RHS
1994026294U, // <u,4,1,6>: Cost 2 vtrnl <u,0,1,2>, RHS
2083168259U, // <u,4,1,7>: Cost 2 ins <0,4,1,u>, lane 3
786812457U, // <u,4,1,u>: Cost 1 vzipl LHS, RHS
1170066926U, // <u,4,2,0>: Cost 2 vrev <4,u,0,2>
2083241987U, // <u,4,2,1>: Cost 2 ins <0,4,2,u>, lane 3
2085847041U, // <u,4,2,2>: Cost 2 ins <0,u,2,2>, lane 1
1012113409U, // <u,4,2,3>: Cost 1 ins LHS, lane 1
1994771664U, // <u,4,2,4>: Cost 2 vtrnl LHS, <4,4,4,4>
1994771346U, // <u,4,2,5>: Cost 2 vtrnl LHS, <4,0,5,1>
921029942U, // <u,4,2,6>: Cost 1 vtrnl LHS, RHS
2083241987U, // <u,4,2,7>: Cost 2 ins <0,4,2,u>, lane 3
921029960U, // <u,4,2,u>: Cost 1 vtrnl LHS, RHS
2091876353U, // <u,4,3,0>: Cost 2 ins <1,u,3,0>, lane 1
2954070192U, // <u,4,3,1>: Cost 3 vzipr LHS, <3,0,4,1>
2091892737U, // <u,4,3,2>: Cost 2 ins <1,u,3,2>, lane 1
2091900929U, // <u,4,3,3>: Cost 2 ins <1,u,3,3>, lane 1
1928105168U, // <u,4,3,4>: Cost 2 vzipr LHS, <4,4,4,4>
1880327886U, // <u,4,3,5>: Cost 2 vzipr LHS, <2,3,4,5>
1880326348U, // <u,4,3,6>: Cost 2 vzipr LHS, <0,2,4,6>
2091933697U, // <u,4,3,7>: Cost 2 ins <1,u,3,7>, lane 1
1880326350U, // <u,4,3,u>: Cost 2 vzipr LHS, <0,2,4,u>
1505919078U, // <u,4,4,0>: Cost 2 vext1 <4,u,4,4>, LHS
2107277315U, // <u,4,4,1>: Cost 2 ins <4,4,4,u>, lane 3
2107277315U, // <u,4,4,2>: Cost 2 ins <4,4,4,u>, lane 3
2086002689U, // <u,4,4,3>: Cost 2 ins <0,u,4,3>, lane 1
161926454U, // <u,4,4,4>: Cost 1 vdup0 RHS
1551428918U, // <u,4,4,5>: Cost 2 vext2 <1,2,u,4>, RHS
1638329572U, // <u,4,4,6>: Cost 2 vext3 RHS, <4,4,6,6>
2109923329U, // <u,4,4,7>: Cost 2 ins <4,u,4,7>, lane 1
161926454U, // <u,4,4,u>: Cost 1 vdup0 RHS
1493983334U, // <u,4,5,0>: Cost 2 vext1 <2,u,4,5>, LHS
2101379075U, // <u,4,5,1>: Cost 2 ins <3,4,5,u>, lane 3
1493985379U, // <u,4,5,2>: Cost 2 vext1 <2,u,4,5>, <2,u,4,5>
2101379075U, // <u,4,5,3>: Cost 2 ins <3,4,5,u>, lane 3
1493986614U, // <u,4,5,4>: Cost 2 vext1 <2,u,4,5>, RHS
789794102U, // <u,4,5,5>: Cost 1 vzipl RHS, RHS
537750838U, // <u,4,5,6>: Cost 1 vext3 LHS, RHS
1756368182U, // <u,4,5,7>: Cost 2 vuzpr <1,u,3,4>, RHS
537750856U, // <u,4,5,u>: Cost 1 vext3 LHS, RHS
1482048178U, // <u,4,6,0>: Cost 2 vext1 <0,u,4,6>, <0,u,4,6>
2107424771U, // <u,4,6,1>: Cost 2 ins <4,4,6,u>, lane 3
2110029825U, // <u,4,6,2>: Cost 2 ins <4,u,6,2>, lane 1
2107424771U, // <u,4,6,3>: Cost 2 ins <4,4,6,u>, lane 3
1482050870U, // <u,4,6,4>: Cost 2 vext1 <0,u,4,6>, RHS
1997753234U, // <u,4,6,5>: Cost 2 vtrnl RHS, <4,0,5,1>
924011830U, // <u,4,6,6>: Cost 1 vtrnl RHS, RHS
1036328961U, // <u,4,6,7>: Cost 1 ins RHS, lane 1
924011848U, // <u,4,6,u>: Cost 1 vtrnl RHS, RHS
2116059137U, // <u,4,7,0>: Cost 2 ins <5,u,7,0>, lane 1
2113470467U, // <u,4,7,1>: Cost 2 ins <5,4,7,u>, lane 3
2113470467U, // <u,4,7,2>: Cost 2 ins <5,4,7,u>, lane 3
2116083713U, // <u,4,7,3>: Cost 2 ins <5,u,7,3>, lane 1
1906904272U, // <u,4,7,4>: Cost 2 vzipr RHS, <4,4,4,4>
1906902734U, // <u,4,7,5>: Cost 2 vzipr RHS, <2,3,4,5>
96808489U, // <u,4,7,6>: Cost 1 vrev RHS
2116116481U, // <u,4,7,7>: Cost 2 ins <5,u,7,7>, lane 1
96955963U, // <u,4,7,u>: Cost 1 vrev RHS
1482064564U, // <u,4,u,0>: Cost 2 vext1 <0,u,4,u>, <0,u,4,u>
1551431470U, // <u,4,u,1>: Cost 2 vext2 <1,2,u,4>, LHS
1494009958U, // <u,4,u,2>: Cost 2 vext1 <2,u,4,u>, <2,u,4,u>
1012113409U, // <u,4,u,3>: Cost 1 ins LHS, lane 1
161926454U, // <u,4,u,4>: Cost 1 vdup0 RHS
791457078U, // <u,4,u,5>: Cost 1 vzipl LHS, RHS
537751081U, // <u,4,u,6>: Cost 1 vext3 LHS, RHS
1036328961U, // <u,4,u,7>: Cost 1 ins RHS, lane 1
537751099U, // <u,4,u,u>: Cost 1 vext3 LHS, RHS
2085683201U, // <u,5,0,0>: Cost 2 ins <0,u,0,0>, lane 1
1034493957U, // <u,5,0,1>: Cost 1 ins RHS, lane 5
1727914086U, // <u,5,0,2>: Cost 2 vuzpl <u,3,5,7>, LHS
2085707777U, // <u,5,0,3>: Cost 2 ins <0,u,0,3>, lane 1
1546273106U, // <u,5,0,4>: Cost 2 vext2 <0,4,1,5>, <0,4,1,5>
1678778497U, // <u,5,0,5>: Cost 2 vuzpl <0,1,5,3>, <0,1,5,3>
2108219394U, // <u,5,0,6>: Cost 2 ins <4,5,u,6>, lane 2
1034485762U, // <u,5,0,7>: Cost 1 ins RHS, lane 2
1034493957U, // <u,5,0,u>: Cost 1 ins RHS, lane 5
1505968230U, // <u,5,1,0>: Cost 2 vext1 <4,u,5,1>, LHS
1860554448U, // <u,5,1,1>: Cost 2 vzipl LHS, <5,1,7,3>
2103689217U, // <u,5,1,2>: Cost 2 ins <3,u,1,2>, lane 1
1750253670U, // <u,5,1,3>: Cost 2 vuzpr <0,u,1,5>, LHS
1505971738U, // <u,5,1,4>: Cost 2 vext1 <4,u,5,1>, <4,u,5,1>
1860554756U, // <u,5,1,5>: Cost 2 vzipl LHS, <5,5,5,5>
1860554850U, // <u,5,1,6>: Cost 2 vzipl LHS, <5,6,7,0>
1034485762U, // <u,5,1,7>: Cost 1 ins RHS, lane 2
1034485762U, // <u,5,1,u>: Cost 1 ins RHS, lane 2
2085830657U, // <u,5,2,0>: Cost 2 ins <0,u,2,0>, lane 1
1994772608U, // <u,5,2,1>: Cost 2 vtrnl LHS, <5,7,1,3>
2085847041U, // <u,5,2,2>: Cost 2 ins <0,u,2,2>, lane 1
1012113409U, // <u,5,2,3>: Cost 1 ins LHS, lane 1
2085863425U, // <u,5,2,4>: Cost 2 ins <0,u,2,4>, lane 1
1994772484U, // <u,5,2,5>: Cost 2 vtrnl LHS, <5,5,5,5>
2085879809U, // <u,5,2,6>: Cost 2 ins <0,u,2,6>, lane 1
1034485762U, // <u,5,2,7>: Cost 1 ins RHS, lane 2
1012113409U, // <u,5,2,u>: Cost 1 ins LHS, lane 1
2091876353U, // <u,5,3,0>: Cost 2 ins <1,u,3,0>, lane 1
1176121553U, // <u,5,3,1>: Cost 2 vrev <5,u,1,3>
2091892737U, // <u,5,3,2>: Cost 2 ins <1,u,3,2>, lane 1
2091900929U, // <u,5,3,3>: Cost 2 ins <1,u,3,3>, lane 1
2091909121U, // <u,5,3,4>: Cost 2 ins <1,u,3,4>, lane 1
1928105178U, // <u,5,3,5>: Cost 2 vzipr LHS, <4,4,5,5>
1880328706U, // <u,5,3,6>: Cost 2 vzipr LHS, <3,4,5,6>
945007926U, // <u,5,3,7>: Cost 1 vtrnr LHS, RHS
945007927U, // <u,5,3,u>: Cost 1 vtrnr LHS, RHS
2108170242U, // <u,5,4,0>: Cost 2 ins <4,5,u,0>, lane 2
2108178434U, // <u,5,4,1>: Cost 2 ins <4,5,u,1>, lane 2
2108186626U, // <u,5,4,2>: Cost 2 ins <4,5,u,2>, lane 2
2086002689U, // <u,5,4,3>: Cost 2 ins <0,u,4,3>, lane 1
1845022662U, // <u,5,4,4>: Cost 2 vzipl <5,4,7,6>, <5,4,7,6>
1034493957U, // <u,5,4,5>: Cost 1 ins RHS, lane 5
1727917366U, // <u,5,4,6>: Cost 2 vuzpl <u,3,5,7>, RHS
1034485762U, // <u,5,4,7>: Cost 1 ins RHS, lane 2
1034493957U, // <u,5,4,u>: Cost 1 ins RHS, lane 5
1506000998U, // <u,5,5,0>: Cost 2 vext1 <4,u,5,5>, LHS
1863536336U, // <u,5,5,1>: Cost 2 vzipl RHS, <5,1,7,3>
2108186626U, // <u,5,5,2>: Cost 2 ins <4,5,u,2>, lane 2
2086076417U, // <u,5,5,3>: Cost 2 ins <0,u,5,3>, lane 1
1506004510U, // <u,5,5,4>: Cost 2 vext1 <4,u,5,5>, <4,u,5,5>
229035318U, // <u,5,5,5>: Cost 1 vdup1 RHS
1863536738U, // <u,5,5,6>: Cost 2 vzipl RHS, <5,6,7,0>
1034485762U, // <u,5,5,7>: Cost 1 ins RHS, lane 2
1034485762U, // <u,5,5,u>: Cost 1 ins RHS, lane 2
1034346499U, // <u,5,6,0>: Cost 1 ins RHS, lane 3
1034346499U, // <u,5,6,1>: Cost 1 ins RHS, lane 3
1034346499U, // <u,5,6,2>: Cost 1 ins RHS, lane 3
1034346499U, // <u,5,6,3>: Cost 1 ins RHS, lane 3
1034346499U, // <u,5,6,4>: Cost 1 ins RHS, lane 3
1034346499U, // <u,5,6,5>: Cost 1 ins RHS, lane 3
1034346499U, // <u,5,6,6>: Cost 1 ins RHS, lane 3
27705344U, // <u,5,6,7>: Cost 0 copy RHS
27705344U, // <u,5,6,u>: Cost 0 copy RHS
1488101478U, // <u,5,7,0>: Cost 2 vext1 <1,u,5,7>, LHS
1488102805U, // <u,5,7,1>: Cost 2 vext1 <1,u,5,7>, <1,u,5,7>
2114134019U, // <u,5,7,2>: Cost 2 ins <5,5,7,u>, lane 3
2133999620U, // <u,5,7,3>: Cost 2 ins <u,u,7,3>, lane 4
1488104758U, // <u,5,7,4>: Cost 2 vext1 <1,u,5,7>, RHS
1638330536U, // <u,5,7,5>: Cost 2 vext3 RHS, <5,7,5,7>
1906903554U, // <u,5,7,6>: Cost 2 vzipr RHS, <3,4,5,6>
969223478U, // <u,5,7,7>: Cost 1 vtrnr RHS, RHS
969223479U, // <u,5,7,u>: Cost 1 vtrnr RHS, RHS
1034346499U, // <u,5,u,0>: Cost 1 ins RHS, lane 3
1034493957U, // <u,5,u,1>: Cost 1 ins RHS, lane 5
1034346499U, // <u,5,u,2>: Cost 1 ins RHS, lane 3
1012113409U, // <u,5,u,3>: Cost 1 ins LHS, lane 1
1034346499U, // <u,5,u,4>: Cost 1 ins RHS, lane 3
1034493957U, // <u,5,u,5>: Cost 1 ins RHS, lane 5
1034346499U, // <u,5,u,6>: Cost 1 ins RHS, lane 3
27705344U, // <u,5,u,7>: Cost 0 copy RHS
27705344U, // <u,5,u,u>: Cost 0 copy RHS
1729314816U, // <u,6,0,0>: Cost 2 vuzpl RHS, <0,0,0,0>
1545470054U, // <u,6,0,1>: Cost 2 vext2 <0,2,u,6>, LHS
655573094U, // <u,6,0,2>: Cost 1 vuzpl RHS, LHS
2108309507U, // <u,6,0,3>: Cost 2 ins <4,6,0,u>, lane 3
1546797458U, // <u,6,0,4>: Cost 2 vext2 <0,4,u,6>, <0,4,u,6>
2108309507U, // <u,6,0,5>: Cost 2 ins <4,6,0,u>, lane 3
2108882946U, // <u,6,0,6>: Cost 2 ins <4,6,u,6>, lane 2
1886940470U, // <u,6,0,7>: Cost 2 vzipr <1,2,u,0>, RHS
655573148U, // <u,6,0,u>: Cost 1 vuzpl RHS, LHS
1182004127U, // <u,6,1,0>: Cost 2 vrev <6,u,0,1>
1729315636U, // <u,6,1,1>: Cost 2 vuzpl RHS, <1,1,1,1>
1860555258U, // <u,6,1,2>: Cost 2 vzipl LHS, <6,2,7,3>
1750335590U, // <u,6,1,3>: Cost 2 vuzpr <0,u,2,6>, LHS
2114838530U, // <u,6,1,4>: Cost 2 ins <5,6,u,4>, lane 2
1729315840U, // <u,6,1,5>: Cost 2 vuzpl RHS, <1,3,5,7>
1860555576U, // <u,6,1,6>: Cost 2 vzipl LHS, <6,6,6,6>
1884958006U, // <u,6,1,7>: Cost 2 vzipr <0,u,u,1>, RHS
1750335595U, // <u,6,1,u>: Cost 2 vuzpr <0,u,2,6>, LHS
1506050150U, // <u,6,2,0>: Cost 2 vext1 <4,u,6,2>, LHS
2085838849U, // <u,6,2,1>: Cost 2 ins <0,u,2,1>, lane 1
1729316456U, // <u,6,2,2>: Cost 2 vuzpl RHS, <2,2,2,2>
1012113409U, // <u,6,2,3>: Cost 1 ins LHS, lane 1
1506053668U, // <u,6,2,4>: Cost 2 vext1 <4,u,6,2>, <4,u,6,2>
2085871617U, // <u,6,2,5>: Cost 2 ins <0,u,2,5>, lane 1
1994773304U, // <u,6,2,6>: Cost 2 vtrnl LHS, <6,6,6,6>
1880984886U, // <u,6,2,7>: Cost 2 vzipr <0,2,u,2>, RHS
1012113409U, // <u,6,2,u>: Cost 1 ins LHS, lane 1
2066526306U, // <u,6,3,0>: Cost 2 vtrnr LHS, <5,6,7,0>
1729317014U, // <u,6,3,1>: Cost 2 vuzpl RHS, <3,0,1,2>
1928104860U, // <u,6,3,2>: Cost 2 vzipr LHS, <4,0,6,2>
1729317276U, // <u,6,3,3>: Cost 2 vuzpl RHS, <3,3,3,3>
1564715549U, // <u,6,3,4>: Cost 2 vext2 <3,4,u,6>, <3,4,u,6>
1729317378U, // <u,6,3,5>: Cost 2 vuzpl RHS, <3,4,5,6>
1928105188U, // <u,6,3,6>: Cost 2 vzipr LHS, <4,4,6,6>
806587702U, // <u,6,3,7>: Cost 1 vzipr LHS, RHS
806587703U, // <u,6,3,u>: Cost 1 vzipr LHS, RHS
1729318220U, // <u,6,4,0>: Cost 2 vuzpl RHS, <4,6,0,2>
2108604419U, // <u,6,4,1>: Cost 2 ins <4,6,4,u>, lane 3
2108850178U, // <u,6,4,2>: Cost 2 ins <4,6,u,2>, lane 2
2108604419U, // <u,6,4,3>: Cost 2 ins <4,6,4,u>, lane 3
1729318096U, // <u,6,4,4>: Cost 2 vuzpl RHS, <4,4,4,4>
1545473334U, // <u,6,4,5>: Cost 2 vext2 <0,2,u,6>, RHS
655576374U, // <u,6,4,6>: Cost 1 vuzpl RHS, RHS
1886973238U, // <u,6,4,7>: Cost 2 vzipr <1,2,u,4>, RHS
655576392U, // <u,6,4,u>: Cost 1 vuzpl RHS, RHS
2114805762U, // <u,6,5,0>: Cost 2 ins <5,6,u,0>, lane 2
1729319040U, // <u,6,5,1>: Cost 2 vuzpl RHS, <5,7,1,3>
1863537146U, // <u,6,5,2>: Cost 2 vzipl RHS, <6,2,7,3>
2086076417U, // <u,6,5,3>: Cost 2 ins <0,u,5,3>, lane 1
1576660943U, // <u,6,5,4>: Cost 2 vext2 <5,4,u,6>, <5,4,u,6>
1729318916U, // <u,6,5,5>: Cost 2 vuzpl RHS, <5,5,5,5>
1863537464U, // <u,6,5,6>: Cost 2 vzipl RHS, <6,6,6,6>
1750338870U, // <u,6,5,7>: Cost 2 vuzpr <0,u,2,6>, RHS
1750338871U, // <u,6,5,u>: Cost 2 vuzpr <0,u,2,6>, RHS
1506082918U, // <u,6,6,0>: Cost 2 vext1 <4,u,6,6>, LHS
2110021633U, // <u,6,6,1>: Cost 2 ins <4,u,6,1>, lane 1
2110029825U, // <u,6,6,2>: Cost 2 ins <4,u,6,2>, lane 1
2086150145U, // <u,6,6,3>: Cost 2 ins <0,u,6,3>, lane 1
1506086440U, // <u,6,6,4>: Cost 2 vext1 <4,u,6,6>, <4,u,6,6>
2110054401U, // <u,6,6,5>: Cost 2 ins <4,u,6,5>, lane 1
296144182U, // <u,6,6,6>: Cost 1 vdup2 RHS
1036328961U, // <u,6,6,7>: Cost 1 ins RHS, lane 1
1036328961U, // <u,6,6,u>: Cost 1 ins RHS, lane 1
432349286U, // <u,6,7,0>: Cost 1 vext1 RHS, LHS
1506091766U, // <u,6,7,1>: Cost 2 vext1 RHS, <1,0,3,2>
1906903964U, // <u,6,7,2>: Cost 2 vzipr RHS, <4,0,6,2>
1506093206U, // <u,6,7,3>: Cost 2 vext1 RHS, <3,0,1,2>
432352809U, // <u,6,7,4>: Cost 1 vext1 RHS, RHS
1506094800U, // <u,6,7,5>: Cost 2 vext1 RHS, <5,1,7,3>
1906904292U, // <u,6,7,6>: Cost 2 vzipr RHS, <4,4,6,6>
833162550U, // <u,6,7,7>: Cost 1 vzipr RHS, RHS
833162551U, // <u,6,7,u>: Cost 1 vzipr RHS, RHS
432357478U, // <u,6,u,0>: Cost 1 vext1 RHS, LHS
1545475886U, // <u,6,u,1>: Cost 2 vext2 <0,2,u,6>, LHS
655578926U, // <u,6,u,2>: Cost 1 vuzpl RHS, LHS
1012113409U, // <u,6,u,3>: Cost 1 ins LHS, lane 1
432361002U, // <u,6,u,4>: Cost 1 vext1 RHS, RHS
1545476250U, // <u,6,u,5>: Cost 2 vext2 <0,2,u,6>, RHS
655579290U, // <u,6,u,6>: Cost 1 vuzpl RHS, RHS
806628662U, // <u,6,u,7>: Cost 1 vzipr LHS, RHS
806628663U, // <u,6,u,u>: Cost 1 vzipr LHS, RHS
1571356672U, // <u,7,0,0>: Cost 2 vext2 RHS, <0,0,0,0>
497614950U, // <u,7,0,1>: Cost 1 vext2 RHS, LHS
1571356836U, // <u,7,0,2>: Cost 2 vext2 RHS, <0,2,0,2>
2115493890U, // <u,7,0,3>: Cost 2 ins <5,7,u,3>, lane 2
1571357010U, // <u,7,0,4>: Cost 2 vext2 RHS, <0,4,1,5>
1512083716U, // <u,7,0,5>: Cost 2 vext1 <5,u,7,0>, <5,u,7,0>
2120916995U, // <u,7,0,6>: Cost 2 ins <6,7,0,u>, lane 3
2115526658U, // <u,7,0,7>: Cost 2 ins <5,7,u,7>, lane 2
497615517U, // <u,7,0,u>: Cost 1 vext2 RHS, LHS
1571357430U, // <u,7,1,0>: Cost 2 vext2 RHS, <1,0,3,2>
1571357492U, // <u,7,1,1>: Cost 2 vext2 RHS, <1,1,1,1>
1571357590U, // <u,7,1,2>: Cost 2 vext2 RHS, <1,2,3,0>
700784742U, // <u,7,1,3>: Cost 1 vuzpr RHS, LHS
1860556134U, // <u,7,1,4>: Cost 2 vzipl LHS, <7,4,5,6>
1553441981U, // <u,7,1,5>: Cost 2 vext2 <1,5,u,7>, <1,5,u,7>
2115018755U, // <u,7,1,6>: Cost 2 ins <5,7,1,u>, lane 3
1860556396U, // <u,7,1,7>: Cost 2 vzipl LHS, <7,7,7,7>
700784747U, // <u,7,1,u>: Cost 1 vuzpr RHS, LHS
1774527382U, // <u,7,2,0>: Cost 2 vuzpr RHS, <1,2,3,0>
1188058754U, // <u,7,2,1>: Cost 2 vrev <7,u,1,2>
1571358312U, // <u,7,2,2>: Cost 2 vext2 RHS, <2,2,2,2>
1012113409U, // <u,7,2,3>: Cost 1 ins LHS, lane 1
1774527386U, // <u,7,2,4>: Cost 2 vuzpr RHS, <1,2,3,4>
1994773862U, // <u,7,2,5>: Cost 2 vtrnl LHS, <7,4,5,6>
1560078311U, // <u,7,2,6>: Cost 2 vext2 <2,6,u,7>, <2,6,u,7>
1994774124U, // <u,7,2,7>: Cost 2 vtrnl LHS, <7,7,7,7>
1012113409U, // <u,7,2,u>: Cost 1 ins LHS, lane 1
1571358870U, // <u,7,3,0>: Cost 2 vext2 RHS, <3,0,1,2>
1774528166U, // <u,7,3,1>: Cost 2 vuzpr RHS, <2,3,0,1>
2091892737U, // <u,7,3,2>: Cost 2 ins <1,u,3,2>, lane 1
1571359132U, // <u,7,3,3>: Cost 2 vext2 RHS, <3,3,3,3>
1571359234U, // <u,7,3,4>: Cost 2 vext2 RHS, <3,4,5,6>
1774528206U, // <u,7,3,5>: Cost 2 vuzpr RHS, <2,3,4,5>
1518080992U, // <u,7,3,6>: Cost 2 vext1 <6,u,7,3>, <6,u,7,3>
1774527488U, // <u,7,3,7>: Cost 2 vuzpr RHS, <1,3,5,7>
1571359518U, // <u,7,3,u>: Cost 2 vext2 RHS, <3,u,1,2>
1571359634U, // <u,7,4,0>: Cost 2 vext2 RHS, <4,0,5,1>
2121449474U, // <u,7,4,1>: Cost 2 ins <6,7,u,1>, lane 2
2121211907U, // <u,7,4,2>: Cost 2 ins <6,7,4,u>, lane 3
2115493890U, // <u,7,4,3>: Cost 2 ins <5,7,u,3>, lane 2
1571359952U, // <u,7,4,4>: Cost 2 vext2 RHS, <4,4,4,4>
497618248U, // <u,7,4,5>: Cost 1 vext2 RHS, RHS
1571360076U, // <u,7,4,6>: Cost 2 vext2 RHS, <4,6,0,2>
2115526658U, // <u,7,4,7>: Cost 2 ins <5,7,u,7>, lane 2
497618473U, // <u,7,4,u>: Cost 1 vext2 RHS, RHS
1863537658U, // <u,7,5,0>: Cost 2 vzipl RHS, <7,0,1,2>
1571360464U, // <u,7,5,1>: Cost 2 vext2 RHS, <5,1,7,3>
2115313667U, // <u,7,5,2>: Cost 2 ins <5,7,5,u>, lane 3
2115493890U, // <u,7,5,3>: Cost 2 ins <5,7,u,3>, lane 2
1571360710U, // <u,7,5,4>: Cost 2 vext2 RHS, <5,4,7,6>
1571360772U, // <u,7,5,5>: Cost 2 vext2 RHS, <5,5,5,5>
1571360866U, // <u,7,5,6>: Cost 2 vext2 RHS, <5,6,7,0>
700788022U, // <u,7,5,7>: Cost 1 vuzpr RHS, RHS
700788023U, // <u,7,5,u>: Cost 1 vuzpr RHS, RHS
1774530658U, // <u,7,6,0>: Cost 2 vuzpr RHS, <5,6,7,0>
1997755386U, // <u,7,6,1>: Cost 2 vtrnl RHS, <7,0,1,2>
1571361274U, // <u,7,6,2>: Cost 2 vext2 RHS, <6,2,7,3>
2115493890U, // <u,7,6,3>: Cost 2 ins <5,7,u,3>, lane 2
1774530662U, // <u,7,6,4>: Cost 2 vuzpr RHS, <5,6,7,4>
1188386474U, // <u,7,6,5>: Cost 2 vrev <7,u,5,6>
1571361592U, // <u,7,6,6>: Cost 2 vext2 RHS, <6,6,6,6>
1036328961U, // <u,7,6,7>: Cost 1 ins RHS, lane 1
1036328961U, // <u,7,6,u>: Cost 1 ins RHS, lane 1
1571361786U, // <u,7,7,0>: Cost 2 vext2 RHS, <7,0,1,2>
1774531406U, // <u,7,7,1>: Cost 2 vuzpr RHS, <6,7,0,1>
2127405059U, // <u,7,7,2>: Cost 2 ins <7,7,7,u>, lane 3
1906904784U, // <u,7,7,3>: Cost 2 vzipr RHS, <5,1,7,3>
1571362150U, // <u,7,7,4>: Cost 2 vext2 RHS, <7,4,5,6>
1774531446U, // <u,7,7,5>: Cost 2 vuzpr RHS, <6,7,4,5>
1906905030U, // <u,7,7,6>: Cost 2 vzipr RHS, <5,4,7,6>
363253046U, // <u,7,7,7>: Cost 1 vdup3 RHS
363253046U, // <u,7,7,u>: Cost 1 vdup3 RHS
1571362515U, // <u,7,u,0>: Cost 2 vext2 RHS, <u,0,1,2>
497620782U, // <u,7,u,1>: Cost 1 vext2 RHS, LHS
1571362693U, // <u,7,u,2>: Cost 2 vext2 RHS, <u,2,3,0>
700785309U, // <u,7,u,3>: Cost 1 vuzpr RHS, LHS
1571362879U, // <u,7,u,4>: Cost 2 vext2 RHS, <u,4,5,6>
497621146U, // <u,7,u,5>: Cost 1 vext2 RHS, RHS
1571363024U, // <u,7,u,6>: Cost 2 vext2 RHS, <u,6,3,7>
700788265U, // <u,7,u,7>: Cost 1 vuzpr RHS, RHS
497621349U, // <u,7,u,u>: Cost 1 vext2 RHS, LHS
135053414U, // <u,u,0,0>: Cost 1 vdup0 LHS
471081121U, // <u,u,0,1>: Cost 1 vext2 LHS, LHS
653033574U, // <u,u,0,2>: Cost 1 vuzpl LHS, LHS
1007910914U, // <u,u,0,3>: Cost 1 ins LHS, lane 2
1544823122U, // <u,u,0,4>: Cost 2 vext2 LHS, <0,4,1,5>
1512157453U, // <u,u,0,5>: Cost 2 vext1 <5,u,u,0>, <5,u,u,0>
1995282586U, // <u,u,0,6>: Cost 2 vtrnl <u,2,0,2>, RHS
1034485762U, // <u,u,0,7>: Cost 1 ins RHS, lane 2
471081629U, // <u,u,0,u>: Cost 1 vext2 LHS, LHS
1544823542U, // <u,u,1,0>: Cost 2 vext2 LHS, <1,0,3,2>
786814766U, // <u,u,1,1>: Cost 1 vzipl LHS, LHS
537753390U, // <u,u,1,2>: Cost 1 vext3 LHS, LHS
676610150U, // <u,u,1,3>: Cost 1 vuzpr LHS, LHS
1482304822U, // <u,u,1,4>: Cost 2 vext1 <0,u,u,1>, RHS
786815130U, // <u,u,1,5>: Cost 1 vzipl LHS, RHS
1518138343U, // <u,u,1,6>: Cost 2 vext1 <6,u,u,1>, <6,u,u,1>
1034485762U, // <u,u,1,7>: Cost 1 ins RHS, lane 2
537753444U, // <u,u,1,u>: Cost 1 vext3 LHS, LHS
1007509507U, // <u,u,2,0>: Cost 1 ins LHS, lane 3
1007509507U, // <u,u,2,1>: Cost 1 ins LHS, lane 3
921032494U, // <u,u,2,2>: Cost 1 vtrnl LHS, LHS
835584U, // <u,u,2,3>: Cost 0 copy LHS
1007509507U, // <u,u,2,4>: Cost 1 ins LHS, lane 3
1007509507U, // <u,u,2,5>: Cost 1 ins LHS, lane 3
921032858U, // <u,u,2,6>: Cost 1 vtrnl LHS, RHS
1007509507U, // <u,u,2,7>: Cost 1 ins LHS, lane 3
835584U, // <u,u,2,u>: Cost 0 copy LHS
408576723U, // <u,u,3,0>: Cost 1 vext1 LHS, LHS
1880327918U, // <u,u,3,1>: Cost 2 vzipr LHS, <2,3,u,1>
120371557U, // <u,u,3,2>: Cost 1 vrev LHS
806584476U, // <u,u,3,3>: Cost 1 vzipr LHS, LHS
408579382U, // <u,u,3,4>: Cost 1 vext1 LHS, RHS
1880327922U, // <u,u,3,5>: Cost 2 vzipr LHS, <2,3,u,5>
1880326384U, // <u,u,3,6>: Cost 2 vzipr LHS, <0,2,u,6>
806587720U, // <u,u,3,7>: Cost 1 vzipr LHS, RHS
806584481U, // <u,u,3,u>: Cost 1 vzipr LHS, LHS
1488298086U, // <u,u,4,0>: Cost 2 vext1 <1,u,u,4>, LHS
1488299437U, // <u,u,4,1>: Cost 2 vext1 <1,u,u,4>, <1,u,u,4>
1659271204U, // <u,u,4,2>: Cost 2 vext3 LHS, <u,4,2,6>
1007910914U, // <u,u,4,3>: Cost 1 ins LHS, lane 2
161926454U, // <u,u,4,4>: Cost 1 vdup0 RHS
471084342U, // <u,u,4,5>: Cost 1 vext2 LHS, RHS
653036854U, // <u,u,4,6>: Cost 1 vuzpl LHS, RHS
1034485762U, // <u,u,4,7>: Cost 1 ins RHS, lane 2
471084585U, // <u,u,4,u>: Cost 1 vext2 LHS, RHS
1482334933U, // <u,u,5,0>: Cost 2 vext1 <0,u,u,5>, <0,u,u,5>
789796654U, // <u,u,5,1>: Cost 1 vzipl RHS, LHS
1494280327U, // <u,u,5,2>: Cost 2 vext1 <2,u,u,5>, <2,u,u,5>
1007910914U, // <u,u,5,3>: Cost 1 ins LHS, lane 2
1482337590U, // <u,u,5,4>: Cost 2 vext1 <0,u,u,5>, RHS
789797018U, // <u,u,5,5>: Cost 1 vzipl RHS, RHS
537753754U, // <u,u,5,6>: Cost 1 vext3 LHS, RHS
676613430U, // <u,u,5,7>: Cost 1 vuzpr LHS, RHS
537753772U, // <u,u,5,u>: Cost 1 vext3 LHS, RHS
1034346499U, // <u,u,6,0>: Cost 1 ins RHS, lane 3
1034346499U, // <u,u,6,1>: Cost 1 ins RHS, lane 3
924014382U, // <u,u,6,2>: Cost 1 vtrnl RHS, LHS
1007910914U, // <u,u,6,3>: Cost 1 ins LHS, lane 2
1034346499U, // <u,u,6,4>: Cost 1 ins RHS, lane 3
1034346499U, // <u,u,6,5>: Cost 1 ins RHS, lane 3
924014746U, // <u,u,6,6>: Cost 1 vtrnl RHS, RHS
27705344U, // <u,u,6,7>: Cost 0 copy RHS
27705344U, // <u,u,6,u>: Cost 0 copy RHS
432496742U, // <u,u,7,0>: Cost 1 vext1 RHS, LHS
1488324016U, // <u,u,7,1>: Cost 2 vext1 <1,u,u,7>, <1,u,u,7>
1494296713U, // <u,u,7,2>: Cost 2 vext1 <2,u,u,7>, <2,u,u,7>
833159324U, // <u,u,7,3>: Cost 1 vzipr RHS, LHS
432500283U, // <u,u,7,4>: Cost 1 vext1 RHS, RHS
1906901393U, // <u,u,7,5>: Cost 2 vzipr RHS, <0,4,u,5>
120699277U, // <u,u,7,6>: Cost 1 vrev RHS
833162568U, // <u,u,7,7>: Cost 1 vzipr RHS, RHS
833159329U, // <u,u,7,u>: Cost 1 vzipr RHS, LHS
408617688U, // <u,u,u,0>: Cost 1 vext1 LHS, LHS
471086894U, // <u,u,u,1>: Cost 1 vext2 LHS, LHS
537753957U, // <u,u,u,2>: Cost 1 vext3 LHS, LHS
835584U, // <u,u,u,3>: Cost 0 copy LHS
408620342U, // <u,u,u,4>: Cost 1 vext1 LHS, RHS
471087258U, // <u,u,u,5>: Cost 1 vext2 LHS, RHS
537753997U, // <u,u,u,6>: Cost 1 vext3 LHS, RHS
27705344U, // <u,u,u,7>: Cost 0 copy RHS
835584U, // <u,u,u,u>: Cost 0 copy LHS
0};
static unsigned getPerfectShuffleCost(llvm::ArrayRef<int> M) {
assert(M.size() == 4 && "Expected a 4 entry perfect shuffle");
// Special case zero-cost nop copies, from either LHS or RHS.
if (llvm::all_of(llvm::enumerate(M), [](auto &E) {
return E.value() < 0 || E.value() == (int)E.index();
}))
return 0;
if (llvm::all_of(llvm::enumerate(M), [](auto &E) {
return E.value() < 0 || E.value() == (int)E.index() + 4;
}))
return 0;
// Get the four mask elementd from the 2 inputs. Perfect shuffles encode undef
// elements with value 8.
unsigned PFIndexes[4];
for (unsigned i = 0; i != 4; ++i) {
assert(M[i] < 8 && "Expected a maximum entry of 8 for shuffle mask");
if (M[i] < 0)
PFIndexes[i] = 8;
else
PFIndexes[i] = M[i];
}
// Compute the index in the perfect shuffle table.
unsigned PFTableIndex = PFIndexes[0] * 9 * 9 * 9 + PFIndexes[1] * 9 * 9 +
PFIndexes[2] * 9 + PFIndexes[3];
unsigned PFEntry = PerfectShuffleTable[PFTableIndex];
// And extract the cost from the upper bits. The cost is encoded as Cost-1.
return (PFEntry >> 30) + 1;
}
#endif
| 59.495772 | 80 | 0.534274 |
ca246d6d522a0c494b928d1341cec5b3823701ee | 60,935 | c | C | replay/xfreerdp.c | rincebrain/rdp_build | eac70c935da75d24a041db1a0c1a2d1aeaf16636 | [
"Apache-2.0"
] | 173 | 2016-04-29T11:02:48.000Z | 2022-02-07T11:35:10.000Z | replay/xfreerdp.c | rincebrain/rdp_build | eac70c935da75d24a041db1a0c1a2d1aeaf16636 | [
"Apache-2.0"
] | 15 | 2016-05-03T13:03:48.000Z | 2022-02-07T15:47:30.000Z | replay/xfreerdp.c | rincebrain/rdp_build | eac70c935da75d24a041db1a0c1a2d1aeaf16636 | [
"Apache-2.0"
] | 68 | 2016-04-29T11:20:13.000Z | 2022-02-09T12:10:37.000Z | /**
* FreeRDP: A Remote Desktop Protocol Client
* X11 Client
*
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#ifdef WITH_XCURSOR
#include <X11/Xcursor/Xcursor.h>
#endif
#ifdef WITH_XINERAMA
#include <X11/extensions/Xinerama.h>
#endif
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#include <unistd.h>
#include <string.h>
#include <termios.h>
#include <pthread.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/select.h>
#include <freerdp/constants.h>
#include <freerdp/codec/nsc.h>
#include <freerdp/codec/rfx.h>
#include <freerdp/codec/color.h>
#include <freerdp/codec/bitmap.h>
#include <freerdp/utils/args.h>
#include <freerdp/utils/memory.h>
#include <freerdp/utils/semaphore.h>
#include <freerdp/utils/memory.h>
#include <freerdp/utils/event.h>
#include <freerdp/utils/signal.h>
#include <freerdp/utils/passphrase.h>
#include <freerdp/plugins/cliprdr.h>
#include <freerdp/rail.h>
#include "xf_gdi.h"
#include "xf_rail.h"
#include "xf_tsmf.h"
#include "xf_event.h"
#include "xf_cliprdr.h"
#include "xf_monitor.h"
#include "xf_graphics.h"
#include "xf_keyboard.h"
#include "xfreerdp.h"
static freerdp_sem g_sem;
static int g_thread_count = 0;
static uint8 g_disconnect_reason = 0;
static long xv_port = 0;
static const size_t password_size = 512;
struct thread_data
{
freerdp* instance;
};
int xf_process_client_args(rdpSettings* settings, const char* opt, const char* val, void* user_data);
int xf_process_plugin_args(rdpSettings* settings, const char* name, RDP_PLUGIN_DATA* plugin_data, void* user_data);
void xf_context_new(freerdp* instance, rdpContext* context)
{
context->channels = freerdp_channels_new();
}
void xf_context_free(freerdp* instance, rdpContext* context)
{
}
static void draw_cursor(xfInfo *xfi) ;//SE
static void undraw_cursor(xfInfo *xfi) ;//SE
static void out2vid(xfInfo *xfi) ;//SE
void xf_sw_begin_paint(rdpContext* context)
{
xfInfo *xfi = ((xfContext*)context)->xfi ;//SE
rdpGdi* gdi = context->gdi;
if (xfi) out2vid(xfi) ;//SE
gdi->primary->hdc->hwnd->invalid->null = 1;
gdi->primary->hdc->hwnd->ninvalid = 0;
if (xfi) undraw_cursor(xfi) ;//SE
}
void xf_sw_end_paint(rdpContext* context)
{
rdpGdi* gdi;
xfInfo* xfi;
sint32 x, y;
uint32 w, h;
xfi = ((xfContext*) context)->xfi;
gdi = context->gdi;
if (xfi) draw_cursor(xfi) ;//SE
if (xfi->remote_app != true)
{
if (xfi->complex_regions != true)
{
if (gdi->primary->hdc->hwnd->invalid->null)
return;
x = gdi->primary->hdc->hwnd->invalid->x;
y = gdi->primary->hdc->hwnd->invalid->y;
w = gdi->primary->hdc->hwnd->invalid->w;
h = gdi->primary->hdc->hwnd->invalid->h;
XPutImage(xfi->display, xfi->primary, xfi->gc, xfi->image, x, y, x, y, w, h);
XCopyArea(xfi->display, xfi->primary, xfi->window->handle, xfi->gc, x, y, w, h, x, y);
}
else
{
int i;
int ninvalid;
HGDI_RGN cinvalid;
if (gdi->primary->hdc->hwnd->ninvalid < 1)
return;
ninvalid = gdi->primary->hdc->hwnd->ninvalid;
cinvalid = gdi->primary->hdc->hwnd->cinvalid;
for (i = 0; i < ninvalid; i++)
{
x = cinvalid[i].x;
y = cinvalid[i].y;
w = cinvalid[i].w;
h = cinvalid[i].h;
XPutImage(xfi->display, xfi->primary, xfi->gc, xfi->image, x, y, x, y, w, h);
XCopyArea(xfi->display, xfi->primary, xfi->window->handle, xfi->gc, x, y, w, h, x, y);
}
XFlush(xfi->display);
}
}
else
{
if (gdi->primary->hdc->hwnd->invalid->null)
return;
x = gdi->primary->hdc->hwnd->invalid->x;
y = gdi->primary->hdc->hwnd->invalid->y;
w = gdi->primary->hdc->hwnd->invalid->w;
h = gdi->primary->hdc->hwnd->invalid->h;
xf_rail_paint(xfi, context->rail, x, y, x + w - 1, y + h - 1);
}
}
void xf_sw_desktop_resize(rdpContext* context)
{
xfInfo* xfi;
rdpSettings* settings;
xfi = ((xfContext*) context)->xfi;
settings = xfi->instance->settings;
if (xfi) undraw_cursor(xfi) ;//SE
if (xfi->fullscreen != true)
{
rdpGdi* gdi = context->gdi;
gdi_resize(gdi, xfi->width, xfi->height);
if (xfi->image)
{
xfi->image->data = NULL;
XDestroyImage(xfi->image);
xfi->image = XCreateImage(xfi->display, xfi->visual, xfi->depth, ZPixmap, 0,
(char*) gdi->primary_buffer, gdi->width, gdi->height, xfi->scanline_pad, 0);
}
}
if (xfi) draw_cursor(xfi) ;//SE
}
void xf_hw_begin_paint(rdpContext* context)
{
xfInfo* xfi;
xfi = ((xfContext*) context)->xfi;
if (xfi) out2vid(xfi) ;//SE
xfi->hdc->hwnd->invalid->null = 1;
xfi->hdc->hwnd->ninvalid = 0;
if (xfi) undraw_cursor(xfi) ;//SE
}
void xf_hw_end_paint(rdpContext* context)
{
xfInfo* xfi;
sint32 x, y;
uint32 w, h;
xfi = ((xfContext*) context)->xfi;
if (xfi) draw_cursor(xfi) ;//SE
if (xfi->remote_app)
{
if (xfi->hdc->hwnd->invalid->null)
return;
x = xfi->hdc->hwnd->invalid->x;
y = xfi->hdc->hwnd->invalid->y;
w = xfi->hdc->hwnd->invalid->w;
h = xfi->hdc->hwnd->invalid->h;
xf_rail_paint(xfi, context->rail, x, y, x + w - 1, y + h - 1);
}
}
void xf_hw_desktop_resize(rdpContext* context)
{
xfInfo* xfi;
boolean same;
rdpSettings* settings;
xfi = ((xfContext*) context)->xfi;
settings = xfi->instance->settings;
if (xfi) undraw_cursor(xfi) ;//SE
if (xfi->fullscreen != true)
{
xfi->width = settings->width;
xfi->height = settings->height;
if (xfi->window)
xf_ResizeDesktopWindow(xfi, xfi->window, settings->width, settings->height);
if (xfi->primary)
{
same = (xfi->primary == xfi->drawing) ? true : false;
XFreePixmap(xfi->display, xfi->primary);
xfi->primary = XCreatePixmap(xfi->display, xfi->drawable,
xfi->width, xfi->height, xfi->depth);
if (same)
xfi->drawing = xfi->primary;
}
}
if (xfi) draw_cursor(xfi) ;//SE
}
boolean xf_get_fds(freerdp* instance, void** rfds, int* rcount, void** wfds, int* wcount)
{
xfInfo* xfi = ((xfContext*) instance->context)->xfi;
rfds[*rcount] = (void*)(long)(xfi->xfds);
(*rcount)++;
return true;
}
boolean xf_check_fds(freerdp* instance, fd_set* set)
{
XEvent xevent;
xfInfo* xfi = ((xfContext*) instance->context)->xfi;
while (XPending(xfi->display))
{
memset(&xevent, 0, sizeof(xevent));
XNextEvent(xfi->display, &xevent);
if (xf_event_process(instance, &xevent) != true)
return false;
}
return true;
}
void xf_create_window(xfInfo* xfi)
{
XEvent xevent;
char* win_title;
int width, height;
width = xfi->width;
height = xfi->height;
xfi->attribs.background_pixel = BlackPixelOfScreen(xfi->screen);
xfi->attribs.border_pixel = WhitePixelOfScreen(xfi->screen);
xfi->attribs.backing_store = xfi->primary ? NotUseful : Always;
xfi->attribs.override_redirect = xfi->fullscreen;
xfi->attribs.colormap = xfi->colormap;
xfi->attribs.bit_gravity = ForgetGravity;
xfi->attribs.win_gravity = StaticGravity;
if (xfi->instance->settings->window_title != NULL)
{
win_title = xstrdup(xfi->instance->settings->window_title);
}
else if (xfi->instance->settings->port == 3389)
{
win_title = xmalloc(1 + sizeof("FreeRDP: ") + strlen(xfi->instance->settings->hostname));
sprintf(win_title, "FreeRDP: %s", xfi->instance->settings->hostname);
}
else
{
win_title = xmalloc(1 + sizeof("FreeRDP: ") + strlen(xfi->instance->settings->hostname) + sizeof(":00000"));
sprintf(win_title, "FreeRDP: %s:%i", xfi->instance->settings->hostname, xfi->instance->settings->port);
}
xfi->window = xf_CreateDesktopWindow(xfi, win_title, width, height, xfi->decorations);
xfree(win_title);
if (xfi->parent_window)
XReparentWindow(xfi->display, xfi->window->handle, xfi->parent_window, 0, 0);
if (xfi->fullscreen)
xf_SetWindowFullscreen(xfi, xfi->window, xfi->fullscreen);
/* wait for VisibilityNotify */
do
{
XMaskEvent(xfi->display, VisibilityChangeMask, &xevent);
}
while (xevent.type != VisibilityNotify);
xfi->unobscured = (xevent.xvisibility.state == VisibilityUnobscured);
XSetWMProtocols(xfi->display, xfi->window->handle, &(xfi->WM_DELETE_WINDOW), 1);
xfi->drawable = xfi->window->handle;
}
void xf_toggle_fullscreen(xfInfo* xfi)
{
Pixmap contents = 0;
contents = XCreatePixmap(xfi->display, xfi->window->handle, xfi->width, xfi->height, xfi->depth);
XCopyArea(xfi->display, xfi->primary, contents, xfi->gc, 0, 0, xfi->width, xfi->height, 0, 0);
XDestroyWindow(xfi->display, xfi->window->handle);
xfi->fullscreen = (xfi->fullscreen) ? false : true;
xf_create_window(xfi);
XCopyArea(xfi->display, contents, xfi->primary, xfi->gc, 0, 0, xfi->width, xfi->height, 0, 0);
XFreePixmap(xfi->display, contents);
}
boolean xf_get_pixmap_info(xfInfo* xfi)
{
int i;
int vi_count;
int pf_count;
XVisualInfo* vi;
XVisualInfo* vis;
XVisualInfo template;
XPixmapFormatValues* pf;
XPixmapFormatValues* pfs;
pfs = XListPixmapFormats(xfi->display, &pf_count);
if (pfs == NULL)
{
printf("xf_get_pixmap_info: XListPixmapFormats failed\n");
return 1;
}
for (i = 0; i < pf_count; i++)
{
pf = pfs + i;
if (pf->depth == xfi->depth)
{
xfi->bpp = pf->bits_per_pixel;
xfi->scanline_pad = pf->scanline_pad;
break;
}
}
XFree(pfs);
memset(&template, 0, sizeof(template));
template.class = TrueColor;
template.screen = xfi->screen_number;
vis = XGetVisualInfo(xfi->display, VisualClassMask | VisualScreenMask, &template, &vi_count);
if (vis == NULL)
{
printf("xf_get_pixmap_info: XGetVisualInfo failed\n");
return false;
}
vi = NULL;
for (i = 0; i < vi_count; i++)
{
vi = vis + i;
if (vi->depth == xfi->depth)
{
xfi->visual = vi->visual;
break;
}
}
if (vi)
{
/*
* Detect if the server visual has an inverted colormap
* (BGR vs RGB, or red being the least significant byte)
*/
if (vi->red_mask & 0xFF)
{
xfi->clrconv->invert = true;
}
}
XFree(vis);
if ((xfi->visual == NULL) || (xfi->scanline_pad == 0))
{
return false;
}
return true;
}
static int (*_def_error_handler)(Display*, XErrorEvent*);
int xf_error_handler(Display* d, XErrorEvent* ev)
{
char buf[256];
int do_abort = true;
XGetErrorText(d, ev->error_code, buf, sizeof(buf));
printf("%s", buf);
if (do_abort)
abort();
_def_error_handler(d, ev);
return false;
}
int _xf_error_handler(Display* d, XErrorEvent* ev)
{
/*
* ungrab the keyboard, in case a debugger is running in
* another window. This make xf_error_handler() a potential
* debugger breakpoint.
*/
XUngrabKeyboard(d, CurrentTime);
return xf_error_handler(d, ev);
}
boolean xf_pre_connect(freerdp* instance)
{
xfInfo* xfi;
boolean bitmap_cache;
rdpSettings* settings;
int arg_parse_result;
xfi = (xfInfo*) xzalloc(sizeof(xfInfo));
((xfContext*) instance->context)->xfi = xfi;
xfi->_context = instance->context;
xfi->context = (xfContext*) instance->context;
xfi->context->settings = instance->settings;
xfi->instance = instance;
arg_parse_result = freerdp_parse_args(instance->settings, instance->context->argc,instance->context->argv,
xf_process_plugin_args, instance->context->channels, xf_process_client_args, xfi);
if (arg_parse_result < 0)
{
if (arg_parse_result == FREERDP_ARGS_PARSE_FAILURE)
printf("failed to parse arguments.\n");
exit(XF_EXIT_PARSE_ARGUMENTS);
}
settings = instance->settings;
bitmap_cache = settings->bitmap_cache;
settings->os_major_type = OSMAJORTYPE_UNIX;
settings->os_minor_type = OSMINORTYPE_NATIVE_XSERVER;
settings->order_support[NEG_DSTBLT_INDEX] = true;
settings->order_support[NEG_PATBLT_INDEX] = true;
settings->order_support[NEG_SCRBLT_INDEX] = true;
settings->order_support[NEG_OPAQUE_RECT_INDEX] = true;
settings->order_support[NEG_DRAWNINEGRID_INDEX] = false;
settings->order_support[NEG_MULTIDSTBLT_INDEX] = false;
settings->order_support[NEG_MULTIPATBLT_INDEX] = false;
settings->order_support[NEG_MULTISCRBLT_INDEX] = false;
settings->order_support[NEG_MULTIOPAQUERECT_INDEX] = true;
settings->order_support[NEG_MULTI_DRAWNINEGRID_INDEX] = false;
settings->order_support[NEG_LINETO_INDEX] = true;
settings->order_support[NEG_POLYLINE_INDEX] = true;
settings->order_support[NEG_MEMBLT_INDEX] = bitmap_cache;
settings->order_support[NEG_MEM3BLT_INDEX] = (settings->sw_gdi) ? true : false;
settings->order_support[NEG_MEMBLT_V2_INDEX] = bitmap_cache;
settings->order_support[NEG_MEM3BLT_V2_INDEX] = false;
settings->order_support[NEG_SAVEBITMAP_INDEX] = false;
settings->order_support[NEG_GLYPH_INDEX_INDEX] = true;
settings->order_support[NEG_FAST_INDEX_INDEX] = true;
settings->order_support[NEG_FAST_GLYPH_INDEX] = true;
settings->order_support[NEG_POLYGON_SC_INDEX] = (settings->sw_gdi) ? false : true;
settings->order_support[NEG_POLYGON_CB_INDEX] = (settings->sw_gdi) ? false : true;
settings->order_support[NEG_ELLIPSE_SC_INDEX] = false;
settings->order_support[NEG_ELLIPSE_CB_INDEX] = false;
freerdp_channels_pre_connect(xfi->_context->channels, instance);
xfi->display = XOpenDisplay(NULL);
if (xfi->display == NULL)
{
printf("xf_pre_connect: failed to open display: %s\n", XDisplayName(NULL));
printf("Please check that the $DISPLAY environment variable is properly set.\n");
return false;
}
if (xfi->debug)
{
printf("Enabling X11 debug mode.\n");
XSynchronize(xfi->display, true);
_def_error_handler = XSetErrorHandler(_xf_error_handler);
}
xfi->_NET_WM_ICON = XInternAtom(xfi->display, "_NET_WM_ICON", False);
xfi->_MOTIF_WM_HINTS = XInternAtom(xfi->display, "_MOTIF_WM_HINTS", False);
xfi->_NET_CURRENT_DESKTOP = XInternAtom(xfi->display, "_NET_CURRENT_DESKTOP", False);
xfi->_NET_WORKAREA = XInternAtom(xfi->display, "_NET_WORKAREA", False);
xfi->_NET_WM_STATE = XInternAtom(xfi->display, "_NET_WM_STATE", False);
xfi->_NET_WM_STATE_FULLSCREEN = XInternAtom(xfi->display, "_NET_WM_STATE_FULLSCREEN", False);
xfi->_NET_WM_WINDOW_TYPE = XInternAtom(xfi->display, "_NET_WM_WINDOW_TYPE", False);
xfi->_NET_WM_WINDOW_TYPE_NORMAL = XInternAtom(xfi->display, "_NET_WM_WINDOW_TYPE_NORMAL", False);
xfi->_NET_WM_WINDOW_TYPE_DIALOG = XInternAtom(xfi->display, "_NET_WM_WINDOW_TYPE_DIALOG", False);
xfi->_NET_WM_WINDOW_TYPE_POPUP= XInternAtom(xfi->display, "_NET_WM_WINDOW_TYPE_POPUP", False);
xfi->_NET_WM_WINDOW_TYPE_UTILITY = XInternAtom(xfi->display, "_NET_WM_WINDOW_TYPE_UTILITY", False);
xfi->_NET_WM_WINDOW_TYPE_DROPDOWN_MENU = XInternAtom(xfi->display, "_NET_WM_WINDOW_TYPE_DROPDOWN_MENU", False);
xfi->_NET_WM_STATE_SKIP_TASKBAR = XInternAtom(xfi->display, "_NET_WM_STATE_SKIP_TASKBAR", False);
xfi->_NET_WM_STATE_SKIP_PAGER = XInternAtom(xfi->display, "_NET_WM_STATE_SKIP_PAGER", False);
xfi->_NET_WM_MOVERESIZE = XInternAtom(xfi->display, "_NET_WM_MOVERESIZE", False);
xfi->_NET_MOVERESIZE_WINDOW = XInternAtom(xfi->display, "_NET_MOVERESIZE_WINDOW", False);
xfi->WM_PROTOCOLS = XInternAtom(xfi->display, "WM_PROTOCOLS", False);
xfi->WM_DELETE_WINDOW = XInternAtom(xfi->display, "WM_DELETE_WINDOW", False);
xf_kbd_init(xfi);
xfi->clrconv = freerdp_clrconv_new(CLRCONV_ALPHA);
instance->context->cache = cache_new(instance->settings);
xfi->xfds = ConnectionNumber(xfi->display);
xfi->screen_number = DefaultScreen(xfi->display);
xfi->screen = ScreenOfDisplay(xfi->display, xfi->screen_number);
xfi->depth = DefaultDepthOfScreen(xfi->screen);
xfi->big_endian = (ImageByteOrder(xfi->display) == MSBFirst);
xfi->mouse_motion = settings->mouse_motion;
xfi->complex_regions = true;
xfi->decorations = settings->decorations;
xfi->fullscreen = settings->fullscreen;
xfi->grab_keyboard = settings->grab_keyboard;
xfi->fullscreen_toggle = true;
xfi->sw_gdi = settings->sw_gdi;
xfi->parent_window = (Window) settings->parent_window_xid;
xf_detect_monitors(xfi, settings);
return true;
}
void cpuid(unsigned info, unsigned *eax, unsigned *ebx, unsigned *ecx, unsigned *edx)
{
#ifdef __GNUC__
#if defined(__i386__) || defined(__x86_64__)
*eax = info;
__asm volatile
("mov %%ebx, %%edi;" /* 32bit PIC: don't clobber ebx */
"cpuid;"
"mov %%ebx, %%esi;"
"mov %%edi, %%ebx;"
:"+a" (*eax), "=S" (*ebx), "=c" (*ecx), "=d" (*edx)
: :"edi");
#endif
#endif
}
uint32 xf_detect_cpu()
{
unsigned int eax, ebx, ecx, edx = 0;
uint32 cpu_opt = 0;
cpuid(1, &eax, &ebx, &ecx, &edx);
if (edx & (1<<26))
{
DEBUG("SSE2 detected");
cpu_opt |= CPU_SSE2;
}
return cpu_opt;
}
boolean xf_post_connect(freerdp* instance)
{
xfInfo* xfi;
XGCValues gcv;
rdpCache* cache;
rdpChannels* channels;
RFX_CONTEXT* rfx_context = NULL;
xfi = ((xfContext*) instance->context)->xfi;
cache = instance->context->cache;
channels = xfi->_context->channels;
if (xf_get_pixmap_info(xfi) != true)
return false;
xf_register_graphics(instance->context->graphics);
if (xfi->sw_gdi)
{
rdpGdi* gdi;
uint32 flags;
flags = CLRCONV_ALPHA;
if (xfi->bpp > 16)
flags |= CLRBUF_32BPP;
else
flags |= CLRBUF_16BPP;
gdi_init(instance, flags, NULL);
gdi = instance->context->gdi;
xfi->primary_buffer = gdi->primary_buffer;
rfx_context = gdi->rfx_context;
}
else
{
xfi->srcBpp = instance->settings->color_depth;
xf_gdi_register_update_callbacks(instance->update);
xfi->hdc = gdi_CreateDC(xfi->clrconv, xfi->bpp);
if (instance->settings->rfx_codec)
{
rfx_context = (void*) rfx_context_new();
xfi->rfx_context = rfx_context;
}
if (instance->settings->ns_codec)
xfi->nsc_context = (void*) nsc_context_new();
}
if (rfx_context)
{
#ifdef WITH_SSE2
/* detect only if needed */
rfx_context_set_cpu_opt(rfx_context, xf_detect_cpu());
#endif
}
xfi->width = instance->settings->width;
xfi->height = instance->settings->height;
xf_create_window(xfi);
memset(&gcv, 0, sizeof(gcv));
xfi->modifier_map = XGetModifierMapping(xfi->display);
xfi->gc = XCreateGC(xfi->display, xfi->drawable, GCGraphicsExposures, &gcv);
xfi->primary = XCreatePixmap(xfi->display, xfi->drawable, xfi->width, xfi->height, xfi->depth);
xfi->drawing = xfi->primary;
xfi->bitmap_mono = XCreatePixmap(xfi->display, xfi->drawable, 8, 8, 1);
xfi->gc_mono = XCreateGC(xfi->display, xfi->bitmap_mono, GCGraphicsExposures, &gcv);
XSetForeground(xfi->display, xfi->gc, BlackPixelOfScreen(xfi->screen));
XFillRectangle(xfi->display, xfi->primary, xfi->gc, 0, 0, xfi->width, xfi->height);
xfi->image = XCreateImage(xfi->display, xfi->visual, xfi->depth, ZPixmap, 0,
(char*) xfi->primary_buffer, xfi->width, xfi->height, xfi->scanline_pad, 0);
xfi->bmp_codec_none = (uint8*) xmalloc(64 * 64 * 4);
if (xfi->sw_gdi)
{
instance->update->BeginPaint = xf_sw_begin_paint;
instance->update->EndPaint = xf_sw_end_paint;
instance->update->DesktopResize = xf_sw_desktop_resize;
}
else
{
instance->update->BeginPaint = xf_hw_begin_paint;
instance->update->EndPaint = xf_hw_end_paint;
instance->update->DesktopResize = xf_hw_desktop_resize;
}
pointer_cache_register_callbacks(instance->update);
if (xfi->sw_gdi != true)
{
glyph_cache_register_callbacks(instance->update);
brush_cache_register_callbacks(instance->update);
bitmap_cache_register_callbacks(instance->update);
offscreen_cache_register_callbacks(instance->update);
palette_cache_register_callbacks(instance->update);
}
instance->context->rail = rail_new(instance->settings);
rail_register_update_callbacks(instance->context->rail, instance->update);
xf_rail_register_callbacks(xfi, instance->context->rail);
freerdp_channels_post_connect(channels, instance);
xf_tsmf_init(xfi, xv_port);
xf_cliprdr_init(xfi, channels);
return true;
}
boolean xf_authenticate(freerdp* instance, char** username, char** password, char** domain)
{
*password = xmalloc(password_size * sizeof(char));
if (freerdp_passphrase_read("Password: ", *password, password_size) == NULL)
return false;
return true;
}
boolean xf_verify_certificate(freerdp* instance, char* subject, char* issuer, char* fingerprint)
{
char answer;
printf("Certificate details:\n");
printf("\tSubject: %s\n", subject);
printf("\tIssuer: %s\n", issuer);
printf("\tThumbprint: %s\n", fingerprint);
printf("The above X.509 certificate could not be verified, possibly because you do not have "
"the CA certificate in your certificate store, or the certificate has expired. "
"Please look at the documentation on how to create local certificate store for a private CA.\n");
while (1)
{
printf("Do you trust the above certificate? (Y/N) ");
answer = fgetc(stdin);
if (answer == 'y' || answer == 'Y')
{
return true;
}
else if (answer == 'n' || answer == 'N')
{
break;
}
printf("\n");
}
return false;
}
int xf_process_client_args(rdpSettings* settings, const char* opt, const char* val, void* user_data)
{
int argc = 0;
xfInfo* xfi = (xfInfo*) user_data;
if (strcmp("--kbd-list", opt) == 0)
{
int i;
RDP_KEYBOARD_LAYOUT* layouts;
layouts = freerdp_keyboard_get_layouts(RDP_KEYBOARD_LAYOUT_TYPE_STANDARD);
printf("\nKeyboard Layouts\n");
for (i = 0; layouts[i].code; i++)
{
printf("0x%08X\t%s\n", layouts[i].code, layouts[i].name);
xfree(layouts[i].name);
}
xfree(layouts);
layouts = freerdp_keyboard_get_layouts(RDP_KEYBOARD_LAYOUT_TYPE_VARIANT);
printf("\nKeyboard Layout Variants\n");
for (i = 0; layouts[i].code; i++)
{
printf("0x%08X\t%s\n", layouts[i].code, layouts[i].name);
xfree(layouts[i].name);
}
xfree(layouts);
layouts = freerdp_keyboard_get_layouts(RDP_KEYBOARD_LAYOUT_TYPE_IME);
printf("\nKeyboard Input Method Editors (IMEs)\n");
for (i = 0; layouts[i].code; i++)
{
printf("0x%08X\t%s\n", layouts[i].code, layouts[i].name);
xfree(layouts[i].name);
}
xfree(layouts);
exit(0);
}
else if (strcmp("--xv-port", opt) == 0)
{
xv_port = atoi(val);
argc = 2;
}
else if (strcmp("--dbg-x11", opt) == 0)
{
xfi->debug = true;
argc = 1;
}
return argc;
}
int xf_process_plugin_args(rdpSettings* settings, const char* name, RDP_PLUGIN_DATA* plugin_data, void* user_data)
{
rdpChannels* channels = (rdpChannels*) user_data;
printf("loading plugin %s\n", name);
freerdp_channels_load_plugin(channels, settings, name, plugin_data);
return 1;
}
int xf_receive_channel_data(freerdp* instance, int channelId, uint8* data, int size, int flags, int total_size)
{
return freerdp_channels_data(instance, channelId, data, size, flags, total_size);
}
void xf_process_channel_event(rdpChannels* chanman, freerdp* instance)
{
xfInfo* xfi;
RDP_EVENT* event;
xfi = ((xfContext*) instance->context)->xfi;
event = freerdp_channels_pop_event(chanman);
if (event)
{
switch (event->event_class)
{
case RDP_EVENT_CLASS_RAIL:
xf_process_rail_event(xfi, chanman, event);
break;
case RDP_EVENT_CLASS_TSMF:
xf_process_tsmf_event(xfi, event);
break;
case RDP_EVENT_CLASS_CLIPRDR:
xf_process_cliprdr_event(xfi, event);
break;
default:
break;
}
freerdp_event_free(event);
}
}
void xf_window_free(xfInfo* xfi)
{
rdpContext* context = xfi->instance->context;
XFreeModifiermap(xfi->modifier_map);
xfi->modifier_map = 0;
XFreeGC(xfi->display, xfi->gc);
xfi->gc = 0;
XFreeGC(xfi->display, xfi->gc_mono);
xfi->gc_mono = 0;
if (xfi->window != NULL)
{
xf_DestroyWindow(xfi, xfi->window);
xfi->window = NULL;
}
if (xfi->primary)
{
XFreePixmap(xfi->display, xfi->primary);
xfi->primary = 0;
}
if (xfi->image)
{
xfi->image->data = NULL;
XDestroyImage(xfi->image);
xfi->image = NULL;
}
if (context != NULL)
{
cache_free(context->cache);
context->cache = NULL;
rail_free(context->rail);
context->rail = NULL;
}
if (xfi->rfx_context)
{
rfx_context_free(xfi->rfx_context);
xfi->rfx_context = NULL;
}
freerdp_clrconv_free(xfi->clrconv);
if (xfi->hdc)
gdi_DeleteDC(xfi->hdc);
xf_tsmf_uninit(xfi);
xf_cliprdr_uninit(xfi);
}
void xf_free(xfInfo* xfi)
{
xf_window_free(xfi);
xfree(xfi->bmp_codec_none);
XCloseDisplay(xfi->display);
xfree(xfi);
}
int xfreerdp_run(freerdp* instance)
{
int i;
int fds;
xfInfo* xfi;
int max_fds;
int rcount;
int wcount;
int ret = 0;
void* rfds[32];
void* wfds[32];
fd_set rfds_set;
fd_set wfds_set;
int select_status;
rdpChannels* channels;
struct timeval timeout;
memset(rfds, 0, sizeof(rfds));
memset(wfds, 0, sizeof(wfds));
memset(&timeout, 0, sizeof(struct timeval));
if (!freerdp_connect(instance))
return XF_EXIT_CONN_FAILED;
xfi = ((xfContext*) instance->context)->xfi;
channels = instance->context->channels;
while (!xfi->disconnect && !freerdp_shall_disconnect(instance))
{
rcount = 0;
wcount = 0;
if (freerdp_get_fds(instance, rfds, &rcount, wfds, &wcount) != true)
{
printf("Failed to get FreeRDP file descriptor\n");
ret = XF_EXIT_CONN_FAILED;
break;
}
if (freerdp_channels_get_fds(channels, instance, rfds, &rcount, wfds, &wcount) != true)
{
printf("Failed to get channel manager file descriptor\n");
ret = XF_EXIT_CONN_FAILED;
break;
}
if (xf_get_fds(instance, rfds, &rcount, wfds, &wcount) != true)
{
printf("Failed to get xfreerdp file descriptor\n");
ret = XF_EXIT_CONN_FAILED;
break;
}
max_fds = 0;
FD_ZERO(&rfds_set);
FD_ZERO(&wfds_set);
for (i = 0; i < rcount; i++)
{
fds = (int)(long)(rfds[i]);
if (fds > max_fds)
max_fds = fds;
FD_SET(fds, &rfds_set);
}
if (max_fds == 0)
break;
timeout.tv_sec = 5;
select_status = select(max_fds + 1, &rfds_set, &wfds_set, NULL, &timeout);
if (select_status == 0)
{
//freerdp_send_keep_alive(instance);
continue;
}
else if (select_status == -1)
{
/* these are not really errors */
if (!((errno == EAGAIN) ||
(errno == EWOULDBLOCK) ||
(errno == EINPROGRESS) ||
(errno == EINTR))) /* signal occurred */
{
printf("xfreerdp_run: select failed\n");
break;
}
}
if (freerdp_check_fds(instance) != true)
{
printf("Failed to check FreeRDP file descriptor\n");
break;
}
if (xf_check_fds(instance, &rfds_set) != true)
{
printf("Failed to check xfreerdp file descriptor\n");
break;
}
if (freerdp_channels_check_fds(channels, instance) != true)
{
printf("Failed to check channel manager file descriptor\n");
break;
}
xf_process_channel_event(channels, instance);
}
if (!ret)
ret = freerdp_error_info(instance);
freerdp_channels_close(channels, instance);
freerdp_channels_free(channels);
freerdp_disconnect(instance);
gdi_free(instance);
xf_free(xfi);
freerdp_free(instance);
return ret;
}
void* thread_func(void* param)
{
struct thread_data* data;
data = (struct thread_data*) param;
g_disconnect_reason = xfreerdp_run(data->instance);
xfree(data);
pthread_detach(pthread_self());
g_thread_count--;
if (g_thread_count < 1)
freerdp_sem_signal(g_sem);
pthread_exit(NULL);
}
static uint8 exit_code_from_disconnect_reason(uint32 reason)
{
if (reason == 0 ||
(reason >= XF_EXIT_PARSE_ARGUMENTS && reason <= XF_EXIT_CONN_FAILED))
return reason;
/* Licence error set */
else if (reason >= 0x100 && reason <= 0x10A)
reason -= 0x100 + XF_EXIT_LICENSE_INTERNAL;
/* RDP protocol error set */
else if (reason >= 0x10c9 && reason <= 0x1193)
reason = XF_EXIT_RDP;
/* There's no need to test protocol-independent codes: they match */
else if (!(reason <= 0xB))
reason = XF_EXIT_UNKNOWN;
return reason;
}
freerdp* INstance;
int was_main(int argc, char* argv[])
{
pthread_t thread;
struct thread_data* data;
freerdp_handle_signals();
setlocale(LC_ALL, "");
freerdp_channels_global_init();
g_sem = freerdp_sem_new(1);
INstance = freerdp_new();
INstance->PreConnect = xf_pre_connect;
INstance->PostConnect = xf_post_connect;
INstance->Authenticate = xf_authenticate;
INstance->VerifyCertificate = xf_verify_certificate;
INstance->ReceiveChannelData = xf_receive_channel_data;
INstance->context_size = sizeof(xfContext);
INstance->ContextNew = (pContextNew) xf_context_new;
INstance->ContextFree = (pContextFree) xf_context_free;
freerdp_context_new(INstance);
INstance->context->argc = argc;
INstance->context->argv = argv;
INstance->settings->sw_gdi = false;
data = (struct thread_data*) xzalloc(sizeof(struct thread_data));
data->instance = INstance;
return 0 ;//SE
g_thread_count++;
pthread_create(&thread, 0, thread_func, data);
while (g_thread_count > 0)
{
freerdp_sem_wait(g_sem);
}
freerdp_channels_global_uninit();
return exit_code_from_disconnect_reason(g_disconnect_reason);
}
//=============================================
//
// From here are additions for RDP replay
//
//=============================================
#include "rdp.h"
#define __rdp_private__
#include "librdp.h"
// FIXME: globals should be removed
uint8 *SE_decompress_rdp(rdpRdp*, uint8*, int, int, uint32*) ;
static int playOK = 0 ;
static struct rdp_rdp requestRdp, responseRdp ;
static struct rdp_settings requestSet, responseSet ;
extern int play_sw_gdi ;
extern int warning ;
extern int do_pointer ;
extern int play_paused ;
extern int trace_ord ;
static void play_init_struct(struct rdp_rdp *rdp, struct rdp_settings *set)
{
memset(rdp, 0, sizeof(struct rdp_rdp)) ;
memset(set, 0, sizeof(struct rdp_settings)) ;
rdp->settings = set ;
rdp->mppc = mppc_new(rdp) ;
}
static int play_response_init(uint8_t *cli, uint8_t *ser, uint32_t enc_type)
{
void set_cli_rand(uint8_t *rand) ;
struct rdp_rdp *rdp = INstance->context->rdp ;
rdpBlob s_rand_blob ;
void *old ;
int rv ;
if (!rdp->settings) return 0 ;
old = rdp->settings->server_random ;
rdp->settings->server_random = &s_rand_blob ;
rdp->settings->encryption_method = enc_type ;
s_rand_blob.data = ser ;
s_rand_blob.length = 32 ;
rv = security_establish_keys(cli, rdp) ;
rdp->settings->server_random = old ;
if (!rv) return 0 ;
// Taken from: rdp_server_establish_keys
rdp->do_crypt = true;
if (rdp->settings->salted_checksum) rdp->do_secure_checksum = true;
if (rdp->settings->encryption_method == ENCRYPTION_METHOD_FIPS)
{
uint8 fips_ivec[8] = { 0x12, 0x34, 0x56, 0x78, 0x90, 0xAB, 0xCD, 0xEF };
rdp->fips_encrypt = crypto_des3_encrypt_init(rdp->fips_encrypt_key, fips_ivec);
rdp->fips_decrypt = crypto_des3_decrypt_init(rdp->fips_decrypt_key, fips_ivec);
rdp->fips_hmac = crypto_hmac_new();
}
else
{
rdp->rc4_decrypt_key = crypto_rc4_init(rdp->decrypt_key, rdp->rc4_key_len);
rdp->rc4_encrypt_key = crypto_rc4_init(rdp->encrypt_key, rdp->rc4_key_len);
}
rdp->state = CONNECTION_STATE_LICENSE ;
return 1 ;
}
static int play_local_crypt_init(struct rdp_rdp *rdp,
uint8_t *cli,
uint8_t *ser,
uint32_t enc_type)
{
rdpBlob s_rand_blob ;
struct rdp_settings *set = rdp->settings ;
s_rand_blob.data = ser ;
s_rand_blob.length = 32 ;
rdp->decrypt_use_count = 0 ;
set->server_random = &s_rand_blob ;
set->encryption_method = enc_type ;
set->salted_checksum = 1 ;
set->server_mode = rdp==&requestRdp ;
if (!security_establish_keys(cli, rdp)) return 0 ;
// Taken from: rdp_server_establish_keys
rdp->do_crypt = true;
if (rdp->settings->salted_checksum)
rdp->do_secure_checksum = true;
if (rdp->settings->encryption_method == ENCRYPTION_METHOD_FIPS)
{
uint8 fips_ivec[8] = { 0x12, 0x34, 0x56, 0x78, 0x90, 0xAB, 0xCD, 0xEF };
rdp->fips_encrypt = crypto_des3_encrypt_init(rdp->fips_encrypt_key, fips_ivec);
rdp->fips_decrypt = crypto_des3_decrypt_init(rdp->fips_decrypt_key, fips_ivec);
rdp->fips_hmac = crypto_hmac_new();
}
else
{
rdp->rc4_decrypt_key = crypto_rc4_init(rdp->decrypt_key, rdp->rc4_key_len);
rdp->rc4_encrypt_key = crypto_rc4_init(rdp->encrypt_key, rdp->rc4_key_len);
}
// Done. Clean and exit.
set->server_random = 0 ; // Clear out-of-scope data!
return 1 ;
}
int play_pre_init(ctx_rdp *ctx)
{
play_init_struct(&requestRdp, &requestSet) ;
play_init_struct(&responseRdp, &responseSet) ;
INstance->settings->sw_gdi = SW_GDI(ctx) ;
INstance->settings->window_title = "RDP Replay" ;
INstance->settings->color_depth = 8 ;
if (!SKIP_GFX(ctx)) if (0==xf_pre_connect(INstance)) return 0 ;
return 1 ;
}
int play_post_init(ctx_rdp *ctx)
{
if (SKIP_GFX(ctx)) return 1 ;
if (0==xf_post_connect(INstance)) return 0 ;
return 1 ;
}
int play_crypt_init(ctx_rdp *ctx)
{
uint8_t *cli = ctx->client_random ;
uint8_t *ser = ctx->server_random ;
uint32_t enc_type = ctx->use_enc_type ;
if (0==play_pre_init(ctx)) return 0 ;
if (0==play_local_crypt_init(&requestRdp, cli,ser,enc_type)) return 0 ;
if (0==play_local_crypt_init(&responseRdp, cli,ser,enc_type)) return 0 ;
if (0==play_response_init(cli,ser,enc_type)) return 0 ;
if (0==play_post_init(ctx)) return 0 ;
playOK = 1 ; // Now OK to use
return 1 ;
}
uint8_t *play_response_decrypt(uint8_t *p, uint8_t *max, uint16 flags)
{
STREAM s ;
if (!playOK) return 0 ; // Not valid :(
s.size = (int)(max-p) ;
s.p = p ;
s.data = p ;
if (!rdp_decrypt(&responseRdp, &s, s.size, flags)) return 0 ;
return s.p ;
}
uint8_t *play_request_decrypt(uint8_t *p, uint8_t *max, uint16 flags)
{
STREAM s ;
if (!playOK) return 0 ; // Not valid :(
s.size = (int)(max-p) ;
s.p = p ;
s.data = p ;
if (!rdp_decrypt(&requestRdp, &s, s.size, flags)) return 0 ;
return s.p ;
}
void set_pars(int bpp, int width, int height)
{
INstance->settings->width = width ;
INstance->settings->height = height ;
INstance->settings->color_depth = bpp ;
if ( ((xfContext*)(INstance->context))->xfi) {
((xfContext*)(INstance->context))->xfi->srcBpp = bpp ;
// ((xfContext*)(INstance->context))->xfi->bpp = bpp ;
// ((xfContext*)(INstance->context))->xfi->depth = bpp ;
INstance->update->DesktopResize(INstance->context) ;
}
}
void play_set_glyph_v2(int val)
{
if ( INstance->context &&
INstance->context->rdp &&
INstance->context->rdp->update &&
INstance->context->rdp->update->secondary)
INstance->context->rdp->update->secondary->glyph_v2 = val ;
else
printf("ERROR: Cannot set glyph_v2 to %s\n",val?"true":"false") ;
}
int play_response_slow(uint8_t *p, uint8_t *max, int chan, int flo)
{
STREAM ss, *s ;
struct rdp_rdp *rdp ;
uint16 pduType;
uint16 pduLength;
uint16 pduSource;
// printf("Flags:%04x chan:%d", flo, chan) ;
// se_out(" - Slow DATA: ",p,max) ;
// From 2.2.8.1.1.1.1 Share Control Header
// totalLength (2 bytes): A 16-bit unsigned integer. The total length of the packet in bytes (the length includes the size of the Share Control Header). If the totalLength field equals 0x8000, then the Share Control Header and any data that follows MAY be interpreted as a T.128 FlowPDU as described in [T128] section 8.5 (the ASN.1 structure definition is detailed in [T128] section 9.1) and MUST be ignored.
if ((max-p)>2 && 0x80==p[0] && 0x00==p[1])
return true ;
rdp = INstance->context->rdp ;
ss.size = (int)(max-p) ;
ss.p = p ;
ss.data = p ;
s = &ss ;
if (MCS_GLOBAL_CHANNEL_ID != chan)
{
// This is no longer used. Chan data processed in librdp.c
}
else
{
rdp_read_share_control_header(s, &pduLength, &pduType, &pduSource);
rdp->settings->pdu_source = pduSource;
switch (pduType)
{
case PDU_TYPE_DATA:
if (!rdp_recv_data_pdu(rdp, s))
{
if (warning) printf("WARNING: play_response_slow: rdp_recv_data_pdu failed\n") ;
return false;
}
break;
case PDU_TYPE_DEACTIVATE_ALL:
{
uint16 lengthSourceDescriptor ;
if (stream_get_left(s) > 0)
{
stream_read_uint32(s, rdp->settings->share_id); /* shareId (4 bytes) */
stream_read_uint16(s, lengthSourceDescriptor); /* lengthSourceDescriptor (2 bytes) */
stream_seek(s, lengthSourceDescriptor); /* sourceDescriptor (should be 0x00) */
}
}
break;
case PDU_TYPE_SERVER_REDIRECTION:
rdp_recv_enhanced_security_redirection_packet(rdp, s);
break;
case PDU_TYPE_DEMAND_ACTIVE:
{
uint16_t lengthSourceDescriptor, lengthCombinedCapabilities, numberCapabilities ;
rdp->settings->pdu_source = pduSource;
stream_read_uint32(s, rdp->settings->share_id); /* shareId (4 bytes) */
stream_read_uint16(s, lengthSourceDescriptor); /* lengthSourceDescriptor (2 bytes) */
stream_read_uint16(s, lengthCombinedCapabilities); /* lengthCombinedCapabilities (2 bytes) */
stream_seek(s, lengthSourceDescriptor); /* sourceDescriptor */
stream_read_uint16(s, numberCapabilities); /* numberCapabilities (2 bytes) */
stream_seek(s, 2); /* pad2Octets (2 bytes) */
/* capabilitySets */
if (!rdp_read_capability_sets(s, rdp->settings, numberCapabilities))
{
printf("rdp_read_capability_sets failed\n");
return false;
}
rdp->update->secondary->glyph_v2 = (rdp->settings->glyphSupportLevel > GLYPH_SUPPORT_FULL) ? true : false;
}
break;
default:
printf("incorrect PDU type: 0x%04X\n", pduType);
break;
}
}
return true;
}
int play_response_fast(uint8_t *p, uint8_t *max, uint8_t header)
{
struct rdp_rdp *rdp = INstance->context->rdp ;
STREAM s ;
s.size = (int)(max-p) ;
s.p = p ;
s.data = p ;
rdp->fastpath->encryptionFlags = (header & 0xC0) >> 6;
rdp->fastpath->numberEvents = (header & 0x3C) >> 2;
return fastpath_recv_updates(rdp->fastpath, &s);
}
int play_response_decompress(uint8_t **p2p, uint8_t **p2max, int flags)
{
int rlen ;
uint8_t *new_p = SE_decompress_rdp(INstance->context->rdp, *p2p, (int)((*p2max)-(*p2p)), flags, &rlen) ;
if (NULL==new_p)
{
printf("WARNING: play_response_decompress: SE_decompress_rdp failed\n") ;
return false ;
}
*p2p = new_p ;
*p2max = new_p + rlen ;
return true ;
}
int play_request_decompress(uint8_t **p2p, uint8_t **p2max, int flags)
{
int rlen ;
uint8_t *new_p = SE_decompress_rdp(&requestRdp, *p2p, (int)((*p2max)-(*p2p)), flags, &rlen) ;
if (NULL==new_p)
{
printf("WARNING: play_request_decompress: SE_decompress_rdp failed\n") ;
return false ;
}
*p2p = new_p ;
*p2max = new_p + rlen ;
return true ;
}
void play_quit()
{
exit(0) ;
}
static int cursor_visable = 0 ;
static int cx = 0, cy = 0 ;
static int play_need_init = 1 ;
typedef struct play_cur
{
struct play_cur *next ;
Cursor cursor ;
uint8_t *data ;
Pixmap pix ;
Pixmap mask ;
int hx ;
int hy ;
int wx ;
int wy ;
} play_cur ;
play_cur *px_cursors = 0 ;
play_cur *active = 0 ;
static Pixmap play_pixmap(xfInfo *xfi)
{
static Pixmap pix ;
static int init = 1 ;
if (init)
{
pix = XCreatePixmap(xfi->display, xfi->drawable, 32, 32, xfi->depth) ;
init = 0 ;
}
return pix ;
}
static GC get_my_gc(xfInfo *xfi)
{
static int init = 1 ;
static GC my_gc ;
if (init)
{
my_gc = XCreateGC(xfi->display, xfi->primary, 0, NULL) ;
XSetFunction(xfi->display, my_gc, GXcopy) ;
init = 0 ;
}
return my_gc ;
}
static void undraw_cursor(xfInfo *xfi)
{
if (cursor_visable && do_pointer && active)
{
GC my_gc = get_my_gc(xfi) ;
XSetFunction(xfi->display, my_gc, GXcopy) ;
XCopyArea(xfi->display, play_pixmap(xfi), xfi->primary, my_gc, 0,0, 32,32, cx-active->hx,cy-active->hy) ;
XCopyArea(xfi->display, play_pixmap(xfi), xfi->drawable, my_gc, 0,0, 32,32, cx-active->hx,cy-active->hy) ;
cursor_visable = 0 ;
}
}
static void draw_cursor(xfInfo *xfi)
{
if (!cursor_visable && do_pointer && active)
{
int sx = cx-active->hx ; // Starting X co-ord
int sy = cy-active->hy ; // Starting Y co-ord
GC my_gc = get_my_gc(xfi) ;
XSetFunction(xfi->display, my_gc, GXcopy) ;
XCopyArea(xfi->display, xfi->drawable, play_pixmap(xfi), my_gc, sx,sy, 32,32, 0,0) ;
XSetFunction( xfi->display, my_gc, GXand) ;
XSetBackground(xfi->display, my_gc, ~0UL) ;
XSetForeground(xfi->display, my_gc, 0UL) ;
XCopyPlane(xfi->display,
active->mask, // src
xfi->primary, // dst
my_gc,
0,0, // src x,y
active->wx,active->wy, // width,height
sx,sy, // dst x,y
1L) ; //Plane
XSetFunction(xfi->display, my_gc, GXor) ;
XCopyArea(xfi->display, active->pix, xfi->primary, my_gc, 0,0, active->wx,active->wy, sx,sy) ;
XSetFunction(xfi->display, my_gc, GXcopy) ;
XCopyArea(xfi->display, xfi->primary, xfi->drawable, my_gc, sx,sy, active->wx,active->wy, sx,sy) ;
cursor_visable = 1 ;
}
}
// Simple routine to close/free the video output, called by on_exit
static void playOnExit(int ev, void *ptr)
{
void PlayVidFree(void *) ;
PlayVidFree(ptr) ;
}
static void out2vid(xfInfo *xfi)
{
extern const struct timeval *play_timeval ; // From librdp for packet timestamp (video timing)
void *PlayVidAlloc(const char *fname, int width, int height) ;
int write_frame(void *, const XImage *) ;
static int need_init = 1 ;
static void *hdl = 0 ;
static size_t t_sec = 0 ;
static size_t t_off = 0 ;
static size_t last_f = 0 ;
extern const char *play_out_file ; // FIXME: this should not be a global
size_t frame ;
if (!xfi) return ;
if (need_init) {
if (play_out_file && play_timeval) {
hdl = PlayVidAlloc(play_out_file, xfi->width, xfi->height) ;
if (hdl) on_exit(playOnExit, hdl) ;
t_sec = play_timeval->tv_sec ;
t_off = play_timeval->tv_usec*25/1000000 ;
}
need_init = 0 ;
}
if (!hdl) return ;
frame = (play_timeval->tv_sec-t_sec)*25 + (play_timeval->tv_usec*25/1000000) - t_off ;
if (frame>last_f) {
XImage *im = XGetImage(xfi->display, xfi->primary,
0,0, xfi->width, xfi->height,
~0,ZPixmap) ;
if (im) {
while (frame>last_f) {
write_frame(hdl, im) ;
++last_f ;
}
XDestroyImage(im) ;
}
}
}
static void update_cursor(xfInfo *xfi, int x, int y)
{
if (xfi) out2vid(xfi) ;
undraw_cursor(xfi) ;
cx = x ;
cy = y ;
draw_cursor(xfi) ;
}
static void play_set_pixmap(Pixmap pix, rdpPointer *pointer, xfInfo *xfi, Pixmap mask)
{
// Based on freerdp_alpha_cursor_convert in libfreerdp-codec/color.c
int xpixel;
int apixel;
int i, j, jj;
int width = pointer->width ;
int height = pointer->height ;
int bpp = pointer->xorBpp ;
HCLRCONV clrconv = xfi->clrconv ;
uint8 *xorMask = pointer->xorMaskData ;
uint8 *andMask = pointer->andMaskData ;
GC my_gc = get_my_gc(xfi) ;
XSetFunction(xfi->display, my_gc, GXcopy) ;
for (j = 0; j < height; j++)
{
jj = (bpp == 1) ? j : (height - 1) - j;
for (i = 0; i < width; i++)
{
xpixel = freerdp_get_pixel(xorMask, i, jj, width, height, bpp);
xpixel = freerdp_color_convert_rgb(xpixel, bpp, 32, clrconv);
apixel = freerdp_get_pixel(andMask, i, jj, width, height, 1);
if (apixel != 0)
{
// Transparent! Clear both.
XSetFunction(xfi->display, my_gc, GXclear) ;
XDrawPoint(xfi->display, mask, my_gc, i, j) ;
XDrawPoint(xfi->display, pix, my_gc, i, j) ;
}
else
{
// Foreground. Set the mask, copy pixel into bitmap
XSetFunction(xfi->display, my_gc, GXset) ;
XDrawPoint(xfi->display, mask, my_gc, i, j) ;
XSetFunction(xfi->display, my_gc, GXcopy) ;
XSetForeground(xfi->display, my_gc, xpixel) ;
XDrawPoint(xfi->display, pix, my_gc, i, j) ;
}
}
}
}
void play_new_pointer(rdpContext *context, rdpPointer *pointer, Cursor cursor)
{
xfInfo *xfi = ((xfContext*)context)->xfi ;
play_cur *c = (play_cur *)malloc(sizeof(play_cur)) ;
if (!c) return ;
c->next = px_cursors ;
c->cursor = cursor ;
c->pix = XCreatePixmap(xfi->display, xfi->drawable, pointer->width, pointer->height, xfi->depth) ;
c->mask = XCreatePixmap(xfi->display, xfi->drawable, pointer->width, pointer->height, xfi->depth) ;
c->hx = pointer->xPos ;
c->hy = pointer->yPos ;
c->wx = pointer->width ;
c->wy = pointer->height ;
px_cursors = c ;
play_set_pixmap(c->pix, pointer, xfi, c->mask) ;
}
void play_set_pointer(rdpContext *context, Cursor cursor)
{
xfInfo *xfi = ((xfContext*)context)->xfi ;
play_cur *ii ;
undraw_cursor(xfi) ;
active = 0 ;
for (ii=px_cursors ; ii ; ii=ii->next)
if (ii->cursor == cursor)
{
active = ii ;
break ;
}
draw_cursor(xfi) ;
}
void play_del_pointer(rdpContext *context, Cursor cursor)
{
xfInfo *xfi = ((xfContext*)context)->xfi ;
play_cur *ii, *last ;
if (active && active->cursor==cursor)
{
if (xfi) undraw_cursor(xfi) ;
active = 0 ;
}
for (last=0,ii=px_cursors ; ii ; ii=ii->next)
{
if (ii->cursor==cursor)
{
if (last) last->next = ii->next ;
else px_cursors = ii->next ;
XFreePixmap(xfi->display, ii->pix) ;
free(ii) ;
break ;
}
last = ii ;
}
}
void play_cursor(int x, int y)
{
xfInfo *xfi = ((xfContext*)INstance->context)->xfi ;
if ( (!xfi) || (!xfi->display) ) return ;
update_cursor(xfi, x, y) ;
}
// Locking.
static pthread_mutex_t *get_mx()
{
static pthread_mutex_t mx ;
static init = 1 ;
if (init)
{
pthread_mutex_init(&mx, 0) ;
init = 0 ;
}
return &mx ;
}
void play_mx_lock()
{
pthread_mutex_lock(get_mx()) ;
}
void play_mx_unlock()
{
pthread_mutex_unlock(get_mx()) ;
}
// For info on raster operaions, see:
// http://msdn.microsoft.com/en-us/library/windows/desktop/dd145130%28v=vs.85%29.aspx
void play_do_Xevents()
{
// Based on xf_event_process in xf_event.c
static int NeedInit = 1 ;
static Atom WM_PROTOCOLS, WM_DELETE_WINDOW ;
boolean xf_event_MapNotify(xfInfo* xfi, XEvent* event, boolean app) ;
boolean xf_event_UnmapNotify(xfInfo* xfi, XEvent* event, boolean app) ;
boolean xf_event_ConfigureNotify(xfInfo* xfi, XEvent* event, boolean app) ;
boolean xf_event_Expose(xfInfo* xfi, XEvent* event, boolean app) ;
boolean xf_event_PropertyNotify(xfInfo* xfi, XEvent* event, boolean app) ;
boolean xf_event_VisibilityNotify(xfInfo* xfi, XEvent* event, boolean app) ;
// boolean xf_event_FocusIn(xfInfo* xfi, XEvent* event, boolean app) ;
// boolean xf_event_FocusOut(xfInfo* xfi, XEvent* event, boolean app) ;
boolean xf_event_EnterNotify(xfInfo* xfi, XEvent* event, boolean app) ;
boolean xf_event_LeaveNotify(xfInfo* xfi, XEvent* event, boolean app) ;
boolean xf_event_MappingNotify(xfInfo* xfi, XEvent* event, boolean app) ;
XEvent xevent ;
KeySym keysym ;
char str[256] ;
xfInfo *xfi = ((xfContext*)INstance->context)->xfi ;
if ( (!xfi) || (!xfi->display) ) return ;
play_mx_lock() ;
while (XPending(xfi->display))
{
if (NeedInit)
{
WM_PROTOCOLS = XInternAtom(xfi->display, "WM_PROTOCOLS", 0) ;
WM_DELETE_WINDOW = XInternAtom(xfi->display, "WM_DELETE_WINDOW", 0) ;
NeedInit = 0 ;
}
memset(&xevent, 0, sizeof(xevent)) ;
XNextEvent(xfi->display, &xevent) ;
switch (xevent.type)
{
case Expose:
// xf_event_Expose(xfi, &xevent, xfi->remote_app) ;
break ;
case VisibilityNotify:
xf_event_VisibilityNotify(xfi, &xevent, xfi->remote_app) ;
break ;
case MotionNotify:
case ButtonPress:
case ButtonRelease:
break ;
case KeyPress:
if (0 < XLookupString(&xevent.xkey, str, sizeof(str), &keysym, NULL))
{
// printf("Keys: %d %d %d\n", (int)str[0], (int)str[1], (int)str[2]) ;
if (' '==str[0]) play_paused = 1 - play_paused ;
if ('Q'==str[0]) play_quit() ;
// FIXME: Support more keypress options
}
break ;
case KeyRelease:
break ;
case FocusIn:
// xf_event_FocusIn(xfi, &xevent, xfi->remote_app) ;
break ;
case FocusOut:
// xf_event_FocusOut(xfi, &xevent, xfi->remote_app) ;
break ;
case EnterNotify:
xf_event_EnterNotify(xfi, &xevent, xfi->remote_app) ;
break ;
case LeaveNotify:
xf_event_LeaveNotify(xfi, &xevent, xfi->remote_app);
break;
case NoExpose:
case GraphicsExpose:
break;
case ConfigureNotify:
xf_event_ConfigureNotify(xfi, &xevent, xfi->remote_app) ;
break ;
case MapNotify:
xf_event_MapNotify(xfi, &xevent, xfi->remote_app) ;
break ;
case UnmapNotify:
xf_event_UnmapNotify(xfi, &xevent, xfi->remote_app) ;
break ;
case ReparentNotify:
break ;
case MappingNotify:
xf_event_MappingNotify(xfi, &xevent, xfi->remote_app) ;
break ;
case ClientMessage:
if ( (WM_PROTOCOLS == xevent.xclient.message_type) &&
(WM_DELETE_WINDOW == (Atom)xevent.xclient.data.l[0]) )
play_quit() ;
break ;
case SelectionNotify:
case SelectionRequest:
case SelectionClear:
break ;
case PropertyNotify:
// xf_event_PropertyNotify(xfi, &xevent, xfi->remote_app) ;
break ;
default:
// printf("Event-%d\n", (int)xevent.type) ;
break ;
}
}
play_mx_unlock() ;
}
void play_MultiDstBlt(rdpContext *context, MULTI_DSTBLT_ORDER *m)
{
int ii ;
DSTBLT_ORDER ord ;
rdpPrimaryUpdate *prim = context->rdp->update->primary ;
if (trace_ord)
{
printf("Order: MultiDstBlt:\n") ;
printf(" nLeftRect: %8d\n", (int)m->nLeftRect) ;
printf(" nTopRect: %8d\n", (int)m->nTopRect) ;
printf(" nWidth: %8d\n", (int)m->nWidth) ;
printf(" nHeight: %8d\n", (int)m->nHeight) ;
printf(" bRop: %8d\n", (int)m->bRop) ;
printf(" numRectangles: %8d\n", (int)m->numRectangles) ;
printf(" cbData: %8d\n", (int)m->cbData) ;
for (ii=0 ; ii<=m->numRectangles ; ++ii)
printf(" %d: %dx%d + %dx%d\n", ii,
(int)m->rectangles[ii].left,
(int)m->rectangles[ii].top,
(int)m->rectangles[ii].width,
(int)m->rectangles[ii].height) ;
}
// Set up common paramaters for the order
ord.bRop = m->bRop ;
// YES, this loop starts at 1. for N rects we have to use 1...N.
// This is a bug in the parsing, and probably needs fixing
// Loop over the rectangles, and call DstBlt
for (ii=1 ; ii<=m->numRectangles ; ++ii)
{
DELTA_RECT *r = m->rectangles+ii ;
ord.nLeftRect = r->left ;
ord.nTopRect = r->top ;
ord.nWidth = r->width ;
ord.nHeight = r->height ;
IFCALL(prim->DstBlt, context, &ord) ;
}
}
void play_MultiPatBlt(rdpContext *context, MULTI_PATBLT_ORDER *m)
{
int ii ;
PATBLT_ORDER ord ;
rdpPrimaryUpdate *prim = context->rdp->update->primary ;
if (trace_ord)
{
printf("Order: MultiPatBlt:\n") ;
printf(" nLeftRect: %8d\n", (int)m->nLeftRect) ;
printf(" nTopRect: %8d\n", (int)m->nTopRect) ;
printf(" nWidth: %8d\n", (int)m->nWidth) ;
printf(" nHeight: %8d\n", (int)m->nHeight) ;
printf(" bRop: %8d\n", (int)m->bRop) ;
printf(" backColor: %8x\n", (int)m->backColor) ;
printf(" foreColor: %8x\n", (int)m->foreColor) ;
printf(" numRectangles: %8d\n", (int)m->numRectangles) ;
printf(" cbData: %8d\n", (int)m->cbData) ;
for (ii=0 ; ii<=m->numRectangles ; ++ii)
printf(" %d: %dx%d + %dx%d\n", ii,
(int)m->rectangles[ii].left,
(int)m->rectangles[ii].top,
(int)m->rectangles[ii].width,
(int)m->rectangles[ii].height) ;
}
// Set up common paramaters for the order
ord.bRop = m->bRop ;
ord.backColor = m->backColor ;
ord.foreColor = m->foreColor ;
ord.brush = m->brush ;
// YES, this loop starts at 1. for N rects we have to use 1...N.
// This is a bug in the parsing, and probably needs fixing
// Loop over the rectangles, and call PatBlt
for (ii=1 ; ii<=m->numRectangles ; ++ii)
{
DELTA_RECT *r = m->rectangles+ii ;
ord.nLeftRect = r->left ;
ord.nTopRect = r->top ;
ord.nWidth = r->width ;
ord.nHeight = r->height ;
IFCALL(prim->PatBlt, context, &ord) ;
}
}
void play_MultiScrBlt(rdpContext *context, MULTI_SCRBLT_ORDER* m)
{
int ii ;
SCRBLT_ORDER ord ;
rdpPrimaryUpdate *prim = context->rdp->update->primary ;
if (trace_ord)
{
printf("Order: MultiScrBlt:\n") ;
printf(" nLeftRect: %8d\n", (int)m->nLeftRect) ;
printf(" nTopRect: %8d\n", (int)m->nTopRect) ;
printf(" nWidth: %8d\n", (int)m->nWidth) ;
printf(" nHeight: %8d\n", (int)m->nHeight) ;
printf(" bRop: %8d\n", (int)m->bRop) ;
printf(" nXSrc: %8d\n", (int)m->nXSrc) ;
printf(" nYSrc: %8d\n", (int)m->nYSrc) ;
printf(" numRectangles: %8d\n", (int)m->numRectangles) ;
printf(" cbData: %8d\n", (int)m->cbData) ;
for (ii=0 ; ii<=m->numRectangles ; ++ii)
printf(" %d: %dx%d + %dx%d\n", ii,
(int)m->rectangles[ii].left,
(int)m->rectangles[ii].top,
(int)m->rectangles[ii].width,
(int)m->rectangles[ii].height) ;
}
// Set up common paramaters for the order
ord.bRop = m->bRop ;
// YES, this loop starts at 1. for N rects we have to use 1...N.
// This is a bug in the parsing, and probably needs fixing
// Loop over the rectangles, and call ScrBlt
for (ii=1 ; ii<=m->numRectangles ; ++ii)
{
DELTA_RECT *r = m->rectangles+ii ;
ord.nLeftRect = r->left ;
ord.nTopRect = r->top ;
ord.nWidth = r->width ;
ord.nHeight = r->height ;
ord.nXSrc = r->left - m->nLeftRect + m->nXSrc ;
ord.nYSrc = r->top - m->nTopRect + m->nYSrc ;
IFCALL(prim->ScrBlt, context, &ord) ;
}
}
// Note about primary and drawable.
// xfi->primary Pixmap that you should use to draw on.
// xfi->drawable Window. This is what is displayed.
// Draw on primary and copy it to the window. This is so we can repair windows after
// exposure events etc. by copying from primary to drawable.
//
void play_SaveBitmap(rdpContext* context, SAVE_BITMAP_ORDER* save_bitmap)
{
// This should really be implemented as a 480x480 bitmap. See
// http://msdn.microsoft.com/en-us/library/cc241861.aspx
typedef struct sb
{
struct sb *next ;
uint32 pos ;
uint32 width ;
uint32 height ;
Pixmap pix ;
} sb ;
static sb *save = 0 ; // List of current saved bitmaps - FIXME: Should be part of context?
sb *ii ;
xfInfo *xfi = ((xfContext*)context)->xfi ;
GC my_gc = get_my_gc(xfi) ;
int width ;
int height ;
if (trace_ord)
{
printf("Order: SaveBitmap:\n") ;
printf(" savedBitmapPosition: %8d\n", (int)save_bitmap->savedBitmapPosition) ;
printf(" nLeftRect: %8d\n", (int)save_bitmap->nLeftRect) ;
printf(" nTopRect: %8d\n", (int)save_bitmap->nTopRect) ;
printf(" nRightRect: %8d\n", (int)save_bitmap->nRightRect) ;
printf(" nBottomRect: %8d\n", (int)save_bitmap->nBottomRect) ;
printf(" operation: %8d (%s)\n", (int)save_bitmap->operation, save_bitmap->operation?"Restore":"Save") ;
}
width = 1 + save_bitmap->nRightRect - save_bitmap->nLeftRect ;
height = 1 + save_bitmap->nBottomRect - save_bitmap->nTopRect ;
if ( (width <= 0) ||
(height <= 0) )
{
if (warning)
printf("WARNING: play_SaveBitmap: Bad pars\n") ;
return ;
}
// Find this offset, if we have it.
for (ii=save ; ii ; ii=ii->next)
if (ii->pos == save_bitmap->savedBitmapPosition)
break ;
XSetFunction(xfi->display, my_gc, GXcopy) ;
if (save_bitmap->operation)
{
// Restore
if (!ii)
{
if (warning)
printf("WARNING: play_SaveBitmap: Restore with no save!\n") ;
return ;
}
if ( (width != ii->width) ||
(height != ii->height) )
{
if (warning)
printf("WARNING: play_SaveBitmap: Bad shape on restore!\n") ;
return ;
}
XCopyArea(xfi->display,
ii->pix, // src drawable
xfi->primary, // dest drawable
my_gc,
0,0, // src x,y
width,
height,
save_bitmap->nLeftRect, // dest-x
save_bitmap->nTopRect // dest-y
) ;
XCopyArea(xfi->display,
ii->pix, // src drawable
xfi->drawable, // dest drawable
my_gc,
0,0, // src x,y
width,
height,
save_bitmap->nLeftRect, // dest-x
save_bitmap->nTopRect // dest-y
) ;
}
else
{
// Save
if (!ii)
{
ii = malloc(sizeof(sb)) ;
if (!ii) return ;
ii->next = save ;
save = ii ;
}
else
XFreePixmap(xfi->display, ii->pix) ;
ii->pos = save_bitmap->savedBitmapPosition ;
ii->width = width ;
ii->height = height ;
ii->pix = XCreatePixmap(xfi->display, xfi->drawable, ii->width, ii->height, xfi->depth) ;
XCopyArea(xfi->display,
xfi->primary, // src drawable
ii->pix, // dest drawable
my_gc,
save_bitmap->nLeftRect, // src-x
save_bitmap->nTopRect, // src-y
width,
height,
0,0) ; // dest x,y
}
}
| 28.11952 | 415 | 0.62222 |
ca618479658bf152cf0fb3c30b3af12ac4aef708 | 3,778 | h | C | System/Library/Frameworks/Photos.framework/PHAssetComment.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | 4 | 2017-03-23T00:01:54.000Z | 2018-08-04T20:16:32.000Z | System/Library/Frameworks/Photos.framework/PHAssetComment.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | null | null | null | System/Library/Frameworks/Photos.framework/PHAssetComment.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | 4 | 2017-05-14T16:23:26.000Z | 2019-12-21T15:07:59.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Wednesday, March 22, 2017 at 9:06:33 AM Mountain Standard Time
* Operating System: Version 10.1 (Build 14U593)
* Image Source: /System/Library/Frameworks/Photos.framework/Photos
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
*/
#import <Photos/PHObject.h>
@class NSString, NSDate;
@interface PHAssetComment : PHObject {
BOOL _isLike;
BOOL _isCaption;
BOOL _isBatchComment;
BOOL _isMyComment;
BOOL _canBeDeletedByUser;
BOOL _isDeletable;
BOOL _isInterestingToUser;
NSString* _commentText;
NSDate* _commentDate;
NSDate* _commentClientDate;
NSString* _cloudGUID;
NSString* _commenterHashedPersonID;
}
@property (nonatomic,readonly) BOOL isDeletable; //@synthesize isDeletable=_isDeletable - In the implementation block
@property (nonatomic,readonly) NSDate * commentClientDate; //@synthesize commentClientDate=_commentClientDate - In the implementation block
@property (nonatomic,readonly) NSString * cloudGUID; //@synthesize cloudGUID=_cloudGUID - In the implementation block
@property (nonatomic,readonly) NSString * commenterHashedPersonID; //@synthesize commenterHashedPersonID=_commenterHashedPersonID - In the implementation block
@property (nonatomic,readonly) BOOL isInterestingToUser; //@synthesize isInterestingToUser=_isInterestingToUser - In the implementation block
@property (nonatomic,readonly) BOOL isLike; //@synthesize isLike=_isLike - In the implementation block
@property (nonatomic,readonly) BOOL isCaption; //@synthesize isCaption=_isCaption - In the implementation block
@property (nonatomic,readonly) BOOL isBatchComment; //@synthesize isBatchComment=_isBatchComment - In the implementation block
@property (nonatomic,readonly) BOOL isMyComment; //@synthesize isMyComment=_isMyComment - In the implementation block
@property (nonatomic,readonly) NSString * commentText; //@synthesize commentText=_commentText - In the implementation block
@property (nonatomic,readonly) NSDate * commentDate; //@synthesize commentDate=_commentDate - In the implementation block
@property (nonatomic,readonly) NSString * commenterEmail;
@property (nonatomic,readonly) NSString * commenterFirstName;
@property (nonatomic,readonly) NSString * commenterLastName;
@property (nonatomic,readonly) NSString * commenterFullName;
@property (nonatomic,readonly) BOOL isInterestingForAlbumsSorting;
@property (nonatomic,readonly) NSString * commenterDisplayName;
@property (nonatomic,readonly) BOOL canBeDeletedByUser; //@synthesize canBeDeletedByUser=_canBeDeletedByUser - In the implementation block
+(id)managedEntityName;
+(id)propertiesToFetchWithHint:(unsigned long long)arg1 ;
+(id)fetchType;
-(NSString *)cloudGUID;
-(NSString *)commentText;
-(NSDate *)commentDate;
-(BOOL)isCaption;
-(BOOL)isBatchComment;
-(BOOL)isLike;
-(BOOL)isMyComment;
-(BOOL)isDeletable;
-(BOOL)isInterestingForAlbumsSorting;
-(BOOL)shouldNotifyAsBulletinWithMediaStreamInfo:(id)arg1 asCaptionOnly:(BOOL*)arg2 ;
-(NSString *)commenterDisplayName;
-(NSString *)commenterEmail;
-(NSString *)commenterFirstName;
-(NSString *)commenterLastName;
-(NSString *)commenterFullName;
-(NSString *)commenterHashedPersonID;
-(BOOL)canBeDeletedByUser;
-(NSDate *)commentClientDate;
-(id)initWithFetchDictionary:(id)arg1 propertyHint:(unsigned long long)arg2 photoLibrary:(id)arg3 ;
-(Class)changeRequestClass;
-(BOOL)_isInterestingToUser:(id)arg1 ;
-(BOOL)isInterestingToUser;
@end
| 50.373333 | 172 | 0.737957 |
30dcf2f06436bbd3972408b49f87e6c0272c301a | 206 | h | C | nanocv/string.h | 0x0all/nanocv | dc58dea6b4eb7be2089b168d39c2b02aa2730741 | [
"MIT"
] | null | null | null | nanocv/string.h | 0x0all/nanocv | dc58dea6b4eb7be2089b168d39c2b02aa2730741 | [
"MIT"
] | null | null | null | nanocv/string.h | 0x0all/nanocv | dc58dea6b4eb7be2089b168d39c2b02aa2730741 | [
"MIT"
] | 1 | 2018-08-02T02:41:37.000Z | 2018-08-02T02:41:37.000Z | #pragma once
#include <vector>
#include <string>
namespace ncv
{
// strings
typedef std::string string_t;
typedef std::vector<string_t> strings_t;
}
| 15.846154 | 58 | 0.543689 |
e73287e9c42d2234f883580aef37da19c9f49af1 | 827 | h | C | XVim2/XcodeHeader/DVTFoundation/DVTFileWrapper.h | jsuo/XVim2 | f0126ed41be3d04f237e81c240c5f1f36443fcbc | [
"MIT"
] | null | null | null | XVim2/XcodeHeader/DVTFoundation/DVTFileWrapper.h | jsuo/XVim2 | f0126ed41be3d04f237e81c240c5f1f36443fcbc | [
"MIT"
] | null | null | null | XVim2/XcodeHeader/DVTFoundation/DVTFileWrapper.h | jsuo/XVim2 | f0126ed41be3d04f237e81c240c5f1f36443fcbc | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 30 2018 09:30:25).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <Foundation/NSFileWrapper.h>
@class DVTFilePath;
@interface DVTFileWrapper : NSFileWrapper
{
DVTFilePath *_filePath;
CDUnknownBlockType _updateFilePathBlock;
}
@property(copy) CDUnknownBlockType updateFilePathBlock; // @synthesize updateFilePathBlock=_updateFilePathBlock;
@property(retain) DVTFilePath *filePath; // @synthesize filePath=_filePath;
- (void).cxx_destruct;
- (id)addWrapper:(id)arg1;
- (void)_updateChildFilePaths;
- (id)initWithURL:(id)arg1 options:(unsigned long long)arg2 error:(id *)arg3;
- (BOOL)writeToURL:(id)arg1 options:(unsigned long long)arg2 originalContentsURL:(id)arg3 error:(id *)arg4;
@end
| 30.62963 | 112 | 0.749698 |
a2ba1cff2c8a291f8b385b953d39e5443ba22958 | 1,370 | h | C | fifteen/source/operation.h | pavelkryukov/puzzles | caf10b5d63bb7f40e700e7c02328a8445fb26665 | [
"MIT"
] | null | null | null | fifteen/source/operation.h | pavelkryukov/puzzles | caf10b5d63bb7f40e700e7c02328a8445fb26665 | [
"MIT"
] | null | null | null | fifteen/source/operation.h | pavelkryukov/puzzles | caf10b5d63bb7f40e700e7c02328a8445fb26665 | [
"MIT"
] | null | null | null | #ifndef OPERATION_H
#define OPERATION_H
#include <ostream>
/*
* Operation class
*/
class Operation {
private:
enum EnumType {
UP = 0,
DOWN = 1,
LEFT = 2,
RIGHT = 3,
NOVALID = 4
};
// Array of string names of operations
static const char* const opNames[];
// Array of next operations
static const EnumType opNext[];
// Array of anti operations
static const EnumType opAnti[];
// Current operation
EnumType operation;
public:
// Constructor
inline Operation() { operation = UP; }
void copy(const Operation & second);
// Checks if current operation is valid
inline const bool isValid() const { return operation != NOVALID; }
bool operator!= (const Operation & secondObj) {
return (this->operation == opAnti[secondObj.operation]);
}
// Make operation on this coordinates
void operationMake(unsigned & y, unsigned & x) const;
void operationUnMake(unsigned & y, unsigned & x) const;
// Check if this operation can be made for this coordinates
bool isCorrectFor(unsigned y, unsigned x, unsigned S) const;
// Sets operation to next
inline void operator++() { operation = opNext[operation]; }
// Dump operator
friend std::ostream & operator<< (std::ostream& out, const Operation & item);
};
#endif | 23.220339 | 81 | 0.637226 |
c8203be1751133814f1c116d0821077adfb10cb3 | 21,118 | h | C | Algorithm/Shader/glsl.h | dolphin-li/ClothDesigner | 82b186d6db320b645ac67a4d32d7746cc9bdd391 | [
"MIT"
] | 32 | 2016-12-13T05:49:12.000Z | 2022-02-04T06:15:47.000Z | Algorithm/Shader/glsl.h | dolphin-li/ClothDesigner | 82b186d6db320b645ac67a4d32d7746cc9bdd391 | [
"MIT"
] | 2 | 2019-07-30T02:01:16.000Z | 2020-03-12T15:06:51.000Z | Algorithm/Shader/glsl.h | dolphin-li/ClothDesigner | 82b186d6db320b645ac67a4d32d7746cc9bdd391 | [
"MIT"
] | 18 | 2017-11-16T13:37:06.000Z | 2022-03-11T08:13:46.000Z | /******************************************************************************
glsl.h
Version: 1.0.0_rc4
Last update: 2006/11/12
* New in RC4:
> Support for Geometry Shader
> Shader Model 4: Support for unsigned integers
(Vertex Attributes are currently unsupported, but easy to integrate if
you actually need them)
> retrieve variable index with GetUniformLocation
> All setUniformXXX can use index
> Added GetProgramObject in class glShader to return the OpenGL Program Object
#TODO:
Support all vertex attribute types
Support glGetActiveAttrib
Support glGetAttribLocation
Support New Matrix Types (OpenGL 2.1)
Make SetUniformXXX / VertexXXX calls template-based
Important Note:
Make sure to check extension "GL_EXT_geometry_shader4" before using Geometry
shaders!
(c) 2003-2006 by Martin Christen. All Rights reserved.
******************************************************************************/
#ifndef A_GLSL_H
#define A_GLSL_H
//! \defgroup GLSL libglsl
#include <vector>
#include <string.h>
#include <iostream>
using namespace std;
//#define GLEW_STATIC
#include <GL\glew.h>
namespace cwc
{
class glShaderManager;
//! Shader Object holds the Shader Source, the OpenGL "Shader Object" and provides some methods to load shaders.
/*!
\ingroup GLSL
\bug This class should be an interface. (pure virtual)
*/
class glShaderObject
{
friend class glShader;
public:
glShaderObject();
virtual ~glShaderObject();
int load(const char* filename); //!< \brief Loads a shader file. \param filename The name of the ASCII file containing the shader. \return Teturns 0 if everything is ok. -1: File not found, -2: Empty File, -3: no memory
void loadFromMemory(const char* program); //!< \brief Load program from null-terminated char array. \param program Address of the memory containing the shader program.
bool compile(void); //!< compile program
char* getCompilerLog(void); //!< get compiler messages
GLint getAttribLocation(char* attribName); //!< \brief Retrieve attribute location. \return Returns attribute location. \param attribName Specify attribute name.
protected:
int program_type; //!< The program type. 1=Vertex Program, 2=Fragment Program, 3=Geometry Progam, 0=none
GLuint ShaderObject; //!< Shader Object
GLubyte* ShaderSource; //!< ASCII Source-Code
GLchar* compiler_log;
bool is_compiled; //!< true if compiled
bool _memalloc; //!< true if memory for shader source was allocated
};
//-----------------------------------------------------------------------------
//! \ingroup GLSL
class aVertexShader : public glShaderObject
{
public:
aVertexShader(); //!< Constructor for Vertex Shader
virtual ~aVertexShader();
//BUG: WTF ?
//GLuint glCreateShader(unsigned int arg1);
};
//-----------------------------------------------------------------------------
//! \ingroup GLSL
class aFragmentShader : public glShaderObject
{
public:
aFragmentShader(); //!< Constructor for Fragment Shader
virtual ~aFragmentShader();
//BUG: WTF ?
//GLuint glCreateShader(unsigned int arg1);
};
//-----------------------------------------------------------------------------
//! \ingroup GLSL
class aGeometryShader : public glShaderObject
{
public:
aGeometryShader(); //!< Constructor for Geometry Shader
virtual ~aGeometryShader();
//BUG: WTF ?
//GLuint glCreateShader(unsigned int arg1);
};
//-----------------------------------------------------------------------------
//! \ingroup GLSL
class glShader
{
friend class glShaderManager;
public:
glShader();
virtual ~glShader();
void addShader(glShaderObject* ShaderProgram); //!< add a Vertex or Fragment Program \param ShaderProgram The shader object.
//!< Returns the OpenGL Program Object (only needed if you want to control everything yourself) \return The OpenGL Program Object
GLuint GetProgramObject(){return ProgramObject;}
bool link(void); //!< Link all Shaders
char* getLinkerLog(void); //!< Get Linker Messages \return char pointer to linker messages. Memory of this string is available until you link again or destroy this class.
void begin(); //!< use Shader. OpenGL calls will go through vertex, geometry and/or fragment shaders.
void end(); //!< Stop using this shader. OpenGL calls will go through regular pipeline.
// Geometry Shader: Input Type, Output and Number of Vertices out
void SetInputPrimitiveType(int nInputPrimitiveType); //!< Set the input primitive type for the geometry shader
void SetOutputPrimitiveType(int nOutputPrimitiveType); //!< Set the output primitive type for the geometry shader
void SetVerticesOut(int nVerticesOut); //!< Set the maximal number of vertices the geometry shader can output
GLint GetUniformLocation(const GLchar *name); //!< Retrieve Location (index) of a Uniform Variable
// Submitting Uniform Variables. You can set varname to 0 and specifiy index retrieved with GetUniformLocation (best performance)
bool setUniform1f(GLchar* varname, GLfloat v0, GLint index = -1); //!< Specify value of uniform variable. \param varname The name of the uniform variable.
bool setUniform2f(GLchar* varname, GLfloat v0, GLfloat v1, GLint index = -1); //!< Specify value of uniform variable. \param varname The name of the uniform variable.
bool setUniform3f(GLchar* varname, GLfloat v0, GLfloat v1, GLfloat v2, GLint index = -1); //!< Specify value of uniform variable. \param varname The name of the uniform variable.
bool setUniform4f(GLchar* varname, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3, GLint index = -1); //!< Specify value of uniform variable. \param varname The name of the uniform variable.
bool setUniform1i(GLchar* varname, GLint v0, GLint index = -1); //!< Specify value of uniform integer variable. \param varname The name of the uniform variable.
bool setUniform2i(GLchar* varname, GLint v0, GLint v1, GLint index = -1); //!< Specify value of uniform integer variable. \param varname The name of the uniform variable.
bool setUniform3i(GLchar* varname, GLint v0, GLint v1, GLint v2, GLint index = -1); //!< Specify value of uniform integer variable. \param varname The name of the uniform variable.
bool setUniform4i(GLchar* varname, GLint v0, GLint v1, GLint v2, GLint v3, GLint index = -1); //!< Specify value of uniform integer variable. \param varname The name of the uniform variable.
// Note: unsigned integers require GL_EXT_gpu_shader4 (for example GeForce 8800)
bool setUniform1ui(GLchar* varname, GLuint v0, GLint index = -1); //!< Specify value of uniform unsigned integer variable. Only works if GL_EXT_gpu_shader4 is available. \param varname The name of the uniform variable.
bool setUniform2ui(GLchar* varname, GLuint v0, GLuint v1, GLint index = -1); //!< Specify value of uniform unsigned integer variable. Only works if GL_EXT_gpu_shader4 is available. \param varname The name of the uniform variable.
bool setUniform3ui(GLchar* varname, GLuint v0, GLuint v1, GLuint v2, GLint index = -1); //!< Specify value of uniform unsigned integer variable. Only works if GL_EXT_gpu_shader4 is available. \param varname The name of the uniform variable.
bool setUniform4ui(GLchar* varname, GLuint v0, GLuint v1, GLuint v2, GLuint v3, GLint index = -1); //!< Specify value of uniform unsigned integer variable. Only works if GL_EXT_gpu_shader4 is available. \param varname The name of the uniform variable.
// Arrays
bool setUniform1fv(GLchar* varname, GLsizei count, GLfloat *value, GLint index = -1); //!< Specify values of uniform array. \param varname The name of the uniform variable.
bool setUniform2fv(GLchar* varname, GLsizei count, GLfloat *value, GLint index = -1); //!< Specify values of uniform array. \param varname The name of the uniform variable.
bool setUniform3fv(GLchar* varname, GLsizei count, GLfloat *value, GLint index = -1); //!< Specify values of uniform array. \param varname The name of the uniform variable.
bool setUniform4fv(GLchar* varname, GLsizei count, GLfloat *value, GLint index = -1); //!< Specify values of uniform array. \param varname The name of the uniform variable.
bool setUniform1iv(GLchar* varname, GLsizei count, GLint *value, GLint index = -1); //!< Specify values of uniform array. \param varname The name of the uniform variable.
bool setUniform2iv(GLchar* varname, GLsizei count, GLint *value, GLint index = -1); //!< Specify values of uniform array. \param varname The name of the uniform variable.
bool setUniform3iv(GLchar* varname, GLsizei count, GLint *value, GLint index = -1); //!< Specify values of uniform array. \param varname The name of the uniform variable.
bool setUniform4iv(GLchar* varname, GLsizei count, GLint *value, GLint index = -1); //!< Specify values of uniform array. \param varname The name of the uniform variable.
bool setUniform1uiv(GLchar* varname, GLsizei count, GLuint *value, GLint index = -1); //!< Specify values of uniform array. Requires GL_EXT_gpu_shader4. \param varname The name of the uniform variable.
bool setUniform2uiv(GLchar* varname, GLsizei count, GLuint *value, GLint index = -1); //!< Specify values of uniform array. Requires GL_EXT_gpu_shader4. \param varname The name of the uniform variable.
bool setUniform3uiv(GLchar* varname, GLsizei count, GLuint *value, GLint index = -1); //!< Specify values of uniform array. Requires GL_EXT_gpu_shader4. \param varname The name of the uniform variable.
bool setUniform4uiv(GLchar* varname, GLsizei count, GLuint *value, GLint index = -1); //!< Specify values of uniform array. Requires GL_EXT_gpu_shader4. \param varname The name of the uniform variable.
bool setUniformMatrix2fv(GLchar* varname, GLsizei count, GLboolean transpose, GLfloat *value, GLint index = -1); //!< Specify values of uniform 2x2 matrix. \param varname The name of the uniform variable.
bool setUniformMatrix3fv(GLchar* varname, GLsizei count, GLboolean transpose, GLfloat *value, GLint index = -1); //!< Specify values of uniform 3x3 matrix. \param varname The name of the uniform variable.
bool setUniformMatrix4fv(GLchar* varname, GLsizei count, GLboolean transpose, GLfloat *value, GLint index = -1); //!< Specify values of uniform 4x4 matrix. \param varname The name of the uniform variable.
// Receive Uniform variables:
void getUniformfv(GLchar* varname, GLfloat* values, GLint index = -1); //!< Receive value of uniform variable. \param varname The name of the uniform variable.
void getUniformiv(GLchar* varname, GLint* values, GLint index = -1); //!< Receive value of uniform variable. \param varname The name of the uniform variable.
void getUniformuiv(GLchar* varname, GLuint* values, GLint index = -1); //!< Receive value of uniform variable. Requires GL_EXT_gpu_shader4 \param varname The name of the uniform variable.
/*! Bind Vertex Attribute Location
Warning: NVidia implementation is different than the GLSL standard:
GLSL attempts to eliminate aliasing of vertex attributes but this is
integral to NVIDIA�s hardware approach and necessary for maintaining
compatibility with existing OpenGL applications that NVIDIA customers rely on.
NVIDIA�s GLSL implementation therefore does not allow built-in vertex attributes
to collide with a generic vertex attributes that is assigned to a particular vertex
attribute index with glBindAttribLocation. For example, you should not use gl_Normal
(a built-in vertex attribute) and also use glBindAttribLocation to bind a generic
vertex attribute named "whatever" to vertex attribute index 2 because gl_Normal aliases to index 2.
\verbatim
gl_Vertex 0
gl_Normal 2
gl_Color 3
gl_SecondaryColor 4
gl_FogCoord 5
gl_MultiTexCoord0 8
gl_MultiTexCoord1 9
gl_MultiTexCoord2 10
gl_MultiTexCoord3 11
gl_MultiTexCoord4 12
gl_MultiTexCoord5 13
gl_MultiTexCoord6 14
gl_MultiTexCoord7 15
\endverbatim
\param index Index of the variable
\param name Name of the attribute.
*/
//! This method simply calls glBindAttribLocation for the current ProgramObject.
void BindAttribLocation(GLint index, GLchar* name);
//GLfloat
bool setVertexAttrib1f(GLuint index, GLfloat v0); //!< Specify value of attribute.
bool setVertexAttrib2f(GLuint index, GLfloat v0, GLfloat v1); //!< Specify value of attribute.
bool setVertexAttrib3f(GLuint index, GLfloat v0, GLfloat v1, GLfloat v2); //!< Specify value of attribute.
bool setVertexAttrib4f(GLuint index, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); //!< Specify value of attribute.
//GLdouble
bool setVertexAttrib1d(GLuint index, GLdouble v0); //!< Specify value of attribute.
bool setVertexAttrib2d(GLuint index, GLdouble v0, GLdouble v1); //!< Specify value of attribute.
bool setVertexAttrib3d(GLuint index, GLdouble v0, GLdouble v1, GLdouble v2); //!< Specify value of attribute.
bool setVertexAttrib4d(GLuint index, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); //!< Specify value of attribute.
//GLshort
bool setVertexAttrib1s(GLuint index, GLshort v0); //!< Specify value of attribute.
bool setVertexAttrib2s(GLuint index, GLshort v0, GLshort v1); //!< Specify value of attribute.
bool setVertexAttrib3s(GLuint index, GLshort v0, GLshort v1, GLshort v2); //!< Specify value of attribute.
bool setVertexAttrib4s(GLuint index, GLshort v0, GLshort v1, GLshort v2, GLshort v3); //!< Specify value of attribute.
// Normalized Byte (for example for RGBA colors)
bool setVertexAttribNormalizedByte(GLuint index, GLbyte v0, GLbyte v1, GLbyte v2, GLbyte v3); //!< Specify value of attribute. Values will be normalized.
//GLint (Requires GL_EXT_gpu_shader4)
bool setVertexAttrib1i(GLuint index, GLint v0); //!< Specify value of attribute. Requires GL_EXT_gpu_shader4.
bool setVertexAttrib2i(GLuint index, GLint v0, GLint v1); //!< Specify value of attribute. Requires GL_EXT_gpu_shader4.
bool setVertexAttrib3i(GLuint index, GLint v0, GLint v1, GLint v2); //!< Specify value of attribute. Requires GL_EXT_gpu_shader4.
bool setVertexAttrib4i(GLuint index, GLint v0, GLint v1, GLint v2, GLint v3); //!< Specify value of attribute. Requires GL_EXT_gpu_shader4.
//GLuint (Requires GL_EXT_gpu_shader4)
bool setVertexAttrib1ui(GLuint index, GLuint v0); //!< Specify value of attribute. Requires GL_EXT_gpu_shader4. \param v0 value of the first component
bool setVertexAttrib2ui(GLuint index, GLuint v0, GLuint v1); //!< Specify value of attribute. Requires GL_EXT_gpu_shader4.
bool setVertexAttrib3ui(GLuint index, GLuint v0, GLuint v1, GLuint v2); //!< Specify value of attribute. Requires GL_EXT_gpu_shader4.
bool setVertexAttrib4ui(GLuint index, GLuint v0, GLuint v1, GLuint v2, GLuint v3); //!< Specify value of attribute. Requires GL_EXT_gpu_shader4.
//! Enable this Shader:
void enable(void) //!< Enables Shader (Shader is enabled by default)
{
_noshader = true;
}
//! Disable this Shader:
void disable(void) //!< Disables Shader.
{
_noshader = false;
}
protected:
void manageMemory(void){_mM = true;}
void UsesGeometryShader(bool bYesNo){ _bUsesGeometryShader = bYesNo;}
private:
GLuint ProgramObject; // GLProgramObject
GLchar* linker_log;
bool is_linked;
std::vector<glShaderObject*> ShaderList; // List of all Shader Programs (i.e. vertex, fragment, geometry etc)
bool _mM;
bool _noshader;
bool _bUsesGeometryShader;
int _nInputPrimitiveType;
int _nOutputPrimitiveType;
int _nVerticesOut;
};
//-----------------------------------------------------------------------------
// To simplify the process loading/compiling/linking shaders I created this
// high level interface to simplify setup of a vertex/fragment shader.
//! \ingroup GLSL
class glShaderManager
{
public:
glShaderManager();
virtual ~glShaderManager();
// Regular GLSL (Vertex+Fragment Shader)
glShader* loadfromFile(const string& vertexFile, const string& fragmentFile); //!< load vertex/fragment shader from file. If you specify 0 for one of the shaders, the fixed function pipeline is used for that part. \param vertexFile Vertex Shader File. \param fragmentFile Fragment Shader File.
glShader* loadfromMemory(const char* vertexMem, const char* fragmentMem); //!< load vertex/fragment shader from memory. If you specify 0 for one of the shaders, the fixed function pipeline is used for that part.
// With Geometry Shader (Vertex+Geomentry+Fragment Shader)
glShader* loadfromFile(char* vertexFile, char* geometryFile, char* fragmentFile); //!< load vertex/geometry/fragment shader from file. If you specify 0 for one of the shaders, the fixed function pipeline is used for that part. \param vertexFile Vertex Shader File. \param geometryFile Geometry Shader File \param fragmentFile Fragment Shader File.
glShader* loadfromMemory(const char* vertexMem, const char* geometryMem, const char* fragmentMem); //!< load vertex/geometry/fragment shader from memory. If you specify 0 for one of the shaders, the fixed function pipeline is used for that part.
void SetInputPrimitiveType(int nInputPrimitiveType); //!< Set the input primitive type for the geometry shader \param nInputPrimitiveType Input Primitive Type, for example GL_TRIANGLES
void SetOutputPrimitiveType(int nOutputPrimitiveType); //!< Set the output primitive type for the geometry shader \param nOutputPrimitiveType Output Primitive Type, for example GL_TRIANGLE_STRIP
void SetVerticesOut(int nVerticesOut); //!< Set the maximal number of vertices the geometry shader can output \param nVerticesOut Maximal number of output vertices. It is possible to output less vertices!
bool free(glShader* o); //!< Remove the shader and free the memory occupied by this shader.
private:
std::vector<glShader*> _shaderObjectList;
int _nInputPrimitiveType;
int _nOutputPrimitiveType;
int _nVerticesOut;
};
//-----------------------------------------------------------------------------
// Global functions to initialize OpenGL Extensions and check for GLSL and
// OpenGL2. Also functions to check if Shader Model 4 is available and if
// Geometry Shaders are supported.
bool InitOpenGLExtensions(void); //!< Initialize OpenGL Extensions (using glew) \ingroup GLSL
bool HasGLSLSupport(void); //!< Returns true if OpenGL Shading Language is supported. (This function will return a GLSL version number in a future release) \ingroup GLSL
//bool HasOpenGL2Support(void); //!< Returns true if OpenGL 2.0 is supported. This function is deprecated and shouldn't be used anymore. \ingroup GLSL \deprecated
// bool HasGeometryShaderSupport(void); //!< Returns true if Geometry Shaders are supported. \ingroup GLSL
// bool HasShaderModel4(void); //!< Returns true if Shader Model 4 is supported. \ingroup GLSL
// these function names are deprecated, just here for backwards
// compatibility. It is very likely they will be removed in a future version
//#define initGLExtensions InitOpenGLExtensions
//#define checkGLSL HasGLSLSupport
//#define checkGL2 HasOpenGL2Support
//----------------------------------------------------------------------------
};
#endif // A_GLSL_H
| 62.85119 | 354 | 0.660953 |
c8504c055808973be5e7337b64acd460eef70bfb | 2,121 | h | C | math/tensor/include/tensor4.h | shrenikm/Mnyrve | 6e0f41adfc9665ab4b516db73fa64a236e684c71 | [
"MIT"
] | null | null | null | math/tensor/include/tensor4.h | shrenikm/Mnyrve | 6e0f41adfc9665ab4b516db73fa64a236e684c71 | [
"MIT"
] | 2 | 2018-11-04T07:01:20.000Z | 2018-11-17T07:40:19.000Z | math/tensor/include/tensor4.h | shrenikm/Mnyrve | 6e0f41adfc9665ab4b516db73fa64a236e684c71 | [
"MIT"
] | null | null | null | #ifndef TENSOR4_H
#define TENSOR4_H
#include "common/include/error_macros.h"
#include "third_party/Eigen/Dense"
namespace mnyrve {
namespace math {
template<typename type>
class Tensor4 {
public:
Tensor4(int height, int depth, int rows, int cols) {
height_ = height;
depth_ = depth;
rows_ = rows;
cols_ = cols;
actual_rows_ = rows*height;
actual_cols_ = cols*depth;
SetM(Eigen::Matrix<type, Eigen::Dynamic, Eigen::Dynamic>
::Zero(actual_rows_, actual_cols_));
}
int height() {
return height_;
}
int depth() {
return depth_;
}
int rows() {
return rows_;
}
int cols() {
return cols_;
}
void SetZero() {
SetM(Eigen::Matrix<type, Eigen::Dynamic, Eigen::Dynamic>
::Zero(actual_rows_, actual_cols_));
}
Eigen::Ref<Eigen::Matrix<type, Eigen::Dynamic, Eigen::Dynamic>> operator()(
int height_index, int depth_index) {
return m_.block(height_index*rows_, depth_index*cols_, rows_, cols_);
}
type& operator()(
int height_index, int depth_index, int row_index, int column_index) {
return m_(height_index*rows_ + row_index,
depth_index*cols_ + column_index);
}
bool isApprox(Tensor4<type> tensor) {
MN_REQUIRE(((this->height() == tensor.height()) &&
(this->depth() == tensor.depth()) &&
(this->rows() == tensor.rows()) &&
(this->cols() == tensor.cols())),
"Tensor dimensions must match.");
bool res{true};
for (int i = 0; i < tensor.height(); i++) {
for (int j = 0; j < tensor.depth(); j++) {
res = res && (this->operator()(i, j).isApprox(tensor(i, j)));
}
}
return res;
}
private:
int height_;
int depth_;
int rows_;
int cols_;
int actual_rows_;
int actual_cols_;
Eigen::Matrix<type, Eigen::Dynamic, Eigen::Dynamic> m_;
void SetM(Eigen::Matrix<type, Eigen::Dynamic, Eigen::Dynamic> m) {
m_ = m;
}
};
} // namespace math
} // namespace mnyrve
#endif
| 20.009434 | 79 | 0.574729 |
83340fb74dbdbce8389f932de974fbc73460175e | 2,226 | h | C | include/CoreText/CTStringAttributes.h | crossmob/WinObjC | 7bec24671c4c18b81aaf85eff2887438f18a697c | [
"MIT"
] | 6,717 | 2015-08-06T18:04:37.000Z | 2019-05-04T12:38:51.000Z | include/CoreText/CTStringAttributes.h | Michael-Young48/WinObjC | 7bec24671c4c18b81aaf85eff2887438f18a697c | [
"MIT"
] | 2,711 | 2015-08-06T18:41:09.000Z | 2019-04-29T12:14:23.000Z | include/CoreText/CTStringAttributes.h | Michael-Young48/WinObjC | 7bec24671c4c18b81aaf85eff2887438f18a697c | [
"MIT"
] | 1,021 | 2015-08-06T18:08:56.000Z | 2019-04-14T06:50:57.000Z | //******************************************************************************
//
// Copyright (c) Microsoft. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
//******************************************************************************
#pragma once
#import <CoreText/CoreTextExport.h>
#import <CoreFoundation/CFString.h>
typedef int32_t CTUnderlineStyle;
typedef int32_t CTUnderlineStyleModifiers;
enum { kCTUnderlineStyleNone = 0x00, kCTUnderlineStyleSingle = 0x01, kCTUnderlineStyleThick = 0x02, kCTUnderlineStyleDouble = 0x09 };
enum {
kCTUnderlinePatternSolid = 0x0000,
kCTUnderlinePatternDot = 0x0100,
kCTUnderlinePatternDash = 0x0200,
kCTUnderlinePatternDashDot = 0x0300,
kCTUnderlinePatternDashDotDot = 0x0400
};
CORETEXT_EXPORT const CFStringRef kCTCharacterShapeAttributeName;
CORETEXT_EXPORT const CFStringRef kCTFontAttributeName;
CORETEXT_EXPORT const CFStringRef kCTKernAttributeName;
CORETEXT_EXPORT const CFStringRef kCTLigatureAttributeName;
CORETEXT_EXPORT const CFStringRef kCTForegroundColorAttributeName;
CORETEXT_EXPORT const CFStringRef kCTForegroundColorFromContextAttributeName;
CORETEXT_EXPORT const CFStringRef kCTParagraphStyleAttributeName;
CORETEXT_EXPORT const CFStringRef kCTStrokeWidthAttributeName;
CORETEXT_EXPORT const CFStringRef kCTStrokeColorAttributeName;
CORETEXT_EXPORT const CFStringRef kCTSuperscriptAttributeName;
CORETEXT_EXPORT const CFStringRef kCTUnderlineColorAttributeName;
CORETEXT_EXPORT const CFStringRef kCTUnderlineStyleAttributeName;
CORETEXT_EXPORT const CFStringRef kCTVerticalFormsAttributeName;
CORETEXT_EXPORT const CFStringRef kCTGlyphInfoAttributeName;
CORETEXT_EXPORT const CFStringRef kCTRunDelegateAttributeName;
| 46.375 | 133 | 0.779425 |
0314f3493e2a1176ff6e55de23bd396a689384f9 | 853 | h | C | oneEngine/oneGame/source/renderer/object/postprocess/effects/CBloomShader.h | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 8 | 2017-12-08T02:59:31.000Z | 2022-02-02T04:30:03.000Z | oneEngine/oneGame/source/renderer/object/postprocess/effects/CBloomShader.h | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 2 | 2021-04-16T03:44:42.000Z | 2021-08-30T06:48:44.000Z | oneEngine/oneGame/source/renderer/object/postprocess/effects/CBloomShader.h | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 1 | 2021-04-16T02:09:54.000Z | 2021-04-16T02:09:54.000Z |
#ifndef _C_BLOOM_SHADER_H_
#define _C_BLOOM_SHADER_H_
#include "../CScreenShader.h"
class CBloomShader : public CScreenShader
{
RegisterRenderClassName( "BloomShader" );
public:
RENDER_API CBloomShader ( void );
RENDER_API ~CBloomShader ( void );
RENDER_API void SetParameters ( const Real threshold, const Real gradient );
RENDER_API void SetBlur ( const Real amount );
RENDER_API void SetRed ( const Real amount );
protected:
// Checks the buffer for any change in the main buffer
// Is called during rendering to make sure stuff works
virtual void UpdateBuffer ( void );
void DrawOutput ( void );
void PredrawOutput ( void );
void Copy ( void );
RrRenderTexture* half_buf;
RrRenderTexture* buf_4th;
RrRenderTexture* buf_16th;
Real m_threshold;
Real m_gradient;
Real m_blur;
Real m_red;
};
#endif//_C_BLOOM_SHADER_H_ | 21.325 | 77 | 0.751465 |
03e7025aaa494b345db3fd6a3b4a6a1ee1bbca9c | 901 | h | C | src/node/service.h | fritzalder/CCF | a156bbf51dfa60bbcab28a1c9de0c4a85187751d | [
"Apache-2.0"
] | null | null | null | src/node/service.h | fritzalder/CCF | a156bbf51dfa60bbcab28a1c9de0c4a85187751d | [
"Apache-2.0"
] | 2 | 2022-02-03T06:32:47.000Z | 2022-02-09T23:00:07.000Z | src/node/service.h | securelogicgroup/CCF | 2bad8ca6caa146e6b7cd4167fea551d61fecabfa | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
#pragma once
#include "ds/json.h"
#include "entities.h"
#include "service_map.h"
namespace ccf
{
enum class ServiceStatus
{
OPENING = 1,
OPEN = 2,
WAITING_FOR_RECOVERY_SHARES = 3,
CLOSED = 4 // For now, unused
};
DECLARE_JSON_ENUM(
ServiceStatus,
{{ServiceStatus::OPENING, "Opening"},
{ServiceStatus::OPEN, "Open"},
{ServiceStatus::WAITING_FOR_RECOVERY_SHARES, "WaitingForRecoveryShares"},
{ServiceStatus::CLOSED, "Closed"}});
struct ServiceInfo
{
crypto::Pem cert;
ServiceStatus status;
};
DECLARE_JSON_TYPE(ServiceInfo);
DECLARE_JSON_REQUIRED_FIELDS(ServiceInfo, cert, status);
// As there is only one service active at a given time, it is stored in single
// Value in the KV
using Service = ServiceValue<ServiceInfo>;
} | 24.351351 | 80 | 0.699223 |
237ad8392b6bca96c4e126cd261d47d8d74663ae | 2,715 | h | C | Code/Modules/mutalisk/psp/pspXcompile.h | mrneo240/suicide-barbie | c8b01f9c04755e7f6d1d261fc4a1600cd6705b96 | [
"MIT"
] | 57 | 2021-01-02T00:18:22.000Z | 2022-03-27T14:40:25.000Z | Code/Modules/mutalisk/psp/pspXcompile.h | mrneo240/suicide-barbie | c8b01f9c04755e7f6d1d261fc4a1600cd6705b96 | [
"MIT"
] | 1 | 2021-01-05T20:43:02.000Z | 2021-01-11T23:04:41.000Z | Code/Modules/mutalisk/psp/pspXcompile.h | mrneo240/suicide-barbie | c8b01f9c04755e7f6d1d261fc4a1600cd6705b96 | [
"MIT"
] | 8 | 2021-01-01T22:34:43.000Z | 2022-03-22T01:21:26.000Z | #ifndef MUTALISK_PSP_XCOMPILE_H_
#define MUTALISK_PSP_XCOMPILE_H_
#include "../cfg.h"
namespace mutalisk { namespace pspgu
{
/* Primitive types */
#define GU_POINTS (0)
#define GU_LINES (1)
#define GU_LINE_STRIP (2)
#define GU_TRIANGLES (3)
#define GU_TRIANGLE_STRIP (4)
#define GU_TRIANGLE_FAN (5)
#define GU_SPRITES (6)
/* Vertex Declarations Begin */
#define GU_TEXTURE_SHIFT(n) ((n)<<0)
#define GU_TEXTURE_8BIT GU_TEXTURE_SHIFT(1)
#define GU_TEXTURE_16BIT GU_TEXTURE_SHIFT(2)
#define GU_TEXTURE_32BITF GU_TEXTURE_SHIFT(3)
#define GU_TEXTURE_BITS GU_TEXTURE_SHIFT(3)
#define GU_COLOR_SHIFT(n) ((n)<<2)
#define GU_COLOR_RES1 GU_COLOR_SHIFT(1)
#define GU_COLOR_RES2 GU_COLOR_SHIFT(2)
#define GU_COLOR_RES3 GU_COLOR_SHIFT(3)
#define GU_COLOR_5650 GU_COLOR_SHIFT(4)
#define GU_COLOR_5551 GU_COLOR_SHIFT(5)
#define GU_COLOR_4444 GU_COLOR_SHIFT(6)
#define GU_COLOR_8888 GU_COLOR_SHIFT(7)
#define GU_COLOR_BITS GU_COLOR_SHIFT(7)
#define GU_NORMAL_SHIFT(n) ((n)<<5)
#define GU_NORMAL_8BIT GU_NORMAL_SHIFT(1)
#define GU_NORMAL_16BIT GU_NORMAL_SHIFT(2)
#define GU_NORMAL_32BITF GU_NORMAL_SHIFT(3)
#define GU_NORMAL_BITS GU_NORMAL_SHIFT(3)
#define GU_VERTEX_SHIFT(n) ((n)<<7)
#define GU_VERTEX_8BIT GU_VERTEX_SHIFT(1)
#define GU_VERTEX_16BIT GU_VERTEX_SHIFT(2)
#define GU_VERTEX_32BITF GU_VERTEX_SHIFT(3)
#define GU_VERTEX_BITS GU_VERTEX_SHIFT(3)
#define GU_WEIGHT_SHIFT(n) ((n)<<9)
#define GU_WEIGHT_8BIT GU_WEIGHT_SHIFT(1)
#define GU_WEIGHT_16BIT GU_WEIGHT_SHIFT(2)
#define GU_WEIGHT_32BITF GU_WEIGHT_SHIFT(3)
#define GU_WEIGHT_BITS GU_WEIGHT_SHIFT(3)
#define GU_INDEX_SHIFT(n) ((n)<<11)
#define GU_INDEX_8BIT GU_INDEX_SHIFT(1)
#define GU_INDEX_16BIT GU_INDEX_SHIFT(2)
#define GU_INDEX_BITS GU_INDEX_SHIFT(3)
#define GU_WEIGHTS(n) ((((n)-1)&7)<<14)
#define GU_WEIGHTS_BITS GU_WEIGHTS(8)
#define GU_VERTICES(n) ((((n)-1)&7)<<18)
#define GU_VERTICES_BITS GU_VERTICES(8)
#define GU_TRANSFORM_SHIFT(n) ((n)<<23)
#define GU_TRANSFORM_3D GU_TRANSFORM_SHIFT(0)
#define GU_TRANSFORM_2D GU_TRANSFORM_SHIFT(1)
#define GU_TRANSFORM_BITS GU_TRANSFORM_SHIFT(1)
/* Vertex Declarations End */
/* Pixel Formats */
#define GU_PSM_5650 (0) /* Display, Texture, Palette */
#define GU_PSM_5551 (1) /* Display, Texture, Palette */
#define GU_PSM_4444 (2) /* Display, Texture, Palette */
#define GU_PSM_8888 (3) /* Display, Texture, Palette */
#define GU_PSM_T4 (4) /* Texture */
#define GU_PSM_T8 (5) /* Texture */
#define GU_PSM_T16 (6) /* Texture */
#define GU_PSM_T32 (7) /* Texture */
#define GU_PSM_DXT1 (8) /* Texture */
#define GU_PSM_DXT3 (9) /* Texture */
#define GU_PSM_DXT5 (10) /* Texture */
} // namespace data
} // namespace mutalisk
#endif // MUTALISK_PSP_XCOMPILE_H_
| 31.206897 | 56 | 0.760958 |
c1864705fe5257cc6086a771455a89a72d6b5c31 | 13,025 | c | C | bin/R-3.5.1/src/modules/internet/Rsock.c | lifebit-ai/exomedepth | 5a775ae5e2a247aeadc5208a34e8717c7855d080 | [
"MIT"
] | 1 | 2019-07-28T20:32:29.000Z | 2019-07-28T20:32:29.000Z | bin/R-3.5.1/src/modules/internet/Rsock.c | lifebit-ai/exomedepth | 5a775ae5e2a247aeadc5208a34e8717c7855d080 | [
"MIT"
] | 1 | 2020-04-22T14:02:10.000Z | 2020-04-22T14:02:10.000Z | bin/R-3.5.1/src/modules/internet/Rsock.c | lifebit-ai/exomedepth | 5a775ae5e2a247aeadc5208a34e8717c7855d080 | [
"MIT"
] | 1 | 2018-08-29T09:43:52.000Z | 2018-08-29T09:43:52.000Z | /*
* R : A Computer Language for Statistical Data Analysis
* Copyright (C) 1998-2017 The R Core Team
* Copyright (C) 1996, 1997 Robert Gentleman and Ross Ihaka
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, a copy is available at
* https://www.R-project.org/Licenses/
*/
/* <UTF8> chars are handled as a whole */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
extern void R_ProcessEvents(void);
#ifdef Win32
#define R_SelectEx(n,rfd,wrd,efd,tv,ih) select(n,rfd,wrd,efd,tv)
#endif
#ifdef HAVE_STRINGS_H
/* may be needed to define bzero in FD_ZERO (eg AIX) */
#include <strings.h>
#endif
#include <stdlib.h> /* for NULL */
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
/* #include <errno.h>*/
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "sock.h"
#include <R_ext/Print.h> // for REprintf
#include <Rmath.h> /* for ceil */
static int sock_inited = 0;
static struct Sock_error_t perr;
static int enter_sock(int fd)
{
#ifdef DEBUG
printf("enter_sock(%d)\n", fd);
#endif
if (fd == -1) return 0; else return fd;
}
static int close_sock(int fd)
{
perr.error = 0;
int res = Sock_close(fd, &perr);
if (res == -1) {
REprintf("socket error: %s\n", strerror(perr.error));
return -1;
}
return 0;
}
static void check_init(void)
{
if (! sock_inited) {
#ifdef DEBUG
printf("initing\n");
#endif
Sock_init();
sock_inited = 1;
}
}
void in_Rsockopen(int *port)
{
check_init();
perr.error = 0;
*port = enter_sock(Sock_open((Sock_port_t)*port, &perr));
if(perr.error) REprintf("socket error: %s\n", strerror(perr.error));
}
void in_Rsocklisten(int *sockp, char **buf, int *len)
{
check_init();
perr.error = 0;
*sockp = enter_sock(Sock_listen(*sockp, *buf , *len, &perr));
if(perr.error) REprintf("socket error: %s\n", strerror(perr.error));
}
void in_Rsockconnect(int *port, char **host)
{
check_init();
#ifdef DEBUG
printf("connect to %d at %s\n",*port, *host);
#endif
perr.error = perr.h_error = 0;
*port = enter_sock(Sock_connect((Sock_port_t)*port, *host, &perr));
// if(perr.h_error) REprintf("host lookup error: %s\n", hstrerror(perr.h_error));
if(perr.error)
REprintf("socket error: %s\n", strerror(perr.error));
}
void in_Rsockclose(int *sockp)
{
*sockp = close_sock(*sockp);
}
void in_Rsockread(int *sockp, char **buf, int *maxlen)
{
check_init();
#ifdef DEBUG
printf("Reading from %d\n",*sockp);
#endif
perr.error = 0;
*maxlen = (int) Sock_read(*sockp, *buf, *maxlen, &perr);
if(perr.error) REprintf("socket error: %s\n", strerror(perr.error));
}
void in_Rsockwrite(int *sockp, char **buf, int *start, int *end, int *len)
{
ssize_t n;
if (*end > *len)
*end = *len;
if (*start < 0)
*start = 0;
if (*end < *start) {
*len = -1;
return;
}
check_init();
#ifdef DEBUG
printf("writing %s to %d", *buf, *sockp);
#endif
perr.error = 0;
n = Sock_write(*sockp, *buf + *start, *end - *start, &perr);
*len = (int) n;
if(perr.error) REprintf("socket error: %s\n", strerror(perr.error));
}
/* --------- for use in socket connections ---------- */
#include <R_ext/R-ftp-http.h>
#ifdef Win32
#include <winsock2.h>
#include <io.h>
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EINPROGRESS WSAEINPROGRESS
#else
# include <netdb.h>
# include <sys/socket.h>
# include <netinet/in.h>
#endif
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
#ifndef Win32
#define closesocket(s) close(s)
#define SOCKET int
#endif
static int socket_errno(void)
{
#ifdef Win32
return(WSAGetLastError());
#else
return(errno);
#endif
}
#ifdef Unix
#include <R_ext/eventloop.h>
/* modified from src/unix/sys-std.c */
static int
setSelectMask(InputHandler *handlers, fd_set *readMask)
{
int maxfd = -1;
InputHandler *tmp = handlers;
FD_ZERO(readMask);
while(tmp) {
if(tmp->fileDescriptor > 0) {
FD_SET(tmp->fileDescriptor, readMask);
maxfd = maxfd < tmp->fileDescriptor ? tmp->fileDescriptor : maxfd;
}
tmp = tmp->next;
}
return(maxfd);
}
#endif
static int R_SocketWait(int sockfd, int write, int timeout)
{
fd_set rfd, wfd;
struct timeval tv;
double used = 0.0;
while(1) {
int maxfd = 0, howmany;
R_ProcessEvents();
#ifdef Unix
if(R_wait_usec > 0) {
tv.tv_sec = 0;
tv.tv_usec = R_wait_usec;
} else {
tv.tv_sec = timeout;
tv.tv_usec = 0;
}
#elif defined(Win32)
tv.tv_sec = 0;
tv.tv_usec = 2e5;
#else
tv.tv_sec = timeout;
tv.tv_usec = 0;
#endif
#ifdef Unix
maxfd = setSelectMask(R_InputHandlers, &rfd);
#else
FD_ZERO(&rfd);
#endif
FD_ZERO(&wfd);
if(write) FD_SET(sockfd, &wfd); else FD_SET(sockfd, &rfd);
if(maxfd < sockfd) maxfd = sockfd;
/* increment used value _before_ the select in case select
modifies tv (as Linux does) */
used += tv.tv_sec + 1e-6 * tv.tv_usec;
howmany = R_SelectEx(maxfd+1, &rfd, &wfd, NULL, &tv, NULL);
if (howmany < 0) {
return -socket_errno();
}
if (howmany == 0) {
if(used >= timeout) return 1;
continue;
}
#ifdef Unix
if((!write && !FD_ISSET(sockfd, &rfd)) ||
(write && !FD_ISSET(sockfd, &wfd)) || howmany > 1) {
/* was one of the extras */
InputHandler *what;
what = getSelectedHandler(R_InputHandlers, &rfd);
if(what != NULL) what->handler((void*) NULL);
continue;
}
#endif
/* the socket was ready */
break;
}
return 0;
}
/**** FIXME: merge with R_SocketWait */
/**** FIXME: add timeout argument instead of using global?? */
int R_SocketWaitMultiple(int nsock, int *insockfd, int *ready, int *write,
double mytimeout)
{
fd_set rfd, wfd;
struct timeval tv;
double used = 0.0;
int nready = 0;
while(1) {
int maxfd = 0, howmany, i;
R_ProcessEvents();
#ifdef Unix
if(R_wait_usec > 0) {
int delta;
if (mytimeout < 0 || R_wait_usec / 1e-6 < mytimeout - used)
delta = R_wait_usec;
else
delta = (int)ceil(1e6 * (mytimeout - used));
tv.tv_sec = 0;
tv.tv_usec = delta;
} else if (mytimeout >= 0) {
tv.tv_sec = (int)(mytimeout - used);
tv.tv_usec = (int)ceil(1e6 * (mytimeout - used - tv.tv_sec));
} else { /* always poll occationally--not really necessary */
tv.tv_sec = 60;
tv.tv_usec = 0;
}
#elif defined(Win32)
tv.tv_sec = 0;
tv.tv_usec = 2e5;
#else
if (mytimeout >= 0) {
tv.tv_sec = mytimeout - used;
tv.tv_usec = ceil(1e6 * (mytimeout - used - tv.tv_sec));
} else { /* always poll occasionally--not really necessary */
tv.tv_sec = timeout;
tv.tv_usec = 0;
}
#endif
#ifdef Unix
maxfd = setSelectMask(R_InputHandlers, &rfd);
#else
FD_ZERO(&rfd);
#endif
FD_ZERO(&wfd);
for (i = 0; i < nsock; i++) {
if(write[i]) FD_SET(insockfd[i], &wfd);
else FD_SET(insockfd[i], &rfd);
if(maxfd < insockfd[i]) maxfd = insockfd[i];
}
/* increment used value _before_ the select in case select
modifies tv (as Linux does) */
used += tv.tv_sec + 1e-6 * tv.tv_usec;
howmany = R_SelectEx(maxfd+1, &rfd, &wfd, NULL, &tv, NULL);
if (howmany < 0) {
return -socket_errno();
}
if (howmany == 0) {
if(mytimeout >= 0 && used >= mytimeout) {
for (i = 0; i < nsock; i++)
ready[i] = 0; /* FALSE */
return 0;
}
continue;
}
for (i = 0; i < nsock; i++)
if ((!write[i] && FD_ISSET(insockfd[i], &rfd)) ||
(write[i] && FD_ISSET(insockfd[i], &wfd))) {
ready[i] = 1; /* TRUE */
nready++;
}
else ready[i] = 0; /* FALSE */
#ifdef Unix
if(howmany > nready) {
/* one of the extras is ready */
InputHandler *what;
what = getSelectedHandler(R_InputHandlers, &rfd);
if(what != NULL) what->handler((void*) NULL);
continue;
}
#endif
/* some sockets are ready */
break;
}
return nready;
}
int in_Rsockselect(int nsock, int *insockfd, int *ready, int *write,
double timeout)
{
return R_SocketWaitMultiple(nsock, insockfd, ready, write, timeout);
}
int R_SockConnect(int port, char *host, int timeout)
{
SOCKET s;
fd_set wfd, rfd;
struct timeval tv;
int status = 0;
double used = 0.0;
struct sockaddr_in server;
struct hostent *hp;
check_init();
s = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
if (s == -1) return -1;
#define CLOSE_N_RETURN(_ST_) { closesocket(s); return(_ST_); }
#ifdef Win32
{
u_long one = 1;
status = ioctlsocket(s, FIONBIO, &one) == SOCKET_ERROR ? -1 : 0;
}
#else
# ifdef HAVE_FCNTL
if ((status = fcntl(s, F_GETFL, 0)) != -1) {
# ifdef O_NONBLOCK
status |= O_NONBLOCK;
# else /* O_NONBLOCK */
# ifdef F_NDELAY
status |= F_NDELAY;
# endif
# endif /* !O_NONBLOCK */
status = fcntl(s, F_SETFL, status);
}
# endif // HAVE_FCNTL
if (status < 0) {
CLOSE_N_RETURN(-1);
}
#endif
if (! (hp = gethostbyname(host))) CLOSE_N_RETURN(-1);
memcpy((char *)&server.sin_addr, hp->h_addr_list[0], hp->h_length);
server.sin_port = htons((short)port);
server.sin_family = AF_INET;
if ((connect(s, (struct sockaddr *) &server, sizeof(server)) == -1)) {
switch (socket_errno()) {
case EINPROGRESS:
case EWOULDBLOCK:
break;
default:
CLOSE_N_RETURN(-1);
}
}
while(1) {
int maxfd = 0;
R_ProcessEvents();
#ifdef Unix
if(R_wait_usec > 0) {
R_PolledEvents();
tv.tv_sec = 0;
tv.tv_usec = R_wait_usec;
} else {
tv.tv_sec = timeout;
tv.tv_usec = 0;
}
#elif defined(Win32)
tv.tv_sec = 0;
tv.tv_usec = 2e5;
#else
tv.tv_sec = timeout;
tv.tv_usec = 0;
#endif
#ifdef Unix
maxfd = setSelectMask(R_InputHandlers, &rfd);
#else
FD_ZERO(&rfd);
#endif
FD_ZERO(&wfd);
FD_SET(s, &wfd);
if(maxfd < s) maxfd = s;
switch(R_SelectEx(maxfd+1, &rfd, &wfd, NULL, &tv, NULL))
{
case 0:
/* Time out */
used += tv.tv_sec + 1e-6 * tv.tv_usec;
if(used < timeout) continue;
CLOSE_N_RETURN(-1);
case -1:
/* Ermm.. ?? */
CLOSE_N_RETURN(-1);
}
if ( FD_ISSET(s, &wfd) ) {
R_SOCKLEN_T len;
len = sizeof(status);
if (getsockopt(s, SOL_SOCKET, SO_ERROR, (char*)&status, &len) < 0){
/* Solaris error code */
return (-1);
}
if ( status ) {
errno = status;
CLOSE_N_RETURN(-1);
} else return(s);
#ifdef Unix
} else { /* some other handler needed */
InputHandler *what;
what = getSelectedHandler(R_InputHandlers, &rfd);
if(what != NULL) what->handler((void*) NULL);
continue;
#endif
}
}
/* not reached
return(-1); */
}
int R_SockClose(int sockp)
{
return closesocket(sockp);
}
ssize_t R_SockRead(int sockp, void *buf, size_t len, int blocking, int timeout)
{
ssize_t res;
if(blocking && (res = R_SocketWait(sockp, 0, timeout)) != 0)
return res < 0 ? res : 0; /* socket error or timeout */
res = recv(sockp, buf, len, 0);
return (res >= 0) ? res : -socket_errno();
}
int R_SockOpen(int port)
{
check_init();
return Sock_open((Sock_port_t)port, NULL);
}
int R_SockListen(int sockp, char *buf, int len, int timeout)
{
check_init();
/* inserting a wait here will eliminate most blocking, but there
are scenarios under which the Sock_listen call might block
after the wait has completed. LT */
int res = 0;
do {
res = R_SocketWait(sockp, 0, timeout);
} while (res < 0 && -res == EINTR);
if(res != 0)
return -1; /* socket error or timeout */
return Sock_listen(sockp, buf, len, NULL);
}
ssize_t R_SockWrite(int sockp, const void *buf, size_t len, int timeout)
{
ssize_t res, out = 0;
/* Rprintf("socket %d writing |%s|\n", sockp, buf); */
/* This function is not passed a `blocking' argument so the code
here is equivalent to blocking == TRUE; it's not clear
non-blocking writes make much sense with the current connection
interface since there is no way to tell how much, if anything,
has been written. LT */
do {
if((res = R_SocketWait(sockp, 1, timeout)) != 0)
return res < 0 ? res : 0; /* socket error or timeout */
res = send(sockp, buf, len, 0);
if (res < 0 && socket_errno() != EWOULDBLOCK)
return -socket_errno();
else {
{ const char *cbuf = buf; cbuf += res; buf = cbuf; }
len -= res;
out += res;
}
} while (/* ! blocking && */len > 0);
return out;
}
| 22.891037 | 84 | 0.623033 |
c1acf46641f577bed52a7e3984956e6cbc864e16 | 3,550 | h | C | src/addons/PhysiBoSSa/MaBoSS-env-2.0/engine/src/EnsembleEngine.h | pradas/pba_spheroidTNF | 0956b09926d5cfa08df88257894c9b7a7934f12c | [
"BSD-3-Clause"
] | 6 | 2020-11-11T08:45:12.000Z | 2021-09-15T14:31:07.000Z | src/addons/PhysiBoSSa/MaBoSS-env-2.0/engine/src/EnsembleEngine.h | pradas/pba_spheroidTNF | 0956b09926d5cfa08df88257894c9b7a7934f12c | [
"BSD-3-Clause"
] | null | null | null | src/addons/PhysiBoSSa/MaBoSS-env-2.0/engine/src/EnsembleEngine.h | pradas/pba_spheroidTNF | 0956b09926d5cfa08df88257894c9b7a7934f12c | [
"BSD-3-Clause"
] | 2 | 2021-05-30T14:33:46.000Z | 2021-07-16T09:30:19.000Z | /*
MaBoSS (Markov Boolean Stochastic Simulator)
Copyright (C) 2011-2019 Institut Curie, 26 rue d'Ulm, Paris, France
MaBoSS is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
MaBoSS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
Module:
EnsembleEngine.h
Authors:
Vincent Noel <contact@vincent-noel.fr>
Date:
March 2019
*/
#ifndef _ENSEMBLEENGINE_H_
#define _ENSEMBLEENGINE_H_
#include <string>
#include <map>
#include <vector>
#include <assert.h>
#include "MetaEngine.h"
#include "BooleanNetwork.h"
#include "Cumulator.h"
#include "RandomGenerator.h"
#include "RunConfig.h"
struct EnsembleArgWrapper;
class EnsembleEngine : public MetaEngine {
std::vector<Network*> networks;
std::vector<Cumulator*> cumulators_per_model; // The final Cumulators for each model
std::vector<STATE_MAP<NetworkState_Impl, unsigned int>* > fixpoints_per_model; // The final fixpoints for each model
bool save_individual_result; // Do we want to save individual model simulation result
bool random_sampling; // Randomly select the number of simulation per model
std::vector<std::vector<unsigned int> > simulation_indices_v; // The list of indices of models to simulate for each thread
std::vector<std::vector<Cumulator*> > cumulator_models_v; // The results for each model, by thread
std::vector<std::vector<Cumulator*> > cumulators_thread_v; // The results for each model, by model
std::vector<std::vector<STATE_MAP<NetworkState_Impl, unsigned int>*> > fixpoints_models_v; // The fixpoints for each model, by thread
std::vector<std::vector<STATE_MAP<NetworkState_Impl, unsigned int>*> > fixpoints_threads_v; // The fixpoints for each model, by thread
std::vector<EnsembleArgWrapper*> arg_wrapper_v;
NodeIndex getTargetNode(Network* network, RandomGenerator* random_generator, const MAP<NodeIndex, double>& nodeTransitionRates, double total_rate) const;
double computeTH(const MAP<NodeIndex, double>& nodeTransitionRates, double total_rate) const;
void epilogue();
static void* threadWrapper(void *arg);
void runThread(Cumulator* cumulator, unsigned int start_count_thread, unsigned int sample_count_thread, RandomGeneratorFactory* randgen_factory, int seed, STATE_MAP<NetworkState_Impl, unsigned int>* fixpoint_map, std::ostream* output_traj, std::vector<unsigned int> simulation_ind, std::vector<Cumulator*> t_models_cumulators, std::vector<STATE_MAP<NetworkState_Impl, unsigned int>* > t_models_fixpoints);
void mergeEnsembleFixpointMaps();
public:
static const std::string VERSION;
EnsembleEngine(std::vector<Network*> network, RunConfig* runconfig, bool save_individual_result=false, bool random_sampling=false);
void run(std::ostream* output_traj);
void displayIndividual(unsigned int model_id, std::ostream& output_probtraj, std::ostream& output_statdist, std::ostream& output_fp, bool hexfloat = false) const;
~EnsembleEngine();
};
#endif
| 42.771084 | 407 | 0.766761 |
968a0cadd57f6e63ca3c06ca2dba5a9d0b894d78 | 8,287 | h | C | 3rdParty/V8/v7.9.317/src/interpreter/constant-array-builder.h | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | 3rdParty/V8/v7.9.317/src/interpreter/constant-array-builder.h | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | 3rdParty/V8/v7.9.317/src/interpreter/constant-array-builder.h | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 892 | 2015-01-29T16:26:19.000Z | 2022-03-20T07:44:30.000Z | // Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_
#define V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_
#include "src/ast/ast-value-factory.h"
#include "src/common/globals.h"
#include "src/interpreter/bytecodes.h"
#include "src/objects/smi.h"
#include "src/utils/identity-map.h"
#include "src/zone/zone-containers.h"
namespace v8 {
namespace internal {
class Isolate;
class AstRawString;
class AstValue;
namespace interpreter {
// Constant array entries that represent singletons.
#define SINGLETON_CONSTANT_ENTRY_TYPES(V) \
V(AsyncIteratorSymbol, async_iterator_symbol) \
V(ClassFieldsSymbol, class_fields_symbol) \
V(EmptyObjectBoilerplateDescription, empty_object_boilerplate_description) \
V(EmptyArrayBoilerplateDescription, empty_array_boilerplate_description) \
V(EmptyFixedArray, empty_fixed_array) \
V(HomeObjectSymbol, home_object_symbol) \
V(IteratorSymbol, iterator_symbol) \
V(InterpreterTrampolineSymbol, interpreter_trampoline_symbol) \
V(NaN, nan_value)
// A helper class for constructing constant arrays for the
// interpreter. Each instance of this class is intended to be used to
// generate exactly one FixedArray of constants via the ToFixedArray
// method.
class V8_EXPORT_PRIVATE ConstantArrayBuilder final {
public:
// Capacity of the 8-bit operand slice.
static const size_t k8BitCapacity = 1u << kBitsPerByte;
// Capacity of the 16-bit operand slice.
static const size_t k16BitCapacity = (1u << 2 * kBitsPerByte) - k8BitCapacity;
// Capacity of the 32-bit operand slice.
static const size_t k32BitCapacity =
kMaxUInt32 - k16BitCapacity - k8BitCapacity + 1;
explicit ConstantArrayBuilder(Zone* zone);
// Generate a fixed array of constant handles based on inserted objects.
Handle<FixedArray> ToFixedArray(Isolate* isolate);
// Returns the object, as a handle in |isolate|, that is in the constant pool
// array at index |index|. Returns null if there is no handle at this index.
// Only expected to be used in tests.
MaybeHandle<Object> At(size_t index, Isolate* isolate) const;
// Returns the number of elements in the array.
size_t size() const;
// Insert an object into the constants array if it is not already present.
// Returns the array index associated with the object.
size_t Insert(Smi smi);
size_t Insert(double number);
size_t Insert(const AstRawString* raw_string);
size_t Insert(AstBigInt bigint);
size_t Insert(const Scope* scope);
#define INSERT_ENTRY(NAME, ...) size_t Insert##NAME();
SINGLETON_CONSTANT_ENTRY_TYPES(INSERT_ENTRY)
#undef INSERT_ENTRY
// Inserts an empty entry and returns the array index associated with the
// reservation. The entry's handle value can be inserted by calling
// SetDeferredAt().
size_t InsertDeferred();
// Inserts |size| consecutive empty entries and returns the array index
// associated with the first reservation. Each entry's Smi value can be
// inserted by calling SetJumpTableSmi().
size_t InsertJumpTable(size_t size);
// Sets the deferred value at |index| to |object|.
void SetDeferredAt(size_t index, Handle<Object> object);
// Sets the jump table entry at |index| to |smi|. Note that |index| is the
// constant pool index, not the switch case value.
void SetJumpTableSmi(size_t index, Smi smi);
// Creates a reserved entry in the constant pool and returns
// the size of the operand that'll be required to hold the entry
// when committed.
OperandSize CreateReservedEntry();
// Commit reserved entry and returns the constant pool index for the
// SMI value.
size_t CommitReservedEntry(OperandSize operand_size, Smi value);
// Discards constant pool reservation.
void DiscardReservedEntry(OperandSize operand_size);
private:
using index_t = uint32_t;
struct ConstantArraySlice;
class Entry {
private:
enum class Tag : uint8_t;
public:
explicit Entry(Smi smi) : smi_(smi), tag_(Tag::kSmi) {}
explicit Entry(double heap_number)
: heap_number_(heap_number), tag_(Tag::kHeapNumber) {}
explicit Entry(const AstRawString* raw_string)
: raw_string_(raw_string), tag_(Tag::kRawString) {}
explicit Entry(AstBigInt bigint) : bigint_(bigint), tag_(Tag::kBigInt) {}
explicit Entry(const Scope* scope) : scope_(scope), tag_(Tag::kScope) {}
#define CONSTRUCT_ENTRY(NAME, LOWER_NAME) \
static Entry NAME() { return Entry(Tag::k##NAME); }
SINGLETON_CONSTANT_ENTRY_TYPES(CONSTRUCT_ENTRY)
#undef CONSTRUCT_ENTRY
static Entry Deferred() { return Entry(Tag::kDeferred); }
static Entry UninitializedJumpTableSmi() {
return Entry(Tag::kUninitializedJumpTableSmi);
}
bool IsDeferred() const { return tag_ == Tag::kDeferred; }
bool IsJumpTableEntry() const {
return tag_ == Tag::kUninitializedJumpTableSmi ||
tag_ == Tag::kJumpTableSmi;
}
void SetDeferred(Handle<Object> handle) {
DCHECK_EQ(tag_, Tag::kDeferred);
tag_ = Tag::kHandle;
handle_ = handle;
}
void SetJumpTableSmi(Smi smi) {
DCHECK_EQ(tag_, Tag::kUninitializedJumpTableSmi);
tag_ = Tag::kJumpTableSmi;
smi_ = smi;
}
Handle<Object> ToHandle(Isolate* isolate) const;
private:
explicit Entry(Tag tag) : tag_(tag) {}
union {
Handle<Object> handle_;
Smi smi_;
double heap_number_;
const AstRawString* raw_string_;
AstBigInt bigint_;
const Scope* scope_;
};
enum class Tag : uint8_t {
kDeferred,
kHandle,
kSmi,
kRawString,
kHeapNumber,
kBigInt,
kScope,
kUninitializedJumpTableSmi,
kJumpTableSmi,
#define ENTRY_TAG(NAME, ...) k##NAME,
SINGLETON_CONSTANT_ENTRY_TYPES(ENTRY_TAG)
#undef ENTRY_TAG
} tag_;
#if DEBUG
// Required by CheckAllElementsAreUnique().
friend struct ConstantArraySlice;
#endif
};
index_t AllocateIndex(Entry constant_entry);
index_t AllocateIndexArray(Entry constant_entry, size_t size);
index_t AllocateReservedEntry(Smi value);
struct ConstantArraySlice final : public ZoneObject {
ConstantArraySlice(Zone* zone, size_t start_index, size_t capacity,
OperandSize operand_size);
void Reserve();
void Unreserve();
size_t Allocate(Entry entry, size_t count = 1);
Entry& At(size_t index);
const Entry& At(size_t index) const;
#if DEBUG
void CheckAllElementsAreUnique(Isolate* isolate) const;
#endif
inline size_t available() const { return capacity() - reserved() - size(); }
inline size_t reserved() const { return reserved_; }
inline size_t capacity() const { return capacity_; }
inline size_t size() const { return constants_.size(); }
inline size_t start_index() const { return start_index_; }
inline size_t max_index() const { return start_index_ + capacity() - 1; }
inline OperandSize operand_size() const { return operand_size_; }
private:
const size_t start_index_;
const size_t capacity_;
size_t reserved_;
OperandSize operand_size_;
ZoneVector<Entry> constants_;
DISALLOW_COPY_AND_ASSIGN(ConstantArraySlice);
};
ConstantArraySlice* IndexToSlice(size_t index) const;
ConstantArraySlice* OperandSizeToSlice(OperandSize operand_size) const;
ConstantArraySlice* idx_slice_[3];
base::TemplateHashMapImpl<intptr_t, index_t,
base::KeyEqualityMatcher<intptr_t>,
ZoneAllocationPolicy>
constants_map_;
ZoneMap<Smi, index_t> smi_map_;
ZoneVector<std::pair<Smi, index_t>> smi_pairs_;
ZoneMap<double, index_t> heap_number_map_;
#define SINGLETON_ENTRY_FIELD(NAME, LOWER_NAME) int LOWER_NAME##_;
SINGLETON_CONSTANT_ENTRY_TYPES(SINGLETON_ENTRY_FIELD)
#undef SINGLETON_ENTRY_FIELD
Zone* zone_;
};
} // namespace interpreter
} // namespace internal
} // namespace v8
#endif // V8_INTERPRETER_CONSTANT_ARRAY_BUILDER_H_
| 33.550607 | 80 | 0.706046 |
cab871764dd910a28bb5e469f1a92b3042b9f8e9 | 1,603 | h | C | Applications/TVPhotos/TVPMyPSMainViewController.h | lechium/tvOS142Headers | c7696f6d760e4822f61b9f2c2adcd18749700fda | [
"MIT"
] | 1 | 2020-11-11T06:05:23.000Z | 2020-11-11T06:05:23.000Z | Applications/TVPhotos/TVPMyPSMainViewController.h | lechium/tvOS142Headers | c7696f6d760e4822f61b9f2c2adcd18749700fda | [
"MIT"
] | null | null | null | Applications/TVPhotos/TVPMyPSMainViewController.h | lechium/tvOS142Headers | c7696f6d760e4822f61b9f2c2adcd18749700fda | [
"MIT"
] | null | null | null | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import "TVPPhotoLibraryFeedCollectionViewController.h"
#import "TVPPhotoLibraryOneUpViewControllerDelegate-Protocol.h"
@class NSString;
@interface TVPMyPSMainViewController : TVPPhotoLibraryFeedCollectionViewController <TVPPhotoLibraryOneUpViewControllerDelegate>
{
long long _selectedItemIndex; // 8 = 0x8
}
@property(nonatomic) long long selectedItemIndex; // @synthesize selectedItemIndex=_selectedItemIndex;
- (void)_updateFeedInfoAndUI; // IMP=0x00000001000457b4
- (id)_feedCollection; // IMP=0x0000000100045730
- (id)_photoStreamHeaderSubtitle; // IMP=0x00000001000456bc
- (id)_photoStreamHeaderTitle; // IMP=0x000000010004564c
- (void)_onSelectSlideshowButton:(id)arg1; // IMP=0x00000001000455ac
- (void)_onSelectScreenSaverButton:(id)arg1; // IMP=0x0000000100045430
- (void)photoLibraryOneUpControllerWillPop:(id)arg1; // IMP=0x00000001000453e0
- (void)collectionView:(id)arg1 didSelectItemAtIndexPath:(id)arg2; // IMP=0x0000000100045188
- (id)collectionView:(id)arg1 viewForSupplementaryElementOfKind:(id)arg2 atIndexPath:(id)arg3; // IMP=0x0000000100044f60
- (id)collectionView:(id)arg1 cellForItemAtIndexPath:(id)arg2; // IMP=0x0000000100044c1c
- (void)viewDidLoad; // IMP=0x0000000100044a0c
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end
| 41.102564 | 127 | 0.798503 |
9b11873c6713f411a82ad3f7f17fae893ee58386 | 411 | h | C | src/Micro/Formations/LineFormation.h | syhw/BroodwarBotQ | 71053d943d1bfb4cbf5a687bb015362decd9428c | [
"BSD-3-Clause"
] | 10 | 2015-12-14T16:55:22.000Z | 2022-02-04T20:51:38.000Z | src/Micro/Formations/LineFormation.h | SnippyHolloW/BroodwarBotQ | 71053d943d1bfb4cbf5a687bb015362decd9428c | [
"BSD-3-Clause"
] | 1 | 2019-10-22T04:52:28.000Z | 2019-10-22T04:52:28.000Z | src/Micro/Formations/LineFormation.h | SnippyHolloW/BroodwarBotQ | 71053d943d1bfb4cbf5a687bb015362decd9428c | [
"BSD-3-Clause"
] | 2 | 2017-06-21T17:24:00.000Z | 2017-10-21T14:15:17.000Z | #pragma once
#include "Formation.h"
class LineFormation: public Formation
{
int _lines;
public:
LineFormation(const LineFormation& f);
LineFormation(const Vec& center, const Vec& direction = Vec(0,0), int nonFlyers=0);
LineFormation(const BWAPI::Position& p, const Vec& direction = Vec(0,0), int nonFlyers=0);
virtual void computeToPositions(const std::vector<pBayesianUnit>& vUnits);
};
| 29.357143 | 92 | 0.725061 |
0020d5bc464dab24af69cba678c802512c8661fd | 186 | h | C | tests/unittest/xqc_pq_test.h | Mihir-Bhasin/xquic | 6ed34ac9073b2e3d7863024c63cf6659c1d70364 | [
"Apache-2.0"
] | 1,042 | 2021-11-05T12:54:38.000Z | 2022-03-31T07:35:56.000Z | tests/unittest/xqc_pq_test.h | eyun221/xquic | c7606647e8a89357eee6c9a00bafa268d735ad9f | [
"Apache-2.0"
] | 45 | 2021-11-24T19:36:35.000Z | 2022-03-31T12:45:26.000Z | tests/unittest/xqc_pq_test.h | eyun221/xquic | c7606647e8a89357eee6c9a00bafa268d735ad9f | [
"Apache-2.0"
] | 176 | 2021-11-08T13:58:03.000Z | 2022-03-31T06:35:01.000Z | /**
* @copyright Copyright (c) 2022, Alibaba Group Holding Limited
*/
#ifndef XQC_PQ_TEST_H
#define XQC_PQ_TEST_H
#include "src/common/xqc_priority_q.h"
void xqc_test_pq();
#endif
| 14.307692 | 63 | 0.741935 |
17b1fbfd282aa223622f1171a7540e2bfbb13639 | 30,307 | c | C | libdispatch/utf8proc.c | Barhul/netcdf-c | 1a8e7891f080ea109ff25f98688679b08e4a928c | [
"NetCDF"
] | null | null | null | libdispatch/utf8proc.c | Barhul/netcdf-c | 1a8e7891f080ea109ff25f98688679b08e4a928c | [
"NetCDF"
] | null | null | null | libdispatch/utf8proc.c | Barhul/netcdf-c | 1a8e7891f080ea109ff25f98688679b08e4a928c | [
"NetCDF"
] | null | null | null | /* -*- mode: c; c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil -*- */
/*
* Copyright (c) 2015 Steven G. Johnson, Jiahao Chen, Peter Colberg, Tony Kelman, Scott P. Jones, and other contributors.
* Copyright (c) 2009 Public Software Group e. V., Berlin, Germany
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
/*
* This library contains derived data from a modified version of the
* Unicode data files.
*
* The original data files are available at
* http://www.unicode.org/Public/UNIDATA/
*
* Please notice the copyright statement in the file "utf8proc_data.c".
*/
/*
* File name: utf8proc.c
*
* Description:
* Implementation of libutf8proc.
*/
#include "utf8proc.h"
#include "utf8proc_data.c"
const nc_utf8proc_int8_t nc_utf8proc_utf8class[256] = {
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
4, 4, 4, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0 };
#define UTF8PROC_HANGUL_SBASE 0xAC00
#define UTF8PROC_HANGUL_LBASE 0x1100
#define UTF8PROC_HANGUL_VBASE 0x1161
#define UTF8PROC_HANGUL_TBASE 0x11A7
#define UTF8PROC_HANGUL_LCOUNT 19
#define UTF8PROC_HANGUL_VCOUNT 21
#define UTF8PROC_HANGUL_TCOUNT 28
#define UTF8PROC_HANGUL_NCOUNT 588
#define UTF8PROC_HANGUL_SCOUNT 11172
/* END is exclusive */
#define UTF8PROC_HANGUL_L_START 0x1100
#define UTF8PROC_HANGUL_L_END 0x115A
#define UTF8PROC_HANGUL_L_FILLER 0x115F
#define UTF8PROC_HANGUL_V_START 0x1160
#define UTF8PROC_HANGUL_V_END 0x11A3
#define UTF8PROC_HANGUL_T_START 0x11A8
#define UTF8PROC_HANGUL_T_END 0x11FA
#define UTF8PROC_HANGUL_S_START 0xAC00
#define UTF8PROC_HANGUL_S_END 0xD7A4
/* Should follow semantic-versioning rules (semver.org) based on API
compatibility. (Note that the shared-library version number will
be different, being based on ABI compatibility.): */
#define STRINGIZEx(x) #x
#define STRINGIZE(x) STRINGIZEx(x)
const char *nc_utf8proc_version(void) {
return STRINGIZE(UTF8PROC_VERSION_MAJOR) "." STRINGIZE(UTF8PROC_VERSION_MINOR) "." STRINGIZE(UTF8PROC_VERSION_PATCH) "";
}
const char *nc_utf8proc_errmsg(nc_utf8proc_ssize_t errcode) {
switch (errcode) {
case UTF8PROC_ERROR_NOMEM:
return "Memory for processing UTF-8 data could not be allocated.";
case UTF8PROC_ERROR_OVERFLOW:
return "UTF-8 string is too long to be processed.";
case UTF8PROC_ERROR_INVALIDUTF8:
return "Invalid UTF-8 string";
case UTF8PROC_ERROR_NOTASSIGNED:
return "Unassigned Unicode code point found in UTF-8 string.";
case UTF8PROC_ERROR_INVALIDOPTS:
return "Invalid options for UTF-8 processing chosen.";
default:
return "An unknown error occurred while processing UTF-8 data.";
}
}
#define utf_cont(ch) (((ch) & 0xc0) == 0x80)
nc_utf8proc_ssize_t nc_utf8proc_iterate(
const nc_utf8proc_uint8_t *str, nc_utf8proc_ssize_t strlen, nc_utf8proc_int32_t *dst
) {
nc_utf8proc_uint32_t uc;
const nc_utf8proc_uint8_t *end;
*dst = -1;
if (!strlen) return 0;
end = str + ((strlen < 0) ? 4 : strlen);
uc = *str++;
if (uc < 0x80) {
*dst = uc;
return 1;
}
// Must be between 0xc2 and 0xf4 inclusive to be valid
if ((uc - 0xc2) > (0xf4-0xc2)) return UTF8PROC_ERROR_INVALIDUTF8;
if (uc < 0xe0) { // 2-byte sequence
// Must have valid continuation character
if (str >= end || !utf_cont(*str)) return UTF8PROC_ERROR_INVALIDUTF8;
*dst = ((uc & 0x1f)<<6) | (*str & 0x3f);
return 2;
}
if (uc < 0xf0) { // 3-byte sequence
if ((str + 1 >= end) || !utf_cont(*str) || !utf_cont(str[1]))
return UTF8PROC_ERROR_INVALIDUTF8;
// Check for surrogate chars
if (uc == 0xed && *str > 0x9f)
return UTF8PROC_ERROR_INVALIDUTF8;
uc = ((uc & 0xf)<<12) | ((*str & 0x3f)<<6) | (str[1] & 0x3f);
if (uc < 0x800)
return UTF8PROC_ERROR_INVALIDUTF8;
*dst = uc;
return 3;
}
// 4-byte sequence
// Must have 3 valid continuation characters
if ((str + 2 >= end) || !utf_cont(*str) || !utf_cont(str[1]) || !utf_cont(str[2]))
return UTF8PROC_ERROR_INVALIDUTF8;
// Make sure in correct range (0x10000 - 0x10ffff)
if (uc == 0xf0) {
if (*str < 0x90) return UTF8PROC_ERROR_INVALIDUTF8;
} else if (uc == 0xf4) {
if (*str > 0x8f) return UTF8PROC_ERROR_INVALIDUTF8;
}
*dst = ((uc & 7)<<18) | ((*str & 0x3f)<<12) | ((str[1] & 0x3f)<<6) | (str[2] & 0x3f);
return 4;
}
nc_utf8proc_bool nc_utf8proc_codepoint_valid(nc_utf8proc_int32_t uc) {
return (((nc_utf8proc_uint32_t)uc)-0xd800 > 0x07ff) && ((nc_utf8proc_uint32_t)uc < 0x110000);
}
nc_utf8proc_ssize_t nc_utf8proc_encode_char(nc_utf8proc_int32_t uc, nc_utf8proc_uint8_t *dst) {
if (uc < 0x00) {
return 0;
} else if (uc < 0x80) {
dst[0] = (nc_utf8proc_uint8_t) uc;
return 1;
} else if (uc < 0x800) {
dst[0] = (nc_utf8proc_uint8_t)(0xC0 + (uc >> 6));
dst[1] = (nc_utf8proc_uint8_t)(0x80 + (uc & 0x3F));
return 2;
// Note: we allow encoding 0xd800-0xdfff here, so as not to change
// the API, however, these are actually invalid in UTF-8
} else if (uc < 0x10000) {
dst[0] = (nc_utf8proc_uint8_t)(0xE0 + (uc >> 12));
dst[1] = (nc_utf8proc_uint8_t)(0x80 + ((uc >> 6) & 0x3F));
dst[2] = (nc_utf8proc_uint8_t)(0x80 + (uc & 0x3F));
return 3;
} else if (uc < 0x110000) {
dst[0] = (nc_utf8proc_uint8_t)(0xF0 + (uc >> 18));
dst[1] = (nc_utf8proc_uint8_t)(0x80 + ((uc >> 12) & 0x3F));
dst[2] = (nc_utf8proc_uint8_t)(0x80 + ((uc >> 6) & 0x3F));
dst[3] = (nc_utf8proc_uint8_t)(0x80 + (uc & 0x3F));
return 4;
} else return 0;
}
/* internal "unsafe" version that does not check whether uc is in range */
static nc_utf8proc_ssize_t nc_unsafe_encode_char(nc_utf8proc_int32_t uc, nc_utf8proc_uint8_t *dst) {
if (uc < 0x00) {
return 0;
} else if (uc < 0x80) {
dst[0] = (nc_utf8proc_uint8_t)uc;
return 1;
} else if (uc < 0x800) {
dst[0] = (nc_utf8proc_uint8_t)(0xC0 + (uc >> 6));
dst[1] = (nc_utf8proc_uint8_t)(0x80 + (uc & 0x3F));
return 2;
} else if (uc == 0xFFFF) {
dst[0] = (nc_utf8proc_uint8_t)0xFF;
return 1;
} else if (uc == 0xFFFE) {
dst[0] = (nc_utf8proc_uint8_t)0xFE;
return 1;
} else if (uc < 0x10000) {
dst[0] = (nc_utf8proc_uint8_t)(0xE0 + (uc >> 12));
dst[1] = (nc_utf8proc_uint8_t)(0x80 + ((uc >> 6) & 0x3F));
dst[2] = (nc_utf8proc_uint8_t)(0x80 + (uc & 0x3F));
return 3;
} else if (uc < 0x110000) {
dst[0] = (nc_utf8proc_uint8_t)(0xF0 + (uc >> 18));
dst[1] = (nc_utf8proc_uint8_t)(0x80 + ((uc >> 12) & 0x3F));
dst[2] = (nc_utf8proc_uint8_t)(0x80 + ((uc >> 6) & 0x3F));
dst[3] = (nc_utf8proc_uint8_t)(0x80 + (uc & 0x3F));
return 4;
} else return 0;
}
/* internal "unsafe" version that does not check whether uc is in range */
static const nc_utf8proc_property_t *nc_unsafe_get_property(nc_utf8proc_int32_t uc) {
/* ASSERT: uc >= 0 && uc < 0x110000 */
return nc_utf8proc_properties + (
nc_utf8proc_stage2table[
nc_utf8proc_stage1table[uc >> 8] + (uc & 0xFF)
]
);
}
const nc_utf8proc_property_t *nc_utf8proc_get_property(nc_utf8proc_int32_t uc) {
return uc < 0 || uc >= 0x110000 ? nc_utf8proc_properties : nc_unsafe_get_property(uc);
}
/* return whether there is a grapheme break between boundclasses lbc and tbc
(according to the definition of extended grapheme clusters)
Rule numbering refers to TR29 Version 29 (Unicode 9.0.0):
http://www.unicode.org/reports/tr29/tr29-29.html
CAVEATS:
Please note that evaluation of GB10 (grapheme breaks between emoji zwj sequences)
and GB 12/13 (regional indicator code points) require knowledge of previous characters
and are thus not handled by this function. This may result in an incorrect break before
an E_Modifier class codepoint and an incorrectly missing break between two
REGIONAL_INDICATOR class code points if such support does not exist in the caller.
See the special support in grapheme_break_extended, for required bookkeeping by the caller.
*/
static nc_utf8proc_bool nc_grapheme_break_simple(int lbc, int tbc) {
return
(lbc == UTF8PROC_BOUNDCLASS_START) ? true : // GB1
(lbc == UTF8PROC_BOUNDCLASS_CR && // GB3
tbc == UTF8PROC_BOUNDCLASS_LF) ? false : // ---
(lbc >= UTF8PROC_BOUNDCLASS_CR && lbc <= UTF8PROC_BOUNDCLASS_CONTROL) ? true : // GB4
(tbc >= UTF8PROC_BOUNDCLASS_CR && tbc <= UTF8PROC_BOUNDCLASS_CONTROL) ? true : // GB5
(lbc == UTF8PROC_BOUNDCLASS_L && // GB6
(tbc == UTF8PROC_BOUNDCLASS_L || // ---
tbc == UTF8PROC_BOUNDCLASS_V || // ---
tbc == UTF8PROC_BOUNDCLASS_LV || // ---
tbc == UTF8PROC_BOUNDCLASS_LVT)) ? false : // ---
((lbc == UTF8PROC_BOUNDCLASS_LV || // GB7
lbc == UTF8PROC_BOUNDCLASS_V) && // ---
(tbc == UTF8PROC_BOUNDCLASS_V || // ---
tbc == UTF8PROC_BOUNDCLASS_T)) ? false : // ---
((lbc == UTF8PROC_BOUNDCLASS_LVT || // GB8
lbc == UTF8PROC_BOUNDCLASS_T) && // ---
tbc == UTF8PROC_BOUNDCLASS_T) ? false : // ---
(tbc == UTF8PROC_BOUNDCLASS_EXTEND || // GB9
tbc == UTF8PROC_BOUNDCLASS_ZWJ || // ---
tbc == UTF8PROC_BOUNDCLASS_SPACINGMARK || // GB9a
lbc == UTF8PROC_BOUNDCLASS_PREPEND) ? false : // GB9b
((lbc == UTF8PROC_BOUNDCLASS_E_BASE || // GB10 (requires additional handling below)
lbc == UTF8PROC_BOUNDCLASS_E_BASE_GAZ) && // ----
tbc == UTF8PROC_BOUNDCLASS_E_MODIFIER) ? false : // ----
(lbc == UTF8PROC_BOUNDCLASS_ZWJ && // GB11
(tbc == UTF8PROC_BOUNDCLASS_GLUE_AFTER_ZWJ || // ----
tbc == UTF8PROC_BOUNDCLASS_E_BASE_GAZ)) ? false : // ----
(lbc == UTF8PROC_BOUNDCLASS_REGIONAL_INDICATOR && // GB12/13 (requires additional handling below)
tbc == UTF8PROC_BOUNDCLASS_REGIONAL_INDICATOR) ? false : // ----
true; // GB999
}
static nc_utf8proc_bool nc_grapheme_break_extended(int lbc, int tbc, nc_utf8proc_int32_t *state)
{
int lbc_override = lbc;
if (state && *state != UTF8PROC_BOUNDCLASS_START)
lbc_override = *state;
nc_utf8proc_bool break_permitted = nc_grapheme_break_simple(lbc_override, tbc);
if (state) {
// Special support for GB 12/13 made possible by GB999. After two RI
// class codepoints we want to force a break. Do this by resetting the
// second RI's bound class to UTF8PROC_BOUNDCLASS_OTHER, to force a break
// after that character according to GB999 (unless of course such a break is
// forbidden by a different rule such as GB9).
if (*state == tbc && tbc == UTF8PROC_BOUNDCLASS_REGIONAL_INDICATOR)
*state = UTF8PROC_BOUNDCLASS_OTHER;
// Special support for GB10. Fold any EXTEND codepoints into the previous
// boundclass if we're dealing with an emoji base boundclass.
else if ((*state == UTF8PROC_BOUNDCLASS_E_BASE ||
*state == UTF8PROC_BOUNDCLASS_E_BASE_GAZ) &&
tbc == UTF8PROC_BOUNDCLASS_EXTEND)
*state = UTF8PROC_BOUNDCLASS_E_BASE;
else
*state = tbc;
}
return break_permitted;
}
nc_utf8proc_bool nc_utf8proc_grapheme_break_stateful(
nc_utf8proc_int32_t c1, nc_utf8proc_int32_t c2, nc_utf8proc_int32_t *state) {
return nc_grapheme_break_extended(nc_utf8proc_get_property(c1)->boundclass,
nc_utf8proc_get_property(c2)->boundclass,
state);
}
nc_utf8proc_bool nc_utf8proc_grapheme_break(
nc_utf8proc_int32_t c1, nc_utf8proc_int32_t c2) {
return nc_utf8proc_grapheme_break_stateful(c1, c2, NULL);
}
static nc_utf8proc_int32_t nc_seqindex_decode_entry(const nc_utf8proc_uint16_t **entry)
{
nc_utf8proc_int32_t entry_cp = **entry;
if ((entry_cp & 0xF800) == 0xD800) {
*entry = *entry + 1;
entry_cp = ((entry_cp & 0x03FF) << 10) | (**entry & 0x03FF);
entry_cp += 0x10000;
}
return entry_cp;
}
static nc_utf8proc_int32_t nc_seqindex_decode_index(const nc_utf8proc_uint32_t seqindex)
{
const nc_utf8proc_uint16_t *entry = &nc_utf8proc_sequences[seqindex];
return nc_seqindex_decode_entry(&entry);
}
static nc_utf8proc_ssize_t nc_seqindex_write_char_decomposed(nc_utf8proc_uint16_t seqindex, nc_utf8proc_int32_t *dst, nc_utf8proc_ssize_t bufsize, nc_utf8proc_option_t options, int *last_boundclass) {
nc_utf8proc_ssize_t written = 0;
const nc_utf8proc_uint16_t *entry = &nc_utf8proc_sequences[seqindex & 0x1FFF];
int len = seqindex >> 13;
if (len >= 7) {
len = *entry;
entry++;
}
for (; len >= 0; entry++, len--) {
nc_utf8proc_int32_t entry_cp = nc_seqindex_decode_entry(&entry);
written += nc_utf8proc_decompose_char(entry_cp, dst+written,
(bufsize > written) ? (bufsize - written) : 0, options,
last_boundclass);
if (written < 0) return UTF8PROC_ERROR_OVERFLOW;
}
return written;
}
nc_utf8proc_int32_t nc_utf8proc_tolower(nc_utf8proc_int32_t c)
{
nc_utf8proc_int32_t cl = nc_utf8proc_get_property(c)->lowercase_seqindex;
return cl != UINT16_MAX ? nc_seqindex_decode_index(cl) : c;
}
nc_utf8proc_int32_t nc_utf8proc_toupper(nc_utf8proc_int32_t c)
{
nc_utf8proc_int32_t cu = nc_utf8proc_get_property(c)->uppercase_seqindex;
return cu != UINT16_MAX ? nc_seqindex_decode_index(cu) : c;
}
nc_utf8proc_int32_t nc_utf8proc_totitle(nc_utf8proc_int32_t c)
{
nc_utf8proc_int32_t cu = nc_utf8proc_get_property(c)->titlecase_seqindex;
return cu != UINT16_MAX ? nc_seqindex_decode_index(cu) : c;
}
/* return a character width analogous to wcwidth (except portable and
hopefully less buggy than most system wcwidth functions). */
int nc_utf8proc_charwidth(nc_utf8proc_int32_t c) {
return nc_utf8proc_get_property(c)->charwidth;
}
nc_utf8proc_category_t nc_utf8proc_category(nc_utf8proc_int32_t c) {
return nc_utf8proc_get_property(c)->category;
}
const char *nc_utf8proc_category_string(nc_utf8proc_int32_t c) {
static const char s[][3] = {"Cn","Lu","Ll","Lt","Lm","Lo","Mn","Mc","Me","Nd","Nl","No","Pc","Pd","Ps","Pe","Pi","Pf","Po","Sm","Sc","Sk","So","Zs","Zl","Zp","Cc","Cf","Cs","Co"};
return s[nc_utf8proc_category(c)];
}
#define nc_utf8proc_decompose_lump(replacement_uc) \
return nc_utf8proc_decompose_char((replacement_uc), dst, bufsize, \
options & ~UTF8PROC_LUMP, last_boundclass)
nc_utf8proc_ssize_t nc_utf8proc_decompose_char(nc_utf8proc_int32_t uc, nc_utf8proc_int32_t *dst, nc_utf8proc_ssize_t bufsize, nc_utf8proc_option_t options, int *last_boundclass) {
const nc_utf8proc_property_t *property;
nc_utf8proc_propval_t category;
nc_utf8proc_int32_t hangul_sindex;
if (uc < 0 || uc >= 0x110000) return UTF8PROC_ERROR_NOTASSIGNED;
property = nc_unsafe_get_property(uc);
category = property->category;
hangul_sindex = uc - UTF8PROC_HANGUL_SBASE;
if (options & (UTF8PROC_COMPOSE|UTF8PROC_DECOMPOSE)) {
if (hangul_sindex >= 0 && hangul_sindex < UTF8PROC_HANGUL_SCOUNT) {
nc_utf8proc_int32_t hangul_tindex;
if (bufsize >= 1) {
dst[0] = UTF8PROC_HANGUL_LBASE +
hangul_sindex / UTF8PROC_HANGUL_NCOUNT;
if (bufsize >= 2) dst[1] = UTF8PROC_HANGUL_VBASE +
(hangul_sindex % UTF8PROC_HANGUL_NCOUNT) / UTF8PROC_HANGUL_TCOUNT;
}
hangul_tindex = hangul_sindex % UTF8PROC_HANGUL_TCOUNT;
if (!hangul_tindex) return 2;
if (bufsize >= 3) dst[2] = UTF8PROC_HANGUL_TBASE + hangul_tindex;
return 3;
}
}
if (options & UTF8PROC_REJECTNA) {
if (!category) return UTF8PROC_ERROR_NOTASSIGNED;
}
if (options & UTF8PROC_IGNORE) {
if (property->ignorable) return 0;
}
if (options & UTF8PROC_LUMP) {
if (category == UTF8PROC_CATEGORY_ZS) nc_utf8proc_decompose_lump(0x0020);
if (uc == 0x2018 || uc == 0x2019 || uc == 0x02BC || uc == 0x02C8)
nc_utf8proc_decompose_lump(0x0027);
if (category == UTF8PROC_CATEGORY_PD || uc == 0x2212)
nc_utf8proc_decompose_lump(0x002D);
if (uc == 0x2044 || uc == 0x2215) nc_utf8proc_decompose_lump(0x002F);
if (uc == 0x2236) nc_utf8proc_decompose_lump(0x003A);
if (uc == 0x2039 || uc == 0x2329 || uc == 0x3008)
nc_utf8proc_decompose_lump(0x003C);
if (uc == 0x203A || uc == 0x232A || uc == 0x3009)
nc_utf8proc_decompose_lump(0x003E);
if (uc == 0x2216) nc_utf8proc_decompose_lump(0x005C);
if (uc == 0x02C4 || uc == 0x02C6 || uc == 0x2038 || uc == 0x2303)
nc_utf8proc_decompose_lump(0x005E);
if (category == UTF8PROC_CATEGORY_PC || uc == 0x02CD)
nc_utf8proc_decompose_lump(0x005F);
if (uc == 0x02CB) nc_utf8proc_decompose_lump(0x0060);
if (uc == 0x2223) nc_utf8proc_decompose_lump(0x007C);
if (uc == 0x223C) nc_utf8proc_decompose_lump(0x007E);
if ((options & UTF8PROC_NLF2LS) && (options & UTF8PROC_NLF2PS)) {
if (category == UTF8PROC_CATEGORY_ZL ||
category == UTF8PROC_CATEGORY_ZP)
nc_utf8proc_decompose_lump(0x000A);
}
}
if (options & UTF8PROC_STRIPMARK) {
if (category == UTF8PROC_CATEGORY_MN ||
category == UTF8PROC_CATEGORY_MC ||
category == UTF8PROC_CATEGORY_ME) return 0;
}
if (options & UTF8PROC_CASEFOLD) {
if (property->casefold_seqindex != UINT16_MAX) {
return nc_seqindex_write_char_decomposed(property->casefold_seqindex, dst, bufsize, options, last_boundclass);
}
}
if (options & (UTF8PROC_COMPOSE|UTF8PROC_DECOMPOSE)) {
if (property->decomp_seqindex != UINT16_MAX &&
(!property->decomp_type || (options & UTF8PROC_COMPAT))) {
return nc_seqindex_write_char_decomposed(property->decomp_seqindex, dst, bufsize, options, last_boundclass);
}
}
if (options & UTF8PROC_CHARBOUND) {
nc_utf8proc_bool boundary;
int tbc = property->boundclass;
boundary = nc_grapheme_break_extended(*last_boundclass, tbc, last_boundclass);
if (boundary) {
if (bufsize >= 1) dst[0] = 0xFFFF;
if (bufsize >= 2) dst[1] = uc;
return 2;
}
}
if (bufsize >= 1) *dst = uc;
return 1;
}
nc_utf8proc_ssize_t nc_utf8proc_decompose(
const nc_utf8proc_uint8_t *str, nc_utf8proc_ssize_t strlen,
nc_utf8proc_int32_t *buffer, nc_utf8proc_ssize_t bufsize, nc_utf8proc_option_t options
) {
return nc_utf8proc_decompose_custom(str, strlen, buffer, bufsize, options, NULL, NULL);
}
nc_utf8proc_ssize_t nc_utf8proc_decompose_custom(
const nc_utf8proc_uint8_t *str, nc_utf8proc_ssize_t strlen,
nc_utf8proc_int32_t *buffer, nc_utf8proc_ssize_t bufsize, nc_utf8proc_option_t options,
nc_utf8proc_custom_func custom_func, void *custom_data
) {
/* strlen will be ignored, if UTF8PROC_NULLTERM is set in options */
nc_utf8proc_ssize_t wpos = 0;
if ((options & UTF8PROC_COMPOSE) && (options & UTF8PROC_DECOMPOSE))
return UTF8PROC_ERROR_INVALIDOPTS;
if ((options & UTF8PROC_STRIPMARK) &&
!(options & UTF8PROC_COMPOSE) && !(options & UTF8PROC_DECOMPOSE))
return UTF8PROC_ERROR_INVALIDOPTS;
{
nc_utf8proc_int32_t uc;
nc_utf8proc_ssize_t rpos = 0;
nc_utf8proc_ssize_t decomp_result;
int boundclass = UTF8PROC_BOUNDCLASS_START;
while (1) {
if (options & UTF8PROC_NULLTERM) {
rpos += nc_utf8proc_iterate(str + rpos, -1, &uc);
/* checking of return value is not necessary,
as 'uc' is < 0 in case of error */
if (uc < 0) return UTF8PROC_ERROR_INVALIDUTF8;
if (rpos < 0) return UTF8PROC_ERROR_OVERFLOW;
if (uc == 0) break;
} else {
if (rpos >= strlen) break;
rpos += nc_utf8proc_iterate(str + rpos, strlen - rpos, &uc);
if (uc < 0) return UTF8PROC_ERROR_INVALIDUTF8;
}
if (custom_func != NULL) {
uc = custom_func(uc, custom_data); /* user-specified custom mapping */
}
decomp_result = nc_utf8proc_decompose_char(
uc, buffer + wpos, (bufsize > wpos) ? (bufsize - wpos) : 0, options,
&boundclass
);
if (decomp_result < 0) return decomp_result;
wpos += decomp_result;
/* prohibiting integer overflows due to too long strings: */
if (wpos < 0 ||
wpos > (nc_utf8proc_ssize_t)(SSIZE_MAX/sizeof(nc_utf8proc_int32_t)/2))
return UTF8PROC_ERROR_OVERFLOW;
}
}
if ((options & (UTF8PROC_COMPOSE|UTF8PROC_DECOMPOSE)) && bufsize >= wpos) {
nc_utf8proc_ssize_t pos = 0;
while (pos < wpos-1) {
nc_utf8proc_int32_t uc1, uc2;
const nc_utf8proc_property_t *property1, *property2;
uc1 = buffer[pos];
uc2 = buffer[pos+1];
property1 = nc_unsafe_get_property(uc1);
property2 = nc_unsafe_get_property(uc2);
if (property1->combining_class > property2->combining_class &&
property2->combining_class > 0) {
buffer[pos] = uc2;
buffer[pos+1] = uc1;
if (pos > 0) pos--; else pos++;
} else {
pos++;
}
}
}
return wpos;
}
nc_utf8proc_ssize_t nc_utf8proc_normalize_utf32(nc_utf8proc_int32_t *buffer, nc_utf8proc_ssize_t length, nc_utf8proc_option_t options) {
/* UTF8PROC_NULLTERM option will be ignored, 'length' is never ignored */
if (options & (UTF8PROC_NLF2LS | UTF8PROC_NLF2PS | UTF8PROC_STRIPCC)) {
nc_utf8proc_ssize_t rpos;
nc_utf8proc_ssize_t wpos = 0;
nc_utf8proc_int32_t uc;
for (rpos = 0; rpos < length; rpos++) {
uc = buffer[rpos];
if (uc == 0x000D && rpos < length-1 && buffer[rpos+1] == 0x000A) rpos++;
if (uc == 0x000A || uc == 0x000D || uc == 0x0085 ||
((options & UTF8PROC_STRIPCC) && (uc == 0x000B || uc == 0x000C))) {
if (options & UTF8PROC_NLF2LS) {
if (options & UTF8PROC_NLF2PS) {
buffer[wpos++] = 0x000A;
} else {
buffer[wpos++] = 0x2028;
}
} else {
if (options & UTF8PROC_NLF2PS) {
buffer[wpos++] = 0x2029;
} else {
buffer[wpos++] = 0x0020;
}
}
} else if ((options & UTF8PROC_STRIPCC) &&
(uc < 0x0020 || (uc >= 0x007F && uc < 0x00A0))) {
if (uc == 0x0009) buffer[wpos++] = 0x0020;
} else {
buffer[wpos++] = uc;
}
}
length = wpos;
}
if (options & UTF8PROC_COMPOSE) {
nc_utf8proc_int32_t *starter = NULL;
nc_utf8proc_int32_t current_char;
const nc_utf8proc_property_t *starter_property = NULL, *current_property;
nc_utf8proc_propval_t max_combining_class = -1;
nc_utf8proc_ssize_t rpos;
nc_utf8proc_ssize_t wpos = 0;
nc_utf8proc_int32_t composition;
for (rpos = 0; rpos < length; rpos++) {
current_char = buffer[rpos];
current_property = nc_unsafe_get_property(current_char);
if (starter && current_property->combining_class > max_combining_class) {
/* combination perhaps possible */
nc_utf8proc_int32_t hangul_lindex;
nc_utf8proc_int32_t hangul_sindex;
hangul_lindex = *starter - UTF8PROC_HANGUL_LBASE;
if (hangul_lindex >= 0 && hangul_lindex < UTF8PROC_HANGUL_LCOUNT) {
nc_utf8proc_int32_t hangul_vindex;
hangul_vindex = current_char - UTF8PROC_HANGUL_VBASE;
if (hangul_vindex >= 0 && hangul_vindex < UTF8PROC_HANGUL_VCOUNT) {
*starter = UTF8PROC_HANGUL_SBASE +
(hangul_lindex * UTF8PROC_HANGUL_VCOUNT + hangul_vindex) *
UTF8PROC_HANGUL_TCOUNT;
starter_property = NULL;
continue;
}
}
hangul_sindex = *starter - UTF8PROC_HANGUL_SBASE;
if (hangul_sindex >= 0 && hangul_sindex < UTF8PROC_HANGUL_SCOUNT &&
(hangul_sindex % UTF8PROC_HANGUL_TCOUNT) == 0) {
nc_utf8proc_int32_t hangul_tindex;
hangul_tindex = current_char - UTF8PROC_HANGUL_TBASE;
if (hangul_tindex >= 0 && hangul_tindex < UTF8PROC_HANGUL_TCOUNT) {
*starter += hangul_tindex;
starter_property = NULL;
continue;
}
}
if (!starter_property) {
starter_property = nc_unsafe_get_property(*starter);
}
if (starter_property->comb_index < 0x8000 &&
current_property->comb_index != UINT16_MAX &&
current_property->comb_index >= 0x8000) {
int sidx = starter_property->comb_index;
int idx = (current_property->comb_index & 0x3FFF) - nc_utf8proc_combinations[sidx];
if (idx >= 0 && idx <= nc_utf8proc_combinations[sidx + 1] ) {
idx += sidx + 2;
if (current_property->comb_index & 0x4000) {
composition = (nc_utf8proc_combinations[idx] << 16) | nc_utf8proc_combinations[idx+1];
} else
composition = nc_utf8proc_combinations[idx];
if (composition > 0 && (!(options & UTF8PROC_STABLE) ||
!(nc_unsafe_get_property(composition)->comp_exclusion))) {
*starter = composition;
starter_property = NULL;
continue;
}
}
}
}
buffer[wpos] = current_char;
if (current_property->combining_class) {
if (current_property->combining_class > max_combining_class) {
max_combining_class = current_property->combining_class;
}
} else {
starter = buffer + wpos;
starter_property = NULL;
max_combining_class = -1;
}
wpos++;
}
length = wpos;
}
return length;
}
nc_utf8proc_ssize_t nc_utf8proc_reencode(nc_utf8proc_int32_t *buffer, nc_utf8proc_ssize_t length, nc_utf8proc_option_t options) {
/* UTF8PROC_NULLTERM option will be ignored, 'length' is never ignored
ASSERT: 'buffer' has one spare byte of free space at the end! */
length = nc_utf8proc_normalize_utf32(buffer, length, options);
if (length < 0) return length;
{
nc_utf8proc_ssize_t rpos, wpos = 0;
nc_utf8proc_int32_t uc;
if (options & UTF8PROC_CHARBOUND) {
for (rpos = 0; rpos < length; rpos++) {
uc = buffer[rpos];
wpos += nc_unsafe_encode_char(uc, ((nc_utf8proc_uint8_t *)buffer) + wpos);
}
} else {
for (rpos = 0; rpos < length; rpos++) {
uc = buffer[rpos];
wpos += nc_utf8proc_encode_char(uc, ((nc_utf8proc_uint8_t *)buffer) + wpos);
}
}
((nc_utf8proc_uint8_t *)buffer)[wpos] = 0;
return wpos;
}
}
nc_utf8proc_ssize_t nc_utf8proc_map(
const nc_utf8proc_uint8_t *str, nc_utf8proc_ssize_t strlen, nc_utf8proc_uint8_t **dstptr, nc_utf8proc_option_t options
) {
return nc_utf8proc_map_custom(str, strlen, dstptr, options, NULL, NULL);
}
nc_utf8proc_ssize_t nc_utf8proc_map_custom(
const nc_utf8proc_uint8_t *str, nc_utf8proc_ssize_t strlen, nc_utf8proc_uint8_t **dstptr, nc_utf8proc_option_t options,
nc_utf8proc_custom_func custom_func, void *custom_data
) {
nc_utf8proc_int32_t *buffer;
nc_utf8proc_ssize_t result;
*dstptr = NULL;
result = nc_utf8proc_decompose_custom(str, strlen, NULL, 0, options, custom_func, custom_data);
if (result < 0) return result;
buffer = (nc_utf8proc_int32_t *) malloc(result * sizeof(nc_utf8proc_int32_t) + 1);
if (!buffer) return UTF8PROC_ERROR_NOMEM;
result = nc_utf8proc_decompose_custom(str, strlen, buffer, result, options, custom_func, custom_data);
if (result < 0) {
free(buffer);
return result;
}
result = nc_utf8proc_reencode(buffer, result, options);
if (result < 0) {
free(buffer);
return result;
}
{
nc_utf8proc_int32_t *newptr;
newptr = (nc_utf8proc_int32_t *) realloc(buffer, (size_t)result+1);
if (newptr) buffer = newptr;
}
*dstptr = (nc_utf8proc_uint8_t *)buffer;
return result;
}
nc_utf8proc_uint8_t *nc_utf8proc_NFD(const nc_utf8proc_uint8_t *str) {
nc_utf8proc_uint8_t *retval;
nc_utf8proc_map(str, 0, &retval, UTF8PROC_NULLTERM | UTF8PROC_STABLE |
UTF8PROC_DECOMPOSE);
return retval;
}
nc_utf8proc_uint8_t *nc_utf8proc_NFC(const nc_utf8proc_uint8_t *str) {
nc_utf8proc_uint8_t *retval;
nc_utf8proc_map(str, 0, &retval, UTF8PROC_NULLTERM | UTF8PROC_STABLE |
UTF8PROC_COMPOSE);
return retval;
}
nc_utf8proc_uint8_t *nc_utf8proc_NFKD(const nc_utf8proc_uint8_t *str) {
nc_utf8proc_uint8_t *retval;
nc_utf8proc_map(str, 0, &retval, UTF8PROC_NULLTERM | UTF8PROC_STABLE |
UTF8PROC_DECOMPOSE | UTF8PROC_COMPAT);
return retval;
}
nc_utf8proc_uint8_t *nc_utf8proc_NFKC(const nc_utf8proc_uint8_t *str) {
nc_utf8proc_uint8_t *retval;
nc_utf8proc_map(str, 0, &retval, UTF8PROC_NULLTERM | UTF8PROC_STABLE |
UTF8PROC_COMPOSE | UTF8PROC_COMPAT);
return retval;
}
| 40.088624 | 200 | 0.662652 |
5b689f82410022255d4d79eb5819e8415cc41b3f | 1,604 | h | C | chrome/browser/ash/remote_apps/remote_apps_manager_factory.h | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/ash/remote_apps/remote_apps_manager_factory.h | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/ash/remote_apps/remote_apps_manager_factory.h | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ASH_REMOTE_APPS_REMOTE_APPS_MANAGER_FACTORY_H_
#define CHROME_BROWSER_ASH_REMOTE_APPS_REMOTE_APPS_MANAGER_FACTORY_H_
#include "base/memory/singleton.h"
#include "chrome/browser/ash/remote_apps/remote_apps_manager.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
class KeyedService;
class Profile;
namespace content {
class BrowserContext;
} // namespace content
namespace ash {
// Singleton that creates |RemoteAppsManager|s and associates them with a
// |Profile|.
class RemoteAppsManagerFactory : public BrowserContextKeyedServiceFactory {
public:
static RemoteAppsManager* GetForProfile(Profile* profile);
static RemoteAppsManagerFactory* GetInstance();
private:
friend struct base::DefaultSingletonTraits<RemoteAppsManagerFactory>;
RemoteAppsManagerFactory();
RemoteAppsManagerFactory(const RemoteAppsManagerFactory&) = delete;
RemoteAppsManagerFactory& operator=(const RemoteAppsManagerFactory&) = delete;
~RemoteAppsManagerFactory() override;
// BrowserContextKeyedServiceFactory:
KeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const override;
content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const override;
bool ServiceIsCreatedWithBrowserContext() const override;
};
} // namespace ash
#endif // CHROME_BROWSER_ASH_REMOTE_APPS_REMOTE_APPS_MANAGER_FACTORY_H_
| 33.416667 | 83 | 0.817955 |
6f4c2a93e26a330643f008a1ede500287e036863 | 2,257 | c | C | chapter6/tcpservpoll01.c | foolishflyfox/UNP-experiment | 7c4aad60b69bb4b5acfe469f8ee714e2b6f2e3fd | [
"MIT"
] | null | null | null | chapter6/tcpservpoll01.c | foolishflyfox/UNP-experiment | 7c4aad60b69bb4b5acfe469f8ee714e2b6f2e3fd | [
"MIT"
] | null | null | null | chapter6/tcpservpoll01.c | foolishflyfox/UNP-experiment | 7c4aad60b69bb4b5acfe469f8ee714e2b6f2e3fd | [
"MIT"
] | null | null | null | // tcpservpoll01.c
#include "unp.h"
int main(){
int i, maxi, listenfd, connfd, sockfd;
int nready;
ssize_t n;
char buf[MAXLINE];
socklen_t clilen;
struct pollfd client[OPEN_MAX];
struct sockaddr_in cliaddr, servaddr;
listenfd = Socket(AF_INET, SOCK_STREAM, 0);
bzero(&servaddr, sizeof(servaddr));
servaddr.sin_family = AF_INET;
servaddr.sin_addr.s_addr = htonl(INADDR_ANY);
servaddr.sin_port = htons(SERV_PORT);
Bind(listenfd, (SA*)&servaddr, sizeof(servaddr));
Listen(listenfd, LISTENQ);
client[0].fd = listenfd;
client[0].events = POLLRDNORM;
for(i=1; i<OPEN_MAX; ++i) client[i].fd = -1;
maxi = 0; // max index into client[] array
for( ; ; ){
nready = poll(client, maxi+1, INFTIM);
if(client[0].revents & POLLRDNORM) { // new client connection
clilen = sizeof(cliaddr);
connfd = Accept(listenfd, (SA*)&cliaddr, &clilen);
for(i=1; i<OPEN_MAX; i++)
if(client[i].fd < 0){
client[i].fd = connfd; // save descriptor
break;
}
if(i == OPEN_MAX){
fprintf(stderr, "too many clients\n"); exit(1);
}
client[i].events = POLLRDNORM;
if(i > maxi) maxi = i; // max index in client[] array
if(--nready <= 0) continue; // no more readable descriptors
}
for(i=1; i<=maxi; ++i){ // check all clients for data
if((sockfd = client[i].fd) < 0) continue;
if(client[i].revents & (POLLRDNORM|POLLERR)){
if((n=read(sockfd, buf, MAXLINE)) < 0){
if(errno == ECONNRESET){
// connection reset by client
close(sockfd);
client[i].fd = -1;
}else{
perror("read error"); exit(1);
}
}else if(n==0){
// connection closed by client
close(sockfd);
client[i].fd = -1;
}else{
written(sockfd, buf, n);
}
if(--nready <= 0) break;
}
}
}
}
| 35.265625 | 71 | 0.481613 |
6f8a1701359aa6132a611a4f6d4228191c29f8bf | 755 | h | C | ShortVideoUIDemo/ShortVideo/Editor/Sticker/QNFilterPickerView.h | HeraShowFeng/PLShortVideoKit | 326966b13e1a6e06d13248bac20bab4b85c434ff | [
"Apache-2.0"
] | 474 | 2017-05-05T03:45:03.000Z | 2022-03-16T09:46:27.000Z | ShortVideoUIDemo/ShortVideo/Editor/Sticker/QNFilterPickerView.h | shiyulong-ios/PLShortVideoKit | 393c21dc5ed1a581d42d600e89b43c0edf8dac1b | [
"Apache-2.0"
] | 108 | 2017-05-05T11:54:06.000Z | 2021-09-28T03:27:47.000Z | ShortVideoUIDemo/ShortVideo/Editor/Sticker/QNFilterPickerView.h | shiyulong-ios/PLShortVideoKit | 393c21dc5ed1a581d42d600e89b43c0edf8dac1b | [
"Apache-2.0"
] | 138 | 2017-05-05T03:52:58.000Z | 2021-11-03T08:58:19.000Z | //
// QNFilterPickerView.h
// ShortVideo
//
// Created by hxiongan on 2019/4/19.
// Copyright © 2019年 ahx. All rights reserved.
//
#import <UIKit/UIKit.h>
@class QNFilterGroup;
@class QNFilterPickerView;
@protocol QNFilterPickerViewDelegate <NSObject>
- (void)filterView:(QNFilterPickerView *)filterView didSelectedFilter:(NSString *)colorImagePath;
@end
NS_ASSUME_NONNULL_BEGIN
@interface QNFilterPickerView : UIView
@property (nonatomic, weak) id<QNFilterPickerViewDelegate> delegate;
@property (nonatomic, readonly) CGFloat minViewHeight;
@property (nonatomic, strong, readonly) QNFilterGroup *filterGroup;
- (instancetype)initWithFrame:(CGRect)frame hasTitle:(BOOL)hasTitle;
- (void)updateSelectFilterIndex;
@end
NS_ASSUME_NONNULL_END
| 21.571429 | 97 | 0.78543 |
8d2ab17c42bc3f3894b64b0e4337aa2a027690c2 | 1,326 | h | C | Fluidium/src/FUHandlerPreferences.h | mralexgray/fluidium | d8a2e1cfe96a23845ffae2888f4d7f8fbb39b1ab | [
"Apache-2.0"
] | 1 | 2015-02-01T01:15:29.000Z | 2015-02-01T01:15:29.000Z | Fluidium/src/FUHandlerPreferences.h | aral/fluidium | 5d125681e4853802122a9899ffa661bcca6a9d07 | [
"Apache-2.0"
] | null | null | null | Fluidium/src/FUHandlerPreferences.h | aral/fluidium | 5d125681e4853802122a9899ffa661bcca6a9d07 | [
"Apache-2.0"
] | null | null | null | // Copyright 2010 Todd Ditchendorf
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#import "FUBasePreferences.h"
@interface FUHandlerPreferences : FUBasePreferences {
NSArrayController *arrayController;
NSMutableArray *handlers; // array of dicts: @"scheme"=>@"mailto", @"URLString"=>@"google.com?compose=%@". these are dicts cuz they use bindings and undo in the UI
}
- (void)insertObject:(NSMutableDictionary *)dict inHandlersAtIndex:(NSInteger)i;
- (void)removeObjectFromHandlersAtIndex:(NSInteger)i;
- (void)startObservingRule:(NSMutableDictionary *)rule;
- (void)stopObservingRule:(NSMutableDictionary *)rule;
- (void)loadHandlers;
- (void)storeHandlers;
@property (nonatomic, retain) IBOutlet NSArrayController *arrayController;
@property (nonatomic, retain) NSMutableArray *handlers;
@end
| 39 | 167 | 0.758673 |
776e671dbae3720477a28995f06b2934913d4fc7 | 2,916 | h | C | build/php7/ice/http/request/requestinterface.zep.h | ajbm6/framework | 865ab9a32dec647e786ee7abab527cbb384b58f4 | [
"BSD-3-Clause"
] | null | null | null | build/php7/ice/http/request/requestinterface.zep.h | ajbm6/framework | 865ab9a32dec647e786ee7abab527cbb384b58f4 | [
"BSD-3-Clause"
] | null | null | null | build/php7/ice/http/request/requestinterface.zep.h | ajbm6/framework | 865ab9a32dec647e786ee7abab527cbb384b58f4 | [
"BSD-3-Clause"
] | 1 | 2019-12-30T13:04:25.000Z | 2019-12-30T13:04:25.000Z |
extern zend_class_entry *ice_http_request_requestinterface_ce;
ZEPHIR_INIT_CLASS(Ice_Http_Request_RequestInterface);
ZEND_BEGIN_ARG_INFO_EX(arginfo_ice_http_request_requestinterface_hasrequest, 0, 0, 1)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_ice_http_request_requestinterface_haspost, 0, 0, 1)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_ice_http_request_requestinterface_hasget, 0, 0, 1)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_ice_http_request_requestinterface_hasserver, 0, 0, 1)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_ice_http_request_requestinterface_get, 0, 0, 1)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, defaultValue)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_ice_http_request_requestinterface_request, 0, 0, 1)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, defaultValue)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_ice_http_request_requestinterface_post, 0, 0, 1)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, defaultValue)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_ice_http_request_requestinterface_server, 0, 0, 1)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, defaultValue)
ZEND_END_ARG_INFO()
ZEPHIR_INIT_FUNCS(ice_http_request_requestinterface_method_entry) {
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, hasRequest, arginfo_ice_http_request_requestinterface_hasrequest)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, hasPost, arginfo_ice_http_request_requestinterface_haspost)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, hasGet, arginfo_ice_http_request_requestinterface_hasget)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, hasServer, arginfo_ice_http_request_requestinterface_hasserver)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, isPost, NULL)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, isGet, NULL)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, isPut, NULL)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, isPatch, NULL)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, isHead, NULL)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, isDelete, NULL)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, isOptions, NULL)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, getMethod, NULL)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, getUserAgent, NULL)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, getHTTPReferer, NULL)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, get, arginfo_ice_http_request_requestinterface_get)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, request, arginfo_ice_http_request_requestinterface_request)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, post, arginfo_ice_http_request_requestinterface_post)
PHP_ABSTRACT_ME(Ice_Http_Request_RequestInterface, server, arginfo_ice_http_request_requestinterface_server)
PHP_FE_END
};
| 46.285714 | 117 | 0.882716 |
4f63ed3e317c75b678a9a92f520a053381ba11de | 3,019 | c | C | test/sender_history_test.c | daxiondi/razor | 73d39101eb92ad32778be9658b0062cacb2ea18d | [
"MIT"
] | 2 | 2021-09-25T15:02:35.000Z | 2021-09-26T04:17:20.000Z | test/sender_history_test.c | daxiondi/razor | 73d39101eb92ad32778be9658b0062cacb2ea18d | [
"MIT"
] | null | null | null | test/sender_history_test.c | daxiondi/razor | 73d39101eb92ad32778be9658b0062cacb2ea18d | [
"MIT"
] | 1 | 2019-07-30T02:19:03.000Z | 2019-07-30T02:19:03.000Z | #include "common_test.h"
#include "sender_history.h"
#define k_limited_ms 1000
static void add_remove_one()
{
uint16_t seq_no = 16;
packet_feedback_t k_packet;
packet_feedback_t received_packet, received_packet2;
sender_history_t* hist = sender_history_create(k_limited_ms);
init_packet_feedback(k_packet);
k_packet.sequence_number = seq_no;
k_packet.create_ts = k_packet.send_ts = GET_SYS_MS();
k_packet.payload_size = 0;
sender_history_add(hist, &k_packet);
init_packet_feedback(received_packet);
assert(sender_history_get(hist, seq_no, &received_packet, 1) == 0);
EXPECT_EQ(k_packet.create_ts, received_packet.create_ts, 1);
init_packet_feedback(received_packet2);
assert(sender_history_get(hist, seq_no, &received_packet2, 1) != 0);
sender_history_destroy(hist);
}
static void populates_expected_fields()
{
const uint16_t kSeqNo = 10;
const int64_t kSendTime = 1000;
const int64_t kReceiveTime = 2000;
const size_t kPayloadSize = 42;
packet_feedback_t k_packet, recvd_packet;
sender_history_t* hist = sender_history_create(k_limited_ms);
init_packet_feedback(k_packet);
k_packet.sequence_number = kSeqNo;
k_packet.payload_size = kPayloadSize;
k_packet.send_ts = kSendTime;
sender_history_add(hist, &k_packet);
init_packet_feedback(recvd_packet);
recvd_packet.sequence_number = kSeqNo;
assert(sender_history_get(hist, kSeqNo, &recvd_packet,1) == 0);
recvd_packet.arrival_ts = kReceiveTime;
EXPECT_EQ(kReceiveTime, recvd_packet.arrival_ts);
EXPECT_EQ(kSendTime, recvd_packet.send_ts);
EXPECT_EQ(kSeqNo, recvd_packet.sequence_number);
EXPECT_EQ(kPayloadSize, recvd_packet.payload_size);
sender_history_destroy(hist);
}
static void test_outstanding_bytes()
{
const uint16_t kSeqNo = 10;
const int64_t kSendTime = 1000;
const int64_t kReceiveTime = 2000;
const size_t kPayloadSize = 42;
sender_history_t* hist = sender_history_create(k_limited_ms);
int i;
packet_feedback_t k_packet, recvd_packet;
for (i = 0; i < 10; i++){
init_packet_feedback(k_packet);
k_packet.sequence_number = kSeqNo + i;
k_packet.payload_size = kPayloadSize;
k_packet.send_ts = kSendTime + i * 20;
k_packet.create_ts = k_packet.send_ts;
sender_history_add(hist, &k_packet);
}
EXPECT_EQ(kPayloadSize * 10, sender_history_outstanding_bytes(hist));
init_packet_feedback(recvd_packet);
recvd_packet.sequence_number = kSeqNo + 4;
assert(sender_history_get(hist, kSeqNo + 4, &recvd_packet, 1) == 0);
recvd_packet.arrival_ts = kReceiveTime;
EXPECT_EQ(kPayloadSize * 5, sender_history_outstanding_bytes(hist));
init_packet_feedback(k_packet);
k_packet.sequence_number = kSeqNo + 10;
k_packet.payload_size = kPayloadSize;
k_packet.send_ts = kSendTime + k_limited_ms + 200;
k_packet.create_ts = k_packet.send_ts;
sender_history_add(hist, &k_packet);
EXPECT_EQ(kPayloadSize * 1, sender_history_outstanding_bytes(hist));
sender_history_destroy(hist);
}
void test_sender_history()
{
add_remove_one();
populates_expected_fields();
test_outstanding_bytes();
}
| 27.198198 | 70 | 0.787016 |
a04a6cb6356914a510d51ca255e76ea882b709d7 | 206 | h | C | mybibibi/mybibibi/ViewController.h | coderboy001/lxb01 | 612d5f7d10a6f764a0859da6d138efe606501c53 | [
"Apache-2.0"
] | null | null | null | mybibibi/mybibibi/ViewController.h | coderboy001/lxb01 | 612d5f7d10a6f764a0859da6d138efe606501c53 | [
"Apache-2.0"
] | null | null | null | mybibibi/mybibibi/ViewController.h | coderboy001/lxb01 | 612d5f7d10a6f764a0859da6d138efe606501c53 | [
"Apache-2.0"
] | null | null | null | //
// ViewController.h
// mybibibi
//
// Created by lxb on 15/9/3.
// Copyright (c) 2015年 lxb.com. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 12.875 | 53 | 0.669903 |
e2cf7c280ff0669c2eebdda056785b9969220ac6 | 10,496 | c | C | src/dos_scandisk.c | theoturner/FAT12-Scandisk | 829ea241d0da36d2ddd8ed065ed65b1a251cd53c | [
"MIT"
] | null | null | null | src/dos_scandisk.c | theoturner/FAT12-Scandisk | 829ea241d0da36d2ddd8ed065ed65b1a251cd53c | [
"MIT"
] | null | null | null | src/dos_scandisk.c | theoturner/FAT12-Scandisk | 829ea241d0da36d2ddd8ed065ed65b1a251cd53c | [
"MIT"
] | 1 | 2020-06-07T08:51:30.000Z | 2020-06-07T08:51:30.000Z | /*
* SCANDISK FOR FAT-12
*
* Copyright Theo Turner 2016
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <ctype.h>
#include "bootsect.h"
#include "bpb.h"
#include "direntry.h"
#include "fat.h"
#include "dos.h"
/*
* REFERENCED
*
* This function is a modified version of follow_dir from dos_scandisk.c. It takes an
* additional argument, the array read_clusters, which represents which parts of the
* volume can be read. Array index corresponds to volume contents. This function runs
* through the contents of all directory entries, marking them 1 in the array.
*
*/
void referenced(uint16_t cluster, int indent,
uint8_t *image_buf, struct bpb33* bpb, int read_clusters[]) {
struct direntry *dirent;
int d, i;
dirent = (struct direntry*)cluster_to_addr(cluster, image_buf, bpb);
while (1) {
for (d = 0; d < bpb->bpbBytesPerSec * bpb->bpbSecPerClust;
d += sizeof(struct direntry)) {
char name[9];
char extension[4];
uint16_t file_cluster;
name[8] = ' ';
extension[3] = ' ';
memcpy(name, &(dirent->deName[0]), 8);
memcpy(extension, dirent->deExtension, 3);
if (name[0] == SLOT_EMPTY)
return;
/* skip over deleted entries */
if (((uint8_t)name[0]) == SLOT_DELETED)
continue;
/* names are space padded - remove the spaces */
for (i = 8; i > 0; i--) {
if (name[i] == ' ')
name[i] = '\0';
else
break;
}
/* remove the spaces from extensions */
for (i = 3; i > 0; i--) {
if (extension[i] == ' ')
extension[i] = '\0';
else
break;
}
/* don't print "." or ".." directories */
if (strcmp(name, ".")==0) {
dirent++;
continue;
}
if (strcmp(name, "..")==0) {
dirent++;
continue;
}
file_cluster = getushort(dirent->deStartCluster);
if ((dirent->deAttributes & ATTR_VOLUME) != 0) {
read_clusters[file_cluster] = 1;
} else if ((dirent->deAttributes & ATTR_DIRECTORY) != 0) {
read_clusters[file_cluster] = 1;
referenced(file_cluster, indent+2, image_buf, bpb, read_clusters);
} else {
while (!is_end_of_file(file_cluster)) {
read_clusters[file_cluster] = 1;
file_cluster = get_fat_entry(file_cluster, image_buf, bpb);
}
}
dirent++;
}
if (cluster == 0) {
// root dir is special
dirent++;
} else {
cluster = get_fat_entry(cluster, image_buf, bpb);
dirent = (struct direntry*)cluster_to_addr(cluster,
image_buf, bpb);
}
}
}
/*
* LENGTH INCONSISTENCY
*
* This function is a modified version of follow_dir from dos_scandisk.c. It runs
* through the clusters that consist files; if it reaches a number greater than the
* declared length of the file, it writes a file terminator and frees subsequent
* clusters. It continues until it reaches the end of file delimiter, at which point
* it declares the file size in the directory entry and what the actual file size
* was (now having been corrected).
*
*/
void length_inconsistency(uint16_t cluster, int indent,
uint8_t *image_buf, struct bpb33* bpb) {
struct direntry *dirent;
int d, i;
dirent = (struct direntry*)cluster_to_addr(cluster, image_buf, bpb);
while (1) {
for (d = 0; d < bpb->bpbBytesPerSec * bpb->bpbSecPerClust;
d += sizeof(struct direntry)) {
char name[9];
char extension[4];
uint32_t size, actual_size, size_of_clusters;
uint16_t file_cluster, previous_cluster;
int check, j = 0;
name[8] = ' ';
extension[3] = ' ';
memcpy(name, &(dirent->deName[0]), 8);
memcpy(extension, dirent->deExtension, 3);
if (name[0] == SLOT_EMPTY)
return;
/* skip over deleted entries */
if (((uint8_t)name[0]) == SLOT_DELETED)
continue;
/* names are space padded - remove the spaces */
for (i = 8; i > 0; i--) {
if (name[i] == ' ')
name[i] = '\0';
else
break;
}
/* remove the spaces from extensions */
for (i = 3; i > 0; i--) {
if (extension[i] == ' ')
extension[i] = '\0';
else
break;
}
/* don't print "." or ".." directories */
if (strcmp(name, ".")==0) {
dirent++;
continue;
}
if (strcmp(name, "..")==0) {
dirent++;
continue;
}
file_cluster = getushort(dirent->deStartCluster);
if ((dirent->deAttributes & ATTR_VOLUME) != 0) {
continue;
} else if ((dirent->deAttributes & ATTR_DIRECTORY) != 0) {
length_inconsistency(file_cluster, indent+2, image_buf, bpb);
} else {
size = getulong(dirent->deFileSize);
size_of_clusters = (size + (511)) / 512;
check = 0;
while (!is_end_of_file(file_cluster)) {
previous_cluster = file_cluster;
file_cluster = get_fat_entry(file_cluster, image_buf, bpb);
if (j >= size_of_clusters - 1) {
if (check == 0) {
set_fat_entry(previous_cluster, FAT12_MASK&CLUST_EOFS, image_buf, bpb);
check = 1;
}
else {
set_fat_entry(previous_cluster, 0, image_buf, bpb);
}
}
j++;
}
actual_size = j * 512;
if (size_of_clusters != j) {
printf("%s.%s %u %u\n", name, extension, size, actual_size);
}
}
dirent++;
}
if (cluster == 0) {
// root dir is special
dirent++;
} else {
cluster = get_fat_entry(cluster, image_buf, bpb);
dirent = (struct direntry*)cluster_to_addr(cluster,
image_buf, bpb);
}
}
}
/*
* WRITE DIRECTORY ENTRY
*
* This is a copy of write_dirent from dos_cp.c. It writes a directory entry for use
* with create_dirent.
*
*/
void write_dirent(struct direntry *dirent, char *filename,
uint16_t start_cluster, uint32_t size) {
char *p, *p2;
char *uppername;
int len, i;
/* clean out anything old that used to be here */
memset(dirent, 0, sizeof(struct direntry));
/* extract just the filename part */
uppername = strdup(filename);
p2 = uppername;
for (i = 0; i < strlen(filename); i++) {
if (p2[i] == '/' || p2[i] == '\\') {
uppername = p2+i+1;
}
}
/* convert filename to upper case */
for (i = 0; i < strlen(uppername); i++) {
uppername[i] = toupper(uppername[i]);
}
/* set the file name and extension */
memset(dirent->deName, ' ', 8);
p = strchr(uppername, '.');
memcpy(dirent->deExtension, "___", 3);
if (p == NULL) {
fprintf(stderr, "No filename extension given - defaulting to .___\n");
} else {
*p = '\0';
p++;
len = strlen(p);
if (len > 3) len = 3;
memcpy(dirent->deExtension, p, len);
}
if (strlen(uppername)>8) {
uppername[8]='\0';
}
memcpy(dirent->deName, uppername, strlen(uppername));
free(p2);
/* set the attributes and file size */
dirent->deAttributes = ATTR_NORMAL;
putushort(dirent->deStartCluster, start_cluster);
putulong(dirent->deFileSize, size);
/* a real filesystem would set the time and date here, but it's
not necessary for this coursework */
}
/*
* CREATE DIRECTORY ENTRY
*
* This is a copy of create_dirent from dos_cp.c. It uses write_dirent to create
* a directory entry in available space.
*
*/
void create_dirent(struct direntry *dirent, char *filename,
uint16_t start_cluster, uint32_t size,
uint8_t *image_buf, struct bpb33* bpb) {
while(1) {
if (dirent->deName[0] == SLOT_EMPTY) {
/* we found an empty slot at the end of the directory */
write_dirent(dirent, filename, start_cluster, size);
dirent++;
/* make sure the next dirent is set to be empty, just in
case it wasn't before */
memset((uint8_t*)dirent, 0, sizeof(struct direntry));
dirent->deName[0] = SLOT_EMPTY;
return;
}
if (dirent->deName[0] == SLOT_DELETED) {
/* we found a deleted entry - we can just overwrite it */
write_dirent(dirent, filename, start_cluster, size);
return;
}
dirent++;
}
}
/*
* UNREFERENCED
*
* This function checks for unreferenced items by listing which entries in read_clusters
* are still 0 after referenced has run, excluding free space.
*
*/
void unreferenced(uint8_t *image_buf, struct bpb33* bpb, int number_of_clusters, int read_clusters[]) {
int i, check = 0;
for (i = 2; i < number_of_clusters; i++) {
if ((read_clusters[i] == 0) && (get_fat_entry(i, image_buf, bpb) != 0)) {
if (check == 0) {
printf("Unreferenced:");
check = 1;
}
printf(" %i", i);
}
}
if (check == 1) {
printf("\n");
}
}
/*
* LOST FILES
*
* This function marks lost files and creates a directory entry for each. It reads the
* drive, outputting the cluster number when it first sees an unreferenced entry. It
* continues until it hits an end of file marker, at which point it prints the number
* of clusters read. Finally, a directory entry of that size is created in the same
* location, overwriting the unreferenced clusters.
*
*/
void lost_files(uint8_t *image_buf, struct bpb33* bpb, int number_of_clusters, int read_clusters[], char file_name[]) {
int i;
int file_number = 1;
struct direntry *dirent = (struct direntry*) cluster_to_addr(0, image_buf, bpb);
uint16_t start;
uint32_t size = 0;
for (i = 2; i < number_of_clusters; i++) {
if ((start == 0) && (read_clusters[i] == 0) && (get_fat_entry(i, image_buf, bpb) != 0)) {
printf("Lost file: %i", i);
start = i;
}
if ((start != 0) && (is_end_of_file(get_fat_entry(i, image_buf, bpb)))) {
size = i - start + 1;
printf(" %i\n", size);
snprintf(file_name, sizeof(char) * 12, "found%i.dat", file_number);
create_dirent(dirent, file_name, start, size * 512, image_buf, bpb);
file_number++;
start = 0;
}
}
}
/*
* USAGE
*
* This function is called if input cannot be parsed. It prints the correct usage format.
*
*/
void usage() {
fprintf(stderr, "Usage: dos_scandisk <imagename>\n");
exit(1);
}
/*
* MAIN
*
* This function initialises required variables, then calls referenced, unreferenced,
* lost_files and length_inconsistency in order.
*
*/
int main(int argc, char **argv) {
uint8_t *image_buf;
int fd;
struct bpb33* bpb;
if (argc < 2 || argc > 2) {
usage();
}
image_buf = mmap_file(argv[1], &fd);
bpb = check_bootsector(image_buf);
int number_of_clusters = (bpb->bpbSectors) / (bpb->bpbSecPerClust);
int read_clusters[number_of_clusters];
char file_name[12];
referenced(0, 0, image_buf, bpb, read_clusters);
unreferenced(image_buf, bpb, number_of_clusters, read_clusters);
lost_files(image_buf, bpb, number_of_clusters, read_clusters, file_name);
length_inconsistency(0, 0, image_buf, bpb);
close(fd);
exit(0);
}
| 27.262338 | 119 | 0.633861 |
12489a8b7beadf58d9a16d9d256af116762a50ac | 890 | h | C | 3rdparty/project/nim_ui_kits/base/framework/default_message_pump.h | nighsen/ffpractice | 381f0083177438981354fb1b445133bc4f9cd9a4 | [
"Apache-2.0"
] | null | null | null | 3rdparty/project/nim_ui_kits/base/framework/default_message_pump.h | nighsen/ffpractice | 381f0083177438981354fb1b445133bc4f9cd9a4 | [
"Apache-2.0"
] | null | null | null | 3rdparty/project/nim_ui_kits/base/framework/default_message_pump.h | nighsen/ffpractice | 381f0083177438981354fb1b445133bc4f9cd9a4 | [
"Apache-2.0"
] | null | null | null | // A implemetation of a cross flatform waitable event based message loop
#ifndef BASE_FRAMEWORK_DEFAULT_MESSAGE_PUMP_H_
#define BASE_FRAMEWORK_DEFAULT_MESSAGE_PUMP_H_
#include "base/framework/message_pump.h"
#include "base/time/time.h"
#include "base/synchronization/waitable_event.h"
namespace nbase
{
class DefaultMessagePump : public MessagePump
{
public:
DefaultMessagePump();
virtual ~DefaultMessagePump() {}
virtual void Run(Delegate* delegate);
virtual void Quit();
virtual void ScheduleWork();
virtual void ScheduleDelayedWork(const TimeTicks& delay_message_time);
private:
void Wait();
void WaitTimeout(const TimeDelta &timeout);
void Wakeup();
WaitableEvent event_;
bool should_quit_;
TimeTicks delayed_work_time_;
DISALLOW_COPY_AND_ASSIGN(DefaultMessagePump);
};
}
#endif // BASE_FRAMEWORK_DEFAULT_MESSAGE_PUMP_H_
| 22.25 | 75 | 0.766292 |
c471605621dd011976bf530d54804e1ba0cda40e | 1,462 | h | C | midis/daemon.h | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | midis/daemon.h | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | midis/daemon.h | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MIDIS_DAEMON_H_
#define MIDIS_DAEMON_H_
#include <memory>
#include <base/memory/weak_ptr.h>
#include <brillo/daemons/daemon.h>
#include <dbus/exported_object.h>
namespace dbus {
class MethodCall;
} // namespace dbus
namespace midis {
class ClientTracker;
class DeviceTracker;
class Daemon : public brillo::Daemon {
public:
Daemon();
Daemon(const Daemon&) = delete;
Daemon& operator=(const Daemon&) = delete;
~Daemon() override;
protected:
int OnInit() override;
private:
// This function initializes the D-Bus service. The primary function of the
// D-Bus interface is to receive a FD from the Chrome process so that we can
// bootstrap a Mojo IPC channel. Since we should expect requests for client
// registration to occur as soon as the D-Bus channel is up, this
// initialization should be the last thing that happens in Daemon::OnInit().
void InitDBus();
// Handles BootstrapMojoConnection D-Bus method calls.
void BootstrapMojoConnection(
dbus::MethodCall* method_call,
dbus::ExportedObject::ResponseSender response_sender);
std::unique_ptr<DeviceTracker> device_tracker_;
std::unique_ptr<ClientTracker> client_tracker_;
base::WeakPtrFactory<Daemon> weak_factory_;
};
} // namespace midis
#endif // MIDIS_DAEMON_H_
| 26.107143 | 78 | 0.745554 |
e9a19b76ae312ce2a42ea0bf9b5d893e7cff5707 | 3,332 | h | C | lsp_shiloh/common/scan/include/afe.h | internaru/Pinetree_P | 1f1525454c8b20c6c589529ff4bc159404611297 | [
"FSFAP"
] | null | null | null | lsp_shiloh/common/scan/include/afe.h | internaru/Pinetree_P | 1f1525454c8b20c6c589529ff4bc159404611297 | [
"FSFAP"
] | null | null | null | lsp_shiloh/common/scan/include/afe.h | internaru/Pinetree_P | 1f1525454c8b20c6c589529ff4bc159404611297 | [
"FSFAP"
] | null | null | null | /**
*
* ============================================================================
* Copyright (c) 2004-2008 Marvell International, Ltd. All Rights Reserved
*
* Marvell Confidential
* ============================================================================
*
* Description:
*
**/
#ifndef AFE_H
#define AFE_H
struct afe_hardware_config_t
{
int bits_per_pixel;
/* davep 21-Jan-2010 ; this field is used to set the PIC ADC Normalizer
* 'Left Justify' bit. Not sure how well this will map to other AFEs.
*/
bool left_justify;
/* more later? */
};
/**
* \brief the type of AFE
*
* AFE types
*
*
*/
typedef enum {
AFE_TYPE_UNKNOWN=0,
AFE_TYPE_WM8152=1,
AFE_TYPE_WM8259=2,
AFE_TYPE_INTERNAL=3
} afe_type_t;
#define AFE_INFO_VERSION_0 0
#define AFE_INFO_VERSION_2 2
/**
* \brief Hardware specific information about the AFE
*
* Information to set AFE registers back to their documented power-on values.
*
*/
struct scan_afe_info_t {
/* one of AFE_INFO_VERSION_x */
uint32_t version;
float afe_full_scale_input_range;
int dac_unit_gain_output_change_step;
uint8_t cal_analog_offset_zero;
uint8_t cal_analog_offset_max;
/* davep 19-Dec-2012 ; Strange/odd/weird settings about the AFE. There is
* one particular AFE vendor recommends using a gain != 1.0 during parts of
* analog calibration.
*/
bool analog_cal_default_gain_not_null;
float analog_cal_default_gain;
/* In general while doing offset calibration calculation, unity gain should
be used (gain = 1.0), so set this value to 1.0. But, if an AFE needs a different
gain during offset calibration calculations, then put that here. */
float gain_value_for_offset_cal;
uint8_t cal_analog_offset_min;
};
/**
* \brief Get the AFE-specific structure
*
* Returns the AFE-specific info structure to the caller
*
*
* \param[out] scan_afe_info the afe_info structure
*
*/
void afe_get_afe_info( struct scan_afe_info_t **scan_afe_info );
/**
* \brief Convert a gain to an AFE PGA gain value for the AFE
*
* Compute the PGA 8 bit gain value.
* The AFE PGA gain is the gain value written to the AFE to produce the desired
* output gain from the InputPixel to the OutputPixel, loosely:
* AFE PGA = [(OutputPixel/InputPixel +/- some_AFE_specific_value) * another_AFE_specific_value]
*
* To find the analog gain formula for a specific AFE, consult the AFE-specific
* documentation.
*
* \retval uint8_t the pga gain
*
*/
uint8_t afe_gain_to_pga( uint32_t gain );
scan_err_t afe_onetime_init( void );
//void afe_setup(void);
scan_err_t afe_reset(void);
void afe_sleep( bool bsleep );
unsigned int afe_read(uint32_t afe_num, uint32_t reg);
void afe_write(uint32_t afe_num, uint32_t regnum, uint32_t data);
void afe_write_pga( uint32_t afe_num, uint8_t red_gain, uint8_t green_gain, uint8_t blue_gain );
void afe_write_dac( uint32_t afe_num, uint8_t red_dac, uint8_t green_dac, uint8_t blue_dac );
void afe_auto_setup(void);
void afe_auto_enable(bool on);
/* debug print all registers */
void afe_dump(void);
/* run read/write tests */
scan_err_t afe_test( void );
void afe_get_hardware_config( struct afe_hardware_config_t *afe_hw );
scan_err_t afe_soft_setup(void);
#endif
| 26.23622 | 96 | 0.684574 |
6bfdd5fb5799ef82921ab573178ec03a2c1993c2 | 1,178 | h | C | Tank-Driver/tank_driver_service.h | antongulenko/SimpleAvrOS | d4a3b4d24edd5936a73e92515b3de85d0e878060 | [
"MIT"
] | 1 | 2021-02-06T22:28:07.000Z | 2021-02-06T22:28:07.000Z | Tank-Driver/tank_driver_service.h | antongulenko/SimpleAvrOS | d4a3b4d24edd5936a73e92515b3de85d0e878060 | [
"MIT"
] | null | null | null | Tank-Driver/tank_driver_service.h | antongulenko/SimpleAvrOS | d4a3b4d24edd5936a73e92515b3de85d0e878060 | [
"MIT"
] | 1 | 2020-10-15T06:35:05.000Z | 2020-10-15T06:35:05.000Z | #ifndef _TANK_DRIVER_SERVICE_TWI_
#define _TANK_DRIVER_SERVICE_TWI_
#include <twi/rpc/client_functions.h>
#include "tank_motor.h"
typedef enum {
TANK_DRIVER_SET_MOTOR = 30,
TANK_DRIVER_GET_MOTOR_SPEED,
TANK_DRIVER_EMERGENCY_STOP,
TANK_DRIVER_BATTERY_VOLTAGE,
TANK_DRIVER_MOTOR_VOLTAGE
} PROTOCOL_TANK_DRIVER_SERVICE; // Start at 30
typedef enum {
TANK_MOTOR_LEFT,
TANK_MOTOR_RIGHT,
TANK_MOTOR_MAX,
TANK_MOTOR_INVALID
} TankMotorVoltageSelection;
typedef struct MotorStatus {
uint16_t motorNum; // enum TankMotorNum
uint16_t direction; // enum MotorDirection
uint16_t speed;
} MotorStatus;
TWI_RPC_FUNCTION_VOID(tank_driver_set_motor, TANK_DRIVER_SET_MOTOR, MotorStatus)
TWI_RPC_FUNCTION(tank_driver_get_motor_speed, TANK_DRIVER_GET_MOTOR_SPEED, uint16_t /* enum TankMotorNum */, MotorStatus)
TWI_RPC_FUNCTION_NOTIFY(tank_driver_emergency_stop, TANK_DRIVER_EMERGENCY_STOP)
TWI_RPC_FUNCTION_NOARGS(tank_driver_get_battery_voltage, TANK_DRIVER_BATTERY_VOLTAGE, uint16_t)
TWI_RPC_FUNCTION(tank_driver_get_motor_voltage, TANK_DRIVER_MOTOR_VOLTAGE, uint16_t /* enum TankMotorVoltageSelection */, uint16_t)
#endif // _TANK_DRIVER_SERVICE_TWI_
| 33.657143 | 131 | 0.83871 |
d422e361a4b8311b1cb260a8147dc125bb92404d | 5,567 | h | C | src/scheduler/load_balancer.h | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 20 | 2017-07-03T19:09:09.000Z | 2021-09-10T02:53:56.000Z | src/scheduler/load_balancer.h | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | src/scheduler/load_balancer.h | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z | /*
* Copyright 2013 Stanford University.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the
* distribution.
*
* - Neither the name of the copyright holders nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
* This is the base class that serves the scheduler regarding job assignment
* queries in the cluster. It tries to minimize the completion of simulation
* by reducing the cost of communication by locality aware data placement and
* mitigate the effect of stragglers in the system by adapting the job
* assignment strategies to the dynamic changes of the cloud.
*
* Author: Omid Mashayekhi <omidm@stanford.edu>
*/
#ifndef NIMBUS_SRC_SCHEDULER_LOAD_BALANCER_H_
#define NIMBUS_SRC_SCHEDULER_LOAD_BALANCER_H_
#include <boost/unordered_map.hpp>
#include <boost/thread.hpp>
#include <map>
#include <list>
#include <vector>
#include <string>
#include "src/shared/nimbus_types.h"
#include "src/scheduler/job_entry.h"
#include "src/scheduler/job_profile.h"
#include "src/scheduler/data_manager.h"
#include "src/scheduler/job_manager.h"
#include "src/scheduler/region_map.h"
#include "src/scheduler/straggler_map.h"
#include "src/scheduler/job_assigner.h"
#include "src/shared/cluster.h"
#include "src/shared/id_maker.h"
#include "src/shared/scheduler_server.h"
#include "src/shared/geometric_region.h"
#include "src/shared/graph.h"
namespace nimbus {
class LoadBalancer {
public:
LoadBalancer();
virtual ~LoadBalancer();
ClusterMap* cluster_map();
virtual bool safe_to_load_balance();
virtual void set_cluster_map(ClusterMap* cluster_map);
virtual void set_job_manager(JobManager *job_manager);
virtual void set_data_manager(DataManager *data_manager);
virtual void set_job_assigner(JobAssigner *job_assigner);
virtual void set_assign_batch_size(size_t num);
virtual void set_split_dimensions(const std::vector<size_t>& split);
virtual void set_sub_split_dimensions(const std::vector<size_t>& split);
virtual void set_global_region(const GeometricRegion& region);
virtual void Run();
virtual size_t AssignReadyJobs();
virtual void NotifyJobAssignment(const JobEntry *job);
virtual void NotifyJobDone(const JobEntry *job);
virtual void NotifyRegisteredWorker(SchedulerWorker *worker);
virtual bool NotifyDownWorker(worker_id_t worker_id);
virtual bool SetWorkerToAssignJob(JobEntry *job);
virtual bool BalanceLoad(counter_t query_id);
virtual bool AddWorkerStat(const counter_t& query_id,
const worker_id_t& worker_id,
const int64_t& run_time,
const int64_t& block_time,
const int64_t& idle_time);
protected:
ClusterMap* cluster_map_;
JobManager *job_manager_;
DataManager *data_manager_;
JobAssigner *job_assigner_;
size_t assign_batch_size_;
load_balancing_id_t load_balancing_id_;
bool safe_to_load_balance_;
bool enforced_split_;
bool enforced_sub_split_;
bool enforced_global_region_;
std::vector<size_t> split_;
std::vector<size_t> sub_split_;
GeometricRegion global_region_;
class WorkerStat {
public:
WorkerStat(const counter_t& query_id,
const worker_id_t& worker_id,
const int64_t& run_time,
const int64_t& block_time,
const int64_t& idle_time)
: query_id_(query_id),
worker_id_(worker_id),
run_time_(run_time),
block_time_(block_time),
idle_time_(idle_time) {}
~WorkerStat() {}
counter_t query_id_;
worker_id_t worker_id_;
int64_t run_time_;
int64_t block_time_;
int64_t idle_time_;
};
typedef boost::unordered_map<worker_id_t, WorkerStat*> StatQuery;
typedef std::map<counter_t, StatQuery*> QueryMap;
QueryMap queries_;
private:
LoadBalancer(const LoadBalancer& other) {}
typedef std::map<worker_id_t, SchedulerWorker*> WorkerMap;
WorkerMap worker_map_;
};
} // namespace nimbus
#endif // NIMBUS_SRC_SCHEDULER_LOAD_BALANCER_H_
| 34.364198 | 78 | 0.722112 |
6a2f615f0df120eb4e1bf3583fbb78411424f133 | 2,030 | h | C | Bootloader/Common/Includes/hal/hal.h | alex-ferragni/secureboot_freertos2021 | 46f82761d4a372d42fd708d3afb8abad5bcfb0a7 | [
"Apache-2.0"
] | 1 | 2022-01-03T16:17:07.000Z | 2022-01-03T16:17:07.000Z | Bootloader/Common/Includes/hal/hal.h | alex-ferragni/secureboot_freertos2021 | 46f82761d4a372d42fd708d3afb8abad5bcfb0a7 | [
"Apache-2.0"
] | null | null | null | Bootloader/Common/Includes/hal/hal.h | alex-ferragni/secureboot_freertos2021 | 46f82761d4a372d42fd708d3afb8abad5bcfb0a7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 CSEM SA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __HAL_H__
#define __HAL_H__
#include <stdint.h>
#include "hal/hal_flash.h"
#include "hal/hal_gpio.h"
#include "hal/hal_rcc.h"
#include "hal/hal_util.h"
#include "hal/hal_fpu.h"
#include "hal/hal_scb.h"
#include "hal/hal_uart.h"
#include "hal/hal_tim.h"
/**
* @brief Initializes all included modules
*/
#define HAL_INIT() HAL_init()
/**
* @brief Deinitializes all included modules
*/
#define HAL_DEINIT() HAL_deinit()
/**
* @brief Initializes all included modules
*/
static inline void HAL_init(void){
#ifdef HAL_INCLUDE_RCC
HAL_RCC_INIT();
#endif /* HAL_INCLUDE_RCC */
#ifdef HAL_INCLUDE_GPIO
HAL_GPIO_INIT();
#endif /* HAL_INCLUDE_GPIO */
#ifdef HAL_INCLUDE_FPU
HAL_FPU_INIT();
#endif /* HAL_INCLUDE_FPU */
#ifdef HAL_INCLUDE_UART
HAL_UART_INIT();
#endif /* HAL_INCLUDE_UART */
#ifdef HAL_INCLUDE_TIM
HAL_TIM_INIT();
#endif /* HAL_INCLUDE_TIM */
}
/**
* @brief Deinitializes all included modules
*/
static inline void HAL_deinit(void){
#ifdef HAL_INCLUDE_TIM
HAL_TIM_DEINIT();
#endif /* HAL_INCLUDE_TIM */
#ifdef HAL_INCLUDE_UART
HAL_UART_DEINIT();
#endif /* HAL_INCLUDE_UART */
#ifdef HAL_INCLUDE_FPU
HAL_FPU_DEINIT();
#endif /* HAL_INCLUDE_FPU */
#ifdef HAL_INCLUDE_GPIO
HAL_GPIO_DEINIT();
#endif /* HAL_INCLUDE_GPIO */
#ifdef HAL_INCLUDE_RCC
HAL_RCC_DEINIT();
#endif /* HAL_INCLUDE_RCC */
}
#endif /* __HAL_H__ */ | 21.595745 | 78 | 0.704433 |
6b74cbb96b028547ce54db3f0605f626e6e54412 | 4,474 | h | C | runtime/include/histogram.h | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | 1 | 2021-09-09T03:17:23.000Z | 2021-09-09T03:17:23.000Z | runtime/include/histogram.h | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | null | null | null | runtime/include/histogram.h | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | 1 | 2021-09-13T11:21:57.000Z | 2021-09-13T11:21:57.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef PANDA_RUNTIME_INCLUDE_HISTOGRAM_H_
#define PANDA_RUNTIME_INCLUDE_HISTOGRAM_H_
#include "libpandabase/utils/type_converter.h"
#include "libpandabase/macros.h"
#include "mem/panda_containers.h"
#include "mem/panda_string.h"
namespace panda {
/**
* \brief Class for providing distribution statistics
* Minimum, maximum, count, average, sum, dispersion
*/
template <class Value>
class SimpleHistogram {
public:
explicit SimpleHistogram(helpers::ValueType type_of_value = helpers::ValueType::VALUE_TYPE_OBJECT)
: type_of_value_(type_of_value)
{
}
/**
* \brief Add all element to statistics at the half-interval from \param start to \param finish
* @param start begin of values inclusive
* @param finish end of values not inclusive
*/
template <class ForwardIterator>
SimpleHistogram(ForwardIterator start, ForwardIterator finish,
helpers::ValueType type_of_value = helpers::ValueType::VALUE_TYPE_OBJECT);
/**
* \brief Output the General statistics of Histogram
* @return PandaString with Sum, Avg, Max
*/
PandaString GetGeneralStatistic() const;
/**
* \brief Add \param element to statistics \param number of times
* @param element
* @param count
*/
void AddValue(const Value &element, size_t number = 1);
size_t GetCount() const
{
return count_;
}
Value GetSum() const
{
return sum_;
}
Value GetMin() const
{
return min_;
}
Value GetMax() const
{
return max_;
}
double GetAvg() const
{
if (count_ > 0U) {
return sum_ / static_cast<double>(count_);
}
return 0;
}
double GetDispersion() const
{
if (count_ > 0U) {
return sum_of_squares_ / static_cast<double>(count_) - GetAvg() * GetAvg();
}
return 0;
}
~SimpleHistogram() = default;
DEFAULT_COPY_SEMANTIC(SimpleHistogram);
DEFAULT_NOEXCEPT_MOVE_SEMANTIC(SimpleHistogram);
private:
size_t count_ = 0;
Value sum_ = 0;
Value sum_of_squares_ = 0;
Value min_ = 0;
Value max_ = 0;
helpers::ValueType type_of_value_;
};
/**
* \brief Class for providing distribution statistics
* Minimum, maximum, count, average, sum, dispersion
*/
template <class Value>
class Histogram : public SimpleHistogram<Value> {
public:
explicit Histogram(helpers::ValueType type_of_value = helpers::ValueType::VALUE_TYPE_OBJECT)
: SimpleHistogram<Value>(type_of_value)
{
}
~Histogram() = default;
DEFAULT_COPY_SEMANTIC(Histogram);
DEFAULT_MOVE_SEMANTIC(Histogram);
/**
* \brief Add all elements to statistics at the half-interval from \param start to \param finish
* @param start begin of values inclusive
* @param finish end of values not inclusive
*/
template <class ForwardIterator>
Histogram(ForwardIterator start, ForwardIterator finish,
helpers::ValueType type_of_value = helpers::ValueType::VALUE_TYPE_OBJECT);
/**
* \brief Output the first \param count_top of the lowest values by key
* with the number of their count
* @param count_top Number of first values to output
* @return PandaString with in format: "[key:count[,]]*"
*/
PandaString GetTopDump(size_t count_top = DEFAULT_TOP_SIZE) const;
/**
* \brief Add \param element to statistics \param number of times
* @param element
* @param count
*/
void AddValue(const Value &element, size_t number = 1);
size_t GetCountDifferent() const
{
return frequency_.size();
}
private:
PandaMap<Value, uint32_t> frequency_;
static constexpr size_t DEFAULT_TOP_SIZE = 10;
};
} // namespace panda
#endif // PANDA_RUNTIME_INCLUDE_HISTOGRAM_H_
| 27.447853 | 102 | 0.670988 |
6b7d211db7fe44f7867a02789dbc86b8cb8f6959 | 730 | h | C | muzzley-ios/Muzzley-iOS/Muzzley-iOS/UI Layer/MuzzleyUIKit/MZTableView/MZTableViewDataSource.h | habitio/habit-whitelabel-app-ios | 6e40a1819555cad14969e53d1a0bb420813f9177 | [
"MIT"
] | 2 | 2019-06-17T14:36:30.000Z | 2021-03-23T14:53:58.000Z | muzzley-ios/Muzzley-iOS/Muzzley-iOS/UI Layer/MuzzleyUIKit/MZTableView/MZTableViewDataSource.h | habitio/habit-whitelabel-app-ios | 6e40a1819555cad14969e53d1a0bb420813f9177 | [
"MIT"
] | null | null | null | muzzley-ios/Muzzley-iOS/Muzzley-iOS/UI Layer/MuzzleyUIKit/MZTableView/MZTableViewDataSource.h | habitio/habit-whitelabel-app-ios | 6e40a1819555cad14969e53d1a0bb420813f9177 | [
"MIT"
] | null | null | null | //
// MZTableViewDataSource.h
// Muzzley-iOS
//
// Created by Hugo Sousa on 18/7/15.
// Copyright (c) 2015 Muzzley. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MZTableViewDataSource : NSObject <UITableViewDataSource, UITableViewDelegate>
//! If one of model's properties has changed (but it's still the same object), this will reload the visible cell for that model. Useful whenever something mutates the state of a model (i.e. image loading)
- (void)reloadVisibleCellForModel:(NSObject *)model inTableView:(UITableView *)tableView;
//! Set as the parent view controller of any cells implementing MZTableViewChildViewControllerCell.
@property (weak, nonatomic) UIViewController *parentViewController;
@end
| 36.5 | 204 | 0.772603 |
27158fea80a8422af9db18f8a08c9e1254ef4c26 | 2,956 | c | C | src/layers/nnom_input.c | YuehChuan/nnom | 68af27a0631244f2bb78cd4e4f2da916f122991a | [
"Apache-2.0"
] | null | null | null | src/layers/nnom_input.c | YuehChuan/nnom | 68af27a0631244f2bb78cd4e4f2da916f122991a | [
"Apache-2.0"
] | null | null | null | src/layers/nnom_input.c | YuehChuan/nnom | 68af27a0631244f2bb78cd4e4f2da916f122991a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2018-2019
* Jianjia Ma, Wearable Bio-Robotics Group (WBR)
* majianjia@live.com
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2019-07-23 Jianjia Ma The first version
*/
#include <stdint.h>
#include <string.h>
#include <stdbool.h>
#include "nnom.h"
#include "nnom_local.h"
#include "nnom_layers.h"
#include "layers/nnom_input.h"
nnom_status_t input_build(nnom_layer_t *layer);
nnom_status_t input_run(nnom_layer_t *layer);
nnom_layer_t *input_s(nnom_io_config_t* config)
{
nnom_layer_t *layer = Input(config->shape, config->data);
if(layer)
layer->config = config;
return layer;
}
nnom_layer_t *Input(nnom_3d_shape_t input_shape, void *p_buf)
{
nnom_io_layer_t *layer;
nnom_layer_io_t *in, *out;
// apply a block memory for all the sub handles.
layer = nnom_mem(sizeof(nnom_io_layer_t) + sizeof(nnom_layer_io_t) * 2);
if (layer == NULL)
return NULL;
// distribut the memory to sub handles.
in = (void *)((uint8_t*)layer + sizeof(nnom_io_layer_t));
out = (void *)((uint8_t*)in + sizeof(nnom_layer_io_t));
// set type in layer parent
layer->super.type = NNOM_INPUT;
layer->super.run = input_run;
layer->super.build = input_build;
// set buf state
in->type = NNOM_TENSOR_BUF_TEMP;
out->type = NNOM_TENSOR_BUF_NULL;
// put in & out on the layer.
layer->super.in = io_init(layer, in);
layer->super.out = io_init(layer, out);
// set parameters
layer->shape = input_shape;
layer->buf = p_buf;
// experimental: fixed input dim to 3
// input normally dont have a tensor, so we create one to store the initial data.
nnom_shape_data_t dim[3] = { input_shape.h, input_shape.w, input_shape.c };
layer->super.in->tensor = new_tensor(NNOM_QTYPE_PER_TENSOR, 3, input_shape.c);
tensor_set_attr_v(layer->super.in->tensor, 7, 0, dim, sizeof(dim)/sizeof(nnom_shape_data_t), 8);
return (nnom_layer_t *)layer;
}
nnom_status_t input_build(nnom_layer_t* layer)
{
// the input tensor of inputlayer has assigned previously
// output tensor
// 1. allocate a new tensor for output
// 2. set the same dim, qfmt to the new tensor.
layer->out->tensor = new_tensor(NNOM_QTYPE_PER_TENSOR, layer->in->tensor->num_dim, tensor_get_num_channel(layer->in->tensor));
tensor_cpy_attr(layer->out->tensor, layer->in->tensor);
// now this build has passed the input tensors (shapes, formats) to the new tensors.
return NN_SUCCESS;
}
nnom_status_t input_run(nnom_layer_t *layer)
{
nnom_io_layer_t *cl = (nnom_io_layer_t *)layer;
#ifdef NNOM_USING_CHW
//tensor_hwc2chw_q7(layer->out->tensor, layer->in->tensor); // this is not correct. both in and out tensor is the same tensor.
nnom_3d_shape_t shape = {layer->in->tensor->dim[0], layer->in->tensor->dim[1], layer->in->tensor->dim[2]};
hwc2chw_q7(shape, cl->buf, layer->in->tensor->p_data);
#else
memcpy(layer->in->tensor->p_data, cl->buf, tensor_size(layer->in->tensor));
#endif
return NN_SUCCESS;
}
| 30.474227 | 129 | 0.717524 |
5c4a2112beaf314be85039039361492040276077 | 10,847 | h | C | deps/museum/5.0.0/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_conntrack.h | simpleton/profilo | 91ef4ba1a8316bad2b3080210316dfef4761e180 | [
"Apache-2.0"
] | null | null | null | deps/museum/5.0.0/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_conntrack.h | simpleton/profilo | 91ef4ba1a8316bad2b3080210316dfef4761e180 | [
"Apache-2.0"
] | null | null | null | deps/museum/5.0.0/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_conntrack.h | simpleton/profilo | 91ef4ba1a8316bad2b3080210316dfef4761e180 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call into the kernel available to libc. It contains only constants,
*** structures, and macros generated from the original header, and thus,
*** contains no copyrightable information.
***
*** To edit the content of this header, modify the corresponding
*** source file (e.g. under external/kernel-headers/original/) then
*** run bionic/libc/kernel/tools/update_all.py
***
*** Any manual change here will be lost the next time this script will
*** be run. You've been warned!
***
****************************************************************************
****************************************************************************/
#ifndef _IPCONNTRACK_NETLINK_H
#define _IPCONNTRACK_NETLINK_H
#define IPCONNTRACK_NETLINK_H
#define IPCONNTRACK_NETLINK_H_
#define _UAPI_IPCONNTRACK_NETLINK_H
#define _UAPI_IPCONNTRACK_NETLINK_H_
#define _IPCONNTRACK_NETLINK_H_
#include <museum/5.0.0/bionic/libc/linux/netfilter/nfnetlink.h>
enum cntl_msg_types {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
IPCTNL_MSG_CT_NEW,
IPCTNL_MSG_CT_GET,
IPCTNL_MSG_CT_DELETE,
IPCTNL_MSG_CT_GET_CTRZERO,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
IPCTNL_MSG_CT_GET_STATS_CPU,
IPCTNL_MSG_CT_GET_STATS,
IPCTNL_MSG_CT_GET_DYING,
IPCTNL_MSG_CT_GET_UNCONFIRMED,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
IPCTNL_MSG_MAX
};
enum ctnl_exp_msg_types {
IPCTNL_MSG_EXP_NEW,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
IPCTNL_MSG_EXP_GET,
IPCTNL_MSG_EXP_DELETE,
IPCTNL_MSG_EXP_GET_STATS_CPU,
IPCTNL_MSG_EXP_MAX
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
enum ctattr_type {
CTA_UNSPEC,
CTA_TUPLE_ORIG,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_TUPLE_REPLY,
CTA_STATUS,
CTA_PROTOINFO,
CTA_HELP,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_NAT_SRC,
#define CTA_NAT CTA_NAT_SRC
CTA_TIMEOUT,
CTA_MARK,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_COUNTERS_ORIG,
CTA_COUNTERS_REPLY,
CTA_USE,
CTA_ID,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_NAT_DST,
CTA_TUPLE_MASTER,
CTA_SEQ_ADJ_ORIG,
CTA_NAT_SEQ_ADJ_ORIG = CTA_SEQ_ADJ_ORIG,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_SEQ_ADJ_REPLY,
CTA_NAT_SEQ_ADJ_REPLY = CTA_SEQ_ADJ_REPLY,
CTA_SECMARK,
CTA_ZONE,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_SECCTX,
CTA_TIMESTAMP,
CTA_MARK_MASK,
CTA_LABELS,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_LABELS_MASK,
__CTA_MAX
};
#define CTA_MAX (__CTA_MAX - 1)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
enum ctattr_tuple {
CTA_TUPLE_UNSPEC,
CTA_TUPLE_IP,
CTA_TUPLE_PROTO,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__CTA_TUPLE_MAX
};
#define CTA_TUPLE_MAX (__CTA_TUPLE_MAX - 1)
enum ctattr_ip {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_IP_UNSPEC,
CTA_IP_V4_SRC,
CTA_IP_V4_DST,
CTA_IP_V6_SRC,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_IP_V6_DST,
__CTA_IP_MAX
};
#define CTA_IP_MAX (__CTA_IP_MAX - 1)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
enum ctattr_l4proto {
CTA_PROTO_UNSPEC,
CTA_PROTO_NUM,
CTA_PROTO_SRC_PORT,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_PROTO_DST_PORT,
CTA_PROTO_ICMP_ID,
CTA_PROTO_ICMP_TYPE,
CTA_PROTO_ICMP_CODE,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_PROTO_ICMPV6_ID,
CTA_PROTO_ICMPV6_TYPE,
CTA_PROTO_ICMPV6_CODE,
__CTA_PROTO_MAX
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
#define CTA_PROTO_MAX (__CTA_PROTO_MAX - 1)
enum ctattr_protoinfo {
CTA_PROTOINFO_UNSPEC,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_PROTOINFO_TCP,
CTA_PROTOINFO_DCCP,
CTA_PROTOINFO_SCTP,
__CTA_PROTOINFO_MAX
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
#define CTA_PROTOINFO_MAX (__CTA_PROTOINFO_MAX - 1)
enum ctattr_protoinfo_tcp {
CTA_PROTOINFO_TCP_UNSPEC,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_PROTOINFO_TCP_STATE,
CTA_PROTOINFO_TCP_WSCALE_ORIGINAL,
CTA_PROTOINFO_TCP_WSCALE_REPLY,
CTA_PROTOINFO_TCP_FLAGS_ORIGINAL,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_PROTOINFO_TCP_FLAGS_REPLY,
__CTA_PROTOINFO_TCP_MAX
};
#define CTA_PROTOINFO_TCP_MAX (__CTA_PROTOINFO_TCP_MAX - 1)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
enum ctattr_protoinfo_dccp {
CTA_PROTOINFO_DCCP_UNSPEC,
CTA_PROTOINFO_DCCP_STATE,
CTA_PROTOINFO_DCCP_ROLE,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_PROTOINFO_DCCP_HANDSHAKE_SEQ,
__CTA_PROTOINFO_DCCP_MAX,
};
#define CTA_PROTOINFO_DCCP_MAX (__CTA_PROTOINFO_DCCP_MAX - 1)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
enum ctattr_protoinfo_sctp {
CTA_PROTOINFO_SCTP_UNSPEC,
CTA_PROTOINFO_SCTP_STATE,
CTA_PROTOINFO_SCTP_VTAG_ORIGINAL,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_PROTOINFO_SCTP_VTAG_REPLY,
__CTA_PROTOINFO_SCTP_MAX
};
#define CTA_PROTOINFO_SCTP_MAX (__CTA_PROTOINFO_SCTP_MAX - 1)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
enum ctattr_counters {
CTA_COUNTERS_UNSPEC,
CTA_COUNTERS_PACKETS,
CTA_COUNTERS_BYTES,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_COUNTERS32_PACKETS,
CTA_COUNTERS32_BYTES,
__CTA_COUNTERS_MAX
};
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define CTA_COUNTERS_MAX (__CTA_COUNTERS_MAX - 1)
enum ctattr_tstamp {
CTA_TIMESTAMP_UNSPEC,
CTA_TIMESTAMP_START,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_TIMESTAMP_STOP,
__CTA_TIMESTAMP_MAX
};
#define CTA_TIMESTAMP_MAX (__CTA_TIMESTAMP_MAX - 1)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
enum ctattr_nat {
CTA_NAT_UNSPEC,
CTA_NAT_V4_MINIP,
#define CTA_NAT_MINIP CTA_NAT_V4_MINIP
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_NAT_V4_MAXIP,
#define CTA_NAT_MAXIP CTA_NAT_V4_MAXIP
CTA_NAT_PROTO,
CTA_NAT_V6_MINIP,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_NAT_V6_MAXIP,
__CTA_NAT_MAX
};
#define CTA_NAT_MAX (__CTA_NAT_MAX - 1)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
enum ctattr_protonat {
CTA_PROTONAT_UNSPEC,
CTA_PROTONAT_PORT_MIN,
CTA_PROTONAT_PORT_MAX,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__CTA_PROTONAT_MAX
};
#define CTA_PROTONAT_MAX (__CTA_PROTONAT_MAX - 1)
enum ctattr_seqadj {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_SEQADJ_UNSPEC,
CTA_SEQADJ_CORRECTION_POS,
CTA_SEQADJ_OFFSET_BEFORE,
CTA_SEQADJ_OFFSET_AFTER,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__CTA_SEQADJ_MAX
};
#define CTA_SEQADJ_MAX (__CTA_SEQADJ_MAX - 1)
enum ctattr_natseq {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_NAT_SEQ_UNSPEC,
CTA_NAT_SEQ_CORRECTION_POS,
CTA_NAT_SEQ_OFFSET_BEFORE,
CTA_NAT_SEQ_OFFSET_AFTER,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__CTA_NAT_SEQ_MAX
};
#define CTA_NAT_SEQ_MAX (__CTA_NAT_SEQ_MAX - 1)
enum ctattr_expect {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_EXPECT_UNSPEC,
CTA_EXPECT_MASTER,
CTA_EXPECT_TUPLE,
CTA_EXPECT_MASK,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_EXPECT_TIMEOUT,
CTA_EXPECT_ID,
CTA_EXPECT_HELP_NAME,
CTA_EXPECT_ZONE,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_EXPECT_FLAGS,
CTA_EXPECT_CLASS,
CTA_EXPECT_NAT,
CTA_EXPECT_FN,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__CTA_EXPECT_MAX
};
#define CTA_EXPECT_MAX (__CTA_EXPECT_MAX - 1)
enum ctattr_expect_nat {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_EXPECT_NAT_UNSPEC,
CTA_EXPECT_NAT_DIR,
CTA_EXPECT_NAT_TUPLE,
__CTA_EXPECT_NAT_MAX
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
#define CTA_EXPECT_NAT_MAX (__CTA_EXPECT_NAT_MAX - 1)
enum ctattr_help {
CTA_HELP_UNSPEC,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_HELP_NAME,
CTA_HELP_INFO,
__CTA_HELP_MAX
};
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define CTA_HELP_MAX (__CTA_HELP_MAX - 1)
enum ctattr_secctx {
CTA_SECCTX_UNSPEC,
CTA_SECCTX_NAME,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__CTA_SECCTX_MAX
};
#define CTA_SECCTX_MAX (__CTA_SECCTX_MAX - 1)
enum ctattr_stats_cpu {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_STATS_UNSPEC,
CTA_STATS_SEARCHED,
CTA_STATS_FOUND,
CTA_STATS_NEW,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_STATS_INVALID,
CTA_STATS_IGNORE,
CTA_STATS_DELETE,
CTA_STATS_DELETE_LIST,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_STATS_INSERT,
CTA_STATS_INSERT_FAILED,
CTA_STATS_DROP,
CTA_STATS_EARLY_DROP,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_STATS_ERROR,
CTA_STATS_SEARCH_RESTART,
__CTA_STATS_MAX,
};
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define CTA_STATS_MAX (__CTA_STATS_MAX - 1)
enum ctattr_stats_global {
CTA_STATS_GLOBAL_UNSPEC,
CTA_STATS_GLOBAL_ENTRIES,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__CTA_STATS_GLOBAL_MAX,
};
#define CTA_STATS_GLOBAL_MAX (__CTA_STATS_GLOBAL_MAX - 1)
enum ctattr_expect_stats {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
CTA_STATS_EXP_UNSPEC,
CTA_STATS_EXP_NEW,
CTA_STATS_EXP_CREATE,
CTA_STATS_EXP_DELETE,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__CTA_STATS_EXP_MAX,
};
#define CTA_STATS_EXP_MAX (__CTA_STATS_EXP_MAX - 1)
#endif
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
| 34.003135 | 78 | 0.758366 |
5c97f400b4b68bade19248b71842db7accbe2b98 | 756 | h | C | Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/include/Fuse.Node.ISiblingDataProvider.h | marferfer/SpinOff-LoL | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | [
"Apache-2.0"
] | null | null | null | Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/include/Fuse.Node.ISiblingDataProvider.h | marferfer/SpinOff-LoL | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | [
"Apache-2.0"
] | null | null | null | Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/include/Fuse.Node.ISiblingDataProvider.h | marferfer/SpinOff-LoL | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | [
"Apache-2.0"
] | null | null | null | // This file was generated based on C:/Users/JuanJose/AppData/Local/Fusetools/Packages/Fuse.Nodes/1.9.0/Node.DataContext.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{
namespace Fuse{
// public abstract interface Node.ISiblingDataProvider :13
// {
uInterfaceType* Node__ISiblingDataProvider_typeof();
struct Node__ISiblingDataProvider
{
void(*fp_TryGetDataProvider)(uObject*, int32_t*, uObject**, int32_t*);
static int32_t TryGetDataProvider(const uInterface& __this, int32_t type, uObject** provider) { int32_t __retval; return __this.VTable<Node__ISiblingDataProvider>()->fp_TryGetDataProvider(__this, &type, provider, &__retval), __retval; }
};
// }
}} // ::g::Fuse
| 34.363636 | 240 | 0.76455 |
167bbc8211a2cfa0dd59ec64b644e6341d3f958c | 14,586 | c | C | app/flex/component/connect/sl_connect_sdk_ota_unicast_bootloader_test/sl_connect_sdk_ota_unicast_bootloader_test.c | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | app/flex/component/connect/sl_connect_sdk_ota_unicast_bootloader_test/sl_connect_sdk_ota_unicast_bootloader_test.c | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 2 | 2017-02-13T10:07:17.000Z | 2017-03-22T21:28:26.000Z | app/flex/component/connect/sl_connect_sdk_ota_unicast_bootloader_test/sl_connect_sdk_ota_unicast_bootloader_test.c | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | /***************************************************************************//**
* @file
* @brief APIs for the sl_ota-unicast-bootloader-test plugin.
*******************************************************************************
* # License
* <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b>
*******************************************************************************
*
* SPDX-License-Identifier: Zlib
*
* The licensor of this software is Silicon Laboratories Inc.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
*
* 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
* 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
*
******************************************************************************/
// -----------------------------------------------------------------------------
// Includes
// -----------------------------------------------------------------------------
#include PLATFORM_HEADER
#include "stack/include/ember.h"
#include "hal/hal.h"
#include "sl_connect_sdk_ota_bootloader_test_common.h"
#include "sl_connect_sdk_btl-interface.h"
#include "sl_cli.h"
#include "app_log.h"
#if defined(SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_SERVER_PRESENT)
#include SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_SERVER
#endif // SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_SERVER_PRESENT
#if defined(SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_CLIENT_PRESENT)
#include SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_CLIENT
#endif // SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_CLIENT_PRESENT
// -----------------------------------------------------------------------------
// Global Variables
// -----------------------------------------------------------------------------
/// Timing event for scheduling the bootload process of the received image.
EmberEventControl emAfPluginOtaUnicastBootloaderTestEventControl;
// -----------------------------------------------------------------------------
// Static Variables
// -----------------------------------------------------------------------------
/// Node ID of the target
static EmberNodeId target;
/// Enable resuming an image after the timeout period.
static bool ota_resume_enable = true;
/// the image index to start/resume the download
static uint32_t unicast_download_start_index = 0;
// -----------------------------------------------------------------------------
// Public Function Definitions
// -----------------------------------------------------------------------------
/**************************************************************************//**
* Event code (used to schedule a bootload action at the client).
*****************************************************************************/
void emAfPluginOtaUnicastBootloaderTestEventHandler(void)
{
emberEventControlSetInactive(emAfPluginOtaUnicastBootloaderTestEventControl);
bootloader_flash_image();
}
#if defined(SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_SERVER_PRESENT)
//------------------------------------------------------------------------------
// OTA Bootloader Server implemented callbacks.
/**************************************************************************//**
* A callback invoked during an image distribution process to retrieve
* a contiguous segment of the image being distributed.
*****************************************************************************/
bool emberAfPluginOtaUnicastBootloaderServerGetImageSegmentCallback(uint32_t startIndex,
uint32_t endIndex,
uint8_t imageTag,
uint8_t *imageSegment)
{
app_log_info("(server): get segment, start: %d, end: %d, tag: 0x%x\n",
startIndex, endIndex, imageTag);
//Initialize bootloader (and flash part) if not yet initialized or in shutdown.
if ( !emberAfPluginBootloaderInterfaceIsBootloaderInitialized() ) {
if ( !emberAfPluginBootloaderInterfaceInit() ) {
return false;
}
}
if ( !emberAfPluginBootloaderInterfaceRead(startIndex, endIndex - startIndex + 1, imageSegment) ) {
return false;
}
app_log_info(".");
return true;
}
/**************************************************************************//**
* A callback invoked when the image distribution process is terminated.
*****************************************************************************/
void emberAfPluginOtaUnicastBootloaderServerImageDistributionCompleteCallback(EmberAfOtaUnicastBootloaderStatus status)
{
app_log_info("image distribution completed, 0x%x\n", status);
}
/**************************************************************************//**
* A callback invoked when a bootload request process has completed.
*****************************************************************************/
void emberAfPluginOtaUnicastBootloaderServerRequestTargetBootloadCompleteCallback(EmberAfOtaUnicastBootloaderStatus status)
{
app_log_info("bootload request completed, 0x%x\n", status);
}
#endif // SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_SERVER_PRESENT
//------------------------------------------------------------------------------
// OTA Unicast Bootloader Client implemented callbacks.
#if defined(SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_CLIENT_PRESENT)
/**************************************************************************//**
* A callback invoked when the client starts receiving a new image.
*****************************************************************************/
bool emberAfPluginOtaUnicastBootloaderClientNewIncomingImageCallback(EmberNodeId serverId,
uint8_t imageTag,
uint32_t imageSize,
uint32_t *startIndex)
{
(void)serverId;
(void)imageSize;
if (startIndex == NULL) {
app_log_error("argument error\n");
return false;
}
// The client shall accept images with matching tag
bool accept = (imageTag == ota_bootloader_test_image_tag);
if (ota_resume_enable) {
if (ota_resume_start_counter_reset) {
*startIndex = 0;
ota_resume_start_counter_reset = false;
} else {
*startIndex = unicast_download_start_index;
}
}
app_log_info("new incoming unicast image %s (tag=0x%x)\n",
((accept) ? "ACCEPTED" : "REFUSED"),
imageTag);
return accept;
}
/**************************************************************************//**
* A callback invoked when an image segment that is part of an image the
* application chose to download was received.
*****************************************************************************/
void emberAfPluginOtaUnicastBootloaderClientIncomingImageSegmentCallback(EmberNodeId serverId,
uint32_t startIndex,
uint32_t endIndex,
uint8_t imageTag,
uint8_t *imageSegment)
{
(void)serverId;
app_log_info("(client): incoming segment, start: %lu, end: %lu, tag: 0x%x\n",
(long unsigned int) startIndex, (long unsigned int) endIndex, imageTag);
//Initialize bootloader (and flash part) if not yet initialized or in shutdown.
if ( !emberAfPluginBootloaderInterfaceIsBootloaderInitialized() ) {
if ( !emberAfPluginBootloaderInterfaceInit() ) {
app_log_error("init failed\n");
emberAfPluginOtaUnicastBootloaderClientAbortImageDownload(imageTag);
unicast_download_start_index = 0;
return;
}
}
if ( !emberAfPluginBootloaderInterfaceWrite(startIndex,
endIndex - startIndex + 1,
imageSegment) ) {
app_log_error("write failed\n");
emberAfPluginOtaUnicastBootloaderClientAbortImageDownload(imageTag);
unicast_download_start_index = 0;
return;
}
unicast_download_start_index = endIndex + 1;
app_log_info(".");
}
/**************************************************************************//**
* A callback invoked to indicate that an image download has completed.
*****************************************************************************/
void emberAfPluginOtaUnicastBootloaderClientImageDownloadCompleteCallback(EmberAfOtaUnicastBootloaderStatus status,
uint8_t imageTag,
uint32_t imageSize)
{
if (status == EMBER_OTA_UNICAST_BOOTLOADER_STATUS_SUCCESS) {
app_log_info("Image download COMPLETED tag=0x%x size=%lu\n",
imageTag, (long unsigned int) imageSize);
unicast_download_start_index = 0;
} else {
app_log_error("Image download FAILED status=0x%x\n", status);
}
}
/**************************************************************************//**
* A callback invoked to indicate that a server has requested to perform a
* bootload operation at a certain point in time in the future.
*****************************************************************************/
bool emberAfPluginOtaUnicastBootloaderClientIncomingRequestBootloadCallback(EmberNodeId serverId,
uint8_t imageTag,
uint32_t bootloadDelayMs)
{
// The client shall bootload an image with matching tag.
// TODO: we should also maintain a state machine to keep track whether this
// image was previously correctly received. For now we assume the server would
// issue a bootload request only if the client reported a successful image
// download.
(void)serverId;
bool accept = (imageTag == ota_bootloader_test_image_tag);
if (accept) {
app_log_info("bootload request for image with tag 0x%x accepted, will bootload in %lu ms\n",
imageTag, (long unsigned int) bootloadDelayMs);
// Schedule a bootload action.
emberEventControlSetDelayMS(emAfPluginOtaUnicastBootloaderTestEventControl,
bootloadDelayMs);
} else {
app_log_info("bootload request refused (tag 0x%x doesn't match)\n",
imageTag);
}
return accept;
}
#endif // SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_CLIENT_PRESENT
// -----------------------------------------------------------------------------
// Public Function Definitions
// -----------------------------------------------------------------------------
/**************************************************************************//**
* Brief description of my_public_function().
*****************************************************************************/
void cli_bootloader_unicast_set_target(sl_cli_command_arg_t *arguments)
{
if ((arguments == NULL)
|| (arguments->argv == NULL)
|| (arguments->argv[arguments->arg_ofs + 0] == NULL)) {
app_log_error("argument error\n");
return;
}
EmberNodeId target_id = sl_cli_get_argument_uint16(arguments, 0);
target = target_id;
app_log_info("unicast target set\n");
}
/**************************************************************************//**
* Brief description of my_public_function().
*****************************************************************************/
void cli_bootloader_unicast_unicast_distribute(sl_cli_command_arg_t *arguments)
{
#if defined(SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_SERVER_PRESENT)
uint32_t image_size = sl_cli_get_argument_uint32(arguments, 0);
uint8_t image_tag = sl_cli_get_argument_uint8(arguments, 1);
EmberAfOtaUnicastBootloaderStatus status =
emberAfPluginOtaUnicastBootloaderServerInitiateImageDistribution(target,
image_size,
image_tag);
if (status == EMBER_OTA_UNICAST_BOOTLOADER_STATUS_SUCCESS) {
app_log_info("unicast image distribution initiated\n");
} else {
app_log_error("unicast image distribution failed 0x%x\n", status);
}
#else
(void)arguments;
app_log_info("OTA unicast bootloader server plugin not included\n");
#endif // SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_SERVER_PRESENT
}
/**************************************************************************//**
* Brief description of my_public_function().
*****************************************************************************/
void cli_bootloader_unicast_request_bootload(sl_cli_command_arg_t *arguments)
{
#if defined(SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_SERVER_PRESENT)
uint32_t delay_ms = sl_cli_get_argument_uint32(arguments, 0);
uint8_t image_tag = sl_cli_get_argument_uint8(arguments, 1);
EmberAfOtaUnicastBootloaderStatus status =
emberAfPluginUnicastBootloaderServerInitiateRequestTargetBootload(delay_ms,
image_tag,
target);
if (status == EMBER_OTA_UNICAST_BOOTLOADER_STATUS_SUCCESS) {
app_log_info("bootload request initiated\n");
} else {
app_log_error("bootload request failed 0x%x\n", status);
}
#else
(void)arguments;
app_log_warning("OTA bootloader server plugin not included\n");
#endif // SL_CATALOG_CONNECT_OTA_UNICAST_BOOTLOADER_SERVER_PRESENT
}
| 45.018519 | 123 | 0.530646 |
8dfcd7710564ab88da7dde25e62f4eb376588116 | 1,338 | h | C | Pritugin/06/format.h | mtrempoltsev/msu_cpp_autumn_2018 | 9272511ddfaa78332cfabda071b5fa3a9aee79cf | [
"MIT"
] | 16 | 2018-09-27T13:59:59.000Z | 2019-10-01T21:33:40.000Z | Pritugin/06/format.h | mtrempoltsev/msu_cpp_autumn_2018 | 9272511ddfaa78332cfabda071b5fa3a9aee79cf | [
"MIT"
] | 2 | 2018-10-17T20:56:15.000Z | 2018-10-24T00:02:42.000Z | Pritugin/06/format.h | mtrempoltsev/msu_cpp_autumn_2018 | 9272511ddfaa78332cfabda071b5fa3a9aee79cf | [
"MIT"
] | 22 | 2018-09-27T14:00:16.000Z | 2019-12-17T19:44:33.000Z | #include <iostream>
#include <sstream>
#include <vector>
#include <cctype>
using std::to_string;
template<typename T>
std::string to_string(const T &t)
{
std::stringstream ss;
ss << t;
return ss.str();
}
// ----------------
std::string format(const std::string& s)
{
return s;
}
template<class... Args>
std::string format(const std::string& s, Args&&... args)
{
std::vector<std::string> strs {to_string(std::forward<Args>(args))...};
static const char FORMAT_SYMBOL = '{';
std::string res;
std::string buf;
bool arg = false;
for (size_t i = 0; i <= s.size(); ++i)
{
bool last = (i == s.size());
if(arg && last)
throw std::runtime_error("Error");
if (arg)
{
if (isdigit(s[i]))
{
buf += s[i];
}
else
{
if(s[i] == '}')
{
size_t num = 0;
if (!buf.empty())
num = atoi(buf.c_str());
else
throw std::runtime_error("Error");
if (num >= 0 && num < strs.size())
res += strs[num];
else
throw std::runtime_error("Error");
buf.clear();
arg = false;
}
else
{
throw std::runtime_error("Error");
}
}
}
else
{
if (s[i] == FORMAT_SYMBOL)
{
arg = true;
}
else
{
if(s[i] == '}')
throw std::runtime_error("Error");
if (!last)
res += s[i];
}
}
}
return res;
}
| 15.55814 | 72 | 0.520179 |
3825b119ac8f0c64e813ea29e69f09be04afd0e9 | 177 | c | C | examples/minimal/undefined/UB-EIO3-bad.c | ellisonch/c-semantics | e7bc175907130fd6f1571c29dd878860aafdc2c7 | [
"MIT"
] | 1 | 2016-08-10T15:41:53.000Z | 2016-08-10T15:41:53.000Z | examples/minimal/undefined/UB-EIO3-bad.c | ellisonch/c-semantics | e7bc175907130fd6f1571c29dd878860aafdc2c7 | [
"MIT"
] | null | null | null | examples/minimal/undefined/UB-EIO3-bad.c | ellisonch/c-semantics | e7bc175907130fd6f1571c29dd878860aafdc2c7 | [
"MIT"
] | 1 | 2021-07-31T21:55:35.000Z | 2021-07-31T21:55:35.000Z | // Copyright (c) 2015 RV-Match Team. All Rights Reserved.
#include <string.h>
int main(void){
const char p[] = "hello";
char *q = strchr(p, p[0]);
q[0] = 'x';
return 0;
}
| 16.090909 | 57 | 0.59887 |
a8295dcb33898de916c6ec12de5d4b9bbb4a49a4 | 521 | h | C | ios/versioned-react-native/ABI36_0_0/Expo/EXFont/ABI36_0_0EXFont/ABI36_0_0EXFontLoaderProcessor.h | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 3 | 2020-09-06T17:32:53.000Z | 2021-05-20T19:04:48.000Z | ios/versioned-react-native/ABI36_0_0/Expo/EXFont/ABI36_0_0EXFont/ABI36_0_0EXFontLoaderProcessor.h | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 16 | 2021-03-01T21:18:59.000Z | 2022-02-27T08:18:52.000Z | ios/versioned-react-native/ABI36_0_0/Expo/EXFont/ABI36_0_0EXFont/ABI36_0_0EXFontLoaderProcessor.h | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 2 | 2020-04-25T16:31:11.000Z | 2020-04-25T16:31:13.000Z | // Copyright 2015-present 650 Industries. All rights reserved.
#import <Foundation/Foundation.h>
#import <ABI36_0_0UMFontInterface/ABI36_0_0UMFontProcessorInterface.h>
#import <ABI36_0_0EXFont/ABI36_0_0EXFontManager.h>
@interface ABI36_0_0EXFontLoaderProcessor : NSObject <ABI36_0_0UMFontProcessorInterface>
- (instancetype)initWithFontFamilyPrefix:(NSString *)prefix
manager:(ABI36_0_0EXFontManager *)manager;
- (instancetype)initWithManager:(ABI36_0_0EXFontManager *)manager;
@end
| 34.733333 | 88 | 0.786948 |
c0321ebe1065138d5903f1da4a6ce7c94d3ddb38 | 1,070 | c | C | ALP4/U2/U2_A1.c | qiaw99/SS2020 | b4e2f1fca4b1ed0482802909054db7e3408fa739 | [
"Apache-2.0"
] | null | null | null | ALP4/U2/U2_A1.c | qiaw99/SS2020 | b4e2f1fca4b1ed0482802909054db7e3408fa739 | [
"Apache-2.0"
] | null | null | null | ALP4/U2/U2_A1.c | qiaw99/SS2020 | b4e2f1fca4b1ed0482802909054db7e3408fa739 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <unistd.h>
#define NUM_THREADS 2
char on_bridge;
int accident = 0;
void *cross_bridge(void *threadid){
long tid = (long)threadid;
for(int i = 0; i < 10000; i++){
if(on_bridge == 1){
printf("Unfall!\n");
accident++;
}else{
printf("Kein Problem!\n");
}
// Fahren auf der Brücke
on_bridge = 1;
// Zeit auf der Brücke simulieren
sleep(0.00000000000001);
on_bridge = 0;
}
pthread_exit(NULL);
}
int main(int argc, char *argv){
pthread_t threads[NUM_THREADS];
int rc;
long t;
// 0 bedeutet, dass kein Auto auf der Brücke ist.
on_bridge = 0;
//creating threads
for(t = 0; t < NUM_THREADS; t++){
printf("In main: creating thread %ld\n", t);
rc = pthread_create(&threads[t], NULL, cross_bridge, (void*)t);
if(rc){
printf("Error; return code from pthread_create() is %d\n", rc);
exit(-1);
}
}
// joining threads
for(t = 0; t < NUM_THREADS; t++){
pthread_join(threads[t], NULL);
}
printf("Accident: %d\n", accident);
pthread_exit(NULL);
}
| 17.258065 | 66 | 0.634579 |
35c0f128b8682444784493f529e60ade83a06d90 | 744 | h | C | Twitter-Dumped/7.52/T1BroadcastContainerErrorConfiguration-Protocol.h | ichitaso/TwitterListEnabler | d4d9ba973e59ff7f0d97ae74fc473bdd0aea54df | [
"MIT"
] | 1 | 2019-10-15T09:26:49.000Z | 2019-10-15T09:26:49.000Z | Twitter-Dumped/7.60.6/T1BroadcastContainerErrorConfiguration-Protocol.h | ichitaso/TwitterListEnabler | d4d9ba973e59ff7f0d97ae74fc473bdd0aea54df | [
"MIT"
] | null | null | null | Twitter-Dumped/7.60.6/T1BroadcastContainerErrorConfiguration-Protocol.h | ichitaso/TwitterListEnabler | d4d9ba973e59ff7f0d97ae74fc473bdd0aea54df | [
"MIT"
] | 1 | 2019-11-17T06:06:49.000Z | 2019-11-17T06:06:49.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <T1Twitter/NSObject-Protocol.h>
@class UIColor;
@protocol T1BroadcastContainerErrorConfiguration <NSObject>
@property(readonly, nonatomic) double centerYOffset;
@property(readonly, nonatomic) UIColor *backgroundColor;
@property(readonly, nonatomic) UIColor *textColor;
@property(readonly, nonatomic) _Bool preventOutsideTapRecognizers;
@property(readonly, nonatomic) _Bool showLabel;
@property(readonly, nonatomic) _Bool showImageView;
@property(readonly, nonatomic) _Bool showReloadButton;
@property(readonly, nonatomic) _Bool showGeoButton;
@end
| 33.818182 | 90 | 0.782258 |
dbab8084ec0b6df1d86cf919dd2ee9e88744239e | 16,832 | c | C | kernel/lge/msm8226/drivers/scsi/ufs/ufs_test.c | Uswer/LineageOS-14.1_jag3gds | 6fe76987fad4fca7b3c08743b067d5e79892e77f | [
"Apache-2.0"
] | 1 | 2020-06-01T10:53:47.000Z | 2020-06-01T10:53:47.000Z | kernel/lge/msm8226/drivers/scsi/ufs/ufs_test.c | Uswer/LineageOS-14.1_jag3gds | 6fe76987fad4fca7b3c08743b067d5e79892e77f | [
"Apache-2.0"
] | 1 | 2020-05-28T13:06:06.000Z | 2020-05-28T13:13:15.000Z | kernel/lge/msm8226/drivers/scsi/ufs/ufs_test.c | Uswer/LineageOS-14.1_jag3gds | 6fe76987fad4fca7b3c08743b067d5e79892e77f | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#include <linux/module.h>
#include <linux/blkdev.h>
#include <linux/debugfs.h>
#include <linux/test-iosched.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_cmnd.h>
#include <../sd.h>
#include <linux/delay.h>
#define MODULE_NAME "ufs_test"
#define TEST_MAX_BIOS_PER_REQ 16
#define LARGE_PRIME_1 1103515367
#define LARGE_PRIME_2 35757
#define DEFAULT_NUM_OF_BIOS 2
/* the amount of requests that will be inserted */
#define LONG_SEQ_TEST_NUM_REQS 256
/* request queue limitation is 128 requests, and we leave 10 spare requests */
#define QUEUE_MAX_REQUESTS 118
#define MB_MSEC_RATIO_APPROXIMATION ((1024 * 1024) / 1000)
/* actual number of MiB in test multiplied by 10, for single digit precision*/
#define BYTE_TO_MB_x_10(x) ((x * 10) / (1024 * 1024))
/* extract integer value */
#define LONG_TEST_SIZE_INTEGER(x) (BYTE_TO_MB_x_10(x) / 10)
/* and calculate the MiB value fraction */
#define LONG_TEST_SIZE_FRACTION(x) (BYTE_TO_MB_x_10(x) - \
(LONG_TEST_SIZE_INTEGER(x) * 10))
#define test_pr_debug(fmt, args...) pr_debug("%s: "fmt"\n", MODULE_NAME, args)
#define test_pr_info(fmt, args...) pr_info("%s: "fmt"\n", MODULE_NAME, args)
#define test_pr_err(fmt, args...) pr_err("%s: "fmt"\n", MODULE_NAME, args)
enum ufs_test_testcases {
UFS_TEST_WRITE_READ_TEST,
TEST_LONG_SEQUENTIAL_READ,
TEST_LONG_SEQUENTIAL_WRITE,
};
struct ufs_test_debug {
struct dentry *write_read_test; /* basic test */
struct dentry *random_test_seed; /* parameters in utils */
struct dentry *long_sequential_read_test;
struct dentry *long_sequential_write_test;
};
struct ufs_test_data {
/* Data structure for debugfs dentrys */
struct ufs_test_debug debug;
/*
* Data structure containing individual test information, including
* self-defined specific data
*/
struct test_info test_info;
/* device test */
struct blk_dev_test_type bdt;
/* A wait queue for OPs to complete */
wait_queue_head_t wait_q;
/* a flag for read compleation */
bool read_completed;
/* a flag for write compleation */
bool write_completed;
/*
* To determine the number of r/w bios. When seed = 0, random is
* disabled and 2 BIOs are written.
*/
unsigned int random_test_seed;
/* A counter for the number of test requests completed */
unsigned int completed_req_count;
};
static struct ufs_test_data *utd;
static bool message_repeat;
static char *ufs_test_get_test_case_str(struct test_data *td)
{
if (!td) {
test_pr_err("%s: NULL td", __func__);
return NULL;
}
switch (td->test_info.testcase) {
case UFS_TEST_WRITE_READ_TEST:
return "UFS write read test";
break;
case TEST_LONG_SEQUENTIAL_READ:
return "UFS long sequential read test";
break;
case TEST_LONG_SEQUENTIAL_WRITE:
return "UFS long sequential write test";
break;
default:
return "Unknown test";
}
}
static unsigned int ufs_test_pseudo_random_seed(unsigned int *seed_number,
unsigned int min_val, unsigned int max_val)
{
int ret = 0;
if (!seed_number)
return 0;
*seed_number = ((unsigned int) (((unsigned long) *seed_number
* (unsigned long) LARGE_PRIME_1) + LARGE_PRIME_2));
ret = (unsigned int) ((*seed_number) % max_val);
return (ret > min_val ? ret : min_val);
}
static void ufs_test_pseudo_rnd_size(unsigned int *seed,
unsigned int *num_of_bios)
{
*num_of_bios = ufs_test_pseudo_random_seed(seed, 1,
TEST_MAX_BIOS_PER_REQ);
if (!(*num_of_bios))
*num_of_bios = DEFAULT_NUM_OF_BIOS;
}
static void ufs_test_write_read_test_end_io_fn(struct request *rq, int err)
{
struct test_request *test_rq = (struct test_request *)rq->elv.priv[0];
BUG_ON(!test_rq);
test_rq->req_completed = 1;
test_rq->req_result = err;
test_pr_info("%s: request %d completed, err=%d",
__func__, test_rq->req_id, err);
utd->write_completed = true;
wake_up(&utd->wait_q);
}
static struct gendisk *ufs_test_get_rq_disk(void)
{
struct request_queue *req_q = test_iosched_get_req_queue();
struct scsi_device *sd;
struct device *dev;
struct scsi_disk *sdkp;
struct gendisk *gd;
if (!req_q) {
test_pr_info("%s: Could not fetch request_queue", __func__);
gd = NULL;
goto exit;
}
sd = (struct scsi_device *)req_q->queuedata;
dev = &sd->sdev_gendev;
sdkp = scsi_disk_get_from_dev(dev);
if (!sdkp) {
test_pr_info("%s: Could not fatch scsi disk", __func__);
gd = NULL;
goto exit;
}
gd = sdkp->disk;
exit:
return gd;
}
static int ufs_test_run_write_read_test(struct test_data *td)
{
int ret = 0;
unsigned int start_sec;
unsigned int num_bios;
struct request_queue *q = td->req_q;
start_sec = td->start_sector + sizeof(int) * BIO_U32_SIZE
* td->num_of_write_bios;
if (utd->random_test_seed != 0)
ufs_test_pseudo_rnd_size(&utd->random_test_seed, &num_bios);
else
num_bios = DEFAULT_NUM_OF_BIOS;
/* Adding a write request */
test_pr_info(
"%s: Adding a write request with %d bios to Q, req_id=%d"
, __func__, num_bios, td->wr_rd_next_req_id);
utd->write_completed = false;
ret = test_iosched_add_wr_rd_test_req(0, WRITE, start_sec,
num_bios, TEST_PATTERN_5A,
ufs_test_write_read_test_end_io_fn);
if (ret) {
test_pr_err("%s: failed to add a write request", __func__);
return ret;
}
/* waiting for the write request to finish */
blk_run_queue(q);
wait_event(utd->wait_q, utd->write_completed);
/* Adding a read request*/
test_pr_info("%s: Adding a read request to Q", __func__);
ret = test_iosched_add_wr_rd_test_req(0, READ, start_sec,
num_bios, TEST_PATTERN_5A, NULL);
if (ret) {
test_pr_err("%s: failed to add a read request", __func__);
return ret;
}
blk_run_queue(q);
return ret;
}
static
int ufs_test_write_read_test_open_cb(struct inode *inode, struct file *file)
{
file->private_data = inode->i_private;
message_repeat = 1;
test_pr_info("%s:UFS test initialized", __func__);
return 0;
}
static ssize_t ufs_test_write_read_test_write_cb(struct file *file,
const char __user *buf,
size_t count, loff_t *ppos)
{
int ret = 0;
int i;
int number;
sscanf(buf, "%d", &number);
if (number <= 0)
number = 1;
test_pr_info("%s:the test will run for %d iterations.",
__func__, number);
memset(&utd->test_info, 0, sizeof(struct test_info));
/* Initializing test */
utd->test_info.data = utd;
utd->test_info.get_test_case_str_fn = ufs_test_get_test_case_str;
utd->test_info.testcase = UFS_TEST_WRITE_READ_TEST;
utd->test_info.get_rq_disk_fn = ufs_test_get_rq_disk;
utd->test_info.run_test_fn = ufs_test_run_write_read_test;
/* Running the test multiple times */
for (i = 0; i < number; ++i) {
ret = test_iosched_start_test(&utd->test_info);
if (ret) {
test_pr_err("%s: Test failed.", __func__);
return ret;
}
}
test_pr_info("%s: Completed all the ufs test iterations.", __func__);
return count;
}
static ssize_t ufs_test_write_read_test_read_cb(struct file *file,
char __user *buffer, size_t count, loff_t *offset)
{
memset((void *) buffer, 0, count);
snprintf(buffer, count, "\nThis is a UFS write-read test for debug.\n");
if (message_repeat == 1) {
message_repeat = 0;
return strnlen(buffer, count);
} else
return 0;
}
const struct file_operations write_read_test_ops = {
.open = ufs_test_write_read_test_open_cb,
.write = ufs_test_write_read_test_write_cb,
.read = ufs_test_write_read_test_read_cb,
};
static void long_seq_test_free_end_io_fn(struct request *rq, int err)
{
struct test_request *test_rq;
struct test_data *ptd = test_get_test_data();
if (rq)
test_rq = (struct test_request *)rq->elv.priv[0];
else {
test_pr_err("%s: error: NULL request", __func__);
return;
}
BUG_ON(!test_rq);
spin_lock_irq(&ptd->lock);
ptd->dispatched_count--;
list_del_init(&test_rq->queuelist);
__blk_put_request(ptd->req_q, test_rq->rq);
spin_unlock_irq(&ptd->lock);
kfree(test_rq->bios_buffer);
kfree(test_rq);
utd->completed_req_count++;
test_pr_err("%s: request %d completed, err=%d",
__func__, test_rq->req_id, err);
check_test_completion();
}
static int run_long_seq_test(struct test_data *td)
{
int ret = 0;
int direction;
static unsigned int inserted_requests;
BUG_ON(!td);
td->test_count = 0;
utd->completed_req_count = 0;
inserted_requests = 0;
if (td->test_info.testcase == TEST_LONG_SEQUENTIAL_READ)
direction = READ;
else
direction = WRITE;
test_pr_info("%s: Adding %d requests, first req_id=%d",
__func__, LONG_SEQ_TEST_NUM_REQS,
td->wr_rd_next_req_id);
do {
/*
* since our requests come from a pool containing 128
* requests, we don't want to exhaust this quantity,
* therefore we add up to QUEUE_MAX_REQUESTS (which
* includes a safety margin) and then call the mmc layer
* to fetch them
*/
if (td->test_count >= QUEUE_MAX_REQUESTS) {
blk_run_queue(td->req_q);
continue;
}
ret = test_iosched_add_wr_rd_test_req(0, direction,
td->start_sector, TEST_MAX_BIOS_PER_REQ,
TEST_PATTERN_5A,
long_seq_test_free_end_io_fn);
if (ret) {
test_pr_err("%s: failed to create request" , __func__);
break;
}
inserted_requests++;
td->test_info.test_byte_count +=
(TEST_MAX_BIOS_PER_REQ * sizeof(unsigned int) *
BIO_U32_SIZE);
} while (inserted_requests < LONG_SEQ_TEST_NUM_REQS);
/* in this case the queue will not run in the above loop */
if (LONG_SEQ_TEST_NUM_REQS < QUEUE_MAX_REQUESTS)
blk_run_queue(td->req_q);
return ret;
}
void long_seq_test_calc_throughput(unsigned long mtime,
unsigned long byte_count)
{
unsigned long fraction, integer;
test_pr_info("%s: time is %lu msec, size is %lu.%lu MiB",
__func__, mtime, LONG_TEST_SIZE_INTEGER(byte_count),
LONG_TEST_SIZE_FRACTION(byte_count));
/* we first multiply in order not to lose precision */
mtime *= MB_MSEC_RATIO_APPROXIMATION;
/* divide values to get a MiB/sec integer value with one
digit of precision
*/
fraction = integer = (byte_count * 10) / mtime;
integer /= 10;
/* and calculate the MiB value fraction */
fraction -= integer * 10;
test_pr_info("%s: Throughput: %lu.%lu MiB/sec\n",
__func__, integer, fraction);
}
static ssize_t long_sequential_read_test_write(struct file *file,
const char __user *buf,
size_t count,
loff_t *ppos)
{
int ret = 0;
int i = 0;
int number = -1;
unsigned long mtime, byte_count;
test_pr_info("%s: -- UFS Long Sequential Read TEST --", __func__);
sscanf(buf, "%d", &number);
if (number <= 0)
number = 1;
memset(&utd->test_info, 0, sizeof(struct test_info));
utd->test_info.data = utd;
utd->test_info.get_rq_disk_fn = ufs_test_get_rq_disk;
utd->test_info.run_test_fn = run_long_seq_test;
utd->test_info.get_test_case_str_fn = ufs_test_get_test_case_str;
utd->test_info.testcase = TEST_LONG_SEQUENTIAL_READ;
for (i = 0 ; i < number ; ++i) {
test_pr_info("%s: Cycle # %d / %d", __func__, i+1, number);
test_pr_info("%s: ====================", __func__);
ret = test_iosched_start_test(&utd->test_info);
if (ret)
break;
mtime = ktime_to_ms(utd->test_info.test_duration);
byte_count = utd->test_info.test_byte_count;
long_seq_test_calc_throughput(mtime, byte_count);
/* Allow FS requests to be dispatched */
msleep(1000);
}
return count;
}
static ssize_t long_sequential_read_test_read(struct file *file,
char __user *buffer,
size_t count,
loff_t *offset)
{
memset((void *)buffer, 0, count);
snprintf(buffer, count,
"\nufs_long_sequential_read_test\n"
"=========\n"
"Description:\n"
"This test runs the following scenarios\n"
"- Long Sequential Read Test: this test measures read "
"throughput at the driver level by sequentially reading many "
"large requests.\n");
if (message_repeat == 1) {
message_repeat = 0;
return strnlen(buffer, count);
} else
return 0;
}
static bool message_repeat;
static int test_open(struct inode *inode, struct file *file)
{
file->private_data = inode->i_private;
message_repeat = 1;
return 0;
}
const struct file_operations long_sequential_read_test_ops = {
.open = test_open,
.write = long_sequential_read_test_write,
.read = long_sequential_read_test_read,
};
static ssize_t long_sequential_write_test_write(struct file *file,
const char __user *buf,
size_t count,
loff_t *ppos)
{
int ret = 0;
int i = 0;
int number = -1;
unsigned long mtime, byte_count;
test_pr_info("%s: -- UFS Long Sequential Write TEST --", __func__);
sscanf(buf, "%d", &number);
if (number <= 0)
number = 1;
memset(&utd->test_info, 0, sizeof(struct test_info));
utd->test_info.data = utd;
utd->test_info.get_rq_disk_fn = ufs_test_get_rq_disk;
utd->test_info.get_test_case_str_fn = ufs_test_get_test_case_str;
utd->test_info.run_test_fn = run_long_seq_test;
utd->test_info.testcase = TEST_LONG_SEQUENTIAL_WRITE;
for (i = 0 ; i < number ; ++i) {
test_pr_info("%s: Cycle # %d / %d", __func__, i+1, number);
test_pr_info("%s: ====================", __func__);
utd->test_info.test_byte_count = 0;
ret = test_iosched_start_test(&utd->test_info);
if (ret)
break;
mtime = ktime_to_ms(utd->test_info.test_duration);
byte_count = utd->test_info.test_byte_count;
long_seq_test_calc_throughput(mtime, byte_count);
/* Allow FS requests to be dispatched */
msleep(1000);
}
return count;
}
static ssize_t long_sequential_write_test_read(struct file *file,
char __user *buffer,
size_t count,
loff_t *offset)
{
memset((void *)buffer, 0, count);
snprintf(buffer, count,
"\nufs_long_sequential_write_test\n"
"=========\n"
"Description:\n"
"This test runs the following scenarios\n"
"- Long Sequential Write Test: this test measures write "
"throughput at the driver level by sequentially writing many "
"large requests\n");
if (message_repeat == 1) {
message_repeat = 0;
return strnlen(buffer, count);
} else
return 0;
}
const struct file_operations long_sequential_write_test_ops = {
.open = test_open,
.write = long_sequential_write_test_write,
.read = long_sequential_write_test_read,
};
static void ufs_test_debugfs_cleanup(void)
{
debugfs_remove_recursive(test_iosched_get_debugfs_tests_root());
}
static int ufs_test_debugfs_init(void)
{
struct dentry *utils_root, *tests_root;
int ret = 0;
utils_root = test_iosched_get_debugfs_utils_root();
tests_root = test_iosched_get_debugfs_tests_root();
if (!utils_root || !tests_root) {
test_pr_err("%s: Failed to create debugfs root.", __func__);
ret = -EINVAL;
goto exit;
}
utd->debug.random_test_seed = debugfs_create_u32("random_test_seed",
S_IRUGO | S_IWUGO, utils_root, &utd->random_test_seed);
if (!utd->debug.random_test_seed) {
test_pr_err("%s: Could not create debugfs random_test_seed.",
__func__);
ret = -ENOMEM;
goto exit;
}
utd->debug.write_read_test = debugfs_create_file("ufs_write_read_test",
S_IRUGO | S_IWUGO, tests_root,
NULL, &write_read_test_ops);
if (!utd->debug.write_read_test) {
ret = -ENOMEM;
goto exit_err;
}
utd->debug.long_sequential_read_test = debugfs_create_file(
"ufs_long_sequential_read_test",
S_IRUGO | S_IWUGO,
tests_root,
NULL,
&long_sequential_read_test_ops);
if (!utd->debug.long_sequential_read_test) {
ret = -ENOMEM;
goto exit_err;
}
utd->debug.long_sequential_write_test = debugfs_create_file(
"ufs_long_sequential_write_test",
S_IRUGO | S_IWUGO,
tests_root,
NULL,
&long_sequential_write_test_ops);
if (!utd->debug.long_sequential_write_test) {
ret = -ENOMEM;
goto exit_err;
}
goto exit;
exit_err:
debugfs_remove_recursive(tests_root);
exit:
return ret;
}
static void ufs_test_probe(void)
{
ufs_test_debugfs_init();
}
static void ufs_test_remove(void)
{
ufs_test_debugfs_cleanup();
}
int __init ufs_test_init(void)
{
utd = kzalloc(sizeof(struct ufs_test_data), GFP_KERNEL);
if (!utd) {
test_pr_err("%s: failed to allocate ufs_test_data", __func__);
return -ENODEV;
}
init_waitqueue_head(&utd->wait_q);
utd->bdt.init_fn = ufs_test_probe;
utd->bdt.exit_fn = ufs_test_remove;
INIT_LIST_HEAD(&utd->bdt.list);
test_iosched_register(&utd->bdt);
return 0;
}
EXPORT_SYMBOL_GPL(ufs_test_init);
static void __exit ufs_test_exit(void)
{
test_iosched_unregister(&utd->bdt);
kfree(utd);
}
module_init(ufs_test_init)
;
module_exit(ufs_test_exit)
;
MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("UFC test");
| 24.973294 | 78 | 0.719463 |
35789db107505bbbefcc20a4aa92f78b3c9edd55 | 3,277 | h | C | PVSNES/PVSNES/SNES/SNESCore/apu/linear_resampler.h | DaddyCal/Provenance | cda9464b4bef6dd48f9977047c4af90aca80c5a7 | [
"BSD-3-Clause"
] | 2 | 2015-10-03T18:38:58.000Z | 2022-03-02T17:05:42.000Z | PVSNES/PVSNES/SNES/SNESCore/apu/linear_resampler.h | DaddyCal/Provenance | cda9464b4bef6dd48f9977047c4af90aca80c5a7 | [
"BSD-3-Clause"
] | 2 | 2015-05-13T10:06:29.000Z | 2016-04-18T12:09:59.000Z | PVSNES/PVSNES/SNES/SNESCore/apu/linear_resampler.h | DaddyCal/Provenance | cda9464b4bef6dd48f9977047c4af90aca80c5a7 | [
"BSD-3-Clause"
] | null | null | null | /* Simple fixed-point linear resampler by BearOso*/
#ifndef __LINEAR_RESAMPLER_H
#define __LINEAR_RESAMPLER_H
#include "resampler.h"
#include "snes9x.h"
static const int f_prec = 15;
static const uint32 f__one = (1 << f_prec);
#define lerp(t, a, b) (((((b) - (a)) * (t)) >> f_prec) + (a))
class LinearResampler : public Resampler
{
protected:
uint32 f__r_step;
uint32 f__inv_r_step;
uint32 f__r_frac;
int r_left, r_right;
public:
LinearResampler (int num_samples) : Resampler (num_samples)
{
f__r_frac = 0;
}
~LinearResampler ()
{
}
void
time_ratio (double ratio)
{
if (ratio == 0.0)
ratio = 1.0;
f__r_step = (uint32) (ratio * f__one);
f__inv_r_step = (uint32) (f__one / ratio);
clear ();
}
void
clear (void)
{
ring_buffer::clear ();
f__r_frac = 0;
r_left = 0;
r_right = 0;
}
void
read (short *data, int num_samples)
{
int i_position = start >> 1;
short *internal_buffer = (short *) buffer;
int o_position = 0;
int consumed = 0;
int max_samples = (buffer_size >> 1);
while (o_position < num_samples && consumed < buffer_size)
{
if (f__r_step == f__one)
{
data[o_position] = internal_buffer[i_position];
data[o_position + 1] = internal_buffer[i_position + 1];
o_position += 2;
i_position += 2;
if (i_position >= max_samples)
i_position -= max_samples;
consumed += 2;
continue;
}
while (f__r_frac <= f__one && o_position < num_samples)
{
data[o_position] = lerp (f__r_frac,
r_left,
internal_buffer[i_position]);
data[o_position + 1] = lerp (f__r_frac,
r_right,
internal_buffer[i_position + 1]);
o_position += 2;
f__r_frac += f__r_step;
}
if (f__r_frac > f__one)
{
f__r_frac -= f__one;
r_left = internal_buffer[i_position];
r_right = internal_buffer[i_position + 1];
i_position += 2;
if (i_position >= max_samples)
i_position -= max_samples;
consumed += 2;
}
}
size -= consumed << 1;
start += consumed << 1;
if (start >= buffer_size)
start -= buffer_size;
}
inline int
avail (void)
{
return (((size >> 2) * f__inv_r_step) - ((f__r_frac * f__inv_r_step) >> f_prec)) >> (f_prec - 1);
}
};
#endif /* __LINEAR_RESAMPLER_H */
| 28.25 | 109 | 0.431187 |
c2dec25c201e54da87f20150727ae0638223c2cf | 1,562 | h | C | halfnetwork/HalfNetwork/ACE_wrappers/ace/Init_ACE.h | cjwcjswo/com2us_cppNetStudy_work | 3aab26cfd2e9bf1544fa41a0f2694d81167b2584 | [
"MIT"
] | 25 | 2019-05-20T08:07:39.000Z | 2021-08-17T11:25:02.000Z | halfnetwork/HalfNetwork/ACE_wrappers/ace/Init_ACE.h | cjwcjswo/com2us_cppNetStudy_work | 3aab26cfd2e9bf1544fa41a0f2694d81167b2584 | [
"MIT"
] | null | null | null | halfnetwork/HalfNetwork/ACE_wrappers/ace/Init_ACE.h | cjwcjswo/com2us_cppNetStudy_work | 3aab26cfd2e9bf1544fa41a0f2694d81167b2584 | [
"MIT"
] | 17 | 2019-07-07T12:20:16.000Z | 2022-01-11T08:27:44.000Z | // -*- C++ -*-
//=============================================================================
/**
* @file Init_ACE.h
*
* $Id: Init_ACE.h 80826 2008-03-04 14:51:23Z wotte $
*
* Initialize ACE library services. Can be called only once per
* program invocation.
*/
//=============================================================================
#ifndef ACE_INIT_ACE_H
#define ACE_INIT_ACE_H
#include /**/ "ace/pre.h"
#include /**/ "ace/ACE_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
namespace ACE
{
/**
* This class implements the functions for the initialization and
* shutting down ACE. These functions are called only once per ACE
* invokation.
* @return Returns 0 on success, -1 on failure, and 1 if it had already been
* called.
*/
extern ACE_Export int init (void);
/**
* Shut down ACE library services. Can be called only once per
* program invocation.
* @return Returns 0 on success, -1 on failure, and 1 if it had already been
* called.
*/
extern ACE_Export int fini (void);
// private:
// Used internally, so not exported.
/**
* Counter to match <init()>/<fini()> calls. <init()> must increment it;
* <fini()> must decrement it. <fini()> then does nothing until it
* reaches 0.
*/
extern unsigned int init_fini_count_;
}
ACE_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* ACE_INIT_ACE_H */
| 24.793651 | 80 | 0.571703 |
89433ee62048e9a40d0e4285c828d11eea8db168 | 6,580 | h | C | src/psm/src/ir_solver.h | vijayank88/OpenROAD | 4ba7db18dfacb17429904e6805f1c555a591f90e | [
"BSD-3-Clause"
] | null | null | null | src/psm/src/ir_solver.h | vijayank88/OpenROAD | 4ba7db18dfacb17429904e6805f1c555a591f90e | [
"BSD-3-Clause"
] | null | null | null | src/psm/src/ir_solver.h | vijayank88/OpenROAD | 4ba7db18dfacb17429904e6805f1c555a591f90e | [
"BSD-3-Clause"
] | null | null | null | /*
BSD 3-Clause License
Copyright (c) 2020, The Regents of the University of Minnesota
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __IRSOLVER_IRSOLVER_
#define __IRSOLVER_IRSOLVER_
#include "gmat.h"
#include "odb/db.h"
#include "utl/Logger.h"
namespace sta
{
class dbSta;
}
namespace psm {
//! Class for IR solver
/*
* Builds the equations GV=J and uses SuperLU
* to solve the matrix equations
*/
class IRSolver {
public:
struct BumpData {
int x;
int y;
int size;
double voltage;
};
//! Constructor for IRSolver class
/*
* This constructor creates an instance of the class using
* the given inputs.
*/
IRSolver(odb::dbDatabase* t_db, sta::dbSta* t_sta, utl::Logger* t_logger,
std::string vsrc_loc, std::string power_net, std::string out_file,
std::string em_out_file, std::string spice_out_file, int em_analyze,
int bump_pitch_x, int bump_pitch_y, float node_density_um,
std::map<std::string, float> net_voltage_map) {
m_db = t_db;
m_sta = t_sta;
m_logger = t_logger;
m_vsrc_file = vsrc_loc;
m_power_net = power_net;
m_out_file = out_file;
m_em_out_file = em_out_file;
m_em_flag = em_analyze;
m_spice_out_file = spice_out_file;
m_bump_pitch_x = bump_pitch_x;
m_bump_pitch_y = bump_pitch_y;
m_node_density_um = node_density_um;
m_net_voltage_map = net_voltage_map;
}
//! IRSolver destructor
~IRSolver() { delete m_Gmat; }
//! Worst case voltage at the lowest layer nodes
double wc_voltage;
//! Worst case current at the lowest layer nodes
double max_cur;
//! Average current at the lowest layer nodes
double avg_cur;
//! number of resistances
int num_res;
//! Average voltage at lowest layer nodes
double avg_voltage;
//! Vector of worstcase voltages in the lowest layers
std::vector<double> wc_volt_layer;
//! Returns the created G matrix for the design
GMat* GetGMat();
//! Returns current map represented as a 1D vector
std::vector<double> GetJ();
//! Function to solve for IR drop
void SolveIR();
//! Function to get the power value from OpenSTA
std::vector<std::pair<std::string, double>> GetPower();
std::pair<double, double> GetSupplyVoltage();
bool CheckConnectivity(bool connection_only = false);
bool CheckValidR(double R);
int GetConnectionTest();
bool GetResult();
int GetMinimumResolution();
int PrintSpice();
bool Build();
bool BuildConnection();
float supply_voltage_src;
const std::vector<BumpData>& getBumps() const { return m_C4Bumps; }
int getTopLayer() const { return m_top_layer; }
private:
//! Pointer to the Db
odb::dbDatabase* m_db;
//! Pointer to STA
sta::dbSta* m_sta;
//! Pointer to Logger
utl::Logger* m_logger;
//! Voltage source file
std::string m_vsrc_file;
std::string m_power_net;
//! Resistance configuration file
std::string m_out_file;
std::string m_em_out_file;
int m_em_flag;
std::string m_spice_out_file;
//! G matrix for voltage
GMat* m_Gmat;
//! Node density in the lower most layer to append the current sources
int m_node_density{5400}; // TODO get from somewhere
float m_node_density_um{-1}; // TODO get from somewhere
//! Routing Level of the top layer
int m_top_layer{0};
int m_bump_pitch_x{0};
int m_bump_pitch_y{0};
int m_bump_pitch_default{140};
int m_bump_size{10};
int m_bottom_layer{10};
bool m_result{false};
bool m_connection{false};
//! Direction of the top layer
odb::dbTechLayerDir::Value m_top_layer_dir;
odb::dbTechLayerDir::Value m_bottom_layer_dir;
odb::dbSigType m_power_net_type;
std::map<std::string, float> m_net_voltage_map;
//! Current vector 1D
std::vector<double> m_J;
//! C4 bump locations and values
std::vector<BumpData> m_C4Bumps;
//! Per unit R and via R for each routing layer
std::vector<std::tuple<int, double, double>> m_layer_res;
//! Locations of the C4 bumps in the G matrix
std::map<NodeIdx, double> m_C4Nodes;
//! Function to add C4 bumps to the G matrix
bool AddC4Bump();
//! Function that parses the Vsrc file
void ReadC4Data();
// void ReadResData();
//! Function to create a J vector from the current map
bool CreateJ();
//! Function to create a G matrix using the nodes
bool CreateGmat(bool connection_only = false);
//! Function to find and store the upper and lower PDN layers and return a list
//of wires for all PDN tasks
std::vector<odb::dbSBox*> FindPdnWires(odb::dbNet* power_net);
//! Function to create the nodes of the G matrix
void CreateGmatNodes(std::vector<odb::dbSBox*> power_wires,
std::vector<std::tuple<int, int, int, int>> macros);
//! Function to find and store the macro boundaries
std::vector<std::tuple<int, int, int, int>> GetMacroBoundaries();
//! Function to create the nodes for the c4 bumps
int CreateC4Nodes(bool connection_only, int unit_micron);
//! Function to create the connections of the G matrix
void CreateGmatConnections(std::vector<odb::dbSBox*> power_wires, bool connection_only);
};
} // namespace psm
#endif
| 33.232323 | 90 | 0.723252 |
e4e66a7ae9d074271e89705e8d812b68e002054c | 519 | h | C | AGRestKit/Classes/Internal/FileManager/AGRestFileLock.h | greinaldor/AGRestKit | e30cdf95ca99abc12ee5ba8f28c698fa5c50e666 | [
"MIT"
] | 1 | 2017-03-09T14:03:37.000Z | 2017-03-09T14:03:37.000Z | AGRestKit/Classes/Internal/FileManager/AGRestFileLock.h | greinaldor/AGRestKit | e30cdf95ca99abc12ee5ba8f28c698fa5c50e666 | [
"MIT"
] | null | null | null | AGRestKit/Classes/Internal/FileManager/AGRestFileLock.h | greinaldor/AGRestKit | e30cdf95ca99abc12ee5ba8f28c698fa5c50e666 | [
"MIT"
] | null | null | null | //
// AGRestFileLock.h
// AGRestStack
//
// Created by Adrien Greiner on 27/10/2015.
// Copyright © 2015 The Social Superstore Ltd. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface AGRestFileLock : NSObject
@property (nonatomic, copy, readonly) NSString *filePath;
@property (nonatomic, copy, readonly) NSString *lockFilePath;
- (instancetype)initFileLockWithFileAtPath:(NSString *)filePath;
+ (instancetype)fileLockForFileAtPath:(NSString *)path;
- (void)lock;
- (void)unlock;
@end
| 22.565217 | 68 | 0.736031 |
9025f1cfdd75bed2514f42fa9201271f172acd6f | 14,390 | c | C | src/e_ffst.c | Masrik-Dahir/xfigx-3.1.1 | 40ec5d16e2f7ec4a3e84940fbf6a96c7b1890645 | [
"MIT"
] | null | null | null | src/e_ffst.c | Masrik-Dahir/xfigx-3.1.1 | 40ec5d16e2f7ec4a3e84940fbf6a96c7b1890645 | [
"MIT"
] | null | null | null | src/e_ffst.c | Masrik-Dahir/xfigx-3.1.1 | 40ec5d16e2f7ec4a3e84940fbf6a96c7b1890645 | [
"MIT"
] | null | null | null | #include "fig.h"
#include "resources.h"
#include "object.h"
#include "mode.h"
#include "paintop.h"
#include "d_text.h"
#include "u_create.h"
#include "u_elastic.h"
#include "u_list.h"
#include "u_draw.h"
#include "u_drag.h"
#include "u_search.h"
#include "w_canvas.h"
#include "w_drawprim.h"
#include "w_indpanel.h"
#include "w_mousefun.h"
#include "w_msgpanel.h"
#include "w_setup.h"
#include "w_util.h"
#include "w_layers.h"
#include "e_ffst.h"
#include "e_scale.h"
#include "f_read.h"
#include "f_util.h"
#include "u_bound.h"
#include "u_fonts.h"
#include "u_free.h"
#include "u_markers.h"
#include "u_redraw.h"
#include "u_undo.h"
#include "w_cursor.h"
#include "w_util.h"
//------------------------Base Code--------------------------------------------------------------------------------
F_compound *temp = NULL;
void ffst_selected(void)
{
set_mousefun("corner point", "", "", "", "", "");
canvas_kbd_proc = null_proc;
canvas_locmove_proc = null_proc;
canvas_leftbut_proc = init_border_drawing;
canvas_middlebut_proc = null_proc;
canvas_rightbut_proc = null_proc;
set_cursor(crosshair_cursor);
reset_action_on();
}
void
init_border_drawing(int x, int y)
{
cur_x = fix_x = x;
cur_y = fix_y = y;
set_mousefun("final point", "", "cancel", "", "", "");
draw_mousefun_canvas();
//set mouse actions
canvas_locmove_proc = resizing_box;
canvas_leftbut_proc = create_selectArea;
canvas_middlebut_proc = null_proc;
canvas_rightbut_proc = cancel_box;
//create box to draw
elastic_box(fix_x, fix_y, cur_x, cur_y);
set_cursor(null_cursor);
set_action_on();
}
static void
cancel_box(void)
{
elastic_box(fix_x, fix_y, cur_x, cur_y);
/* erase last lengths if appres.showlengths is true */
erase_box_lengths();
ffst_selected();
draw_mousefun_canvas();
}
static void
create_selectArea(int x, int y)
{
elastic_box(fix_x, fix_y, cur_x, cur_y);
int x_min, x_max, y_min, y_max;
x_min = min2(fix_x, x);
y_min = min2(fix_y, y);
x_max = max2(fix_x, x);
y_max = max2(fix_y, y);
tag_obj_in_region1(x_min, y_min, x_max, y_max);
//Create the compound
create_compoundobject(1, 1);
draw_mousefun_canvas();
}
static void
break_comp(void)
{
init_break();
ffst_selected();
}
//---------------------------GLUE CODE-------------------------------------------------------------------------------- --
//---------------------------------------------------------------------------------- ------------------------------------
static void
create_compoundobject(int x, int y)
{
(void)x; (void)y;
F_compound* c;
if ((c = create_compound()) == NULL)
return;
//dont create compound if nothing is selected
if (compose_compound1(c) == 0) {
free((char*)c);
ffst_selected();
draw_mousefun_canvas();
put_msg("Empty compound, ignored");
return;
}
/*
* Make the bounding box exactly match the dimensions of the compound. */
compound_bound(c, &c->nwcorner.x, &c->nwcorner.y,
&c->secorner.x, &c->secorner.y);
/* if zero width or height in the compound, adjust to next positioning grid point or a few pixels if positioning grid is "ANY" */
if (c->nwcorner.x == c->secorner.x)
{
if (cur_pointposn != P_ANY)
{
c->secorner.x += point_spacing();
c->secorner.x = ceil_coords_x(c->secorner.x, c->secorner.y);
}
}
if (c->nwcorner.y == c->secorner.y)
{
if (cur_pointposn != P_ANY)
{
c->secorner.y += point_spacing();
c->secorner.y = ceil_coords_y(c->secorner.x, c->secorner.y);
}
}
//cleanup for creating new compound
c->next = NULL;
clean_up();
set_action(F_GLUE);
toggle_markers_in_compound(c);
list_add_compound(&objects.compounds, c);
mask_toggle_compoundmarker(c);
set_latestcompound(c);
temp = c;
set_modifiedflag();
move_selected1(); //Allows for clean progression of functions draw_mousefun_canvas();
}
int compose_compound1(F_compound* c)
{
c->ellipses = NULL;
c->lines = NULL;
c->texts = NULL;
c->splines = NULL;
c->arcs = NULL;
c->comments = NULL;
c->compounds = NULL;
/* defer updating of layer buttons until we've composed the entire compound */
defer_update_layers = True;
get_ellipse(&c->ellipses);
get_line(&c->lines);
get_spline(&c->splines);
get_text(&c->texts);
get_arc(&c->arcs);
get_compound(&c->compounds);
/* now update the layer buttons */
defer_update_layers = False;
update_layers();
if (c->ellipses != NULL)
return (1);
if (c->splines != NULL)
return (1);
if (c->lines != NULL)
return (1);
if (c->texts != NULL)
return (1);
if (c->arcs != NULL)
return (1);
if (c->compounds != NULL)
return (1);
return (0);
}
void
tag_obj_in_region1(int xmin, int ymin, int xmax, int ymax)
{
sel_ellipse(xmin, ymin, xmax, ymax);
sel_line(xmin, ymin, xmax, ymax);
sel_spline(xmin, ymin, xmax, ymax);
sel_text(xmin, ymin, xmax, ymax);
sel_arc(xmin, ymin, xmax, ymax);
sel_compound(xmin, ymin, xmax, ymax);
}
static void
sel_ellipse(int xmin, int ymin, int xmax, int ymax)
{
F_ellipse* e;
for (e = objects.ellipses; e != NULL; e = e->next) {
if (!active_layer(e->depth))
continue;
if (xmin > e->center.x - e->radiuses.x)
continue;
if (xmax < e->center.x + e->radiuses.x)
continue;
if (ymin > e->center.y - e->radiuses.y)
continue;
if (ymax < e->center.y + e->radiuses.y)
continue;
//tag ellipse as object
e->tagged = 1 - e->tagged;
toggle_ellipsehighlight(e);
}
}
static void
get_ellipse(F_ellipse** list)
{
F_ellipse* e, * ee, * ellipse;
for (e = objects.ellipses; e != NULL;)
{
if (!e->tagged)
{
ee = e;
e = e->next;
continue;
}
e -> pen_color = GREEN;
remove_depth(O_ELLIPSE, e->depth);
if (*list == NULL)
*list = e;
else
ellipse->next = e;
ellipse = e;
if (e == objects.ellipses)
e = objects.ellipses = objects.ellipses->next;
else
e = ee->next = e->next;
ellipse->next = NULL;
}
}
static void
sel_arc(int xmin, int ymin, int xmax, int ymax)
{
F_arc* a;
int urx, ury, llx, lly;
for (a = objects.arcs; a != NULL; a = a->next)
{
if (!active_layer(a->depth))
continue;
arc_bound(a, &llx, &lly, &urx, &ury);
if (xmin > llx)
continue;
if (xmax < urx)
continue;
if (ymin > lly)
continue;
if (ymax < ury)
continue;
a->tagged = 1 - a->tagged;
toggle_archighlight(a);
}
}
static void
get_arc(F_arc** list)
{
F_arc* a, * arc, * aa;
for (a = objects.arcs; a != NULL;)
{
//iterate until we find a selected arc
if (!a->tagged)
{
aa = a;
a = a->next;
continue;
}
a -> pen_color = GREEN;
remove_depth(O_ARC, a->depth);
if (*list == NULL)
*list = a;
else
arc->next = a;
arc = a;
if (a == objects.arcs)
a = objects.arcs = objects.arcs->next;
else
a = aa->next = a->next;
arc->next = NULL;
}
}
static void
sel_line(int xmin, int ymin, int xmax, int ymax) {
F_line* l;
F_point* p;
int inbound;
for (l = objects.lines; l != NULL; l = l->next)
{
if (!active_layer(l->depth))
continue;
for (inbound = 1, p = l->points; p != NULL && inbound; p = p->next)
{
inbound = 0;
if (xmin > p->x)
continue;
if (xmax < p->x)
continue;
if (ymin > p->y)
continue;
if (ymax < p->y)
continue;
inbound = 1;
}
if (!inbound)
continue;
l->tagged = 1 - l->tagged;
toggle_linehighlight(l);
}
}
static void
get_line(F_line** list)
{
F_line* line, * l, * ll;
for (l = objects.lines; l != NULL;)
{
if (!l->tagged)
{
ll = l;
l = l->next;
continue;
}
l -> pen_color = GREEN;
remove_depth(O_POLYLINE, l->depth);
if (*list == NULL)
*list = l;
else
line->next = l;
line = l;
if (l == objects.lines)
l = objects.lines = objects.lines->next;
else
l = ll->next = l->next;
line->next = NULL;
}
}
static void
sel_spline(int xmin, int ymin, int xmax, int ymax) {
F_spline* s;
int urx, ury, llx, lly;
for (s = objects.splines; s != NULL; s = s->next)
{
if (!active_layer(s->depth))
continue;
spline_bound(s, &llx, &lly, &urx, &ury);
if (xmin > llx)
continue;
if (xmax < urx)
continue;
if (ymin > lly)
continue;
if (ymax < ury)
continue;
s->tagged = 1 - s->tagged;
toggle_splinehighlight(s);
}
}
static void
get_spline(F_spline** list)
{
F_spline* spline, * s, * ss;
for (s = objects.splines; s != NULL;)
{
//iterate until we find a selected spline
if (!s->tagged)
{
ss = s;
s = s->next;
continue;
}
s -> pen_color = GREEN;
remove_depth(O_SPLINE, s->depth);
if (*list == NULL)
*list = s;
else
spline->next = s;
spline = s;
if (s == objects.splines)
s = objects.splines = objects.splines->next;
else
s = ss->next = s->next;
spline->next = NULL;
}
}
static void
sel_text(int xmin, int ymin, int xmax, int ymax)
{
F_text* t;
int txmin, txmax, tymin, tymax; int dum;
for (t = objects.texts; t != NULL; t = t->next)
{
if (!active_layer(t->depth))
continue;
text_bound(t, &txmin, &tymin, &txmax, &tymax, &dum, &dum, &dum, &dum, &dum, &dum, &dum, &dum);
if (xmin > txmin || xmax < txmax || ymin > tymin || ymax < tymax)
continue;
t->tagged = 1 - t->tagged;
toggle_texthighlight(t);
}
}
static void
get_text(F_text** list)
{
F_text* text, * t, * tt;
for (t = objects.texts; t != NULL;)
{
//iterate until we find a selected text object
if (!t->tagged)
{
tt = t;
t = t->next;
continue;
}
t -> pen_style = bold_font;
t -> color = GREEN;
remove_depth(O_TXT, t->depth);
if (*list == NULL)
*list = t;
else
text->next = t;
text = t;
if (t == objects.texts)
t = objects.texts = objects.texts->next;
else
t = tt->next = t->next;
text->next = NULL;
}
}
static void
sel_compound(int xmin, int ymin, int xmax, int ymax) {
F_compound* c;
for (c = objects.compounds; c != NULL; c = c->next)
{
if (!any_active_in_compound(c))
continue;
if (xmin > c->nwcorner.x)
continue;
if (xmax < c->secorner.x)
continue;
if (ymin > c->nwcorner.y)
continue;
if (ymax < c->secorner.y)
continue;
//tag compound as selected
c->tagged = 1 - c->tagged;
toggle_compoundhighlight(c);
}
}
static void
get_compound(F_compound** list)
{
F_compound* compd, * c, * cc;
for (c = objects.compounds; c != NULL;)
{
//iterate until we find a selected compound
if (!c->tagged)
{
cc = c;
c = c->next;
continue;
}
remove_compound_depth(c);
if (*list == NULL)
*list = c;
else
compd->next = c;
compd = c;
if (c == objects.compounds)
c = objects.compounds = objects.compounds->next;
else
c = cc->next = c->next;
compd->next = NULL;
}
}
//-----------------------------MOVE CODE-------------------------------------------------------------------------------- -----------
//---------------------------------------------------------------------------------- -----------------------------------------------
void
move_selected1(void)
{
set_mousefun("move object", "horiz/vert move", "", LOC_OBJ, LOC_OBJ, LOC_OBJ); canvas_kbd_proc = null_proc;
canvas_locmove_proc = null_proc;
init_searchproc_left(init_arb_move);
init_searchproc_middle(init_constrained_move);
canvas_leftbut_proc = object_search_left;
canvas_middlebut_proc = object_search_middle;
canvas_rightbut_proc = null_proc;
return_proc = break_comp;
set_cursor(pick9_cursor);
reset_action_on();
}
static void
init_arb_move(F_line* p, int type, int x, int y, int px, int py) {
constrained = MOVE_ARB;
init_move(p, type, x, y, px, py);
canvas_middlebut_proc = null_proc;
set_mousefun("place object", "", "cancel", LOC_OBJ, LOC_OBJ, LOC_OBJ); draw_mousefun_canvas();
}
static void
init_constrained_move(F_line* p, int type, int x, int y, int px, int py) {
constrained = MOVE_HORIZ_VERT;
init_move(p, type, x, y, px, py);
canvas_middlebut_proc = canvas_leftbut_proc;
canvas_leftbut_proc = null_proc;
set_mousefun("", "place object", "cancel", LOC_OBJ, LOC_OBJ, LOC_OBJ); draw_mousefun_canvas();
}
static void
init_move(F_line* p, int type, int x, int y, int px, int py) {
/* turn off all markers */
update_markers(0);
switch (type) {
case O_COMPOUND:
set_cursor(wait_cursor);
cur_c = (F_compound*)p;
list_delete_compound(&objects.compounds, cur_c);
redisplay_compound(cur_c);
set_cursor(null_cursor);
init_compounddragging(cur_c, px, py);
break;
case O_POLYLINE:
set_cursor(wait_cursor);
cur_l = (F_line*)p;
list_delete_line(&objects.lines, cur_l);
redisplay_line(cur_l);
set_cursor(null_cursor);
init_linedragging(cur_l, px, py);
break;
case O_TXT:
set_cursor(wait_cursor);
cur_t = (F_text*)p;
list_delete_text(&objects.texts, cur_t);
redisplay_text(cur_t);
set_cursor(null_cursor);
init_textdragging(cur_t, x, y);
break;
case O_ELLIPSE:
set_cursor(wait_cursor);
cur_e = (F_ellipse*)p;
list_delete_ellipse(&objects.ellipses, cur_e);
redisplay_ellipse(cur_e);
set_cursor(null_cursor);
init_ellipsedragging(cur_e, px, py);
break;
case O_ARC:
set_cursor(wait_cursor);
cur_a = (F_arc*)p;
list_delete_arc(&objects.arcs, cur_a);
redisplay_arc(cur_a);
set_cursor(null_cursor);
init_arcdragging(cur_a, px, py);
break;
case O_SPLINE:
set_cursor(wait_cursor);
cur_s = (F_spline*)p;
list_delete_spline(&objects.splines, cur_s);
redisplay_spline(cur_s);
set_cursor(null_cursor);
init_splinedragging(cur_s, px, py);
break;
default:
return;
}
}
//-------------------------------BREAK CODE--------------------------------------------------------------
//---------------------------------------------------------------------------------- --------------------
static void
init_break(void)
{
cur_c = temp;
mask_toggle_compoundmarker(cur_c);
clean_up();
list_delete_compound(&objects.compounds, cur_c);
tail(&objects, &object_tails);
append_objects(&objects, cur_c, &object_tails);
toggle_markers_in_compound(cur_c);
set_tags(cur_c, 0);
set_action(F_BREAK); set_latestcompound(cur_c); set_modifiedflag(); ffst_selected();
}
| 23.551555 | 134 | 0.592842 |
1173d8125bd43bd8a70e64823308c213037106ac | 322 | h | C | src/lib/QHexEdit/document/commands/removecommand.h | Hayesie88/emstudio | 0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b | [
"MIT"
] | 8 | 2015-11-16T19:15:55.000Z | 2021-02-17T23:58:33.000Z | src/lib/QHexEdit/document/commands/removecommand.h | Hayesie88/emstudio | 0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b | [
"MIT"
] | 5 | 2015-11-12T00:19:59.000Z | 2020-03-23T10:18:19.000Z | src/lib/QHexEdit/document/commands/removecommand.h | Hayesie88/emstudio | 0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b | [
"MIT"
] | 11 | 2015-03-15T23:02:48.000Z | 2021-09-05T14:17:13.000Z | #ifndef REMOVECOMMAND_H
#define REMOVECOMMAND_H
#include "hexcommand.h"
class RemoveCommand: public HexCommand
{
public:
RemoveCommand(GapBuffer* gapbuffer, integer_t offset, integer_t length, QUndoCommand* parent = 0);
virtual void undo();
virtual void redo();
};
#endif // REMOVECOMMAND_H
| 21.466667 | 106 | 0.714286 |
0a9696b02d99e75c0ee688ce1c7e16458383e1b3 | 2,161 | h | C | Dependencies/PSDWriter/Shared/PSDLayer.h | redstrate/silica-viewer | ded53bb5aeca6cc56a6892c5d4f755a46c7b4777 | [
"MIT"
] | null | null | null | Dependencies/PSDWriter/Shared/PSDLayer.h | redstrate/silica-viewer | ded53bb5aeca6cc56a6892c5d4f755a46c7b4777 | [
"MIT"
] | null | null | null | Dependencies/PSDWriter/Shared/PSDLayer.h | redstrate/silica-viewer | ded53bb5aeca6cc56a6892c5d4f755a46c7b4777 | [
"MIT"
] | null | null | null | //
// PSDLayer.h
// PSDWriterLibrary
//
// Created by Ben Gotow on 3/8/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#endif
@interface PSDLayer : NSObject
{
NSString * name;
NSData * imageData;
float opacity;
CGRect rect;
NSInteger blendMode;
bool nonBaseLayer;
}
/** The name of the layer. I believe this must be 16 characters or less.
Correction: must be padded to multiple of 4 include 1 byte length byte. Max size 256 bytes.
*/
@property (nonatomic, retain) NSString * name;
/** The image data in RGBA or RGB format,
depending on whether the PSDWriter.layerChannelCount is set to 4 or 3, respectively.*/
@property (nonatomic, retain) NSData * imageData;
/** The opacity of the layer between 0 and 1. */
@property (nonatomic, assign) float opacity;
/** The blend modes */
enum PSDBlendModes {
kPSDBlendModeNormal=0,
kPSDBlendModeDisolve,
kPSDBlendModeDarken,
kPSDBlendModeMultiply,
kPSDBlendModeColorBurn,
kPSDBlendModeLinearBurn,
kPSDBlendModeDarkerColor,
kPSDBlendModeLighten,
kPSDBlendModeScreen,
kPSDBlendModeColorDodge,
kPSDBlendModeLinearDodge,
kPSDBlendModeLighter,
kPSDBlendModeVividLight,
kPSDBlendModeHardLight,
kPSDBlendModeColor,
kPSDBlendModeAdd,
kPSDBlendModeLighterColor,
kPSdBlendModeLinearLight,
kPSDBlendModePinLight,
kPSDBlendModeHardMix,
kPSDBlendModeDivide,
kPSDBlendModeOverlay,
kPSDBlendSoftLight,
kPSDBlendModeDifference,
kPSDBlendModeExclusion,
kPSDBlendModeSubtract,
kPSDBlendModeHue,
kPSDBlendModeSaturation,
kPSDBlendModeLuminosity,
};
@property (nonatomic, assign) NSInteger blendMode;
@property (nonatomic, assign) bool nonBaseLayer;
/** The rectangle the layer should be placed within in the PSD.
Note that scaling is not currently supported, so you should really only adjust the origin of this rect to move the imageData around within the PSD.
*/
@property (nonatomic, assign) CGRect rect;
@end
| 25.72619 | 152 | 0.720963 |
0ab1fb40b11db9fee30a23443f0ca8b42c057379 | 3,281 | h | C | mudpack/pack.h | layerfsd/mupack | e62afb90efd8f09aa14ce8f1e8bc8941aa1df8f4 | [
"WTFPL"
] | 1 | 2019-04-19T05:13:57.000Z | 2019-04-19T05:13:57.000Z | mudpack/pack.h | layerfsd/mupack | e62afb90efd8f09aa14ce8f1e8bc8941aa1df8f4 | [
"WTFPL"
] | null | null | null | mudpack/pack.h | layerfsd/mupack | e62afb90efd8f09aa14ce8f1e8bc8941aa1df8f4 | [
"WTFPL"
] | 1 | 2019-11-25T12:16:00.000Z | 2019-11-25T12:16:00.000Z |
#pragma once
#define align_(_size, _base_size) \
(((_size + _base_size - 1) / _base_size) * _base_size)
#define addr(address) \
((DWORD)pe.m_sections[i].data + (address - pe.m_sections[i].header.VirtualAddress))
#define arrayof(x) (sizeof(x)/sizeof(x[0]))
extern PIMAGE_TLS_DIRECTORY32 pImgTlsDir;
typedef int (_stdcall *tdecomp) (PVOID, PVOID, PVOID);
typedef void (_stdcall *tmentry)(LPVOID,LPVOID);
typedef void (_stdcall *trestore)(LPVOID,LPVOID);
typedef WINBASEAPI PVOID (WINAPI **tVirtualAlloc)(PVOID,DWORD,DWORD,DWORD);
typedef WINBASEAPI PVOID (WINAPI **tRtlMoveMemory)(PVOID,PVOID,DWORD);
typedef WINBASEAPI BOOL (WINAPI **tVirtualFree)(PVOID,DWORD,DWORD);
typedef WINBASEAPI BOOL (WINAPI **tVirtualProtect)(PVOID,DWORD,DWORD,PDWORD);
typedef WINBASEAPI FARPROC (WINAPI **tGetProcAddress)(HINSTANCE,LPCSTR);
typedef WINBASEAPI HINSTANCE (WINAPI **tGetModuleHandleA)(LPCSTR);
typedef WINBASEAPI HMODULE (WINAPI **tGetModuleHandle)(LPCSTR);
typedef DWORD (_stdcall *tgetdepackersize) ();
extern tgetdepackersize get_depackersize;
typedef DWORD (_stdcall *tgetworkmemsize) ();
extern tgetworkmemsize get_workmemsize;
typedef DWORD (_stdcall *tgetdepackerptr) ();
extern tgetdepackerptr get_depackerptr;
typedef unsigned char* (_stdcall *tcmpdata)(unsigned char *,DWORD,DWORD *);
extern tcmpdata cmp_data;
typedef void (_stdcall *tfreecmpdata)(void *);
extern tfreecmpdata freecmp_data;
bool plugin_load(char* filename);
void plugin_free();
struct plugin{
unsigned char fname[MAX_PATH+1]; //filename
unsigned char name[255]; //filename
};
#pragma pack(push, 1)
typedef struct dos_section
{
IMAGE_DOS_HEADER header;
DWORD stub_size;
BYTE *stub;
};
typedef struct isections
{
IMAGE_SECTION_HEADER header;
BYTE *data;
DWORD csize;
BYTE *cdata;
};
typedef struct compdata
{
LPVOID src;
DWORD clen;
DWORD nlen;
DWORD ulen;
DWORD wlen;
};
typedef struct PE
{
DWORD EntryPoint;
dos_section m_dos;
LPVOID comparray;
DWORD scomparray;
char **dlls;
char **thunks;
DWORD sdllimports;
DWORD sdllexports;
DWORD rescaddress;
IMAGE_NT_HEADERS int_headers;
isections *m_sections;
unsigned char *new_resource_section;
unsigned char *new_exports;
DWORD new_resource_section_size;
DWORD new_resource_data_size;
DWORD new_resource_cdata_size;
DWORD resource_section_virtual_address;
};
typedef struct pointers
{
BYTE opcode[26];
tVirtualAlloc VirtualAlloc;
tVirtualFree VirtualFree;
tVirtualProtect VirtualProtect;
tGetProcAddress GetProcAddress;
tGetModuleHandleA GetModuleHandleA;
tRtlMoveMemory copymem;
tmentry mentry;
trestore restore;
tdecomp decomp;
DWORD ocompdata;
//TLS callback
DWORD ImageBase;
DWORD OriginalImports;
DWORD OriginalRelocations;
DWORD OriginalRelocationsSize;
IMAGE_TLS_DIRECTORY32 tls_callback;
};
#pragma pack(pop)
void construct(pointers *p, PE *pe, DWORD sfunc[2], int section_size);
int compress_file(char* argv);
void functions(pointers *pt, PE *pe);
int pe_read(const char* filename, PE *pe);
int pe_write(const char* filename, PE *pe);
void AddSection(const char* sname, LPVOID _section, DWORD _section_size, DWORD _entry_point_offset, PE *pe);
void CryptFile(int(__cdecl *callback) (unsigned int, unsigned int),char *filenameload);
BYTE * comp(BYTE* input, int in_size, int * out_size); | 26.459677 | 108 | 0.778421 |
92b53b1c3c2096405b318889b37a6956c0ca893b | 35,331 | h | C | src/lkl_wrap/include/lkl/linux/perf_event.h | dme26/intravisor | 9bf9c50aa14616bd9bd66eee47623e8b61514058 | [
"MIT"
] | 11 | 2022-02-05T12:12:43.000Z | 2022-03-08T08:09:08.000Z | src/lkl_wrap/include/lkl/linux/perf_event.h | dme26/intravisor | 9bf9c50aa14616bd9bd66eee47623e8b61514058 | [
"MIT"
] | null | null | null | src/lkl_wrap/include/lkl/linux/perf_event.h | dme26/intravisor | 9bf9c50aa14616bd9bd66eee47623e8b61514058 | [
"MIT"
] | 1 | 2022-02-22T20:32:22.000Z | 2022-02-22T20:32:22.000Z | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
* Performance events:
*
* Copyright (C) 2008-2009, Thomas Gleixner <tglx@linutronix.de>
* Copyright (C) 2008-2011, Red Hat, Inc., Ingo Molnar
* Copyright (C) 2008-2011, Red Hat, Inc., Peter Zijlstra
*
* Data type definitions, declarations, prototypes.
*
* Started by: Thomas Gleixner and Ingo Molnar
*
* For licencing details see kernel-base/COPYING
*/
#ifndef _LKL_LINUX_PERF_EVENT_H
#define _LKL_LINUX_PERF_EVENT_H
#include <lkl/linux/types.h>
#include <lkl/linux/ioctl.h>
#include <lkl/asm/byteorder.h>
/*
* User-space ABI bits:
*/
/*
* attr.type
*/
enum lkl_perf_type_id {
LKL_PERF_TYPE_HARDWARE = 0,
LKL_PERF_TYPE_SOFTWARE = 1,
LKL_PERF_TYPE_TRACEPOINT = 2,
LKL_PERF_TYPE_HW_CACHE = 3,
LKL_PERF_TYPE_RAW = 4,
LKL_PERF_TYPE_BREAKPOINT = 5,
LKL_PERF_TYPE_MAX, /* non-ABI */
};
/*
* Generalized performance event event_id types, used by the
* attr.event_id parameter of the sys_perf_event_open()
* syscall:
*/
enum lkl_perf_hw_id {
/*
* Common hardware events, generalized by the kernel:
*/
LKL_PERF_COUNT_HW_CPU_CYCLES = 0,
LKL_PERF_COUNT_HW_INSTRUCTIONS = 1,
LKL_PERF_COUNT_HW_CACHE_REFERENCES = 2,
LKL_PERF_COUNT_HW_CACHE_MISSES = 3,
LKL_PERF_COUNT_HW_BRANCH_INSTRUCTIONS = 4,
LKL_PERF_COUNT_HW_BRANCH_MISSES = 5,
LKL_PERF_COUNT_HW_BUS_CYCLES = 6,
LKL_PERF_COUNT_HW_STALLED_CYCLES_FRONTEND = 7,
LKL_PERF_COUNT_HW_STALLED_CYCLES_BACKEND = 8,
LKL_PERF_COUNT_HW_REF_CPU_CYCLES = 9,
LKL_PERF_COUNT_HW_MAX, /* non-ABI */
};
/*
* Generalized hardware cache events:
*
* { L1-D, L1-I, LLC, ITLB, DTLB, BPU, NODE } x
* { read, write, prefetch } x
* { accesses, misses }
*/
enum lkl_perf_hw_cache_id {
LKL_PERF_COUNT_HW_CACHE_L1D = 0,
LKL_PERF_COUNT_HW_CACHE_L1I = 1,
LKL_PERF_COUNT_HW_CACHE_LL = 2,
LKL_PERF_COUNT_HW_CACHE_DTLB = 3,
LKL_PERF_COUNT_HW_CACHE_ITLB = 4,
LKL_PERF_COUNT_HW_CACHE_BPU = 5,
LKL_PERF_COUNT_HW_CACHE_NODE = 6,
LKL_PERF_COUNT_HW_CACHE_MAX, /* non-ABI */
};
enum lkl_perf_hw_cache_op_id {
LKL_PERF_COUNT_HW_CACHE_OP_READ = 0,
LKL_PERF_COUNT_HW_CACHE_OP_WRITE = 1,
LKL_PERF_COUNT_HW_CACHE_OP_PREFETCH = 2,
LKL_PERF_COUNT_HW_CACHE_OP_MAX, /* non-ABI */
};
enum lkl_perf_hw_cache_op_result_id {
LKL_PERF_COUNT_HW_CACHE_RESULT_ACCESS = 0,
LKL_PERF_COUNT_HW_CACHE_RESULT_MISS = 1,
LKL_PERF_COUNT_HW_CACHE_RESULT_MAX, /* non-ABI */
};
/*
* Special "software" events provided by the kernel, even if the hardware
* does not support performance events. These events measure various
* physical and sw events of the kernel (and allow the profiling of them as
* well):
*/
enum lkl_perf_sw_ids {
LKL_PERF_COUNT_SW_CPU_CLOCK = 0,
LKL_PERF_COUNT_SW_TASK_CLOCK = 1,
LKL_PERF_COUNT_SW_PAGE_FAULTS = 2,
LKL_PERF_COUNT_SW_CONTEXT_SWITCHES = 3,
LKL_PERF_COUNT_SW_CPU_MIGRATIONS = 4,
LKL_PERF_COUNT_SW_PAGE_FAULTS_MIN = 5,
LKL_PERF_COUNT_SW_PAGE_FAULTS_MAJ = 6,
LKL_PERF_COUNT_SW_ALIGNMENT_FAULTS = 7,
LKL_PERF_COUNT_SW_EMULATION_FAULTS = 8,
LKL_PERF_COUNT_SW_DUMMY = 9,
LKL_PERF_COUNT_SW_BPF_OUTPUT = 10,
LKL_PERF_COUNT_SW_MAX, /* non-ABI */
};
/*
* Bits that can be set in attr.sample_type to request information
* in the overflow packets.
*/
enum lkl_perf_event_sample_format {
LKL_PERF_SAMPLE_IP = 1U << 0,
LKL_PERF_SAMPLE_TID = 1U << 1,
LKL_PERF_SAMPLE_TIME = 1U << 2,
LKL_PERF_SAMPLE_ADDR = 1U << 3,
LKL_PERF_SAMPLE_READ = 1U << 4,
LKL_PERF_SAMPLE_CALLCHAIN = 1U << 5,
LKL_PERF_SAMPLE_ID = 1U << 6,
LKL_PERF_SAMPLE_CPU = 1U << 7,
LKL_PERF_SAMPLE_PERIOD = 1U << 8,
LKL_PERF_SAMPLE_STREAM_ID = 1U << 9,
LKL_PERF_SAMPLE_RAW = 1U << 10,
LKL_PERF_SAMPLE_BRANCH_STACK = 1U << 11,
LKL_PERF_SAMPLE_REGS_USER = 1U << 12,
LKL_PERF_SAMPLE_STACK_USER = 1U << 13,
LKL_PERF_SAMPLE_WEIGHT = 1U << 14,
LKL_PERF_SAMPLE_DATA_SRC = 1U << 15,
LKL_PERF_SAMPLE_IDENTIFIER = 1U << 16,
LKL_PERF_SAMPLE_TRANSACTION = 1U << 17,
LKL_PERF_SAMPLE_REGS_INTR = 1U << 18,
LKL_PERF_SAMPLE_PHYS_ADDR = 1U << 19,
LKL_PERF_SAMPLE_MAX = 1U << 20, /* non-ABI */
};
/*
* values to program into branch_sample_type when PERF_SAMPLE_BRANCH is set
*
* If the user does not pass priv level information via branch_sample_type,
* the kernel uses the event's priv level. Branch and event priv levels do
* not have to match. Branch priv level is checked for permissions.
*
* The branch types can be combined, however BRANCH_ANY covers all types
* of branches and therefore it supersedes all the other types.
*/
enum lkl_perf_branch_sample_type_shift {
LKL_PERF_SAMPLE_BRANCH_USER_SHIFT = 0, /* user branches */
LKL_PERF_SAMPLE_BRANCH_KERNEL_SHIFT = 1, /* kernel branches */
LKL_PERF_SAMPLE_BRANCH_HV_SHIFT = 2, /* hypervisor branches */
LKL_PERF_SAMPLE_BRANCH_ANY_SHIFT = 3, /* any branch types */
LKL_PERF_SAMPLE_BRANCH_ANY_CALL_SHIFT = 4, /* any call branch */
LKL_PERF_SAMPLE_BRANCH_ANY_RETURN_SHIFT = 5, /* any return branch */
LKL_PERF_SAMPLE_BRANCH_IND_CALL_SHIFT = 6, /* indirect calls */
LKL_PERF_SAMPLE_BRANCH_ABORT_TX_SHIFT = 7, /* transaction aborts */
LKL_PERF_SAMPLE_BRANCH_IN_TX_SHIFT = 8, /* in transaction */
LKL_PERF_SAMPLE_BRANCH_NO_TX_SHIFT = 9, /* not in transaction */
LKL_PERF_SAMPLE_BRANCH_COND_SHIFT = 10, /* conditional branches */
LKL_PERF_SAMPLE_BRANCH_CALL_STACK_SHIFT = 11, /* call/ret stack */
LKL_PERF_SAMPLE_BRANCH_IND_JUMP_SHIFT = 12, /* indirect jumps */
LKL_PERF_SAMPLE_BRANCH_CALL_SHIFT = 13, /* direct call */
LKL_PERF_SAMPLE_BRANCH_NO_FLAGS_SHIFT = 14, /* no flags */
LKL_PERF_SAMPLE_BRANCH_NO_CYCLES_SHIFT = 15, /* no cycles */
LKL_PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT = 16, /* save branch type */
LKL_PERF_SAMPLE_BRANCH_MAX_SHIFT /* non-ABI */
};
enum lkl_perf_branch_sample_type {
LKL_PERF_SAMPLE_BRANCH_USER = 1U << LKL_PERF_SAMPLE_BRANCH_USER_SHIFT,
LKL_PERF_SAMPLE_BRANCH_KERNEL = 1U << LKL_PERF_SAMPLE_BRANCH_KERNEL_SHIFT,
LKL_PERF_SAMPLE_BRANCH_HV = 1U << LKL_PERF_SAMPLE_BRANCH_HV_SHIFT,
LKL_PERF_SAMPLE_BRANCH_ANY = 1U << LKL_PERF_SAMPLE_BRANCH_ANY_SHIFT,
LKL_PERF_SAMPLE_BRANCH_ANY_CALL = 1U << LKL_PERF_SAMPLE_BRANCH_ANY_CALL_SHIFT,
LKL_PERF_SAMPLE_BRANCH_ANY_RETURN = 1U << LKL_PERF_SAMPLE_BRANCH_ANY_RETURN_SHIFT,
LKL_PERF_SAMPLE_BRANCH_IND_CALL = 1U << LKL_PERF_SAMPLE_BRANCH_IND_CALL_SHIFT,
LKL_PERF_SAMPLE_BRANCH_ABORT_TX = 1U << LKL_PERF_SAMPLE_BRANCH_ABORT_TX_SHIFT,
LKL_PERF_SAMPLE_BRANCH_IN_TX = 1U << LKL_PERF_SAMPLE_BRANCH_IN_TX_SHIFT,
LKL_PERF_SAMPLE_BRANCH_NO_TX = 1U << LKL_PERF_SAMPLE_BRANCH_NO_TX_SHIFT,
LKL_PERF_SAMPLE_BRANCH_COND = 1U << LKL_PERF_SAMPLE_BRANCH_COND_SHIFT,
LKL_PERF_SAMPLE_BRANCH_CALL_STACK = 1U << LKL_PERF_SAMPLE_BRANCH_CALL_STACK_SHIFT,
LKL_PERF_SAMPLE_BRANCH_IND_JUMP = 1U << LKL_PERF_SAMPLE_BRANCH_IND_JUMP_SHIFT,
LKL_PERF_SAMPLE_BRANCH_CALL = 1U << LKL_PERF_SAMPLE_BRANCH_CALL_SHIFT,
LKL_PERF_SAMPLE_BRANCH_NO_FLAGS = 1U << LKL_PERF_SAMPLE_BRANCH_NO_FLAGS_SHIFT,
LKL_PERF_SAMPLE_BRANCH_NO_CYCLES = 1U << LKL_PERF_SAMPLE_BRANCH_NO_CYCLES_SHIFT,
LKL_PERF_SAMPLE_BRANCH_TYPE_SAVE =
1U << LKL_PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT,
LKL_PERF_SAMPLE_BRANCH_MAX = 1U << LKL_PERF_SAMPLE_BRANCH_MAX_SHIFT,
};
/*
* Common flow change classification
*/
enum {
LKL_PERF_BR_UNKNOWN = 0, /* unknown */
LKL_PERF_BR_COND = 1, /* conditional */
LKL_PERF_BR_UNCOND = 2, /* unconditional */
LKL_PERF_BR_IND = 3, /* indirect */
LKL_PERF_BR_CALL = 4, /* function call */
LKL_PERF_BR_IND_CALL = 5, /* indirect function call */
LKL_PERF_BR_RET = 6, /* function return */
LKL_PERF_BR_SYSCALL = 7, /* syscall */
LKL_PERF_BR_SYSRET = 8, /* syscall return */
LKL_PERF_BR_COND_CALL = 9, /* conditional function call */
LKL_PERF_BR_COND_RET = 10, /* conditional function return */
LKL_PERF_BR_MAX,
};
#define LKL_PERF_SAMPLE_BRANCH_PLM_ALL \
(LKL_PERF_SAMPLE_BRANCH_USER|\
LKL_PERF_SAMPLE_BRANCH_KERNEL|\
LKL_PERF_SAMPLE_BRANCH_HV)
/*
* Values to determine ABI of the registers dump.
*/
enum lkl_perf_sample_regs_abi {
LKL_PERF_SAMPLE_REGS_ABI_NONE = 0,
LKL_PERF_SAMPLE_REGS_ABI_32 = 1,
LKL_PERF_SAMPLE_REGS_ABI_64 = 2,
};
/*
* Values for the memory transaction event qualifier, mostly for
* abort events. Multiple bits can be set.
*/
enum {
LKL_PERF_TXN_ELISION = (1 << 0), /* From elision */
LKL_PERF_TXN_TRANSACTION = (1 << 1), /* From transaction */
LKL_PERF_TXN_SYNC = (1 << 2), /* Instruction is related */
LKL_PERF_TXN_ASYNC = (1 << 3), /* Instruction not related */
LKL_PERF_TXN_RETRY = (1 << 4), /* Retry possible */
LKL_PERF_TXN_CONFLICT = (1 << 5), /* Conflict abort */
LKL_PERF_TXN_CAPACITY_WRITE = (1 << 6), /* Capacity write abort */
LKL_PERF_TXN_CAPACITY_READ = (1 << 7), /* Capacity read abort */
LKL_PERF_TXN_MAX = (1 << 8), /* non-ABI */
/* bits 32..63 are reserved for the abort code */
LKL_PERF_TXN_ABORT_MASK = (0xffffffffULL << 32),
LKL_PERF_TXN_ABORT_SHIFT = 32,
};
/*
* The format of the data returned by read() on a perf event fd,
* as specified by attr.read_format:
*
* struct lkl_read_format {
* { lkl_u64 value;
* { lkl_u64 time_enabled; } && LKL_PERF_FORMAT_TOTAL_TIME_ENABLED
* { lkl_u64 time_running; } && LKL_PERF_FORMAT_TOTAL_TIME_RUNNING
* { lkl_u64 id; } && LKL_PERF_FORMAT_ID
* } && !LKL_PERF_FORMAT_GROUP
*
* { lkl_u64 nr;
* { lkl_u64 time_enabled; } && LKL_PERF_FORMAT_TOTAL_TIME_ENABLED
* { lkl_u64 time_running; } && LKL_PERF_FORMAT_TOTAL_TIME_RUNNING
* { lkl_u64 value;
* { lkl_u64 id; } && LKL_PERF_FORMAT_ID
* } cntr[nr];
* } && LKL_PERF_FORMAT_GROUP
* };
*/
enum lkl_perf_event_read_format {
LKL_PERF_FORMAT_TOTAL_TIME_ENABLED = 1U << 0,
LKL_PERF_FORMAT_TOTAL_TIME_RUNNING = 1U << 1,
LKL_PERF_FORMAT_ID = 1U << 2,
LKL_PERF_FORMAT_GROUP = 1U << 3,
LKL_PERF_FORMAT_MAX = 1U << 4, /* non-ABI */
};
#define LKL_PERF_ATTR_SIZE_VER0 64 /* sizeof first published struct */
#define LKL_PERF_ATTR_SIZE_VER1 72 /* add: config2 */
#define LKL_PERF_ATTR_SIZE_VER2 80 /* add: branch_sample_type */
#define LKL_PERF_ATTR_SIZE_VER3 96 /* add: sample_regs_user */
/* add: sample_stack_user */
#define LKL_PERF_ATTR_SIZE_VER4 104 /* add: sample_regs_intr */
#define LKL_PERF_ATTR_SIZE_VER5 112 /* add: aux_watermark */
/*
* Hardware event_id to monitor via a performance monitoring event:
*
* @sample_max_stack: Max number of frame pointers in a callchain,
* should be < /proc/sys/kernel/perf_event_max_stack
*/
struct lkl_perf_event_attr {
/*
* Major type: hardware/software/tracepoint/etc.
*/
__lkl__u32 type;
/*
* Size of the attr structure, for fwd/bwd compat.
*/
__lkl__u32 size;
/*
* Type specific configuration information.
*/
__lkl__u64 config;
union {
__lkl__u64 sample_period;
__lkl__u64 sample_freq;
};
__lkl__u64 sample_type;
__lkl__u64 read_format;
__lkl__u64 disabled : 1, /* off by default */
inherit : 1, /* children inherit it */
pinned : 1, /* must always be on PMU */
exclusive : 1, /* only group on PMU */
exclude_user : 1, /* don't count user */
exclude_kernel : 1, /* ditto kernel */
exclude_hv : 1, /* ditto hypervisor */
exclude_idle : 1, /* don't count when idle */
mmap : 1, /* include mmap data */
comm : 1, /* include comm data */
freq : 1, /* use freq, not period */
inherit_stat : 1, /* per task counts */
enable_on_exec : 1, /* next exec enables */
task : 1, /* trace fork/exit */
watermark : 1, /* wakeup_watermark */
/*
* precise_ip:
*
* 0 - SAMPLE_IP can have arbitrary skid
* 1 - SAMPLE_IP must have constant skid
* 2 - SAMPLE_IP requested to have 0 skid
* 3 - SAMPLE_IP must have 0 skid
*
* See also LKL_PERF_RECORD_MISC_EXACT_IP
*/
precise_ip : 2, /* skid constraint */
mmap_data : 1, /* non-exec mmap data */
sample_id_all : 1, /* sample_type all events */
exclude_host : 1, /* don't count in host */
exclude_guest : 1, /* don't count in guest */
exclude_callchain_kernel : 1, /* exclude kernel callchains */
exclude_callchain_user : 1, /* exclude user callchains */
mmap2 : 1, /* include mmap with inode data */
comm_exec : 1, /* flag comm events that are due to an exec */
use_clockid : 1, /* use @clockid for time fields */
context_switch : 1, /* context switch data */
write_backward : 1, /* Write ring buffer from end to beginning */
namespaces : 1, /* include namespaces data */
__reserved_1 : 35;
union {
__lkl__u32 wakeup_events; /* wakeup every n events */
__lkl__u32 wakeup_watermark; /* bytes before wakeup */
};
__lkl__u32 bp_type;
union {
__lkl__u64 bp_addr;
__lkl__u64 kprobe_func; /* for perf_kprobe */
__lkl__u64 uprobe_path; /* for perf_uprobe */
__lkl__u64 config1; /* extension of config */
};
union {
__lkl__u64 bp_len;
__lkl__u64 kprobe_addr; /* when kprobe_func == NULL */
__lkl__u64 probe_offset; /* for perf_[k,u]probe */
__lkl__u64 config2; /* extension of config1 */
};
__lkl__u64 branch_sample_type; /* enum lkl_perf_branch_sample_type */
/*
* Defines set of user regs to dump on samples.
* See asm/perf_regs.h for details.
*/
__lkl__u64 sample_regs_user;
/*
* Defines size of the user stack to dump on samples.
*/
__lkl__u32 sample_stack_user;
__lkl__s32 clockid;
/*
* Defines set of regs to dump for each sample
* state captured on:
* - precise = 0: PMU interrupt
* - precise > 0: sampled instruction
*
* See asm/perf_regs.h for details.
*/
__lkl__u64 sample_regs_intr;
/*
* Wakeup watermark for AUX area
*/
__lkl__u32 aux_watermark;
__lkl__u16 sample_max_stack;
__lkl__u16 __reserved_2; /* align to __lkl__u64 */
};
/*
* Structure used by below LKL_PERF_EVENT_IOC_QUERY_BPF command
* to query bpf programs attached to the same perf tracepoint
* as the given perf event.
*/
struct lkl_perf_event_query_bpf {
/*
* The below ids array length
*/
__lkl__u32 ids_len;
/*
* Set by the kernel to indicate the number of
* available programs
*/
__lkl__u32 prog_cnt;
/*
* User provided buffer to store program ids
*/
__lkl__u32 ids[0];
};
#define lkl_perf_flags(attr) (*(&(attr)->read_format + 1))
/*
* Ioctls that can be done on a perf event fd:
*/
#define LKL_PERF_EVENT_IOC_ENABLE _LKL_IO ('$', 0)
#define LKL_PERF_EVENT_IOC_DISABLE _LKL_IO ('$', 1)
#define LKL_PERF_EVENT_IOC_REFRESH _LKL_IO ('$', 2)
#define LKL_PERF_EVENT_IOC_RESET _LKL_IO ('$', 3)
#define LKL_PERF_EVENT_IOC_PERIOD _LKL_IOW('$', 4, __lkl__u64)
#define LKL_PERF_EVENT_IOC_SET_OUTPUT _LKL_IO ('$', 5)
#define LKL_PERF_EVENT_IOC_SET_FILTER _LKL_IOW('$', 6, char *)
#define LKL_PERF_EVENT_IOC_ID _LKL_IOR('$', 7, __lkl__u64 *)
#define LKL_PERF_EVENT_IOC_SET_BPF _LKL_IOW('$', 8, __lkl__u32)
#define LKL_PERF_EVENT_IOC_PAUSE_OUTPUT _LKL_IOW('$', 9, __lkl__u32)
#define LKL_PERF_EVENT_IOC_QUERY_BPF _LKL_IOWR('$', 10, struct lkl_perf_event_query_bpf *)
#define LKL_PERF_EVENT_IOC_MODIFY_ATTRIBUTES _LKL_IOW('$', 11, struct lkl_perf_event_attr *)
enum lkl_perf_event_ioc_flags {
LKL_PERF_IOC_FLAG_GROUP = 1U << 0,
};
/*
* Structure of the page that can be mapped via mmap
*/
struct lkl_perf_event_mmap_page {
__lkl__u32 version; /* version number of this structure */
__lkl__u32 compat_version; /* lowest version this is compat with */
/*
* Bits needed to read the hw events in user-space.
*
* lkl_u32 seq, time_mult, time_shift, index, width;
* lkl_u64 count, enabled, running;
* lkl_u64 cyc, time_offset;
* lkl_s64 pmc = 0;
*
* do {
* seq = pc->lock;
* barrier()
*
* enabled = pc->time_enabled;
* running = pc->time_running;
*
* if (pc->cap_usr_time && enabled != running) {
* cyc = rdtsc();
* time_offset = pc->time_offset;
* time_mult = pc->time_mult;
* time_shift = pc->time_shift;
* }
*
* index = pc->index;
* count = pc->offset;
* if (pc->cap_user_rdpmc && index) {
* width = pc->pmc_width;
* pmc = rdpmc(index - 1);
* }
*
* barrier();
* } while (pc->lock != seq);
*
* NOTE: for obvious reason this only works on self-monitoring
* processes.
*/
__lkl__u32 lock; /* seqlock for synchronization */
__lkl__u32 index; /* hardware event identifier */
__lkl__s64 offset; /* add to hardware event value */
__lkl__u64 time_enabled; /* time event active */
__lkl__u64 time_running; /* time event on cpu */
union {
__lkl__u64 capabilities;
struct {
__lkl__u64 cap_bit0 : 1, /* Always 0, deprecated, see commit 860f085b74e9 */
cap_bit0_is_deprecated : 1, /* Always 1, signals that bit 0 is zero */
cap_user_rdpmc : 1, /* The RDPMC instruction can be used to read counts */
cap_user_time : 1, /* The time_* fields are used */
cap_user_time_zero : 1, /* The time_zero field is used */
cap_____res : 59;
};
};
/*
* If cap_user_rdpmc this field provides the bit-width of the value
* read using the rdpmc() or equivalent instruction. This can be used
* to sign extend the result like:
*
* pmc <<= 64 - width;
* pmc >>= 64 - width; // signed shift right
* count += pmc;
*/
__lkl__u16 pmc_width;
/*
* If cap_usr_time the below fields can be used to compute the time
* delta since time_enabled (in ns) using rdtsc or similar.
*
* lkl_u64 quot, rem;
* lkl_u64 delta;
*
* quot = (cyc >> time_shift);
* rem = cyc & (((lkl_u64)1 << time_shift) - 1);
* delta = time_offset + quot * time_mult +
* ((rem * time_mult) >> time_shift);
*
* Where time_offset,time_mult,time_shift and cyc are read in the
* seqcount loop described above. This delta can then be added to
* enabled and possible running (if index), improving the scaling:
*
* enabled += delta;
* if (index)
* running += delta;
*
* quot = count / running;
* rem = count % running;
* count = quot * enabled + (rem * enabled) / running;
*/
__lkl__u16 time_shift;
__lkl__u32 time_mult;
__lkl__u64 time_offset;
/*
* If cap_usr_time_zero, the hardware clock (e.g. TSC) can be calculated
* from sample timestamps.
*
* time = timestamp - time_zero;
* quot = time / time_mult;
* rem = time % time_mult;
* cyc = (quot << time_shift) + (rem << time_shift) / time_mult;
*
* And vice versa:
*
* quot = cyc >> time_shift;
* rem = cyc & (((lkl_u64)1 << time_shift) - 1);
* timestamp = time_zero + quot * time_mult +
* ((rem * time_mult) >> time_shift);
*/
__lkl__u64 time_zero;
__lkl__u32 size; /* Header size up to __reserved[] fields. */
/*
* Hole for extension of the self monitor capabilities
*/
__lkl__u8 __reserved[118*8+4]; /* align to 1k. */
/*
* Control data for the mmap() data buffer.
*
* User-space reading the @data_head value should issue an smp_rmb(),
* after reading this value.
*
* When the mapping is PROT_WRITE the @data_tail value should be
* written by userspace to reflect the last read data, after issueing
* an smp_mb() to separate the data read from the ->data_tail store.
* In this case the kernel will not over-write unread data.
*
* See perf_output_put_handle() for the data ordering.
*
* data_{offset,size} indicate the location and size of the perf record
* buffer within the mmapped area.
*/
__lkl__u64 data_head; /* head in the data section */
__lkl__u64 data_tail; /* user-space written tail */
__lkl__u64 data_offset; /* where the buffer starts */
__lkl__u64 data_size; /* data buffer size */
/*
* AUX area is defined by aux_{offset,size} fields that should be set
* by the userspace, so that
*
* aux_offset >= data_offset + data_size
*
* prior to mmap()ing it. Size of the mmap()ed area should be aux_size.
*
* Ring buffer pointers aux_{head,tail} have the same semantics as
* data_{head,tail} and same ordering rules apply.
*/
__lkl__u64 aux_head;
__lkl__u64 aux_tail;
__lkl__u64 aux_offset;
__lkl__u64 aux_size;
};
#define LKL_PERF_RECORD_MISC_CPUMODE_MASK (7 << 0)
#define LKL_PERF_RECORD_MISC_CPUMODE_UNKNOWN (0 << 0)
#define LKL_PERF_RECORD_MISC_KERNEL (1 << 0)
#define LKL_PERF_RECORD_MISC_USER (2 << 0)
#define LKL_PERF_RECORD_MISC_HYPERVISOR (3 << 0)
#define LKL_PERF_RECORD_MISC_GUEST_KERNEL (4 << 0)
#define LKL_PERF_RECORD_MISC_GUEST_USER (5 << 0)
/*
* Indicates that /proc/PID/maps parsing are truncated by time out.
*/
#define LKL_PERF_RECORD_MISC_PROC_MAP_PARSE_TIMEOUT (1 << 12)
/*
* Following PERF_RECORD_MISC_* are used on different
* events, so can reuse the same bit position:
*
* LKL_PERF_RECORD_MISC_MMAP_DATA - LKL_PERF_RECORD_MMAP* events
* LKL_PERF_RECORD_MISC_COMM_EXEC - LKL_PERF_RECORD_COMM event
* LKL_PERF_RECORD_MISC_SWITCH_OUT - LKL_PERF_RECORD_SWITCH* events
*/
#define LKL_PERF_RECORD_MISC_MMAP_DATA (1 << 13)
#define LKL_PERF_RECORD_MISC_COMM_EXEC (1 << 13)
#define LKL_PERF_RECORD_MISC_SWITCH_OUT (1 << 13)
/*
* These PERF_RECORD_MISC_* flags below are safely reused
* for the following events:
*
* LKL_PERF_RECORD_MISC_EXACT_IP - LKL_PERF_RECORD_SAMPLE of precise events
* LKL_PERF_RECORD_MISC_SWITCH_OUT_PREEMPT - LKL_PERF_RECORD_SWITCH* events
*
*
* LKL_PERF_RECORD_MISC_EXACT_IP:
* Indicates that the content of LKL_PERF_SAMPLE_IP points to
* the actual instruction that triggered the event. See also
* perf_event_attr::precise_ip.
*
* LKL_PERF_RECORD_MISC_SWITCH_OUT_PREEMPT:
* Indicates that thread was preempted in TASK_RUNNING state.
*/
#define LKL_PERF_RECORD_MISC_EXACT_IP (1 << 14)
#define LKL_PERF_RECORD_MISC_SWITCH_OUT_PREEMPT (1 << 14)
/*
* Reserve the last bit to indicate some extended misc field
*/
#define LKL_PERF_RECORD_MISC_EXT_RESERVED (1 << 15)
struct lkl_perf_event_header {
__lkl__u32 type;
__lkl__u16 misc;
__lkl__u16 size;
};
struct lkl_perf_ns_link_info {
__lkl__u64 dev;
__lkl__u64 ino;
};
enum {
LKL_NET_NS_INDEX = 0,
LKL_UTS_NS_INDEX = 1,
LKL_IPC_NS_INDEX = 2,
LKL_PID_NS_INDEX = 3,
LKL_USER_NS_INDEX = 4,
LKL_MNT_NS_INDEX = 5,
LKL_CGROUP_NS_INDEX = 6,
LKL_NR_NAMESPACES, /* number of available namespaces */
};
enum lkl_perf_event_type {
/*
* If perf_event_attr.sample_id_all is set then all event types will
* have the sample_type selected fields related to where/when
* (identity) an event took place (TID, TIME, ID, STREAM_ID, CPU,
* IDENTIFIER) described in LKL_PERF_RECORD_SAMPLE below, it will be stashed
* just after the perf_event_header and the fields already present for
* the existing fields, i.e. at the end of the payload. That way a newer
* perf.data file will be supported by older perf tools, with these new
* optional fields being ignored.
*
* struct lkl_sample_id {
* { lkl_u32 pid, tid; } && LKL_PERF_SAMPLE_TID
* { lkl_u64 time; } && LKL_PERF_SAMPLE_TIME
* { lkl_u64 id; } && LKL_PERF_SAMPLE_ID
* { lkl_u64 stream_id;} && LKL_PERF_SAMPLE_STREAM_ID
* { lkl_u32 cpu, res; } && LKL_PERF_SAMPLE_CPU
* { lkl_u64 id; } && LKL_PERF_SAMPLE_IDENTIFIER
* } && perf_event_attr::sample_id_all
*
* Note that LKL_PERF_SAMPLE_IDENTIFIER duplicates LKL_PERF_SAMPLE_ID. The
* advantage of LKL_PERF_SAMPLE_IDENTIFIER is that its position is fixed
* relative to header.size.
*/
/*
* The MMAP events record the PROT_EXEC mappings so that we can
* correlate userspace IPs to code. They have the following structure:
*
* struct {
* struct lkl_perf_event_header header;
*
* lkl_u32 pid, tid;
* lkl_u64 addr;
* lkl_u64 len;
* lkl_u64 pgoff;
* char filename[];
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_MMAP = 1,
/*
* struct {
* struct lkl_perf_event_header header;
* lkl_u64 id;
* lkl_u64 lost;
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_LOST = 2,
/*
* struct {
* struct lkl_perf_event_header header;
*
* lkl_u32 pid, tid;
* char comm[];
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_COMM = 3,
/*
* struct {
* struct lkl_perf_event_header header;
* lkl_u32 pid, ppid;
* lkl_u32 tid, ptid;
* lkl_u64 time;
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_EXIT = 4,
/*
* struct {
* struct lkl_perf_event_header header;
* lkl_u64 time;
* lkl_u64 id;
* lkl_u64 stream_id;
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_THROTTLE = 5,
LKL_PERF_RECORD_UNTHROTTLE = 6,
/*
* struct {
* struct lkl_perf_event_header header;
* lkl_u32 pid, ppid;
* lkl_u32 tid, ptid;
* lkl_u64 time;
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_FORK = 7,
/*
* struct {
* struct lkl_perf_event_header header;
* lkl_u32 pid, tid;
*
* struct lkl_read_format values;
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_READ = 8,
/*
* struct {
* struct lkl_perf_event_header header;
*
* #
* # Note that LKL_PERF_SAMPLE_IDENTIFIER duplicates LKL_PERF_SAMPLE_ID.
* # The advantage of LKL_PERF_SAMPLE_IDENTIFIER is that its position
* # is fixed relative to header.
* #
*
* { lkl_u64 id; } && LKL_PERF_SAMPLE_IDENTIFIER
* { lkl_u64 ip; } && LKL_PERF_SAMPLE_IP
* { lkl_u32 pid, tid; } && LKL_PERF_SAMPLE_TID
* { lkl_u64 time; } && LKL_PERF_SAMPLE_TIME
* { lkl_u64 addr; } && LKL_PERF_SAMPLE_ADDR
* { lkl_u64 id; } && LKL_PERF_SAMPLE_ID
* { lkl_u64 stream_id;} && LKL_PERF_SAMPLE_STREAM_ID
* { lkl_u32 cpu, res; } && LKL_PERF_SAMPLE_CPU
* { lkl_u64 period; } && LKL_PERF_SAMPLE_PERIOD
*
* { struct lkl_read_format values; } && LKL_PERF_SAMPLE_READ
*
* { lkl_u64 nr,
* lkl_u64 ips[nr]; } && LKL_PERF_SAMPLE_CALLCHAIN
*
* #
* # The RAW record below is opaque data wrt the ABI
* #
* # That is, the ABI doesn't make any promises wrt to
* # the stability of its content, it may vary depending
* # on event, hardware, kernel version and phase of
* # the moon.
* #
* # In other words, LKL_PERF_SAMPLE_RAW contents are not an ABI.
* #
*
* { lkl_u32 size;
* char data[size];}&& LKL_PERF_SAMPLE_RAW
*
* { lkl_u64 nr;
* { lkl_u64 from, to, flags } lbr[nr];} && LKL_PERF_SAMPLE_BRANCH_STACK
*
* { lkl_u64 abi; # enum lkl_perf_sample_regs_abi
* lkl_u64 regs[weight(mask)]; } && LKL_PERF_SAMPLE_REGS_USER
*
* { lkl_u64 size;
* char data[size];
* lkl_u64 dyn_size; } && LKL_PERF_SAMPLE_STACK_USER
*
* { lkl_u64 weight; } && LKL_PERF_SAMPLE_WEIGHT
* { lkl_u64 data_src; } && LKL_PERF_SAMPLE_DATA_SRC
* { lkl_u64 transaction; } && LKL_PERF_SAMPLE_TRANSACTION
* { lkl_u64 abi; # enum lkl_perf_sample_regs_abi
* lkl_u64 regs[weight(mask)]; } && LKL_PERF_SAMPLE_REGS_INTR
* { lkl_u64 phys_addr;} && LKL_PERF_SAMPLE_PHYS_ADDR
* };
*/
LKL_PERF_RECORD_SAMPLE = 9,
/*
* The MMAP2 records are an augmented version of MMAP, they add
* maj, min, ino numbers to be used to uniquely identify each mapping
*
* struct {
* struct lkl_perf_event_header header;
*
* lkl_u32 pid, tid;
* lkl_u64 addr;
* lkl_u64 len;
* lkl_u64 pgoff;
* lkl_u32 maj;
* lkl_u32 min;
* lkl_u64 ino;
* lkl_u64 ino_generation;
* lkl_u32 prot, flags;
* char filename[];
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_MMAP2 = 10,
/*
* Records that new data landed in the AUX buffer part.
*
* struct {
* struct lkl_perf_event_header header;
*
* lkl_u64 aux_offset;
* lkl_u64 aux_size;
* lkl_u64 flags;
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_AUX = 11,
/*
* Indicates that instruction trace has started
*
* struct {
* struct lkl_perf_event_header header;
* lkl_u32 pid;
* lkl_u32 tid;
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_ITRACE_START = 12,
/*
* Records the dropped/lost sample number.
*
* struct {
* struct lkl_perf_event_header header;
*
* lkl_u64 lost;
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_LOST_SAMPLES = 13,
/*
* Records a context switch in or out (flagged by
* LKL_PERF_RECORD_MISC_SWITCH_OUT). See also
* LKL_PERF_RECORD_SWITCH_CPU_WIDE.
*
* struct {
* struct lkl_perf_event_header header;
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_SWITCH = 14,
/*
* CPU-wide version of LKL_PERF_RECORD_SWITCH with next_prev_pid and
* next_prev_tid that are the next (switching out) or previous
* (switching in) pid/tid.
*
* struct {
* struct lkl_perf_event_header header;
* lkl_u32 next_prev_pid;
* lkl_u32 next_prev_tid;
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_SWITCH_CPU_WIDE = 15,
/*
* struct {
* struct lkl_perf_event_header header;
* lkl_u32 pid;
* lkl_u32 tid;
* lkl_u64 nr_namespaces;
* { lkl_u64 dev, inode; } [nr_namespaces];
* struct lkl_sample_id sample_id;
* };
*/
LKL_PERF_RECORD_NAMESPACES = 16,
LKL_PERF_RECORD_MAX, /* non-ABI */
};
#define LKL_PERF_MAX_STACK_DEPTH 127
#define LKL_PERF_MAX_CONTEXTS_PER_STACK 8
enum lkl_perf_callchain_context {
LKL_PERF_CONTEXT_HV = (__lkl__u64)-32,
LKL_PERF_CONTEXT_KERNEL = (__lkl__u64)-128,
LKL_PERF_CONTEXT_USER = (__lkl__u64)-512,
LKL_PERF_CONTEXT_GUEST = (__lkl__u64)-2048,
LKL_PERF_CONTEXT_GUEST_KERNEL = (__lkl__u64)-2176,
LKL_PERF_CONTEXT_GUEST_USER = (__lkl__u64)-2560,
LKL_PERF_CONTEXT_MAX = (__lkl__u64)-4095,
};
/**
* LKL_PERF_RECORD_AUX::flags bits
*/
#define LKL_PERF_AUX_FLAG_TRUNCATED 0x01 /* record was truncated to fit */
#define LKL_PERF_AUX_FLAG_OVERWRITE 0x02 /* snapshot from overwrite mode */
#define LKL_PERF_AUX_FLAG_PARTIAL 0x04 /* record contains gaps */
#define LKL_PERF_AUX_FLAG_COLLISION 0x08 /* sample collided with another */
#define LKL_PERF_FLAG_FD_NO_GROUP (1UL << 0)
#define LKL_PERF_FLAG_FD_OUTPUT (1UL << 1)
#define LKL_PERF_FLAG_PID_CGROUP (1UL << 2) /* pid=cgroup id, per-cpu mode only */
#define LKL_PERF_FLAG_FD_CLOEXEC (1UL << 3) /* LKL_O_CLOEXEC */
#if defined(__LKL__LITTLE_ENDIAN_BITFIELD)
union lkl_perf_mem_data_src {
__lkl__u64 val;
struct {
__lkl__u64 mem_op:5, /* type of opcode */
mem_lvl:14, /* memory hierarchy level */
mem_snoop:5, /* snoop mode */
mem_lock:2, /* lock instr */
mem_dtlb:7, /* tlb access */
mem_lvl_num:4, /* memory hierarchy level number */
mem_remote:1, /* remote */
mem_snoopx:2, /* snoop mode, ext */
mem_rsvd:24;
};
};
#elif defined(__LKL__BIG_ENDIAN_BITFIELD)
union lkl_perf_mem_data_src {
__lkl__u64 val;
struct {
__lkl__u64 mem_rsvd:24,
mem_snoopx:2, /* snoop mode, ext */
mem_remote:1, /* remote */
mem_lvl_num:4, /* memory hierarchy level number */
mem_dtlb:7, /* tlb access */
mem_lock:2, /* lock instr */
mem_snoop:5, /* snoop mode */
mem_lvl:14, /* memory hierarchy level */
mem_op:5; /* type of opcode */
};
};
#else
#error "Unknown endianness"
#endif
/* type of opcode (load/store/prefetch,code) */
#define LKL_PERF_MEM_OP_NA 0x01 /* not available */
#define LKL_PERF_MEM_OP_LOAD 0x02 /* load instruction */
#define LKL_PERF_MEM_OP_STORE 0x04 /* store instruction */
#define LKL_PERF_MEM_OP_PFETCH 0x08 /* prefetch */
#define LKL_PERF_MEM_OP_EXEC 0x10 /* code (execution) */
#define LKL_PERF_MEM_OP_SHIFT 0
/* memory hierarchy (memory level, hit or miss) */
#define LKL_PERF_MEM_LVL_NA 0x01 /* not available */
#define LKL_PERF_MEM_LVL_HIT 0x02 /* hit level */
#define LKL_PERF_MEM_LVL_MISS 0x04 /* miss level */
#define LKL_PERF_MEM_LVL_L1 0x08 /* L1 */
#define LKL_PERF_MEM_LVL_LFB 0x10 /* Line Fill Buffer */
#define LKL_PERF_MEM_LVL_L2 0x20 /* L2 */
#define LKL_PERF_MEM_LVL_L3 0x40 /* L3 */
#define LKL_PERF_MEM_LVL_LOC_RAM 0x80 /* Local DRAM */
#define LKL_PERF_MEM_LVL_REM_RAM1 0x100 /* Remote DRAM (1 hop) */
#define LKL_PERF_MEM_LVL_REM_RAM2 0x200 /* Remote DRAM (2 hops) */
#define LKL_PERF_MEM_LVL_REM_CCE1 0x400 /* Remote Cache (1 hop) */
#define LKL_PERF_MEM_LVL_REM_CCE2 0x800 /* Remote Cache (2 hops) */
#define LKL_PERF_MEM_LVL_IO 0x1000 /* I/O memory */
#define LKL_PERF_MEM_LVL_UNC 0x2000 /* Uncached memory */
#define LKL_PERF_MEM_LVL_SHIFT 5
#define LKL_PERF_MEM_REMOTE_REMOTE 0x01 /* Remote */
#define LKL_PERF_MEM_REMOTE_SHIFT 37
#define LKL_PERF_MEM_LVLNUM_L1 0x01 /* L1 */
#define LKL_PERF_MEM_LVLNUM_L2 0x02 /* L2 */
#define LKL_PERF_MEM_LVLNUM_L3 0x03 /* L3 */
#define LKL_PERF_MEM_LVLNUM_L4 0x04 /* L4 */
/* 5-0xa available */
#define LKL_PERF_MEM_LVLNUM_ANY_CACHE 0x0b /* Any cache */
#define LKL_PERF_MEM_LVLNUM_LFB 0x0c /* LFB */
#define LKL_PERF_MEM_LVLNUM_RAM 0x0d /* RAM */
#define LKL_PERF_MEM_LVLNUM_PMEM 0x0e /* PMEM */
#define LKL_PERF_MEM_LVLNUM_NA 0x0f /* N/A */
#define LKL_PERF_MEM_LVLNUM_SHIFT 33
/* snoop mode */
#define LKL_PERF_MEM_SNOOP_NA 0x01 /* not available */
#define LKL_PERF_MEM_SNOOP_NONE 0x02 /* no snoop */
#define LKL_PERF_MEM_SNOOP_HIT 0x04 /* snoop hit */
#define LKL_PERF_MEM_SNOOP_MISS 0x08 /* snoop miss */
#define LKL_PERF_MEM_SNOOP_HITM 0x10 /* snoop hit modified */
#define LKL_PERF_MEM_SNOOP_SHIFT 19
#define LKL_PERF_MEM_SNOOPX_FWD 0x01 /* forward */
/* 1 free */
#define LKL_PERF_MEM_SNOOPX_SHIFT 37
/* locked instruction */
#define LKL_PERF_MEM_LOCK_NA 0x01 /* not available */
#define LKL_PERF_MEM_LOCK_LOCKED 0x02 /* locked transaction */
#define LKL_PERF_MEM_LOCK_SHIFT 24
/* TLB access */
#define LKL_PERF_MEM_TLB_NA 0x01 /* not available */
#define LKL_PERF_MEM_TLB_HIT 0x02 /* hit level */
#define LKL_PERF_MEM_TLB_MISS 0x04 /* miss level */
#define LKL_PERF_MEM_TLB_L1 0x08 /* L1 */
#define LKL_PERF_MEM_TLB_L2 0x10 /* L2 */
#define LKL_PERF_MEM_TLB_WK 0x20 /* Hardware Walker*/
#define LKL_PERF_MEM_TLB_OS 0x40 /* OS fault handler */
#define LKL_PERF_MEM_TLB_SHIFT 26
#define LKL_PERF_MEM_S(a, s) \
(((__lkl__u64)PERF_MEM_##a##_##s) << PERF_MEM_##a##_SHIFT)
/*
* single taken branch record layout:
*
* from: source instruction (may not always be a branch insn)
* to: branch target
* mispred: branch target was mispredicted
* predicted: branch target was predicted
*
* support for mispred, predicted is optional. In case it
* is not supported mispred = predicted = 0.
*
* in_tx: running in a hardware transaction
* abort: aborting a hardware transaction
* cycles: cycles from last branch (or 0 if not supported)
* type: branch type
*/
struct lkl_perf_branch_entry {
__lkl__u64 from;
__lkl__u64 to;
__lkl__u64 mispred:1, /* target mispredicted */
predicted:1,/* target predicted */
in_tx:1, /* in transaction */
abort:1, /* transaction abort */
cycles:16, /* cycle count to last branch */
type:4, /* branch type */
reserved:40;
};
#endif /* _LKL_LINUX_PERF_EVENT_H */
| 31.294066 | 92 | 0.694886 |
25e69dbf52147a7ccbd1b9d0db9780ea08ed2356 | 929 | h | C | class-roster/student.h | Dormanator/class-roster | 0f9a85e0eee9cda7ddca393626ab264befb49122 | [
"Apache-2.0"
] | null | null | null | class-roster/student.h | Dormanator/class-roster | 0f9a85e0eee9cda7ddca393626ab264befb49122 | [
"Apache-2.0"
] | null | null | null | class-roster/student.h | Dormanator/class-roster | 0f9a85e0eee9cda7ddca393626ab264befb49122 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <string>
#include "degree.h"
using std::string;
class Student {
public:
static const int numCourses = 3;
Student();
Student(string studentID, string firstName, string lastName, int age, string emailAddress, int daysToCompleteCourses[]);
string getStudentID();
void setStudentID(string studentID);
string getFirstName();
void setFirstName(string firstName);
string getLastName();
void setLastName(string lastName);
string getEmailAddress();
void setEmailAddress(string emailAddress);
int getAge();
void setAge(int age);
int* getDaysInCourses();
void setDaysInCourses(int daysInCourses[]);
Degree virtual getDegreeProgram() = 0;
void virtual setDegreeProgram(Degree degreeProgram) = 0;
void virtual print();
~Student();
protected:
string studentID;
string firstName;
string lastName;
string emailAddress;
int age;
int daysInCourses[numCourses];
Degree degreeProgram;
}; | 19.765957 | 121 | 0.757804 |
5ab17272ab77e0f0e013961b1c4d9874e7c63fc4 | 5,535 | h | C | Source/libs/cocos2d-iphone/cocos2d/CCRenderer_private.h | VadimuZz/iOS-Game-SpeedWords | 99b48aca55c1342df96236e8676de003e0869405 | [
"MIT"
] | 1 | 2017-03-18T00:36:21.000Z | 2017-03-18T00:36:21.000Z | cocos2d/CCRenderer_private.h | danhd123/cocos2d-swift | 426c593180ca5d165a58eca8672af3b1b5ecc499 | [
"MIT"
] | null | null | null | cocos2d/CCRenderer_private.h | danhd123/cocos2d-swift | 426c593180ca5d165a58eca8672af3b1b5ecc499 | [
"MIT"
] | null | null | null | /*
* cocos2d for iPhone: http://www.cocos2d-iphone.org
*
* Copyright (c) 2014 Cocos2D Authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#import <Foundation/Foundation.h>
#import "CCRenderer.h"
#import "CCCache.h"
// TODO These should be made private to the module.
extern id CCBLENDMODE_CACHE;
extern id CCRENDERSTATE_CACHE;
/// Options dictionary for the disabled blending mode.
extern NSDictionary *CCBLEND_DISABLED_OPTIONS;
/// Internal type used to abstract GPU buffers. (vertex, index buffers, etc)
typedef struct CCGraphicsBuffer {
/// Elements currently in the buffer.
size_t count;
/// Element capacity of the buffer.
size_t capacity;
/// Size in bytes of elements in the buffer.
size_t elementSize;
/// Pointer to the buffer memory.
void *ptr;
/// Used to store GL VBO name for now.
intptr_t data;
/// GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, etc.
intptr_t type;
} CCGraphicsBuffer;
/**
* Describes the behaviour for an command object that can be submitted to the queue of a
* CCRenderer in order to perform some drawing operations.
*
* When submitted to a renderer, render commands can be queued and executed at a later time.
* Each implementation of CCRenderCommand encapsulates the content to be rendered.
*/
@protocol CCRenderCommand <NSObject>
@property(nonatomic, readonly) NSInteger globalSortOrder;
/**
* Invokes this command on the specified renderer.
*
* When submitted to a renderer, render commands may be queued and executed at a later time.
* Implementations should expect that this method will not be executed at the time that this
* command is submitted to the renderer.
*/
-(void)invokeOnRenderer:(CCRenderer *)renderer;
@end
@interface CCBlendMode(){
@public
NSDictionary *_options;
}
@end
@interface CCRenderState(){
@private
CCTexture *_mainTexture;
BOOL _immutable;
@public
CCBlendMode *_blendMode;
CCShader *_shader;
NSDictionary *_shaderUniforms;
}
@end
@interface CCRenderCommandDraw : NSObject<CCRenderCommand> {
@public
GLenum _mode;
CCRenderState *_renderState;
NSInteger _globalSortOrder;
}
@property(nonatomic, readonly) GLint first;
@property(nonatomic, readonly) GLsizei elements;
-(instancetype)initWithMode:(GLenum)mode renderState:(CCRenderState *)renderState first:(GLint)first elements:(GLsizei)elements globalSortOrder:(NSInteger)globalSortOrder;
-(void)batchElements:(GLsizei)elements;
@end
@interface CCRenderer(){
GLuint _vao;
CCGraphicsBuffer _vertexBuffer;
CCGraphicsBuffer _elementBuffer;
NSDictionary *_globalShaderUniforms;
NSMutableArray *_queue;
NSMutableArray *_queueStack;
// Current renderer bindings for fast state checking.
// Invalidated at the end of each frame.
__unsafe_unretained CCRenderState *_renderState;
__unsafe_unretained NSDictionary *_blendOptions;
__unsafe_unretained CCShader *_shader;
__unsafe_unretained NSDictionary *_shaderUniforms;
__unsafe_unretained CCRenderCommandDraw *_lastDrawCommand;
BOOL _vaoBound;
}
/// Current global shader uniform values.
@property(nonatomic, copy) NSDictionary *globalShaderUniforms;
/// Retrieve the current renderer for the current thread.
+(instancetype)currentRenderer;
/// Set the current renderer for the current thread.
+(void)bindRenderer:(CCRenderer *)renderer;
/// Enqueue a general or custom render command.
-(void)enqueueRenderCommand: (id<CCRenderCommand>) renderCommand;
/// Render any currently queued commands.
-(void)flush;
/// Bind the renderer's VAO if it is not currently bound.
-(void)bindVAO:(BOOL)bind;
/// Resize the capacity of a graphics buffer.
-(void)resizeBuffer:(struct CCGraphicsBuffer *)buffer capacity:(size_t)capacity;
@end
@interface CCRenderer(NoARCPrivate)
-(void)setRenderState:(CCRenderState *)renderState;
@end
/// Return a pointer to an array of elements that is 'requestedCount' in size.
/// The buffer is resized by calling [CCRenderer resizeBuffer:] if necessary.
static inline void *
CCGraphicsBufferPushElements(CCGraphicsBuffer *buffer, size_t requestedCount, CCRenderer *renderer)
{
NSCAssert(requestedCount > 0, @"Requested count must be positive.");
size_t required = buffer->count + requestedCount;
size_t capacity = buffer->capacity;
if(required > capacity){
// Why 1.5? https://github.com/facebook/folly/blob/master/folly/docs/FBVector.md
[renderer resizeBuffer:buffer capacity:required*1.5];
}
void *array = buffer->ptr + buffer->count*buffer->elementSize;
buffer->count += requestedCount;
return array;
}
| 29.131579 | 171 | 0.769286 |
eef3a9726ec5d0e7d5529bab80c5f9cf9353911b | 188 | h | C | editors/dhex/configfile.h | ibara/LiteBSD-Ports | fd99e3b6884ff5ba30ab6b6eedc5ada812dcb733 | [
"MIT"
] | 14 | 2015-12-22T03:17:48.000Z | 2021-07-31T00:02:26.000Z | editors/dhex/configfile.h | ibara/LiteBSD-Ports | fd99e3b6884ff5ba30ab6b6eedc5ada812dcb733 | [
"MIT"
] | 3 | 2016-01-19T05:24:47.000Z | 2018-01-21T19:41:53.000Z | editors/dhex/configfile.h | ibara/LiteBSD-Ports | fd99e3b6884ff5ba30ab6b6eedc5ada812dcb733 | [
"MIT"
] | 6 | 2016-01-19T05:07:17.000Z | 2022-01-12T03:25:39.000Z | #ifndef CONFIGFILE_H
#define CONFIGFILE_H
#include <stdio.h>
#include <stdlib.h>
#include "machine_type.h"
#include "output.h"
int readconfigfile(tOutput* output,char* filename);
#endif
| 17.090909 | 51 | 0.765957 |
f5bf2ede181d284546e81ecc1ccd21ccb705f6d3 | 6,626 | c | C | sdk/src/hc32l110_ddl_uart.c | jeffreyabecker/hc32l110_lib | 0e2134876567aee451384cb78a938aa757f363a1 | [
"MIT"
] | null | null | null | sdk/src/hc32l110_ddl_uart.c | jeffreyabecker/hc32l110_lib | 0e2134876567aee451384cb78a938aa757f363a1 | [
"MIT"
] | null | null | null | sdk/src/hc32l110_ddl_uart.c | jeffreyabecker/hc32l110_lib | 0e2134876567aee451384cb78a938aa757f363a1 | [
"MIT"
] | null | null | null | #include "hc32l110_ddl_debug.h"
#include "hc32l110_system.h"
#include "hc32l110_registers.h"
#include "hc32l110_ddl_gpio.h"
#include "hc32l110_ddl_buffers.h"
#include "hc32l110_ddl_uart.h"
#include <stdarg.h>
#include <stddef.h>
#define UART_INDEX(UART) ((((uint32_t)UART) - UART00_ADDRESS) / 4 * 32)
#define UART_TIMER(INDEX) ((hc32_basic_timer_register_t *)(TIMER_0_ADDRESS + INDEX))
typedef struct
{
const gpio_port_descriptor_t *tx_port;
uint8_t tx_function;
const gpio_port_descriptor_t *rx_port;
uint8_t rx_function;
} uart_port_config_t;
__read_only_data static uart_port_config_t uart_port_configs[3] = {
{.tx_port = gpio_port_p35,
.tx_function = port_p35_uart0_txd,
.rx_port = gpio_port_p36,
.rx_function = port_p36_uart0_rxd},
{.tx_port = gpio_port_p23,
.tx_function = port_p23_uart1_txd,
.rx_port = gpio_port_p24,
.rx_function = port_p24_uart1_rxd},
{.tx_port = gpio_port_p34,
.tx_function = port_p34_lpuart_txd,
.rx_port = gpio_port_p33,
.rx_function = port_p33_lpuart_rxd},
};
void init_uart(hc32_uart_register_t *uart, uint32_t baud)
{
uint32_t uart_index = UART_INDEX(uart);
hc32_basic_timer_register_t *timer = UART_TIMER(uart_index);
gpio_port_config_t cfg = {
.direction = gpio_output,
.resolution = 0,
.drive_mode = 0,
.pull_up = 1,
.pull_down = 0,
.gpio_mode = gpio_digital,
.enable_interrupt = 0};
cfg.function = uart_port_configs[uart_index].tx_function;
gpio_configure(uart_port_configs[uart_index].tx_port, cfg);
cfg.function = uart_port_configs[uart_index].rx_function;
gpio_configure(uart_port_configs[uart_index].rx_port, cfg);
timer->control_flags.timer_running = 0;
timer->control_flags.clock_source = 0;
timer->control_flags.mode = 1;
timer->control_flags.toggle_enabled = 1;
timer->auto_reload = 65536 - (PeripheralCoreClock / (baud * 32));
timer->count16 = timer->auto_reload;
timer->control_flags.timer_running = 1;
uart->control.double_baud_rate = 0;
uart->control.mode = 1;
}
void uart_put_byte(hc32_uart_register_t *uart, uint8_t byte)
{
uart->control.rx_enabled = 0;
uart->interrupt_clear.tx_complete_flag = 0;
uart->buffer = byte;
while (!uart->interrupt_flags.tx_complete_flag)
{
__nop();
}
uart->interrupt_clear.tx_complete_flag = 0;
}
void uart_send(hc32_uart_register_t *uart, uint8_t* data, uint8_t length)
{
HC32_UART1->control.rx_enabled = 0;
for(uint8_t i=0; i< length; i++){
HC32_UART0->interrupt_clear.tx_complete_flag = 0;
HC32_UART0->buffer =data[i];
while (!HC32_UART0->interrupt_flags.tx_complete_flag)
{
__nop();
}
}
}
uint8_t uart_get_byte(hc32_uart_register_t *uart)
{
uart->control.rx_enabled = 1;
while (!uart->interrupt_clear.rx_complete_flag)
{
__nop();
}
uint8_t result = uart->buffer;
uart->interrupt_flags.rx_complete_flag = 0;
return result;
}
typedef struct
{
uart_event_handler_t handler;
buffer_t tx_buffer;
buffer_t rx_buffer;
} uart_buffer_ref_t;
static uart_buffer_ref_t uart_buffers[3];
void uart_set_handler(hc32_uart_register_t *uart, uart_event_handler_t handler)
{
uart_buffers[UART_INDEX(uart)].handler = handler;
}
void uart_set_buffer(hc32_uart_register_t *uart, buffer_t tx_buffer, uint8_t tx_length, buffer_t rx_buffer, uint8_t rx_length)
{
if (tx_buffer != NULL)
{
buffer_init(tx_buffer, tx_length);
}
if (rx_buffer != NULL)
{
buffer_init(rx_buffer, rx_length);
}
uint32_t index = UART_INDEX(uart);
uart_buffers[index].tx_buffer = tx_buffer;
uart_buffers[index].rx_buffer = rx_buffer;
uart->control.tx_interrupt_enabled = tx_buffer != NULL ? 1 : 0;
uart->control.rx_interrupt_enabled = rx_buffer != NULL ? 1 : 0;
}
uint8_t uart_buffered_tx(hc32_uart_register_t *uart, const uint8_t *data, uint8_t length)
{
uint32_t index = UART_INDEX(uart);
uint8_t bytes_written = 0;
if (uart_buffers[index].tx_buffer != NULL && length > 0)
{
uint8_t was_empty = buffer_length(uart_buffers[index].tx_buffer) == 0 ? 1 : 0;
bytes_written = buffer_write(uart_buffers[index].tx_buffer, data, length);
if (was_empty == 1)
{
uint8_t first_byte = 0;
buffer_get_byte(uart_buffers[index].tx_buffer, &first_byte);
uart->interrupt_clear.tx_complete_flag = 0;
uart->buffer = first_byte;
}
}
return bytes_written;
}
uint8_t uart_buffered_rx(hc32_uart_register_t *uart, uint8_t *data, uint8_t length)
{
uint32_t index = UART_INDEX(uart);
uint8_t bytes_read = 0;
if (uart_buffers[index].tx_buffer != NULL && length > 0)
{
bytes_read = buffer_read(uart_buffers[index].tx_buffer, data, length);
}
return bytes_read;
}
static void __uart_process_interrupt(hc32_uart_register_t *uart)
{
uart_event_t event = uart_event_none;
uint32_t index = UART_INDEX(uart);
if (uart->interrupt_flags.rx_complete_flag)
{
if (uart_buffers[index].rx_buffer != NULL)
{
buffer_append_byte(uart_buffers[index].rx_buffer, uart->buffer);
}
uart->interrupt_clear.rx_complete_flag = 0;
event = event | uart_event_rx;
}
if (uart->interrupt_flags.tx_complete_flag)
{
event = event | uart_event_tx;
uart->interrupt_clear.tx_complete_flag = 0;
if (uart_buffers[index].tx_buffer != NULL && buffer_length(uart_buffers[index].tx_buffer) > 0)
{
uint8_t b = 0;
buffer_get_byte(uart_buffers[index].tx_buffer, &b);
uart->buffer = b;
}
}
if (uart->interrupt_flags.frame_error_flag)
{
uart->interrupt_clear.frame_error_flag = 0;
event = event | uart_event_err;
}
if (uart_buffers[index].handler != NULL)
{
(uart_buffers[index].handler)(uart, event, uart_buffers[index].tx_buffer, uart_buffers[index].rx_buffer);
}
}
void IRQ06_Handler(void)
{
__uart_process_interrupt(HC32_UART0);
nvic_clear_interrupt(irq_uart_0);
}
void IRQ07_Handler(void)
{
__uart_process_interrupt(HC32_UART1);
nvic_clear_interrupt(irq_uart_1);
}
void IRQ08_Handler(void)
{
__uart_process_interrupt(HC32_LPUART);
nvic_clear_interrupt(irq_lp_uart);
} | 32.165049 | 127 | 0.664956 |
7b3788178f9d51abcda59f1cc1d67a66ae442c18 | 6,191 | c | C | lib/protocols/openvpn.c | coolriolee/libndpi | 0ea4e8f6c8bd82e5cc857d102ddcab9e9b1c810a | [
"Apache-2.0"
] | null | null | null | lib/protocols/openvpn.c | coolriolee/libndpi | 0ea4e8f6c8bd82e5cc857d102ddcab9e9b1c810a | [
"Apache-2.0"
] | null | null | null | lib/protocols/openvpn.c | coolriolee/libndpi | 0ea4e8f6c8bd82e5cc857d102ddcab9e9b1c810a | [
"Apache-2.0"
] | 1 | 2020-05-13T08:06:19.000Z | 2020-05-13T08:06:19.000Z | /*
* openvpn.c
*
* Copyright (C) 2011-20 - ntop.org
*
* OpenVPN TCP / UDP Detection - 128/160 hmac
*
* Detection based upon these openvpn protocol properties:
* - opcode
* - packet ID
* - session ID
*
* Two (good) packets are needed to perform detection.
* - First packet from client: save session ID
* - Second packet from server: report saved session ID
*
* TODO
* - Support PSK only mode (instead of TLS)
* - Support PSK + TLS mode (PSK used for early authentication)
* - TLS certificate extraction
*
*/
#include "ndpi_protocol_ids.h"
#define NDPI_CURRENT_PROTO NDPI_PROTOCOL_OPENVPN
#include "ndpi_api.h"
#define P_CONTROL_HARD_RESET_CLIENT_V1 (0x01 << 3)
#define P_CONTROL_HARD_RESET_CLIENT_V2 (0x07 << 3)
#define P_CONTROL_HARD_RESET_SERVER_V1 (0x02 << 3)
#define P_CONTROL_HARD_RESET_SERVER_V2 (0x08 << 3)
#define P_OPCODE_MASK 0xF8
#define P_SHA1_HMAC_SIZE 20
#define P_HMAC_128 16 // (RSA-)MD5, (RSA-)MD4, ..others
#define P_HMAC_160 20 // (RSA-|DSA-)SHA(1), ..others, SHA1 is openvpn default
#define P_HARD_RESET_PACKET_ID_OFFSET(hmac_size) (9 + hmac_size)
#define P_PACKET_ID_ARRAY_LEN_OFFSET(hmac_size) (P_HARD_RESET_PACKET_ID_OFFSET(hmac_size) + 8)
#define P_HARD_RESET_CLIENT_MAX_COUNT 5
static
#ifndef WIN32
inline
#endif
u_int32_t get_packet_id(const u_int8_t * payload, u_int8_t hms) {
return(ntohl(*(u_int32_t*)(payload + P_HARD_RESET_PACKET_ID_OFFSET(hms))));
}
static
#ifndef WIN32
inline
#endif
int8_t check_pkid_and_detect_hmac_size(const u_int8_t * payload) {
// try to guess
if(get_packet_id(payload, P_HMAC_160) == 1)
return P_HMAC_160;
if(get_packet_id(payload, P_HMAC_128) == 1)
return P_HMAC_128;
return(-1);
}
void ndpi_search_openvpn(struct ndpi_detection_module_struct* ndpi_struct,
struct ndpi_flow_struct* flow) {
struct ndpi_packet_struct* packet = &flow->packet;
const u_int8_t * ovpn_payload = packet->payload;
const u_int8_t * session_remote;
u_int8_t opcode;
u_int8_t alen;
int8_t hmac_size;
int8_t failed = 0;
if(packet->payload_packet_len >= 40) {
// skip openvpn TCP transport packet size
if(packet->tcp != NULL)
ovpn_payload += 2;
opcode = ovpn_payload[0] & P_OPCODE_MASK;
if(packet->udp) {
#ifdef DEBUG
printf("[packet_id: %u][opcode: %u][Packet ID: %d][%u <-> %u][len: %u]\n",
flow->num_processed_pkts,
opcode, check_pkid_and_detect_hmac_size(ovpn_payload),
htons(packet->udp->source), htons(packet->udp->dest), packet->payload_packet_len);
#endif
if(
(flow->num_processed_pkts == 1)
&& (
((packet->payload_packet_len == 112)
&& ((opcode == 168) || (opcode == 192))
)
|| ((packet->payload_packet_len == 80)
&& ((opcode == 184) || (opcode == 88) || (opcode == 160) || (opcode == 168) || (opcode == 200)))
)) {
NDPI_LOG_INFO(ndpi_struct,"found openvpn\n");
ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_OPENVPN, NDPI_PROTOCOL_UNKNOWN);
return;
}
}
if(flow->ovpn_counter < P_HARD_RESET_CLIENT_MAX_COUNT && (opcode == P_CONTROL_HARD_RESET_CLIENT_V1 ||
opcode == P_CONTROL_HARD_RESET_CLIENT_V2)) {
if(check_pkid_and_detect_hmac_size(ovpn_payload) > 0) {
memcpy(flow->ovpn_session_id, ovpn_payload+1, 8);
NDPI_LOG_DBG2(ndpi_struct,
"session key: %02x%02x%02x%02x%02x%02x%02x%02x\n",
flow->ovpn_session_id[0], flow->ovpn_session_id[1], flow->ovpn_session_id[2], flow->ovpn_session_id[3],
flow->ovpn_session_id[4], flow->ovpn_session_id[5], flow->ovpn_session_id[6], flow->ovpn_session_id[7]);
}
} else if(flow->ovpn_counter >= 1 && flow->ovpn_counter <= P_HARD_RESET_CLIENT_MAX_COUNT &&
(opcode == P_CONTROL_HARD_RESET_SERVER_V1 || opcode == P_CONTROL_HARD_RESET_SERVER_V2)) {
hmac_size = check_pkid_and_detect_hmac_size(ovpn_payload);
if(hmac_size > 0) {
alen = ovpn_payload[P_PACKET_ID_ARRAY_LEN_OFFSET(hmac_size)];
session_remote = ovpn_payload + P_PACKET_ID_ARRAY_LEN_OFFSET(hmac_size) + 1 + alen * 4;
if(memcmp(flow->ovpn_session_id, session_remote, 8) == 0) {
NDPI_LOG_INFO(ndpi_struct,"found openvpn\n");
ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_OPENVPN, NDPI_PROTOCOL_UNKNOWN);
return;
} else {
NDPI_LOG_DBG2(ndpi_struct,
"key mismatch: %02x%02x%02x%02x%02x%02x%02x%02x\n",
session_remote[0], session_remote[1], session_remote[2], session_remote[3],
session_remote[4], session_remote[5], session_remote[6], session_remote[7]);
failed = 1;
}
} else
failed = 1;
} else
failed = 1;
flow->ovpn_counter++;
if(failed) {
NDPI_EXCLUDE_PROTO(ndpi_struct, flow);
}
}
}
void init_openvpn_dissector(struct ndpi_detection_module_struct *ndpi_struct,
u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask) {
ndpi_set_bitmask_protocol_detection("OpenVPN", ndpi_struct, detection_bitmask, *id,
NDPI_PROTOCOL_OPENVPN,
ndpi_search_openvpn,
NDPI_SELECTION_BITMASK_PROTOCOL_TCP_OR_UDP_WITH_PAYLOAD,
SAVE_DETECTION_BITMASK_AS_UNKNOWN,
ADD_TO_DETECTION_BITMASK);
*id += 1;
}
| 38.69375 | 133 | 0.58585 |
c6c16e6c651ab8cc6af293c28e451dc6975d09ce | 1,813 | h | C | Frameworks/TestsFoundation/Sources/PrivateHeaders/Classdump/XCTestCore/Xcode_13_0/Xcode_13_0_XCTestCore_CDStructures.h | antigp/Mixbox | b787fa76b0d861e05dd6a467039f63e1dc931ff0 | [
"MIT"
] | 121 | 2018-08-06T19:14:05.000Z | 2022-03-29T05:10:57.000Z | Frameworks/TestsFoundation/Sources/PrivateHeaders/Classdump/XCTestCore/Xcode_13_0/Xcode_13_0_XCTestCore_CDStructures.h | antigp/Mixbox | b787fa76b0d861e05dd6a467039f63e1dc931ff0 | [
"MIT"
] | 14 | 2018-07-27T17:13:09.000Z | 2022-03-30T06:37:33.000Z | Frameworks/TestsFoundation/Sources/PrivateHeaders/Classdump/XCTestCore/Xcode_13_0/Xcode_13_0_XCTestCore_CDStructures.h | avito-tech/Mixbox | 0a83920e55f455de0f877da421c7b0d31522a093 | [
"MIT"
] | 23 | 2018-08-16T18:11:50.000Z | 2022-03-29T10:46:44.000Z | #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 150000 && __IPHONE_OS_VERSION_MAX_ALLOWED < 160000
#import "Xcode_13_0_XCTestCore_CDStructures.h"
#import "Xcode_13_0_SharedHeader.h"
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#pragma mark Blocks
typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown
#pragma mark Named Structures
struct _CSTypeRef {
unsigned long long _opaque_1;
unsigned long long _opaque_2;
};
#pragma mark Typedef'd Structures
typedef struct {
CDUnknownFunctionPointerType release;
CDUnknownFunctionPointerType retain;
CDUnknownFunctionPointerType isNull;
CDUnknownFunctionPointerType getArchitectureForName;
CDUnknownFunctionPointerType symbolicatorCreateWithTask;
CDUnknownFunctionPointerType symbolicatorForeachSymbolicatorWithPath;
CDUnknownFunctionPointerType symbolicatorForeachSharedCache;
CDUnknownFunctionPointerType symbolOwnerGetBaseAddress;
CDUnknownFunctionPointerType symbolicatorGetArchitecture;
CDUnknownFunctionPointerType symbolicatorForeachSymbolOwnerWithPathAtTime;
CDUnknownFunctionPointerType symbolicatorGetSymbolOwnerWithUUIDAtTime;
CDUnknownFunctionPointerType symbolicatorGetSymbolOwnerWithAddressAtTime;
CDUnknownFunctionPointerType symbolOwnerGetName;
CDUnknownFunctionPointerType symbolOwnerGetSymbolWithAddress;
CDUnknownFunctionPointerType symbolOwnerGetSourceInfoWithAddress;
CDUnknownFunctionPointerType symbolGetName;
CDUnknownFunctionPointerType sourceInfoGetPath;
CDUnknownFunctionPointerType sourceInfoGetLineNumber;
} CDStruct_37ea9563;
typedef struct {
long long _field1;
long long _field2;
long long _field3;
} CDStruct_2ec95fd7;
#endif | 34.865385 | 89 | 0.826806 |
3ce62f63f8fb06f5cc5642de679abd420a2d63da | 210 | h | C | Example/ZSCodeUtil/ZSViewController.h | zhangsen093725/ZSCodeUtil | 5830b2a8caf090f3906eb826dcfc87272f50ec93 | [
"MIT"
] | 3 | 2020-06-19T10:01:54.000Z | 2020-06-22T03:28:21.000Z | Example/ZSCodeUtil/ZSViewController.h | zhangsen093725/ZSCodeUtil | 5830b2a8caf090f3906eb826dcfc87272f50ec93 | [
"MIT"
] | null | null | null | Example/ZSCodeUtil/ZSViewController.h | zhangsen093725/ZSCodeUtil | 5830b2a8caf090f3906eb826dcfc87272f50ec93 | [
"MIT"
] | 1 | 2020-06-23T03:19:39.000Z | 2020-06-23T03:19:39.000Z | //
// ZSViewController.h
// ZSCodeUtil
//
// Created by zhangsen on 06/19/2020.
// Copyright (c) 2020 zhangsen. All rights reserved.
//
@import UIKit;
@interface ZSViewController : UIViewController
@end
| 15 | 53 | 0.704762 |
90d3fc227a1bb92646ff78bd11d9b66d0ff0c3e0 | 7,032 | c | C | flatsat_openmsp430/software/old_donotuse/vip/menu/main.c | Sayapatri/hackasat | b0cb5ab3f16a14a3434234f745e91ac15ccee733 | [
"MIT"
] | 62 | 2020-09-01T19:47:37.000Z | 2022-03-14T03:21:53.000Z | flatsat_openmsp430/software/old_donotuse/vip/menu/main.c | Sayapatri/hackasat | b0cb5ab3f16a14a3434234f745e91ac15ccee733 | [
"MIT"
] | null | null | null | flatsat_openmsp430/software/old_donotuse/vip/menu/main.c | Sayapatri/hackasat | b0cb5ab3f16a14a3434234f745e91ac15ccee733 | [
"MIT"
] | 10 | 2020-09-21T22:25:34.000Z | 2022-01-17T11:47:53.000Z | #include <stdio.h>
#include "hardware.h"
#include "delay.h"
#include "lcd/lcd_hal.h"
#include "lcd/lcd_gfx.h"
extern void pong(void);
extern uint16_t color_picker(void);
extern void screen_saver(void);
extern void scoreboard(void);
extern void rain(void);
extern void pong2(void);
uint8_t button_poll = 0;
volatile uint8_t sequence[8] = {0,0,0,0,0,0,0,0};
volatile uint8_t timer_count;
volatile unsigned int seconds;
volatile unsigned int activity_timer;
/* TimerA Interrupt
* In order for this interrupt to fire every 100 ms, use this init code
* for a 16MHz clock:
* CCR0 = 20000;
* CCTL0 |= CCIE;
* TACTL = ID_3 | TASSEL_2 | MC_1;
*/
interrupt (TIMERA0_VECTOR) TimerA_Interrupt( void )
{
timer_count++;
if (button_poll){
if ((timer_count % 1) == 0){
LPM0_EXIT;
}
}
if (timer_count == 100){
seconds+=1;
activity_timer+=1;
timer_count = 0;
LPM0_EXIT;
}
}
int putchar (int txdata) {
while (UART_STAT & UART_TX_FULL);
UART_TXD = txdata;
return 0;
}
//----------------------------------------------------//
// PORT1 Interrupt -- Button Depress
//----------------------------------------------------//
volatile uint8_t button_next, button_up, button_down, button_back;
interrupt (PORT1_VECTOR) INT_button(void)
{
activity_timer = 0;
sequence[7] = sequence[6];
sequence[6] = sequence[5];
sequence[5] = sequence[4];
sequence[4] = sequence[3];
sequence[3] = sequence[2];
sequence[2] = sequence[1];
sequence[1] = sequence[0];
if ( BUTTON_FLAG & BUTTON_NEXT_BIT )
{
button_next =1;
sequence[0] = 3;
BUTTON_FLAG ^= BUTTON_NEXT_BIT;
}
if (BUTTON_FLAG & BUTTON_DOWN_BIT){
button_down = 1;
sequence[0] = 2;
BUTTON_FLAG ^= BUTTON_DOWN_BIT;
}
if ( BUTTON_FLAG & BUTTON_UP_BIT ){
button_up = 1;
sequence[0] = 1;
BUTTON_FLAG ^= BUTTON_UP_BIT;
}
if (BUTTON_FLAG & BUTTON_BACK_BIT){
button_back = 1;
sequence[0] = 4;
BUTTON_FLAG ^= BUTTON_BACK_BIT;
}
// Using Low Power Mode to synchronize with main loop
LPM0_EXIT;
}
void init(void)
{
WDTCTL = WDTPW | WDTHOLD; // Disable watchdog timer
UART_BAUD = BAUD; // Init UART
UART_CTL = UART_EN; //Enable UART Output
P1OUT = 0x00; // Port data output
P2OUT = 0x00;
P1DIR = 0x00; // Port direction register
P2DIR = 0xff;
P1IES = 0x00; // Port interrupt enable (0=dis 1=enabled)
P2IES = 0x00;
P1IE = 0x0F; // Port interrupt Edge Select (0=pos 1=neg)
P2IE = 0x00;
//WDTCTL = WDTPW | WDTTMSEL | WDTCNTCL;// | WDTIS1 | WDTIS0 ; // Configure watchdog interrupt
timer_count = seconds = 0;
CCR0 = 20000;
CCTL0 |= CCIE;
// Clock divider = div by 8 | Source = SMCLOCK | Mode = Countinuous up
TACTL = ID_3 | TASSEL_2 | MC_1;
eint(); //enable interrupts
lcd_init_gfx( 160, 128 );
lcd_fillScreen( ST7735_BLACK );
lcd_init_screen( INITR_BLACKTAB );
button_up = button_down = button_back = button_next = 0;
activity_timer = 0;
}
void testprint(char *s)
{
printf("%s\r", s);
lcd_gfx_print(s);
}
int main(void)
{
uint8_t selection, menu_size;
uint16_t main_bgcolor, main_fgcolor;
char *menu[] = {"PONG", "PONG-2", "COLOR PICK-BG", "COLOR PICK-FG", "SCREEN SAVER", "SCOREBOARD", "RAIN", "RESET"};
selection = 0;
menu_size = 8;
init();
lcd_gfx_setBackgroundColor(COLOR_LEGIT_PURPLE);
lcd_gfx_setForegroundColor(COLOR_LEGIT_GOLD);
scoreboard();
button_up = button_down = button_back = button_next = 0;
lcd_fillScreen(lcd_gfx_getBackgroundColor());
lcd_gfx_setTextSize(2);
lcd_gfx_setTextColor(lcd_gfx_getForegroundColor(), lcd_gfx_getBackgroundColor());
lcd_fillScreen(lcd_gfx_getBackgroundColor());
lcd_gfx_printMenu(menu, menu_size, selection);
while(1){
if ((button_up == 1) || (BUTTON_PORT & BUTTON_UP_BIT)) {
button_up = 0;
if (selection > 0) selection -= 1;
lcd_gfx_printMenu(menu, menu_size, selection);
}
if ((button_down == 1) || (BUTTON_PORT & BUTTON_DOWN_BIT)){
button_down = 0;
if (selection < menu_size - 1) selection += 1;
lcd_gfx_printMenu(menu, menu_size, selection);
}
if ((button_back == 1) || (BUTTON_PORT & BUTTON_BACK_BIT)){
button_back = 0;
}
if ((button_next == 1) || (BUTTON_PORT & BUTTON_NEXT_BIT)){
button_next = 0;
switch (selection){
case 0:
button_poll = 1;
pong();
button_poll = 0;
break;
case 1:
button_poll = 1;
pong2();
button_poll = 0;
break;
case 2:
button_poll = 1;
main_bgcolor = color_picker();
button_poll = 0;
if (main_bgcolor != lcd_gfx_getForegroundColor()){
lcd_gfx_setBackgroundColor(main_bgcolor);
lcd_gfx_setTextColor(lcd_gfx_getForegroundColor(), main_bgcolor);
}
break;
case 3:
button_poll = 1;
main_fgcolor = color_picker();
button_poll = 0;
if (main_fgcolor != lcd_gfx_getBackgroundColor()){
lcd_gfx_setForegroundColor(main_fgcolor);
lcd_gfx_setTextColor(main_fgcolor, lcd_gfx_getBackgroundColor());
}
break;
case 4:
screen_saver();
break;
case 5:
scoreboard();
lcd_gfx_setTextSize(2);
break;
case 6:
rain();
break;
case 7:
lcd_gfx_setForegroundColor(COLOR_LEGIT_GOLD);
lcd_gfx_setBackgroundColor(COLOR_LEGIT_PURPLE);
lcd_gfx_setTextColor(lcd_gfx_getForegroundColor(), lcd_gfx_getBackgroundColor());
break;
}
lcd_fillScreen(lcd_gfx_getBackgroundColor());
lcd_gfx_printMenu(menu, menu_size, selection);
}
// Screen Saver after period of inactivity (seconds)
if (activity_timer > 60){
screen_saver();
lcd_fillScreen(lcd_gfx_getBackgroundColor());
lcd_gfx_printMenu(menu, menu_size, selection);
}
button_up = button_down = button_back = button_next = 0;
LPM0;
}
}
| 29.3 | 119 | 0.5374 |
091515662bf6a9ac60b545e8b680c7a0b431baa3 | 3,856 | c | C | workspace/singlefin/src-input/target/bg96/fin_uart.c | noomio/singlefin | 090da3b6c92827557c909a9a548c6a2e141a9195 | [
"MIT"
] | 2 | 2021-04-16T07:33:05.000Z | 2021-04-16T07:48:03.000Z | workspace/singlefin/src-input/target/bg96/fin_uart.c | noomio/singlefin | 090da3b6c92827557c909a9a548c6a2e141a9195 | [
"MIT"
] | null | null | null | workspace/singlefin/src-input/target/bg96/fin_uart.c | noomio/singlefin | 090da3b6c92827557c909a9a548c6a2e141a9195 | [
"MIT"
] | 1 | 2021-04-09T23:39:52.000Z | 2021-04-09T23:39:52.000Z | /*
*
* @author : Nikolas Karakotas
* @date : 07/01/2021
*
*/
#include "fin_internal.h"
#define UART_NO_MAX 3
#define RECV_BUF_SIZE 128
struct uart_map {
uint8_t serial_num;
int8_t index;
uint32_t port_id;
qapi_UART_Handle_t handle;
uint8_t recv_buf[RECV_BUF_SIZE];
volatile uint8_t recvd[RECV_BUF_SIZE];
volatile uint32_t recvd_head;
volatile uint32_t recvd_tail;
};
struct uart_map uart_map[UART_NO_MAX] = {
{UART1, -1, QAPI_UART_PORT_001_E, NULL, 0},
{UART2, -1, QAPI_UART_PORT_002_E, NULL, 0},
{UART3, -1, QAPI_UART_PORT_003_E, NULL, 0}
};
static void uart_rx_cb(uint32_t num_bytes, void *cb_data){
int8_t index = *(int8_t*)cb_data;
for(int i=0; i < num_bytes; i++){
uint32_t head = __atomic_fetch_add(&uart_map[index].recvd_head,1,__ATOMIC_RELAXED);
if(head+1 >= RECV_BUF_SIZE-1){
__atomic_store_n(&uart_map[index].recvd_head,0,__ATOMIC_RELAXED);
head = 0;
}
__atomic_store_n (&uart_map[index].recvd[head], uart_map[index].recv_buf[i], __ATOMIC_RELAXED);
}
}
static void uart_tx_cb(uint32_t num_bytes1, void *cb_data){
}
int fin_uart_config(fin_uart_t uart, uint32_t baud_rate, uint32_t stop_bits, uint32_t bits_per_char, uint32_t parity, uint32_t flow_ctrl){
qapi_UART_Open_Config_t uart_cfg;
int index = -1;
for(int i=0; i < UART_NO_MAX; i++){
if(uart_map[i].serial_num == uart){
index = i;
uart_map[i].index = i;
break;
}
}
if(index > -1 ){
uart_cfg.baud_Rate = baud_rate;
uart_cfg.enable_Flow_Ctrl = flow_ctrl;
uart_cfg.bits_Per_Char = bits_per_char;
uart_cfg.enable_Loopback = 0;
uart_cfg.num_Stop_Bits = stop_bits;
uart_cfg.parity_Mode = parity;
uart_cfg.rx_CB_ISR = (qapi_UART_Callback_Fn_t)&uart_rx_cb;
uart_cfg.tx_CB_ISR = (qapi_UART_Callback_Fn_t)&uart_tx_cb;
if(qapi_UART_Open(&uart_map[index].handle, uart_map[index].port_id, &uart_cfg) == QAPI_OK &&
qapi_UART_Power_On(uart_map[index].handle) == QAPI_OK){
while(qapi_UART_Receive (uart_map[index].handle, uart_map[index].recv_buf, RECV_BUF_SIZE, &uart_map[index].index) != QAPI_OK); // queue as per doc
uart_map[index].recvd_head = 0;
uart_map[index].recvd_tail = 0;
return 0;
}
}
return 1;
}
int fin_uart_write(fin_uart_t uart, uint8_t *buf, size_t nbytes){
if(buf){
for(int i=0; i < UART_NO_MAX; i++){
if(uart_map[i].serial_num == uart){
return qapi_UART_Transmit(uart_map[i].handle, buf, nbytes, &uart_map[i].serial_num);
}
}
}
return 1;
}
int fin_uart_read(fin_uart_t uart, uint8_t *buf, size_t nbytes){
if(buf){
for(int i=0; i < UART_NO_MAX; i++){
if(uart_map[i].serial_num == uart){
uint32_t head = __atomic_load_n(&uart_map[i].recvd_head,__ATOMIC_RELAXED);
uint32_t z=0;
while(nbytes){
if(uart_map[i].recvd_tail != head){
uint32_t tail = uart_map[i].recvd_tail;
buf[z++] = __atomic_load_n(&uart_map[i].recvd[tail],__ATOMIC_RELAXED);
uart_map[i].recvd_tail++;
if(uart_map[i].recvd_tail >= RECV_BUF_SIZE-1)
uart_map[i].recvd_tail = 0;
}
nbytes--;
}
// queue again - crude way
while(qapi_UART_Receive (uart_map[i].handle, uart_map[i].recv_buf, RECV_BUF_SIZE, &uart_map[i].index) != QAPI_OK); // queue as per doc
return z;
}
}
}
return 0;
}
int fin_uart_deconfig(fin_uart_t uart){
for(int i=0; i < UART_NO_MAX; i++){
if(uart_map[i].serial_num == uart){
qapi_UART_Power_Off(uart_map[i].handle);
return qapi_UART_Close(uart_map[i].handle);
}
}
return 1;
}
int fin_uart_power_down(fin_uart_t uart){
for(int i=0; i < UART_NO_MAX; i++){
if(uart_map[i].serial_num == uart){
return qapi_UART_Power_Off(uart_map[i].handle);
}
}
return 1;
}
int fin_uart_power_up(fin_uart_t uart){
for(int i=0; i < UART_NO_MAX; i++){
if(uart_map[i].serial_num == uart){
return qapi_UART_Power_On(uart_map[i].handle);
}
}
return 1;
} | 23.512195 | 150 | 0.694761 |
4238e04e6bd4254114301a4befa57f54060b1364 | 222 | h | C | UTANow/UTANow-Bridging-Header.h | cameronmoreau/UTANow-iOS | 0b2061e7198ced663fdccc4be1e677a1a09a0da9 | [
"MIT"
] | 1 | 2015-11-07T16:56:55.000Z | 2015-11-07T16:56:55.000Z | UTANow/UTANow-Bridging-Header.h | cameronmoreau/UTANow-iOS | 0b2061e7198ced663fdccc4be1e677a1a09a0da9 | [
"MIT"
] | null | null | null | UTANow/UTANow-Bridging-Header.h | cameronmoreau/UTANow-iOS | 0b2061e7198ced663fdccc4be1e677a1a09a0da9 | [
"MIT"
] | null | null | null | //
// UTANow-Bridging-Header.h
// UTANow
//
// Created by Cameron Moreau on 11/6/15.
// Copyright © 2015 Mobi. All rights reserved.
//
//#import <FBSDKCoreKit/FBSDKCoreKit.h>
//#import <FBSDKLoginKit/FBSDKLoginKit.h>
| 20.181818 | 47 | 0.693694 |
51cb5dc05e02d715b7880c1ee0c0c4ad20851b17 | 2,266 | h | C | 2.2-unit-tests/unit.h | itmm/waelzer | 14b81a8516c0183cd65008b51eb6e3f688fe5ac3 | [
"MIT"
] | null | null | null | 2.2-unit-tests/unit.h | itmm/waelzer | 14b81a8516c0183cd65008b51eb6e3f688fe5ac3 | [
"MIT"
] | 2 | 2020-01-07T09:14:56.000Z | 2020-01-07T09:15:18.000Z | 2.2-unit-tests/unit.h | itmm/waelzer | 14b81a8516c0183cd65008b51eb6e3f688fe5ac3 | [
"MIT"
] | null | null | null | /*>
## The Unit-Test Interface
First we need some system headers and our logging.
<*/
#if !defined(unit_h)
#define unit_h
#if !defined(log_h)
#include "../2.1-logging/log.h"
#endif
#include <stdio.h>
#include <string.h>
/*>
We use three kind of functions.
The `test_fn` gets a `context` as a parameter. This context can be passed to the call or created by the setup function. It should perform the test and use the assertion functions describe below to assure the correctness of the test.
The `setup_fn` will be called before the test. It can be used to create the scenario, in which the test is performed. It is passed the `context` from the test invocation, but it returns a `context` that will be passed to the test and tear down functions. The setup function is optional and `NULL` can be passed instead.
The `teardown_fn` is also optional. It will be called after each test is run (no matter, if it succeeded or failed) to tear down the scenario created in the setup function.
<*/
typedef void (*test_fn)(void *context);
typedef void *(*setup_fn)(void *context);
typedef void (*teardown_fn)(void *context);
/*>
### Running the tests
There are two ways to run a test. The easy one is passed a test function and a context (which can be `NULL`). The full version also gets the setup and teardown functions as parameters.
<*/
void run_test(test_fn test, void *context);
void run_test_ex(test_fn test, void *context, setup_fn setup, teardown_fn teardown);
/*>
After the tests are performed, you can invoke `unit_summary` to print a short summary. If some tests failed, the function will call `exit()` with a failure code.
<*/
void unit_summary();
/*>
### Assertions
The assertions are macros, that test a condition. If it fails, it log an error and mark the test as failed by calling `_exit_from_test`.
<*/
void _exit_from_test();
#define assert_true(condition, ...) do {\
if (!(condition)) { \
putchar('\n'); \
set_default_logging(); \
_do_log(__FILE__, __LINE__, "TEST FAILED: " __VA_ARGS__); \
_exit_from_test(); \
} \
} while(false)
/*>
For comparing strings there is a short cut, that provides a log message.
<*/
#define assert_str(a, b) assert_true(!strcmp(a, b), "strings not equal \"%s\" != \"%s\"")
#endif
| 37.147541 | 319 | 0.718888 |
51edfca7ba34dc34bf18f2a49069510009da388a | 2,173 | h | C | include/usb/usb_host_msd.h | ruoranluomu/AliOS-Things | d0f3431bcacac5b61645e9beb231a0a53be8078b | [
"Apache-2.0"
] | 1 | 2021-06-27T12:40:17.000Z | 2021-06-27T12:40:17.000Z | include/usb/usb_host_msd.h | ruoranluomu/AliOS-Things | d0f3431bcacac5b61645e9beb231a0a53be8078b | [
"Apache-2.0"
] | null | null | null | include/usb/usb_host_msd.h | ruoranluomu/AliOS-Things | d0f3431bcacac5b61645e9beb231a0a53be8078b | [
"Apache-2.0"
] | 5 | 2020-11-04T04:36:37.000Z | 2021-11-10T08:05:49.000Z | /*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#ifndef __USB_HOST_MSD_H
#define __USB_HOST_MSD_H
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Try To Connect MSD Device
*
* @return 0:success, otherwise is failed
*/
int usbh_msd_connect(void);
/**
* @brief MSD: Get Max Lun Request
*
* @return max lun
*/
uint8_t usbh_msd_get_max_lun(void);
/**
* @brief MSD: Test Whether Unit Is Ready Or Not
*
* @param[in] lun logic unit number
*
* @return 0:success, otherwise is failed
*/
int usbh_msd_unit_is_ready(uint8_t lun);
/**
* @brief MSD: Get Inquiry Request
*
* @param[in] lun logic unit number
* @param[out] inquiry pointer to the buffer which will store inquiry info
*
* @return 0:success, otherwise is failed
*/
int usbh_msd_get_inquiry(uint8_t lun, void *inquiry);
/**
* @brief MSD: Initialize The Block Disk
*
* @note this function must call after usb_host_msd_connect return success
*
* @return [description]
*/
int usbh_msd_disk_init(void);
/**
* @brief MSD: Read Capacity Request
*
* @param[out] block_size pointer to buffer which will store block size
* @param[out] block_count pointer to buffer which will store block count
*
* @return 0:success, otherwise is failed
*/
int usbh_msd_read_capacity(uint32_t *block_size, uint32_t *block_count);
/**
* @brief MSD: Block Read
*
* @param[in] block_addr the address to read
* @param[out] buff pointer to the read buffer
* @param[in] block_size the block size
* @param[in] count the read length
*
* @return 0:success, otherwise is failed
*/
int usbh_msd_block_read(uint32_t block_addr, uint8_t *buff, uint32_t block_size,
uint32_t count);
/**
* @brief MSD: Block Write
*
* @param[in] block_addr the address to write
* @param[in] buff pointer to the write buffer
* @param[in] block_size the block size
* @param[in] count the write length
*
* @return 0:success, otherwise is failed
*/
int usbh_msd_block_write(uint32_t block_addr, uint8_t *buff, uint32_t block_size,
uint32_t count);
#ifdef __cplusplus
}
#endif
#endif /* __USB_HOST_MSD_H */
| 22.402062 | 81 | 0.684768 |
4efbd253c1be601e3ad0e538d81977f471862ca6 | 1,749 | h | C | com/ole2ui32/test/mwclass.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/ole2ui32/test/mwclass.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/ole2ui32/test/mwclass.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1994.
//
// File: mwclass.h
//
// Contents: definition of the main window class
//
// Classes: CMainWindow
//
// Functions: Exists
//
// History: 9-30-94 stevebl Created
//
//----------------------------------------------------------------------------
#ifndef __MWCLASS_H__
#define __MWCLASS_H__
#include <cwindow.h>
#include <commdlg.h>
#ifdef __cplusplus
int Exists(TCHAR *sz);
//+---------------------------------------------------------------------------
//
// Class: CMainWindow
//
// Purpose: Code for the main Galactic War window and the main menu.
//
// Interface: CMainWindow -- constructor
// InitInstance -- instantiates the main window
//
// History: 9-30-94 stevebl Created
//
// Notes: only the public interface is listed here
//
//----------------------------------------------------------------------------
class CMainWindow: public CHlprWindow
{
public:
CMainWindow();
BOOL InitInstance(HINSTANCE, int);
protected:
~CMainWindow();
LRESULT WindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
private:
LRESULT DoMenu(WPARAM wParam, LPARAM lParam);
void TestInsertObject();
void TestPasteSpecial();
void TestEditLinks();
void TestChangeIcon();
void TestConvert();
void TestCanConvert();
void TestBusy();
void TestChangeSource();
void TestObjectProps();
void TestPromptUser(int nTemplate);
void TestUpdateLinks();
};
#endif // __cplusplus
#endif // __MWCLASS_H__
| 25.347826 | 79 | 0.512864 |
da8ad6a3b0858f0319464eff699a6f2f92f9a30c | 3,970 | h | C | include/hybrid_a_star.h | JialiangHan/path_planner | 2a995f6527872e6bd0e3fe6c9a6e0e2744a2de29 | [
"BSD-3-Clause"
] | null | null | null | include/hybrid_a_star.h | JialiangHan/path_planner | 2a995f6527872e6bd0e3fe6c9a6e0e2744a2de29 | [
"BSD-3-Clause"
] | null | null | null | include/hybrid_a_star.h | JialiangHan/path_planner | 2a995f6527872e6bd0e3fe6c9a6e0e2744a2de29 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <ompl/base/spaces/ReedsSheppStateSpace.h>
#include <ompl/base/spaces/DubinsStateSpace.h>
#include <ompl/base/spaces/SE2StateSpace.h>
#include <ompl/base/State.h>
#include <boost/heap/binomial_heap.hpp>
typedef ompl::base::SE2StateSpace::StateType State;
#include "visualize.h"
#include "collisiondetection.h"
#include "a_star.h"
#include "cubic_bezier.h"
#include "lookup_table.h"
#include "piecewise_cubic_bezier.h"
namespace HybridAStar
{
//path from start to goal
typedef std::vector<Node3D> Path3D;
/*!
* \brief A class that encompasses the functions central to the search.
*/
class HybridAStar
{
public:
/// The deault constructor
HybridAStar(){};
HybridAStar(const ParameterHybridAStar ¶ms,
const std::shared_ptr<Visualize> &visualization_ptr);
/**
* @brief set map and calculate lookup table
*
* @param map
*/
void Initialize(nav_msgs::OccupancyGrid::Ptr map);
// HYBRID A* ALGORITHM
/*!
\brief The heart of the planner, the main algorithm starting the search for a collision free and drivable path.
\param start the start pose
\param goal the goal pose
\param nodes3D the array of 3D nodes representing the configuration space C in R^3
\param nodes2D the array of 2D nodes representing the configuration space C in R^2
\return the pointer to the node satisfying the goal condition
*/
Path3D GetPath(Node3D &start, Node3D &goal,
Node3D *nodes3D, Node2D *nodes2D);
private:
/**
* @brief update heuristic for hybrid a star
*
* @param start
* @param goal
* @param nodes2D
*/
void UpdateHeuristic(Node3D &start, const Node3D &goal, Node2D *nodes2D);
/**
* @brief analytical expansion in paper, here use dubins curve.
*
* @param start
* @param goal
* @param configurationSpace
* @return Node3D*
*/
Path3D AnalyticExpansions(const Node3D &start, Node3D &goal);
/**
* @brief Create Successor for node 3d
*
* @param pred
* @return std::vector<std::shared_ptr<Node3D>>
*/
std::vector<std::shared_ptr<Node3D>> CreateSuccessor(const Node3D &pred);
/**
* @brief Create successor for node3d according to step size and steering angle vector
*
* @param pred
* @param step_size_steering_angle_vec
* @return std::vector<std::shared_ptr<Node3D>>
*/
std::vector<std::shared_ptr<Node3D>> CreateSuccessor(const Node3D &pred, const std::vector<std::pair<float, float>> &step_size_steering_angle_vec);
/**
* @brief find step size and steering angle for current node
*
* @param pred
* @return std::vector<std::pair<float, float>> first is step size, second is steering angle
*/
std::vector<std::pair<float, float>> FindStepSizeAndSteeringAngle(const Node3D &pred);
void UpdateCostSoFar(Node3D &node, const float &weight_turning, const float &weight_change_of_direction, const float &weight_reverse);
void TracePath(std::shared_ptr<Node3D> node3d_ptr);
void ConvertToPiecewiseCubicBezierPath();
void AddOneMoreStepSizeAndSteeringAngle(const Node3D &pred, std::vector<std::pair<float, float>> &step_size_steering_angle_pair);
private:
ParameterHybridAStar params_;
Path3D piecewise_cubic_bezier_path_;
Path3D path_;
Node3D start_;
Node3D goal_;
std::shared_ptr<CollisionDetection> configuration_space_ptr_;
std::shared_ptr<LookupTable> lookup_table_ptr_;
std::shared_ptr<Visualize> visualization_ptr_;
std::shared_ptr<AStar> a_star_ptr_;
uint map_width_;
uint map_height_;
/**
* @brief index of path_ which analytic expansion start.
*
*/
uint analytical_expansion_index_;
};
}
| 33.931624 | 153 | 0.661209 |
fba1152dd4938c8f72aea83aea7fba0d1f84902e | 38,051 | c | C | src/circulardb.c | dsully/circulardb | 8191d65e18324e5c2e7481de8ed3281ab197d205 | [
"BSD-3-Clause"
] | 5 | 2015-12-24T12:59:03.000Z | 2016-11-25T03:35:03.000Z | src/circulardb.c | dsully/circulardb | 8191d65e18324e5c2e7481de8ed3281ab197d205 | [
"BSD-3-Clause"
] | 1 | 2020-05-09T08:28:27.000Z | 2020-05-09T08:28:27.000Z | src/circulardb.c | dsully/circulardb | 8191d65e18324e5c2e7481de8ed3281ab197d205 | [
"BSD-3-Clause"
] | null | null | null | /*
* CircularDB implementation for time series data.
*
* Copyright (c) 2007-2009 Powerset, Inc
* Copyright (c) Dan Grillo, Manish Dubey, Dan Sully
*
* All rights reserved.
*/
#include "config.h"
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <float.h>
#include <inttypes.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
/* For the aggregation interface */
#include <gsl/gsl_errno.h>
#include <gsl/gsl_interp.h>
#include <gsl/gsl_sort.h>
#include <gsl/gsl_statistics.h>
#include <circulardb_interface.h>
/* Future win32 support */
#ifndef O_BINARY
#define O_BINARY 0
#endif
/* Save away errno so it doesn't get overwritten */
int cdb_error(void) {
int cdb_error = errno;
return cdb_error;
}
static void _print_record(FILE *fh, cdb_time_t time, double value, const char *date_format) {
if (date_format == NULL || strcmp(date_format, "") == 0) {
fprintf(fh, "%d %.8g\n", (int)(time), value);
} else {
char formatted[256];
time_t stime = (time_t)time;
strftime(formatted, sizeof(formatted), date_format, localtime(&stime));
fprintf(fh, "%d [%s] %.8g\n", (int)(time), formatted, value);
}
}
static uint64_t _physical_record_for_logical_record(cdb_header_t *header, int64_t logical_record) {
uint64_t physical_record = 0;
/* -ve indicates nth record from the end
+ve indicates nth record from the beginning (zero based counting for
this case)
-3 = seek to 3rd record from the end
5 = seek to 6th record from the beginning
0 = seek to first record (start) from the beginning
change the request for -nth record (nth record from the end)
to a request for mth record from the beginning, where:
m = N + n (n is -ve)
N : total num of records. */
if (logical_record < 0) {
int64_t rec_num_from_start = header->num_records + logical_record;
/* if asking for records more than there are in the db, just give as many as we can */
logical_record = rec_num_from_start >= 0 ? rec_num_from_start : 0;
}
if (logical_record >= header->num_records) {
#ifdef DEBUG
printf("Can't seek to record [%"PRIu64"] with only [%"PRIu64"] in db\n", logical_record, header->num_records);
#endif
return 0;
}
/* DRK unclear behavior here. Looks like if I specify -N where N >
num_records, I get pointed to #0, but if I specify +N where N >
num_records, it's an error */
/* Nth logical record (from the beginning) maps to Mth physical record
in the file, where:
m = (n+s) % N
s = physical record that is 0th logical record
N = total number of records in the db. */
physical_record = logical_record + header->start_record;
if (header->num_records > 0) {
physical_record = (physical_record % header->num_records);
}
return physical_record;
}
static int64_t _seek_to_logical_record(cdb_t *cdb, int64_t logical_record) {
uint64_t physical_record = _physical_record_for_logical_record(cdb->header, logical_record);
uint64_t offset = HEADER_SIZE + (physical_record * RECORD_SIZE);
if (lseek(cdb->fd, offset, SEEK_SET) != offset) {
return -1;
}
return physical_record;
}
static cdb_time_t _time_for_logical_record(cdb_t *cdb, int64_t logical_record) {
cdb_record_t record[RECORD_SIZE];
cdb_time_t time = 0;
/* skip over any record that has NULL time or bad time values
Such datapoints in cdb indicate a corrupted cdb. */
while (!time || time <= 0) {
if (_seek_to_logical_record(cdb, logical_record) < 0) {
time = 0;
break;
}
logical_record += 1;
if (read(cdb->fd, &record, RECORD_SIZE) < 0) {
time = 0;
break;
}
time = record->time;
}
return time;
}
/* note - if no exact match, will return a record with a time greater than the requested value */
static int64_t _logical_record_for_time(cdb_t *cdb, cdb_time_t req_time, int64_t start_logical_record, int64_t end_logical_record) {
bool first_time = false;
cdb_time_t start_time, next_time, center_time;
int64_t delta, center_logical_record, next_logical_record;
uint64_t num_recs = cdb->header->num_records;
/* for the very first time find start and end */
if (start_logical_record == 0 && end_logical_record == 0) {
start_logical_record = 0;
end_logical_record = num_recs - 1;
first_time = true;
}
/* if no particular time was requested, just return the first one. */
if (req_time == 0) {
return start_logical_record;
}
/* if there are only 2 or 1 records in the search space, return the last record */
if (end_logical_record - start_logical_record <= 1) {
return end_logical_record;
}
start_time = _time_for_logical_record(cdb, start_logical_record);
/* if requested time is less than start_time, start_time is the best we can do. */
if (req_time <= start_time) {
return start_logical_record;
}
/* don't go out of bounds */
if (start_logical_record + 1 >= num_recs) {
return start_logical_record;
}
next_logical_record = start_logical_record;
next_time = start_time;
/* if _seek_to_logical_record encounters bad data it fabricates and
returns next good value. Try to get the *real* next rec. */
while ((next_time - start_time) == 0) {
next_logical_record += 1;
next_time = _time_for_logical_record(cdb, next_logical_record);
if (next_logical_record >= num_recs) {
break;
}
}
delta = next_time - start_time;
/* delta = 0 means that _seek_to_logical_record fabricated data on the fly */
if (delta == 0) {
return start_logical_record;
/* if we have wrapped over, or if the requested time is in the range of start and next, return start */
} else if (delta < 0) {
return start_logical_record;
} else if (req_time <= next_time) {
return next_logical_record;
}
/* for the very first binary search pivot point, take an aggressive guess to make search converge faster */
if (first_time) {
center_logical_record = (req_time - start_time) / (next_time - start_time) - 1;
} else {
center_logical_record = start_logical_record + (end_logical_record - start_logical_record) / 2;
}
if (num_recs > 0) {
center_logical_record = (center_logical_record % num_recs);
}
center_time = _time_for_logical_record(cdb, center_logical_record);
if (req_time >= center_time) {
start_logical_record = center_logical_record;
} else {
end_logical_record = center_logical_record;
}
return _logical_record_for_time(cdb, req_time, start_logical_record, end_logical_record);
}
bool _cdb_is_writable(cdb_t *cdb) {
/* We can't check for the O_RDONLY bit being because its defined value is zero.
* i.e. there are no bits set to look for. We therefore assume
* O_RDONLY if neither O_WRONLY nor O_RDWR are set. */
if (cdb->flags & O_RDWR) {
return true;
}
return false;
}
int cdb_read_header(cdb_t *cdb) {
struct stat st;
/* If the header has already been read from backing store do not read again */
if (cdb->synced == true) {
return CDB_SUCCESS;
}
if (cdb_open(cdb) != 0) {
return cdb_error();
}
if (pread(cdb->fd, cdb->header, HEADER_SIZE, 0) != HEADER_SIZE) {
return cdb_error();
}
if (strncmp(cdb->header->token, CDB_TOKEN, sizeof(CDB_TOKEN)) != 0) {
return CDB_EBADTOK;
}
if (strncmp(cdb->header->version, CDB_VERSION, sizeof(CDB_VERSION)) != 0) {
return CDB_EBADVER;
}
cdb->synced = true;
/* Calculate the number of records */
if (fstat(cdb->fd, &st) == 0) {
cdb->header->num_records = (st.st_size - HEADER_SIZE) / RECORD_SIZE;
} else {
cdb->header->num_records = 0;
}
return CDB_SUCCESS;
}
int cdb_write_header(cdb_t *cdb) {
if (cdb->synced) {
return CDB_SUCCESS;
}
if (_cdb_is_writable(cdb) == false) {
return CDB_ERDONLY;
}
cdb->synced = false;
if (cdb_open(cdb) > 0) {
return cdb_error();
}
if (pwrite(cdb->fd, cdb->header, HEADER_SIZE, 0) != HEADER_SIZE) {
return cdb_error();
}
cdb->synced = true;
return CDB_SUCCESS;
}
void cdb_print_header(cdb_t * cdb) {
printf("version: [%s]\n", cdb->header->version);
printf("name: [%s]\n", cdb->header->name);
printf("desc: [%s]\n", cdb->header->desc);
printf("units: [%s]\n", cdb->header->units);
if (cdb->header->type == CDB_TYPE_COUNTER) {
printf("type: [COUNTER]\n");
}
if (cdb->header->type == CDB_TYPE_GAUGE) {
printf("type: [GAUGE]\n");
}
printf("min_value: [%g]\n", cdb->header->min_value);
printf("max_value: [%g]\n", cdb->header->max_value);
printf("max_records: [%"PRIu64"]\n", cdb->header->max_records);
printf("num_records: [%"PRIu64"]\n", cdb->header->num_records);
printf("start_record: [%"PRIu64"]\n", cdb->header->start_record);
}
int cdb_write_records(cdb_t *cdb, cdb_record_t *records, uint64_t len, uint64_t *num_recs) {
/* read old header if it exists.
write a header out, since the db may not have existed.
*/
uint64_t i = 0;
uint64_t j = 0;
off_t offset = 0;
*num_recs = 0;
if (cdb_read_header(cdb) != CDB_SUCCESS) {
return cdb_error();
}
if (_cdb_is_writable(cdb) == false) {
return CDB_ERDONLY;
}
if (cdb->header->max_records <= 0) {
return CDB_EINVMAX;
}
/* Logic for writes:
cdb is 5 records.
try to write 7 records
len = 7
len + 0 > 5
j = (7 + 0) - 5
j = 2
i = 7 - 2
i = 5
need to write j records at offset: HEADER_SIZE + (cdb->header->start_record * RECORD_SIZE)
index into records is i
need to write i records at offset: HEADER_SIZE + (cdb->header->num_records * RECORD_SIZE)
index into records is 0;
*/
/* Calculate our indicies into the records array. */
if (len + cdb->header->num_records >= cdb->header->max_records) {
j = (len + cdb->header->num_records) - cdb->header->max_records;
i = (len - j);
} else {
i = len;
}
/* If we need to wrap around */
if (j > 0) {
offset = HEADER_SIZE + (cdb->header->start_record * RECORD_SIZE);
cdb->header->start_record += j;
cdb->header->start_record %= cdb->header->max_records;
if (pwrite(cdb->fd, &records[i], (RECORD_SIZE * j), offset) != (RECORD_SIZE * j)) {
return cdb_error();
}
cdb->synced = false;
/* start_record is no longer 0, so update the header */
if (cdb_write_header(cdb) != CDB_SUCCESS) {
return cdb_error();
}
}
/* Normal case */
offset = HEADER_SIZE + (cdb->header->num_records * RECORD_SIZE);
cdb->header->num_records += i;
if (pwrite(cdb->fd, &records[0], (RECORD_SIZE * i), offset) != (RECORD_SIZE * i)) {
return cdb_error();
}
*num_recs += len;
#ifdef DEBUG
printf("write_records: wrote [%"PRIu64"] records\n", *num_recs);
#endif
return CDB_SUCCESS;
}
bool cdb_write_record(cdb_t *cdb, cdb_time_t time, double value) {
cdb_record_t record[RECORD_SIZE];
uint64_t num_recs = 0;
record->time = time;
record->value = value;
if (cdb_write_records(cdb, record, 1, &num_recs) != CDB_SUCCESS) {
return false;
}
return true;
}
int cdb_update_records(cdb_t *cdb, cdb_record_t *records, uint64_t len, uint64_t *num_recs) {
int ret = CDB_SUCCESS;
*num_recs = 0;
uint64_t i = 0;
if (cdb_read_header(cdb) != CDB_SUCCESS) {
return cdb_error();
}
if (_cdb_is_writable(cdb) == false) {
return CDB_ERDONLY;
}
#ifdef DEBUG
printf("in update_records with [%"PRIu64"] num_recs\n", cdb->header->num_records);
#endif
for (i = 0; i < len; i++) {
cdb_time_t time = records[i].time;
cdb_time_t rtime;
uint64_t lrec;
lrec = _logical_record_for_time(cdb, time, 0, 0);
if (lrec >= 1) {
lrec -= 1;
/* DRK things like this are extremely confusing. some logical
functions are zero based? some are one? or you're trying to back up? */
}
rtime = _time_for_logical_record(cdb, lrec);
while (rtime < time && lrec < cdb->header->num_records - 1) {
/* DRK is this true? or is the condition (lrec - start_lrec) <
num_recs -- seems you can't wrap here (i.e. what if the initial
lrec was num_recs - 1) */
lrec += 1;
rtime = _time_for_logical_record(cdb, lrec);
}
#ifdef DEBUG
printf("update_records: value: lrec [%"PRIu64"] time [%d] rtime [%d]\n", lrec, (int)time, (int)rtime);
#endif
while (time == rtime && lrec < cdb->header->num_records - 1) {
_seek_to_logical_record(cdb, lrec);
if (write(cdb->fd, &records[0], RECORD_SIZE) != RECORD_SIZE) {
ret = cdb_error();
break;
}
lrec += 1;
rtime = _time_for_logical_record(cdb, lrec);
}
}
if (ret == CDB_SUCCESS) {
if (i > 0) {
cdb->synced = false;
*num_recs = i;
}
if (cdb_write_header(cdb) != CDB_SUCCESS) {
ret = cdb_error();
}
}
return ret;
}
bool cdb_update_record(cdb_t *cdb, cdb_time_t time, double value) {
cdb_record_t record[RECORD_SIZE];
uint64_t num_recs = 0;
record->time = time;
record->value = value;
if (cdb_update_records(cdb, record, 1, &num_recs) != 0) {
return false;
}
return true;
}
int cdb_discard_records_in_time_range(cdb_t *cdb, cdb_request_t *request, uint64_t *num_recs) {
uint64_t i = 0;
int64_t lrec;
off_t offset = RECORD_SIZE;
*num_recs = 0;
if (cdb_read_header(cdb) != CDB_SUCCESS) {
return cdb_error();
}
if (_cdb_is_writable(cdb) == false) {
return CDB_ERDONLY;
}
lrec = _logical_record_for_time(cdb, request->start, 0, 0);
if (lrec >= 1) {
lrec -= 1;
}
for (i = lrec; i < cdb->header->num_records; i++) {
cdb_time_t rtime = _time_for_logical_record(cdb, i);
if (rtime >= request->start && rtime <= request->end) {
cdb_record_t record[RECORD_SIZE];
record->time = rtime;
record->value = CDB_NAN;
if (pwrite(cdb->fd, &record, RECORD_SIZE, offset) != RECORD_SIZE) {
return cdb_error();
}
*num_recs += 1;
}
}
if (*num_recs > 0) {
cdb->synced = false;
}
if (cdb_write_header(cdb) != CDB_SUCCESS) {
return cdb_error();
}
return CDB_SUCCESS;
}
static int _compute_scale_factor_and_num_records(cdb_t *cdb, int64_t *num_records, int32_t *factor) {
if (cdb->header->type == CDB_TYPE_COUNTER) {
if (*num_records != 0) {
if (*num_records > 0) {
*num_records += 1;
} else {
*num_records -= 1;
}
}
}
if (strlen(cdb->header->units) > 0) {
int32_t multiplier = 1;
char *frequency;
if ((frequency = calloc(strlen(cdb->header->units), sizeof(char))) == NULL) {
return CDB_ENOMEM;
}
if ((sscanf(cdb->header->units, "per %d %s", &multiplier, frequency) == 2) ||
(sscanf(cdb->header->units, "per %s", frequency) == 1) ||
(sscanf(cdb->header->units, "%*s per %s", frequency) == 1)) {
if (strcmp(frequency, "min") == 0) {
*factor = 60;
} else if (strcmp(frequency, "hour") == 0) {
*factor = 60 * 60;
} else if (strcmp(frequency, "sec") == 0 || strcmp(frequency, "second") == 0) {
*factor = 1;
} else if (strcmp(frequency, "day") == 0) {
*factor = 60 * 60 * 24;
} else if (strcmp(frequency, "week") == 0) {
*factor = 60 * 60 * 24 * 7;
} else if (strcmp(frequency, "month") == 0) {
*factor = 60 * 60 * 24 * 30;
} else if (strcmp(frequency, "quarter") == 0) {
*factor = 60 * 60 * 24 * 90;
} else if (strcmp(frequency, "year") == 0) {
*factor = 60 * 60 * 24 * 365;
}
if (*factor != 0) {
*factor *= multiplier;
}
}
free(frequency);
}
return CDB_SUCCESS;
}
/* Statistics code
* Make only one call to reading for a particular time range and compute all our stats
*/
void _compute_statistics(cdb_range_t *range, uint64_t *num_recs, cdb_record_t *records) {
uint64_t i = 0;
uint64_t valid = 0;
double sum = 0.0;
double *values = calloc(*num_recs, sizeof(double));
for (i = 0; i < *num_recs; i++) {
if (!isnan(records[i].value)) {
sum += values[valid] = records[i].value;
valid++;
}
}
range->num_recs = valid;
range->mean = gsl_stats_mean(values, 1, valid);
range->max = gsl_stats_max(values, 1, valid);
range->min = gsl_stats_min(values, 1, valid);
range->sum = sum;
range->stddev = gsl_stats_sd(values, 1, valid);
range->absdev = gsl_stats_absdev(values, 1, valid);
/* The rest need sorted data */
gsl_sort(values, 1, valid);
range->median = gsl_stats_median_from_sorted_data(values, 1, valid);
range->pct95th = gsl_stats_quantile_from_sorted_data(values, 1, valid, 0.95);
range->pct75th = gsl_stats_quantile_from_sorted_data(values, 1, valid, 0.75);
range->pct50th = gsl_stats_quantile_from_sorted_data(values, 1, valid, 0.50);
range->pct25th = gsl_stats_quantile_from_sorted_data(values, 1, valid, 0.25);
/* MAD must come last because it alters the values array
* http://en.wikipedia.org/wiki/Median_absolute_deviation */
for (i = 0; i < valid; i++) {
values[i] = fabs(values[i] - range->median);
if (values[i] < 0.0) {
values[i] *= -1.0;
}
}
/* Final sort is required MAD */
gsl_sort(values, 1, valid);
range->mad = gsl_stats_median_from_sorted_data(values, 1, valid);
free(values);
}
double cdb_get_statistic(cdb_range_t *range, cdb_statistics_enum_t type) {
switch (type) {
case CDB_MEDIAN:
return range->median;
case CDB_MAD:
return range->mad;
case CDB_95TH:
return range->pct95th;
case CDB_75TH:
return range->pct75th;
case CDB_50TH:
return range->pct50th;
case CDB_25TH:
return range->pct25th;
case CDB_MEAN:
return range->mean;
case CDB_SUM:
return range->sum;
case CDB_MAX:
return range->max;
case CDB_MIN:
return range->min;
case CDB_STDDEV:
return range->stddev;
case CDB_ABSDEV:
return range->absdev;
default:
fprintf(stderr, "aggregate_using_function_for_records() function: [%d] not supported\n", type);
return CDB_FAILURE;
}
}
static int _cdb_read_records(cdb_t *cdb, cdb_request_t *request, uint64_t *num_recs, cdb_record_t **records) {
int64_t first_requested_logical_record;
int64_t last_requested_logical_record;
uint64_t last_requested_physical_record;
int64_t seek_physical_record;
cdb_record_t *buffer = NULL;
if (cdb_read_header(cdb) != CDB_SUCCESS) {
return cdb_error();
}
if (request->start != 0 && request->end != 0 && request->end < request->start) {
return CDB_ETMRANGE;
}
if (cdb->header == NULL || cdb->synced == false) {
return CDB_ESANITY;
}
/* bail out if there are no records */
if (cdb->header->num_records <= 0) {
return CDB_ENORECS;
}
/*
get the number of requested records:
-ve indicates n records from the beginning
+ve indicates n records off of the end.
0 or undef means the whole thing.
switch the meaning of -ve/+ve to be more array like
*/
if (request->count != 0) {
request->count = -request->count;
}
#ifdef DEBUG
printf("read_records start: [%ld]\n", request->start);
printf("read_records end: [%ld]\n", request->end);
printf("read_records num_requested: [%"PRIu64"]\n", request->count);
#endif
if (request->count != 0 && request->count < 0 && request->start == 0) {
/* if reading only few records from the end, just set -ve offset to seek to */
first_requested_logical_record = request->count;
} else {
/* compute which record to start reading from the beginning, based on start time specified. */
first_requested_logical_record = _logical_record_for_time(cdb, request->start, 0, 0);
}
/* if end is not defined, read all the records or only read uptill the specified record. */
if (request->end == 0) {
last_requested_logical_record = cdb->header->num_records - 1;
} else {
last_requested_logical_record = _logical_record_for_time(cdb, request->end, 0, 0);
/* this can return something > end, check for that */
if (_time_for_logical_record(cdb, last_requested_logical_record) > request->end) {
last_requested_logical_record -= 1;
}
}
last_requested_physical_record = (last_requested_logical_record + cdb->header->start_record) % cdb->header->num_records;
/* After _seek_to_logical_record(), we're at the offset to read from. */
seek_physical_record = _seek_to_logical_record(cdb, first_requested_logical_record);
if (last_requested_physical_record >= seek_physical_record) {
uint64_t nrec = (last_requested_physical_record - seek_physical_record + 1);
uint64_t rlen = RECORD_SIZE * nrec;
if ((buffer = calloc(1, rlen)) == NULL) {
free(buffer);
return CDB_ENOMEM;
}
if (read(cdb->fd, buffer, rlen) != rlen) {
free(buffer);
return cdb_error();
}
*num_recs = nrec;
} else {
/* We've wrapped around the end of the file */
uint64_t nrec1 = (cdb->header->num_records - seek_physical_record);
uint64_t nrec2 = (last_requested_physical_record + 1);
uint64_t rlen1 = RECORD_SIZE * nrec1;
uint64_t rlen2 = RECORD_SIZE * nrec2;
if ((buffer = calloc(1, rlen1 + rlen2)) == NULL) {
free(buffer);
return CDB_ENOMEM;
}
/* Read at the offset set by _seek_to_logical_record() */
if (read(cdb->fd, buffer, rlen1) != rlen1) {
free(buffer);
return cdb_error();
}
/* And then the wrap around portion past the header. */
if (pread(cdb->fd, &buffer[nrec1], rlen2, HEADER_SIZE) != rlen2) {
free(buffer);
return cdb_error();
}
*num_recs = nrec1 + nrec2;
}
/* Deal with cooking the output */
if (request->cooked) {
bool check_min_max = true;
int32_t factor = 0;
uint64_t i = 0;
uint64_t cooked_recs = 0;
double prev_value = 0.0;
cdb_time_t prev_date = 0;
cdb_record_t *crecords;
if ((crecords = calloc(*num_recs, RECORD_SIZE)) == NULL) {
free(crecords);
free(buffer);
return CDB_ENOMEM;
}
if (_compute_scale_factor_and_num_records(cdb, &request->count, &factor)) {
free(crecords);
free(buffer);
return cdb_error();
}
if (cdb->header->min_value == 0 && cdb->header->max_value == 0) {
check_min_max = false;
}
for (i = 0; i < *num_recs; i++) {
cdb_time_t date = buffer[i].time;
double value = buffer[i].value;
if (cdb->header->type == CDB_TYPE_COUNTER) {
double new_value = value;
value = CDB_NAN;
if (!isnan(prev_value) && !isnan(new_value)) {
double val_delta = new_value - prev_value;
if (val_delta >= 0) {
value = val_delta;
}
}
prev_value = new_value;
}
if (factor != 0 && cdb->header->type == CDB_TYPE_COUNTER) {
/* Skip the first entry, since it's absolute and is needed
* to calculate the second */
if (prev_date == 0) {
prev_date = date;
continue;
}
cdb_time_t time_delta = date - prev_date;
if (time_delta > 0 && !isnan(value)) {
value = factor * (value / time_delta);
}
prev_date = date;
}
/* Check for min/max boundaries */
/* Should this be done on write instead of read? */
if (check_min_max && !isnan(value)) {
if (value > cdb->header->max_value || value < cdb->header->min_value) {
value = CDB_NAN;
}
}
/* Copy the munged data to our new array, since we might skip
* elements. Also keep in mind mmap for the future */
crecords[cooked_recs].time = date;
crecords[cooked_recs].value = value;
cooked_recs += 1;
}
/* Now swap our cooked records for the buffer, so we can slice it as needed. */
free(buffer);
buffer = crecords;
*num_recs = cooked_recs;
}
/* If we've been requested to average the records & timestamps */
if (request->step > 1) {
cdb_record_t *arecords;
uint32_t step = request->step;
uint64_t step_recs = 0;
uint64_t leftover = (*num_recs % step);
uint64_t walkend = (*num_recs - leftover);
uint64_t i = 0;
if ((arecords = calloc(((*num_recs / step) + leftover), RECORD_SIZE)) == NULL) {
free(arecords);
free(buffer);
return CDB_ENOMEM;
}
/* Walk our list of cooked records, jumping ahead by the given step.
For each set of records within that step, we want to get the average
for those records and place them into a new array.
*/
for (i = 0; i < walkend; i += step) {
uint64_t j = 0;
double xi[step];
double yi[step];
for (j = 0; j < step; j++) {
/* No NaNs on average - they cause bogus graphs. Is there a
* better value than 0 to use here? */
if (isnan(buffer[i+j].value)) {
buffer[i+j].value = 0;
}
xi[j] = (double)buffer[i+j].time;
yi[j] = buffer[i+j].value;
}
arecords[step_recs].time = (cdb_time_t)gsl_stats_mean(xi, 1, step);
arecords[step_recs].value = gsl_stats_mean(yi, 1, step);
step_recs += 1;
}
/* Now collect from the last step point to the end & average. */
if (leftover > 0) {
uint64_t leftover_start = *num_recs - leftover;
uint64_t j = 0;
double xi[leftover];
double yi[leftover];
for (i = leftover_start; i < *num_recs; i++) {
/* No NaNs on average - they cause bogus graphs. Is there a
* better value than 0 to use here? */
if (isnan(buffer[i].value)) {
buffer[i].value = 0;
}
xi[j] = (double)buffer[i].time;
yi[j] = buffer[i].value;
j++;
}
arecords[step_recs].time = (cdb_time_t)gsl_stats_mean(xi, 1, j);
arecords[step_recs].value = gsl_stats_mean(yi, 1, j);
step_recs += 1;
}
free(buffer);
buffer = arecords;
*num_recs = step_recs;
}
/* now pull out the number of requested records if asked */
if (request->count != 0 && *num_recs >= abs(request->count)) {
uint64_t start_index = 0;
if (request->count <= 0) {
start_index = *num_recs - abs(request->count);
}
*num_recs = abs(request->count);
if ((*records = calloc(*num_recs, RECORD_SIZE)) == NULL) {
free(buffer);
return CDB_ENOMEM;
}
memcpy(*records, &buffer[start_index], RECORD_SIZE * *num_recs);
free(buffer);
} else {
*records = buffer;
}
return CDB_SUCCESS;
}
int cdb_read_records(cdb_t *cdb, cdb_request_t *request,
uint64_t *num_recs, cdb_record_t **records, cdb_range_t *range) {
int ret = CDB_SUCCESS;
ret = _cdb_read_records(cdb, request, num_recs, records);
if (ret == CDB_SUCCESS) {
if (*num_recs > 0) {
range->start_time = request->start;
range->end_time = request->end;
_compute_statistics(range, num_recs, *records);
}
}
return ret;
}
void cdb_print_records(cdb_t *cdb, cdb_request_t *request, FILE *fh, const char *date_format) {
uint64_t i = 0;
uint64_t num_recs = 0;
cdb_record_t *records = NULL;
if (_cdb_read_records(cdb, request, &num_recs, &records) == CDB_SUCCESS) {
for (i = 0; i < num_recs; i++) {
_print_record(fh, records[i].time, records[i].value, date_format);
}
}
free(records);
}
void cdb_print(cdb_t *cdb) {
const char *date_format = "%Y-%m-%d %H:%M:%S";
cdb_request_t request;
request.start = 0;
request.end = 0;
request.count = 0;
request.step = 0;
request.cooked = false;
printf("============== Header ================\n");
if (cdb_read_header(cdb) == CDB_SUCCESS) {
cdb_print_header(cdb);
}
if (cdb->header->type == CDB_TYPE_COUNTER) {
printf("============= Raw Counter Records =============\n");
cdb_print_records(cdb, &request, stdout, date_format);
printf("============== End Raw Counter Records ==============\n");
printf("============== Cooked Records ================\n");
} else {
printf("============== Records ================\n");
}
request.cooked = true;
cdb_print_records(cdb, &request, stdout, date_format);
printf("============== End ================\n");
}
/* Take in an array of cdbs */
int cdb_read_aggregate_records(cdb_t **cdbs, int num_cdbs, cdb_request_t *request,
uint64_t *driver_num_recs, cdb_record_t **records, cdb_range_t *range) {
uint64_t i = 0;
int ret = CDB_SUCCESS;
cdb_record_t *driver_records = NULL;
*driver_num_recs = 0;
if (cdbs[0] == NULL) {
return CDB_ESANITY;
}
/* The first cdb is the driver */
ret = _cdb_read_records(cdbs[0], request, driver_num_recs, &driver_records);
if (ret != CDB_SUCCESS) {
fprintf(stderr, "Bailed on: %s\n", cdbs[0]->filename);
free(driver_records);
return ret;
}
if ((*records = calloc(*driver_num_recs, RECORD_SIZE)) == NULL) {
free(driver_records);
return CDB_ENOMEM;
}
if (*driver_num_recs <= 1) {
free(driver_records);
return CDB_EINTERPD;
}
double *driver_x_values = calloc(*driver_num_recs, sizeof(double));
double *driver_y_values = calloc(*driver_num_recs, sizeof(double));
double *follower_x_values = calloc(*driver_num_recs, sizeof(double));
double *follower_y_values = calloc(*driver_num_recs, sizeof(double));
for (i = 0; i < *driver_num_recs; i++) {
(*records)[i].time = driver_x_values[i] = driver_records[i].time;
(*records)[i].value = driver_y_values[i] = driver_records[i].value;
}
/* initialize and allocate the gsl objects */
gsl_interp_accel *accel = gsl_interp_accel_alloc();
gsl_interp *interp = gsl_interp_alloc(gsl_interp_linear, *driver_num_recs);
/* Allows 0.0 to be returned as a valid yi */
gsl_set_error_handler_off();
gsl_interp_init(interp, driver_x_values, driver_y_values, *driver_num_recs);
for (i = 1; i < num_cdbs; i++) {
uint64_t j = 0;
uint64_t follower_num_recs = 0;
cdb_record_t *follower_records = NULL;
ret = _cdb_read_records(cdbs[i], request, &follower_num_recs, &follower_records);
/* Just bail, free all allocations below and let the error bubble up */
if (ret == CDB_SUCCESS && follower_num_recs != 0) {
for (j = 0; j < *driver_num_recs; j++) {
/* Check for out of bounds */
if (j >= follower_num_recs) {
break;
}
follower_x_values[j] = follower_records[j].time;
follower_y_values[j] = follower_records[j].value;
}
for (j = 0; j < *driver_num_recs; j++) {
double yi = gsl_interp_eval(interp, follower_x_values, follower_y_values, driver_x_values[j], accel);
if (isnormal(yi)) {
(*records)[j].value += yi;
}
}
}
free(follower_records);
if (ret != CDB_SUCCESS) {
break;
}
}
if (ret == CDB_SUCCESS && *driver_num_recs > 0) {
/* Compute all the statistics for this range */
range->start_time = request->start;
range->end_time = request->end;
_compute_statistics(range, driver_num_recs, *records);
}
free(driver_x_values);
free(driver_y_values);
free(follower_x_values);
free(follower_y_values);
gsl_interp_free(interp);
gsl_interp_accel_free(accel);
free(driver_records);
return ret;
}
void cdb_print_aggregate_records(cdb_t **cdbs, int32_t num_cdbs, cdb_request_t *request, FILE *fh, const char *date_format) {
uint64_t i = 0;
uint64_t num_recs = 0;
cdb_record_t *records = NULL;
cdb_range_t *range = calloc(1, sizeof(cdb_range_t));
cdb_read_aggregate_records(cdbs, num_cdbs, request, &num_recs, &records, range);
for (i = 0; i < num_recs; i++) {
_print_record(fh, records[i].time, records[i].value, date_format);
}
free(range);
free(records);
}
void cdb_generate_header(cdb_t *cdb, char* name, char* desc, uint64_t max_records, int32_t type,
char* units, uint64_t min_value, uint64_t max_value) {
if (max_records == 0) {
max_records = CDB_DEFAULT_RECORDS;
}
if (type == 0) {
cdb->header->type = CDB_DEFAULT_DATA_TYPE;
}
if (units == NULL || (strcmp(units, "") == 0)) {
units = (char*)CDB_DEFAULT_DATA_UNIT;
}
if (desc == NULL) {
desc = (char*)"";
}
memset(cdb->header->name, 0, sizeof(cdb->header->name));
memset(cdb->header->desc, 0, sizeof(cdb->header->desc));
memset(cdb->header->units, 0, sizeof(cdb->header->units));
memset(cdb->header->version, 0, sizeof(cdb->header->version));
memset(cdb->header->token, 0, sizeof(cdb->header->token));
strncpy(cdb->header->name, name, sizeof(cdb->header->name));
strncpy(cdb->header->desc, desc, sizeof(cdb->header->desc));
strncpy(cdb->header->units, units, sizeof(cdb->header->units));
strncpy(cdb->header->version, CDB_VERSION, sizeof(cdb->header->version));
strncpy(cdb->header->token, CDB_TOKEN, sizeof(cdb->header->token));
cdb->header->type = type;
cdb->header->max_records = max_records;
cdb->header->min_value = min_value;
cdb->header->max_value = max_value;
cdb->header->num_records = 0;
cdb->header->start_record = 0;
}
cdb_t* cdb_new(void) {
cdb_t *cdb = calloc(1, sizeof(cdb_t));
cdb->header = calloc(1, HEADER_SIZE);
cdb->fd = -1;
cdb->synced = false;
cdb->flags = -1;
cdb->mode = -1;
return cdb;
}
cdb_request_t cdb_new_request(void) {
cdb_request_t request;
memset (&request, 0, sizeof (request));
request.start = 0;
request.end = 0;
request.count = 0;
request.cooked = true;
request.step = 0;
return request;
}
int cdb_open(cdb_t *cdb) {
if (cdb->fd >= 0) {
return CDB_SUCCESS;
}
/* Default flags if none were set */
if (cdb->flags == -1) {
cdb->flags = O_RDONLY|O_BINARY;
}
/* A cdb can't be write only - we need to read the header */
if (cdb->flags & O_WRONLY) {
cdb->flags = O_RDWR;
}
if (cdb->mode == -1) {
cdb->mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH;
}
cdb->fd = open(cdb->filename, cdb->flags, cdb->mode);
if (cdb->fd < 0) {
return cdb_error();
}
return CDB_SUCCESS;
}
int cdb_close(cdb_t *cdb) {
if (cdb != NULL) {
if (cdb->fd > 0) {
if (close(cdb->fd) != 0) {
return cdb_error();
}
cdb->fd = -1;
}
}
return CDB_SUCCESS;
}
int cdb_free(cdb_t *cdb) {
int ret = CDB_SUCCESS;
if (cdb != NULL) {
if (cdb->header != NULL) {
ret = cdb_close(cdb);
free(cdb->header);
cdb->header = NULL;
}
free(cdb);
cdb = NULL;
}
return ret;
}
/* -*- Mode: C; tab-width: 4 -*- */
/* vim: set tabstop=4 expandtab shiftwidth=4: */
| 27.87619 | 132 | 0.574965 |
92bc05c258f9eba851ad35b1aebe11a21b26b11c | 1,333 | h | C | pmlc/util/strides.h | hfp/plaidml | c86852a910e68181781b3045f5a306d2f41a775f | [
"Apache-2.0"
] | null | null | null | pmlc/util/strides.h | hfp/plaidml | c86852a910e68181781b3045f5a306d2f41a775f | [
"Apache-2.0"
] | 65 | 2020-08-24T07:41:09.000Z | 2021-07-19T09:13:49.000Z | pmlc/util/strides.h | Flex-plaidml-team/plaidml | 1070411a87b3eb3d94674d4d041ed904be3e7d87 | [
"Apache-2.0"
] | null | null | null |
// Copyright 2020, Intel Corporation
#pragma once
#include <ostream>
#include "mlir/IR/AffineMap.h"
#include "mlir/IR/BuiltinTypes.h"
#include "llvm/ADT/Optional.h"
#include "llvm/Support/raw_ostream.h"
namespace pmlc::util {
// A StrideArray contains a set of constant factors and a constant offset.
struct StrideArray {
int64_t offset;
mlir::SmallVector<int64_t, 8> strides;
explicit StrideArray(unsigned numDims, int64_t offset = 0);
StrideArray &operator*=(int64_t factor);
StrideArray &operator+=(const StrideArray &rhs);
// void print(mlir::raw_ostream &os);
};
std::ostream &operator<<(std::ostream &os, const StrideArray &val);
// Compute the StrideArray for a given AffineMap. The map must have a single
// AffineExpr result and this result must be purely affine.
mlir::Optional<StrideArray> computeStrideArray(mlir::AffineMap map);
// Compute the StrideArray for a given AffineMap accessing a given memref.
mlir::Optional<StrideArray> computeStrideArray(mlir::MemRefType memRefType,
mlir::AffineMap map);
// Compute the StrideArray for a given AffineMap accessing a given memref.
mlir::Optional<StrideArray> computeStrideArray(mlir::TensorType tensorType,
mlir::AffineMap map);
} // namespace pmlc::util
| 31.738095 | 76 | 0.710428 |
92fc9406c2911dce0055e988520c0ccdc5bee90e | 373 | h | C | MatrixMult/Matrix.h | timchoh585/CudaTimedMatrixMult | 4e0f871683f6c3a2f645a45f208ba45e4d1dfc76 | [
"MIT"
] | null | null | null | MatrixMult/Matrix.h | timchoh585/CudaTimedMatrixMult | 4e0f871683f6c3a2f645a45f208ba45e4d1dfc76 | [
"MIT"
] | null | null | null | MatrixMult/Matrix.h | timchoh585/CudaTimedMatrixMult | 4e0f871683f6c3a2f645a45f208ba45e4d1dfc76 | [
"MIT"
] | null | null | null | #ifndef GPU_MATRIX_H__
#define GPU_MATRIX_H__
template <typename T>
struct Matrix{
int width;
int height;
T* elements;
__device__ __host__ T getElement(int row, int col)
{
return elements[row * width + col];
}
__device__ __host__ void setElement(int row, int col, T value)
{
elements[row * width + col] = value;
}
} ;
#endif /* GPU_MATRIX_H__ */
| 14.92 | 63 | 0.680965 |
fb3e8e621f0b88b6e1447f3187589a26eef94b3a | 1,055 | h | C | qemu-4.2.0/include/hw/intc/intc.h | MisaZhu/qemu_raspi | 50d71ce87bb39470e6725f7428e4b6b9e1ed0359 | [
"Apache-2.0"
] | 8 | 2020-09-06T12:49:00.000Z | 2022-03-09T04:02:06.000Z | src/qemu/src-pmp/include/hw/intc/intc.h | newthis/PMP | ef5e05fb4612bb622a9e1039f772c6234b87df7d | [
"MIT"
] | null | null | null | src/qemu/src-pmp/include/hw/intc/intc.h | newthis/PMP | ef5e05fb4612bb622a9e1039f772c6234b87df7d | [
"MIT"
] | 7 | 2020-09-08T15:14:34.000Z | 2021-06-24T18:03:49.000Z | #ifndef INTC_H
#define INTC_H
#include "qom/object.h"
#define TYPE_INTERRUPT_STATS_PROVIDER "intctrl"
#define INTERRUPT_STATS_PROVIDER_CLASS(klass) \
OBJECT_CLASS_CHECK(InterruptStatsProviderClass, (klass), \
TYPE_INTERRUPT_STATS_PROVIDER)
#define INTERRUPT_STATS_PROVIDER_GET_CLASS(obj) \
OBJECT_GET_CLASS(InterruptStatsProviderClass, (obj), \
TYPE_INTERRUPT_STATS_PROVIDER)
#define INTERRUPT_STATS_PROVIDER(obj) \
INTERFACE_CHECK(InterruptStatsProvider, (obj), \
TYPE_INTERRUPT_STATS_PROVIDER)
typedef struct InterruptStatsProvider InterruptStatsProvider;
typedef struct InterruptStatsProviderClass {
InterfaceClass parent;
/* The returned pointer and statistics must remain valid until
* the BQL is next dropped.
*/
bool (*get_statistics)(InterruptStatsProvider *obj, uint64_t **irq_counts,
unsigned int *nb_irqs);
void (*print_info)(InterruptStatsProvider *obj, Monitor *mon);
} InterruptStatsProviderClass;
#endif
| 32.96875 | 78 | 0.729858 |
25f10f45ce61669a8df312ef89a5ac0e61bbf354 | 423 | c | C | Sources/02XXX/2839/2839.c | DDManager/Baekjoon-Online-Judge | 7dd6d76838d3309bfe5bef46f1778c5776ebdf2a | [
"MIT"
] | 1 | 2019-07-02T09:07:58.000Z | 2019-07-02T09:07:58.000Z | Sources/02XXX/2839/2839.c | DDManager/Baekjoon-Online-Judge | 7dd6d76838d3309bfe5bef46f1778c5776ebdf2a | [
"MIT"
] | null | null | null | Sources/02XXX/2839/2839.c | DDManager/Baekjoon-Online-Judge | 7dd6d76838d3309bfe5bef46f1778c5776ebdf2a | [
"MIT"
] | 1 | 2022-02-13T04:17:10.000Z | 2022-02-13T04:17:10.000Z | /**
* BOJ 2839번 C언어 소스 코드
* 작성자 : 동동매니저 (DDManager)
*
* ※ 실행 결과
* 사용 메모리 : 1,116 KB / 131,072 KB
* 소요 시간 : 0 ms / 1,000 ms
*
* Copyright 2019. DDManager all rights reserved.
*/
#include <stdio.h>
int main(void){
int n,r=-1;
scanf("%d",&n);
if(n%5==0) r=n/5;
else if(n%5==1) r=n/5+1;
else if(n%5==2&&n>7) r=n/5+2;
else if(n%5==3) r=n/5+1;
else if(n%5==4&&n>4) r=n/5+2;
printf("%d\n",r);
return 0;
} | 17.625 | 50 | 0.529551 |
97fb7d3aced6926bfbd3a9f4e85e6738709a9440 | 760 | h | C | src/Prov_Directory_Manager.h | andrewgonzalez/Team10 | e18504ed6366211c28ef12353e89e074d534b3d6 | [
"MIT"
] | 1 | 2022-02-19T07:22:11.000Z | 2022-02-19T07:22:11.000Z | src/Prov_Directory_Manager.h | carsayao/ChocAn | e18504ed6366211c28ef12353e89e074d534b3d6 | [
"MIT"
] | 1 | 2018-11-05T22:03:25.000Z | 2018-11-05T22:03:25.000Z | src/Prov_Directory_Manager.h | carsayao/ChocAn | e18504ed6366211c28ef12353e89e074d534b3d6 | [
"MIT"
] | 2 | 2018-11-09T00:37:55.000Z | 2018-12-01T00:38:58.000Z | //
// Created by petar on 11/21/2018.
//
#ifndef TEAM10_PROV_DIRECTORY_MANAGER_H
#define TEAM10_PROV_DIRECTORY_MANAGER_H
#include "Provider_Directory.h"
//This class will pull from the external file and fill out the entire list of different services available. The list will be viewable by anybody using the Display_Provider_Directory() function.
class Prov_Directory_Manager {
public:
Prov_Directory_Manager();
~Prov_Directory_Manager();
void Add_Directory();
void Make_Directory(Provider_Directory *& head, Provider_Directory *& current);
void Display_Provider_Directory();
void Display_Provider_Directory(Provider_Directory * head);
void Delete_List(Provider_Directory *& head);
protected:
Provider_Directory * dir_head;
};
#endif
| 27.142857 | 194 | 0.790789 |
de06d994a02bcc6c5b66637f2f766a11dbc318e1 | 237 | h | C | ShareData/ShareData.h | AlohaYos/AppleWatch_QuickDraw | 0c9d02021723c7ea54534a5715e51cd39e67d4d8 | [
"MIT"
] | 1 | 2015-12-07T20:04:50.000Z | 2015-12-07T20:04:50.000Z | ShareData/ShareData.h | AlohaYos/AppleWatch_QuickDraw | 0c9d02021723c7ea54534a5715e51cd39e67d4d8 | [
"MIT"
] | null | null | null | ShareData/ShareData.h | AlohaYos/AppleWatch_QuickDraw | 0c9d02021723c7ea54534a5715e51cd39e67d4d8 | [
"MIT"
] | null | null | null |
#import <Foundation/Foundation.h>
@interface ShareData : NSObject
+ (NSArray*)loadSharedList;
+ (void)saveSharedList:(NSArray*)list;
+ (id)objectForKey:(NSString*)keyName;
+ (void)setObject:(id)object forKey:(NSString*)keyName;
@end
| 19.75 | 55 | 0.746835 |
31a1b2c8a2ba384a7b1de47b280b38db0792abf6 | 3,219 | h | C | test/person_minset.h | mdhorn/realsense_person | fd59017452c86872b5ad5424b87e7ea70744028b | [
"BSD-3-Clause"
] | 16 | 2017-10-22T20:17:43.000Z | 2021-09-06T17:12:00.000Z | test/person_minset.h | mdhorn/realsense_person | fd59017452c86872b5ad5424b87e7ea70744028b | [
"BSD-3-Clause"
] | null | null | null | test/person_minset.h | mdhorn/realsense_person | fd59017452c86872b5ad5424b87e7ea70744028b | [
"BSD-3-Clause"
] | 3 | 2020-09-26T03:05:30.000Z | 2021-01-25T14:44:08.000Z | /******************************************************************************
Copyright (c) 2016, Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************/
#include <ros/ros.h>
#include <gtest/gtest.h>
#include <realsense_person/constants.h>
#include <realsense_person/PersonDetection.h>
#include <sensor_msgs/Image.h>
#include <realsense_person/RegisteredPoint.h>
#include <realsense_person/BoundingBox.h>
#include <realsense_person/PersonId.h>
#include <realsense_person/Person.h>
#include <realsense_person/PersonDetection.h>
#include <realsense_person/PersonFace.h>
#include <realsense_person/PersonSkeleton.h>
#include <realsense_person/PersonBody.h>
#include <realsense_person/PersonTracking.h>
#include <realsense_person/GetTrackingId.h>
#include <realsense_person/Recognize.h>
#include <realsense_person/Register.h>
#include <realsense_person/Reinforce.h>
#include <realsense_person/Serialize.h>
#include <realsense_person/Deserialize.h>
#include <realsense_person/StartTracking.h>
#include <realsense_person/StopTracking.h>
using namespace realsense_person;
const std::string CAMERA_NAMESPACE = "camera";
const int ROS_SLEEP_TIME = 10;
const int SERVICE_CALL_COUNT = 50;
std::string g_node_name;
std::string g_camera_ns;
std::string g_person_ns;
int g_ros_sleep_time;
int g_service_call_count;
bool g_detection_recv = false;
bool g_detection_image_recv = false;
bool g_detection_bbox_recv = false;
bool g_detection_com_recv = false;
std::vector<uint32_t> g_tracking_ids;
std::vector<realsense_person::PersonId> g_person_ids;
ros::ServiceClient g_get_tracking_id_client;
ros::ServiceClient g_register_client;
ros::ServiceClient g_recognize_client;
ros::ServiceClient g_reinforce_client;
| 40.746835 | 81 | 0.774153 |
ee379d95ed23961890bcf99f8e22bb310f1650a6 | 4,233 | c | C | src/pixhdl/print_entity.c | kokkonisd/pixhdl | 30fe61c4ee69d03d9fb3f94e779bd7c93a5863ca | [
"MIT"
] | 3 | 2019-08-01T11:20:58.000Z | 2020-02-28T13:50:02.000Z | src/pixhdl/print_entity.c | kokkonisd/pixhdl | 30fe61c4ee69d03d9fb3f94e779bd7c93a5863ca | [
"MIT"
] | 9 | 2019-07-29T11:13:36.000Z | 2020-02-13T17:08:14.000Z | src/pixhdl/print_entity.c | kokkonisd/pixhdl | 30fe61c4ee69d03d9fb3f94e779bd7c93a5863ca | [
"MIT"
] | null | null | null | #include "print_entity.h"
const char * directionToString (direction dir)
{
switch (dir) {
case IN:
return "IN";
case OUT:
return "OUT";
case INOUT:
return "INOUT";
case GENERIC:
return "GENERIC";
default:
return "UNDEFINED";
}
}
void printEntitySignals (Entity * ent)
{
// For-loop counter
unsigned int i = 0;
// Counter for the amount of spaces a signal name can occupy
unsigned int name_spaces = ent->max_name_size_global > 4 ?
ent->max_name_size_global : 4;
// Counter for the amount of spaces a signal length/value can occupy
unsigned int length_spaces = ent->max_length_size_global > 32 ?
ent->max_length_size_global : 32;
// Print horizontal ruler
for (i = 0; i < name_spaces + length_spaces + 27; i++)
printf("-");
printf("\n");
// Print Entity name
printf("| Entity %-*s |\n", name_spaces + length_spaces + 16, ent->name);
// Print horizontal ruler
for (i = 0; i < name_spaces + length_spaces + 27; i++)
printf("-");
printf("\n");
// Print the table header
printf("Signal # | Name ");
for (i = 0; i < name_spaces - 4; i++)
printf(" ");
printf("| Value (generics) / Length (bits) ");
for (i = 0; i < length_spaces - 32; i++)
printf(" ");
printf("| Direction\n");
for (i = 0; i < name_spaces + length_spaces + 27; i++)
printf("=");
printf("\n");
// Print the GENERIC inputs
for (i = 0; i < ent->count_generics; i++)
printf("%-8d | %-*s | %-*s | %s\n", i + 1,
name_spaces,
ent->generics[i].name,
length_spaces,
ent->generics[i].length,
directionToString(
ent->generics[i].dir)
);
// Print horizontal ruler
for (i = 0; i < name_spaces + length_spaces + 27; i++)
printf("-");
printf("\n");
// Print the IN signals
for (i = 0; i < ent->count_in; i++)
printf("%-8d | %-*s | %-*s | %s\n", i + 1,
name_spaces,
ent->signals_in[i].name,
length_spaces,
ent->signals_in[i].length,
directionToString(
ent->signals_in[i].dir)
);
// Print horizontal ruler
for (i = 0; i < name_spaces + length_spaces + 27; i++)
printf("-");
printf("\n");
// Print the OUT signals
for (i = 0; i < ent->count_out; i++)
printf("%-8d | %-*s | %-*s | %s\n", i + 1,
name_spaces,
ent->signals_out[i].name,
length_spaces,
ent->signals_out[i].length,
directionToString(
ent->signals_out[i].dir)
);
// Print horizontal ruler
for (i = 0; i < name_spaces + length_spaces + 27; i++)
printf("-");
printf("\n");
// Print the INOUT signals
for (i = 0; i < ent->count_inout; i++)
printf("%-8d | %-*s | %-*s | %s\n", i + 1,
name_spaces,
ent->signals_inout[i].name,
length_spaces,
ent->signals_inout[i].length,
directionToString(
ent->signals_inout[i].dir)
);
}
| 34.414634 | 77 | 0.388613 |
eecb12cde68e7da54e60a0e2897a704a8100341c | 257 | h | C | include/widgets.h | maxgerhardt/dbuddy | bedb2ed81299063f2c967182114fc142d6fba9c8 | [
"MIT"
] | null | null | null | include/widgets.h | maxgerhardt/dbuddy | bedb2ed81299063f2c967182114fc142d6fba9c8 | [
"MIT"
] | null | null | null | include/widgets.h | maxgerhardt/dbuddy | bedb2ed81299063f2c967182114fc142d6fba9c8 | [
"MIT"
] | null | null | null | #ifndef DBUDDY_WIDGETS_H
#define DBUDDY_WIDGETS_H
#include "widget-screen.h"
#include "widget-page.h"
#include "widget-menu.h"
#include "widget-timecontainer.h"
#include "widget-timelabel.h"
#include "widget-actionscontainer.h"
#endif // DBUDDY_WIDGETS_H
| 21.416667 | 36 | 0.782101 |
2dbc1c1b608ca229078c83c0dc1848cf0120d446 | 6,400 | c | C | syslibs/ksbase/source/ovks_backend_renameobject.c | fransvanderlek/acplt-rte | 8c664d247e4a0c9291b97aafc930c05341f3b048 | [
"Apache-2.0"
] | 18 | 2015-12-07T15:15:53.000Z | 2021-10-07T04:09:36.000Z | syslibs/ksbase/source/ovks_backend_renameobject.c | fransvanderlek/acplt-rte | 8c664d247e4a0c9291b97aafc930c05341f3b048 | [
"Apache-2.0"
] | 41 | 2015-12-08T13:31:41.000Z | 2022-01-31T16:32:14.000Z | syslibs/ksbase/source/ovks_backend_renameobject.c | fransvanderlek/acplt-rte | 8c664d247e4a0c9291b97aafc930c05341f3b048 | [
"Apache-2.0"
] | 12 | 2015-06-11T13:09:41.000Z | 2019-02-07T13:33:37.000Z | /*
* $Id: ov_ksserver_renameobject.c,v 1.1.1.1 2011-01-31 07:47:43 henning Exp $
*
* Copyright (C) 1998-1999
* Lehrstuhl fuer Prozessleittechnik,
* RWTH Aachen, D-52056 Aachen, Germany.
* All rights reserved.
*
* Author: Dirk Meyer <dirk@plt.rwth-aachen.de>
*
* This file is part of the ACPLT/OV Package which is licensed as open
* source under the Artistic License; you can use, redistribute and/or
* modify it under the terms of that license.
*
* You should have received a copy of the Artistic License along with
* this Package; see the file ARTISTIC-LICENSE. If not, write to the
* Copyright Holder.
*
* THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES
* OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
/*
* History:
* --------
* 23-Jun-1999 Dirk Meyer <dirk@plt.rwth-aachen.de>: File created.
*/
#include "ov_ksserver_backend.h"
#include "ov_path.h"
#include "ov_macros.h"
/* ---------------------------------------------------------------------- */
/*
* Execute the RenameObject service (subroutine)
*/
OV_DLLFNCEXPORT void ov_ksserver_renameobject(
const OV_UINT version,
const OV_TICKET *pticket,
const OV_RENAMEOBJECT_PAR *params,
OV_RENAMEOBJECT_RES *result
) {
/*
* local variables
*/
OV_UINT len = params->items_len;
OV_RESULT *presult;
OV_RENAMEOBJECT_ITEM *pitem = params->items_val;
OV_UINT i;
OV_PATH path, newpath;
OV_INSTPTR_ov_domain pdom;
OV_INSTPTR_ov_object prelchild;
OV_INSTPTR_ov_object pobj;
OV_STRING newobjpath, identifier;
OV_PLACEMENT_HINT hint;
OV_VTBLPTR_ov_object pvtable;
/*
* initialization
*/
result->result = OV_ERR_OK;
result->results_len = 0;
result->results_val = NULL;
/*
* if there are no items, we are done
*/
if(!len) {
return;
}
/*
* test (grand) access
*/
if(!(pticket->vtbl->getaccess(pticket) & OV_AC_RENAMEABLE) ) {
result->result = OV_ERR_NOACCESS;
return;
}
/*
* allocate memory for the results
*/
presult = (OV_RESULT*)ov_memstack_alloc(len*sizeof(OV_RESULT));
if(!presult) {
result->result = OV_ERR_TARGETGENERIC; /* TODO! no heap memory */
return;
}
result->results_val = presult;
result->results_len = len;
/*
* iterate over the items given
*/
for(i=0; i<len; i++, pitem++, presult++) {
/*
* resolve the old object's path (which must be absolute)
*/
*presult = ov_path_resolve(&path, NULL, pitem->old_path, version);
if(Ov_Fail(*presult)) {
continue;
}
/*
* test, if it is a valid object
*/
if(path.elements[path.size-1].elemtype != OV_ET_OBJECT) {
*presult = OV_ERR_CANTMOVE;
continue;
}
pobj = path.elements[path.size-1].pobj;
/*
* test if we have rename access on the object
*/
Ov_GetVTablePtr(ov_object, pvtable, pobj);
if(!pvtable) {
pvtable = (OV_VTBLPTR_ov_object)pclass_ov_object->v_pvtable;
}
if(!(pvtable->m_getaccess(pobj, &path.elements[path.size-1],
pticket) & OV_AC_RENAMEABLE)
) {
*presult = OV_ERR_NOACCESS;
continue;
}
/*
* test if we have write access on the domain containing the object
*/
pdom = Ov_GetParent(ov_containment, pobj);
if(!pdom) {
*presult = OV_ERR_CANTMOVE;
continue;
}
Ov_GetVTablePtr(ov_object, pvtable, Ov_PtrUpCast(ov_object, pdom));
if(!pvtable) {
pvtable = (OV_VTBLPTR_ov_object)pclass_ov_object->v_pvtable;
}
if(!(pvtable->m_getaccess(Ov_PtrUpCast(ov_object, pdom),
&path.elements[path.size-2], pticket) & OV_AC_WRITE)
) {
*presult = OV_ERR_NOACCESS;
continue;
}
/*
* now take a look at the path of the new object. We got to separate
* the path to the domain object which shall contain the new object
* and the identifier of the new object.
*/
newobjpath = pitem->new_path;
for(identifier=newobjpath+strlen(newobjpath)-1; identifier>=newobjpath; identifier--) {
if(*identifier == '/') {
*identifier = 0;
identifier++;
break;
}
}
if(identifier<newobjpath) {
*presult = OV_ERR_BADPATH;
continue;
}
if(!*newobjpath) {
/*
* new_path is "/xxxx" and we removed the '/';
*/
newobjpath = "/";
}
/*
* resolve the path to the domain containing the new object
*/
*presult = ov_path_resolve(&newpath, &path, newobjpath, version);
if(Ov_Fail(*presult)) {
continue;
}
/*
* test, if it is a domain
*/
if(newpath.elements[newpath.size-1].elemtype != OV_ET_OBJECT) {
*presult = OV_ERR_BADPATH;
continue;
}
pdom = Ov_DynamicPtrCast(ov_domain, newpath.elements[newpath.size-1].pobj);
if(!pdom) {
*presult = OV_ERR_BADPATH;
continue;
}
/*
* test if we have write access on the domain
*/
Ov_GetVTablePtr(ov_object, pvtable, Ov_PtrUpCast(ov_object, pdom));
if(!pvtable) {
pvtable = (OV_VTBLPTR_ov_object)pclass_ov_object->v_pvtable;
}
if(!(pvtable->m_getaccess(Ov_PtrUpCast(ov_object, pdom),
&newpath.elements[newpath.size-1], pticket) & OV_AC_WRITE)
) {
*presult = OV_ERR_NOACCESS;
continue;
}
/*
* figure out the placement
*/
hint = pitem->place.hint;
prelchild = NULL;
if(hint == OV_PMH_BEFORE || hint == OV_PMH_AFTER) {
if(*pitem->place.place_path == '/') {
/* absolute path */
*presult = ov_path_resolve(&path, NULL,
pitem->place.place_path, version);
if(Ov_Fail(presult)) {
continue;
}
if(path.elements[path.size-1].elemtype != OV_ET_OBJECT) {
*presult = OV_ERR_BADPLACEMENT;
continue;
}
prelchild = path.elements[path.size-1].pobj;
if(Ov_GetParent(ov_containment, prelchild) != pdom) {
*presult = OV_ERR_BADPLACEMENT;
continue;
}
} else {
/* relative path */
prelchild = Ov_SearchChild(ov_containment, pdom,
ov_path_frompercent(pitem->place.place_path));
if(!prelchild) {
*presult = OV_ERR_BADPLACEMENT;
continue;
}
}
}
/*
* rename the object
*/
*presult = ov_class_renameobject(pobj, pdom, ov_path_frompercent(identifier), hint, prelchild);
} /* for */
/*
* we are finished.
*/
return;
}
/* ---------------------------------------------------------------------- */
/*
* End of file
*/
| 26.446281 | 98 | 0.630313 |
f540e88d5e5e9c70e4d21c47a6d19385a4c2a75b | 2,658 | h | C | src/runtime/rpc/dbus/threadpoolexecutor.h | sparkoss/ccm | 9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d | [
"Apache-2.0"
] | 6 | 2018-05-08T10:08:21.000Z | 2021-11-13T13:22:58.000Z | src/runtime/rpc/dbus/threadpoolexecutor.h | sparkoss/ccm | 9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d | [
"Apache-2.0"
] | 1 | 2018-05-08T10:20:17.000Z | 2018-07-23T05:19:19.000Z | src/runtime/rpc/dbus/threadpoolexecutor.h | sparkoss/ccm | 9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d | [
"Apache-2.0"
] | 4 | 2018-03-13T06:21:11.000Z | 2021-06-19T02:48:07.000Z | //=========================================================================
// Copyright (C) 2018 The C++ Component Model(CCM) Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//=========================================================================
//=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//=========================================================================
#ifndef __THREADPOOLEXECUTOR_H__
#define __THREADPOOLEXECUTOR_H__
#include "ccmautoptr.h"
#include "ccmrefbase.h"
#include "util/arraylist.h"
#include "util/mutex.h"
namespace ccm {
class ThreadPoolExecutor
: public LightRefBase
{
public:
class Runnable
: public LightRefBase
{
public:
virtual ECode Run() = 0;
};
private:
class Worker
: public LightRefBase
{
public:
Worker(
/* [in] */ Runnable* task,
/* [in] */ ThreadPoolExecutor* owner);
ECode Run();
public:
pthread_t mThread;
AutoPtr<Runnable> mTask;
ThreadPoolExecutor* mOwner;
Mutex mLock;
};
public:
static AutoPtr<ThreadPoolExecutor> GetInstance();
ECode RunTask(
/* [in] */ Runnable* task);
ECode StopTask(
/* [in] */ Runnable* task);
private:
static void* ThreadEntry(void* arg);
private:
static AutoPtr<ThreadPoolExecutor> sInstance;
static Mutex sInstanceLock;
Mutex mMainLock;
ArrayList<Worker*> mWorkers;
};
}
#endif // __THREADPOOLEXECUTOR_H__
| 27.978947 | 75 | 0.6076 |
40d458a4bb7fdaba492d6cd026389ff4b8c6b269 | 2,621 | h | C | fsw/cfe-core/src/inc/private/cfe_es_erlog_typedef.h | jlucas9/cFE | 221430621c3776f141eb947a55d4483655677986 | [
"Apache-2.0"
] | 75 | 2020-07-20T20:54:00.000Z | 2022-03-09T09:18:37.000Z | fsw/cfe-core/src/inc/private/cfe_es_erlog_typedef.h | jlucas9/cFE | 221430621c3776f141eb947a55d4483655677986 | [
"Apache-2.0"
] | 3 | 2020-09-13T00:46:49.000Z | 2021-07-06T16:18:22.000Z | fsw/cfe-core/src/inc/private/cfe_es_erlog_typedef.h | jlucas9/cFE | 221430621c3776f141eb947a55d4483655677986 | [
"Apache-2.0"
] | 14 | 2020-07-22T16:34:51.000Z | 2021-09-13T12:19:59.000Z | /*
** GSC-18128-1, "Core Flight Executive Version 6.6"
**
** Copyright (c) 2006-2019 United States Government as represented by
** the Administrator of the National Aeronautics and Space Administration.
** All Rights Reserved.
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
/**
* \file cfe_es_erlog_typedef.h
*
* Created on: Jan 22, 2015
* Author: joseph.p.hickey@nasa.gov
*
* Definition of the CFE_ES_ERLog structure type.
* This was moved into its own header file since it is referenced by multiple CFE core apps.
*/
#ifndef CFE_ES_ERLOG_TYPEDEF_H_
#define CFE_ES_ERLOG_TYPEDEF_H_
#include <common_types.h>
#include <cfe_time.h> /* Needed for CFE_TIME_SysTime_t */
/*
** Debug variables type
*/
typedef struct
{
uint32 DebugFlag;
uint32 WatchdogWriteFlag;
uint32 PrintfEnabledFlag;
uint32 LastAppId;
} CFE_ES_DebugVariables_t;
/*
** Exception and Reset Log Structure
*/
typedef struct
{
uint32 LogEntryType; /* What type of log entry */
uint32 ResetType; /* Main cause for the reset */
uint32 ResetSubtype; /* The sub-type for the reset */
uint32 BootSource; /* The boot source */
uint32 ProcessorResetCount; /* The number of processor resets */
uint32 MaxProcessorResetCount; /* The maximum number before a Power On */
CFE_ES_DebugVariables_t DebugVars; /* ES Debug variables */
CFE_TIME_SysTime_t TimeCode; /* Time code */
char Description[80]; /* The ascii data for the event */
uint32 ContextSize; /* Indicates the context data is valid */
uint32 AppID; /* The application ID */
uint32 Context[CFE_PLATFORM_ES_ER_LOG_MAX_CONTEXT_SIZE / sizeof(uint32)]; /* cpu context */
} CFE_ES_ERLog_t;
#endif /* CFE_ES_ERLOG_TYPEDEF_H_ */
| 36.915493 | 115 | 0.618466 |
67344918e6577f2c7ca17feba353db0b949fd5e9 | 1,952 | c | C | Lib/COMP.c | Lambosaurus/STM32X0 | 66dd61e02e4f6cb8002ae52d976bf9c08208a8af | [
"MIT"
] | 1 | 2021-02-09T22:47:31.000Z | 2021-02-09T22:47:31.000Z | Lib/COMP.c | Lambosaurus/STM32X0 | 66dd61e02e4f6cb8002ae52d976bf9c08208a8af | [
"MIT"
] | 23 | 2021-02-15T00:06:13.000Z | 2021-12-18T03:30:10.000Z | Lib/COMP.c | Lambosaurus/STM32X0 | 66dd61e02e4f6cb8002ae52d976bf9c08208a8af | [
"MIT"
] | 3 | 2021-01-24T20:54:15.000Z | 2021-05-26T03:38:32.000Z |
#include "COMP.h"
#ifdef COMP_ENABLED
/*
* PRIVATE DEFINITIONS
*/
#ifndef COMP_IRQn
#define COMP_IRQn ADC1_COMP_IRQn
#endif
#define WRITE_BIT(reg, bit, set) (reg = (set) ? (reg | (bit)) : (reg & ~(bit)))
/*
* PRIVATE TYPES
*/
/*
* PRIVATE PROTOTYPES
*/
/*
* PRIVATE VARIABLES
*/
#ifdef COMP1_ENABLE
static COMP_t gCOMP_1 = {
.Instance = COMP1,
};
COMP_t * COMP_1 = &gCOMP_1;
#endif
#ifdef COMP2_ENABLE
static COMP_t gCOMP_2 = {
.Instance = COMP2,
};
COMP_t * COMP_2 = &gCOMP_2;
#endif
/*
* PUBLIC FUNCTIONS
*/
void COMP_Init(COMP_t * comp, COMP_Input_t inputs)
{
comp->Instance->CSR = inputs
| COMP_POWERMODE_MEDIUMSPEED
| COMP_CSR_COMPxEN;
}
void COMP_Deinit(COMP_t * comp)
{
#ifdef COMP_USE_IRQS
uint32_t exti = COMP_GET_EXTI_LINE(comp->Instance);
CLEAR_BIT(EXTI->IMR, exti);
#endif
comp->Instance->CSR = 0;
}
bool COMP_Read(COMP_t * comp)
{
return comp->Instance->CSR & COMP_CSR_COMPxOUTVALUE;
}
#ifdef COMP_USE_IRQS
void COMP_OnChange(COMP_t * comp, GPIO_IT_Dir_t dir, VoidFunction_t callback)
{
comp->callback = callback;
__HAL_RCC_SYSCFG_CLK_ENABLE();
uint32_t exti = COMP_GET_EXTI_LINE(comp->Instance);
WRITE_BIT(EXTI->RTSR, exti, (dir & GPIO_IT_Rising));
WRITE_BIT(EXTI->FTSR, exti, (dir & GPIO_IT_Falling));
// Clear EXTI pending bit - in case its already set
WRITE_REG(EXTI->PR, exti);
SET_BIT(EXTI->IMR, exti);
HAL_NVIC_EnableIRQ(COMP_IRQn);
}
#endif //COMP_USE_IRQS
/*
* PRIVATE FUNCTIONS
*/
/*
* INTERRUPT ROUTINES
*/
#ifdef COMP_USE_IRQS
static inline void COMP_IRQHandler(COMP_t * comp, uint32_t exti)
{
if(EXTI->PR & exti)
{
WRITE_REG(EXTI->PR, exti);
comp->callback();
}
}
void ADC1_COMP_IRQHandler(void)
{
// This will have to be shared with the ADC handler at some point...
#ifdef COMP1_ENABLE
COMP_IRQHandler(COMP_1, COMP_EXTI_LINE_COMP1);
#endif
#ifdef COMP2_ENABLE
COMP_IRQHandler(COMP_2, COMP_EXTI_LINE_COMP2);
#endif
}
#endif
#endif // COMP_ENABLED
| 16.973913 | 80 | 0.707992 |
7cfa93b9ae519d0cad852fddb195dc0f99a1f835 | 7,858 | h | C | multimedia/dshow/dmo/wrapper/filter.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | multimedia/dshow/dmo/wrapper/filter.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | multimedia/dshow/dmo/wrapper/filter.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #ifndef __FILTER_H__
#define __FILTER_H__
#include <wchar.h>
#include "mediaobj.h"
#include "dmodshow.h"
#include "mediabuf.h"
// Filter to wrap filter Media objects
//
// Need to have topology defined by Media objects
// TODO:
// Add persistence stuff for clsid of object wrapped
// and persist its own stuff too.
//
//
// This code uses DbgLog as follows:
// LOG_CUSTOM1 logs streaming state changes
// LOG_CUSTOM2 logs recurring streaming/processing events
// LOG_CUSTOM3 logs connection events
// LOG_CUSTOM4 logs initialization events
// LOG_CUSTOM5 logs function entries (level 3: public, level 4: private)
//
// Log levels are used as follows:
// 0 - critical errors
// 1 - non-critical errors
// 2 - unusual non-erratic events
// 3 - function entries
// 4 - detailed step-by-step logging
// 5 - extremely detailed logging
//
#define LOG_STATE LOG_CUSTOM1
#define LOG_STREAM LOG_CUSTOM2
#define LOG_CONNECT LOG_CUSTOM3
#define LOG_INIT LOG_CUSTOM4
#define LOG_ENTRY LOG_CUSTOM5
#define LOG_SECURECHANNEL LOG_CUSTOM2
//
// Define a DbgLog wrapper macro to automatically do the following on error:
// - add LOG_ERROR to the log category mask
// - lower the level to 1
// If hr does not indicate an error, the supplied category/level is used as is.
//
#define LogHResult(hr,LOG_CATEGORY,caller,callee) \
DbgLog((LOG_CATEGORY | (FAILED(hr) ? LOG_ERROR : 0), \
FAILED(hr) ? 1 : 4, \
"%s%s(): %s() returned 0x%08X", \
FAILED(hr) ? "!!! ERROR: " : "", \
caller, \
callee, \
hr))
// Define a DbgLog wrapper macro to aotomatically add LOG_CUSTOM5 to all function entry logs
#define LogPublicEntry(LOG_CATEGORY,name) \
DbgLog((LOG_CATEGORY | LOG_ENTRY, \
3, \
"Entering %s()", name))
#define LogPrivateEntry(LOG_CATEGORY,name) \
DbgLog((LOG_CATEGORY | LOG_ENTRY, \
4, \
"Entering %s()", name))
//
// Used for output IMediaBuffers. Reusable - final Release does not delete.
// AddRef()/Release() calls are ignored because DMOs are not supposed to use
// those on an output buffer.
//
class CStaticMediaBuffer : public CBaseMediaBuffer {
public:
// CStaticMediaBuffer() {m_pData = NULL;}
STDMETHODIMP_(ULONG) AddRef() {return 2;}
STDMETHODIMP_(ULONG) Release() {return 1;}
void Init(BYTE *pData, ULONG ulSize) {
m_pData = pData;
m_ulSize = ulSize;
m_ulData = 0;
}
};
extern const AMOVIESETUP_FILTER sudMediaWrap;
class CWrapperInputPin;
class CWrapperOutputPin;
class CStaticMediaBuffer;
class CMediaWrapperFilter : public CBaseFilter,
public IDMOWrapperFilter,
public IPersistStream
{
friend class CWrapperInputPin;
friend class CWrapperOutputPin;
public:
DECLARE_IUNKNOWN
static CUnknown * WINAPI CreateInstance(LPUNKNOWN pUnkOuter, HRESULT *phr);
CMediaWrapperFilter(LPUNKNOWN pUnkOwner,
HRESULT *phr);
~CMediaWrapperFilter();
STDMETHODIMP Stop();
STDMETHODIMP Pause();
STDMETHODIMP Run(REFERENCE_TIME rtStart);
STDMETHODIMP GetState(DWORD dwMilliseconds, FILTER_STATE *pfs);
STDMETHODIMP Init(REFCLSID clsidDMO, REFCLSID guidCat);
STDMETHODIMP JoinFilterGraph(IFilterGraph * pGraph, LPCWSTR pName);
STDMETHODIMP NonDelegatingQueryInterface(REFGUID riid, void **ppv);
CCritSec *FilterLock()
{
return &m_csFilter;
}
CBasePin *GetPin(int iPin);
int GetPinCount();
// Refresh what pins we have
HRESULT RefreshPinList();
// Remove pins
void DeletePins();
// New input sample from a pin - called with pin streaming lock held.
HRESULT NewSample(ULONG ulIndex, IMediaSample *pSample);
// EndOfStream - called with pin streaming lock held.
HRESULT EndOfStream(ULONG ulIndex);
// Check Media Type
HRESULT InputCheckMediaType(ULONG ulIndex, const AM_MEDIA_TYPE *pmt);
HRESULT OutputCheckMediaType(ULONG ulIndex, const AM_MEDIA_TYPE *pmt);
// Get Media Type
HRESULT InputGetMediaType(ULONG ulIndex, ULONG ulTypeIndex, AM_MEDIA_TYPE *pmt);
HRESULT OutputGetMediaType(ULONG ulIndex, ULONG ulTypeIndex, AM_MEDIA_TYPE *pmt);
// Set the media type - our pin classes pointlessly duplicate
// the media type stored by the object here
HRESULT InputSetMediaType(ULONG ulIndex, const CMediaType *pmt);
HRESULT OutputSetMediaType(ULONG ulIndex, const AM_MEDIA_TYPE *pmt);
// Allocator stuff
HRESULT InputGetAllocatorRequirements(ULONG ulInputIndex,
ALLOCATOR_PROPERTIES *pProps);
HRESULT OutputDecideBufferSize(ULONG ulIndex, IMemAllocator *pAlloc,
ALLOCATOR_PROPERTIES *ppropRequest);
// QueryInternalConnections stuff
bool InputMapsToOutput(ULONG ulInputIndex, ULONG ulOutputIndex);
HRESULT BeginFlush(ULONG ulInputIndex);
HRESULT EndFlush(ULONG ulInputIndex);
// NewSegment
HRESULT InputNewSegment(ULONG ulInputIndex, REFERENCE_TIME tStart,
REFERENCE_TIME tStop, double dRate);
// IPersistStream
STDMETHODIMP IsDirty(void);
STDMETHODIMP Load(IStream *pStm);
STDMETHODIMP Save(IStream *pStm, BOOL fClearDirty);
STDMETHODIMP GetSizeMax(ULARGE_INTEGER *pcbSize);
STDMETHODIMP GetClassID(CLSID *clsid);
protected:
//
// Per stream stuff
//
CWrapperInputPin** m_pInputPins;
CWrapperOutputPin** m_pOutputPins;
DMO_OUTPUT_DATA_BUFFER* m_OutputBufferStructs;
HRESULT AllocatePerStreamStuff (ULONG cInputs, ULONG cOutputs);
void FreePerStreamStuff ();
CWrapperInputPin* GetInputPinForPassThru();
HRESULT QualityNotify(ULONG ulOutputIndex, Quality q);
// The Media object
IMediaObject* m_pMediaObject;
IUnknown* m_pDMOUnknown;
IDMOQualityControl* m_pDMOQualityControl;
IDMOVideoOutputOptimizations* m_pDMOOutputOptimizations;
ULONG m_cInputPins;
ULONG m_cOutputPins;
// app certificate for secure dmo unlocking
IUnknown* m_pCertUnknown;
IWMSecureChannel* m_pWrapperSecureChannel;
// Filter lock
CCritSec m_csFilter;
// Streaming lock
CCritSec m_csStreaming;
// Stop event
CAMEvent m_evStop;
BOOL m_fErrorSignaled;
HRESULT DeliverInputSample(ULONG ulInputIndex, IMediaSample *pSample);
typedef enum { KeepOutput, NullBuffer, DiscardOutput } DiscardType;
HRESULT SuckOutOutput(DiscardType bDiscard = KeepOutput);
HRESULT EnqueueInputSample(ULONG ulInputStreamIndex, IMediaSample *pSample);
IMediaSample* DequeueInputSample(ULONG ulInputStreamIndex);
bool CMediaWrapperFilter::InputQueueEmpty(ULONG ulInputStreamIndex);
void FreeOutputSamples();
void PropagateAnyEOS();
HRESULT SetupSecureChannel();
BOOL m_fNoUpstreamQualityControl;
IQualityControl* m_pUpstreamQualityControl;
CCritSec m_csLastOutputSampleTimes;
CCritSec m_csQualityPassThru;
CLSID m_clsidDMO;
CLSID m_guidCat;
};
// Hack to make a string
class _PinName_
{
public:
_PinName_(WCHAR *szPrefix, int iName)
{
swprintf(sz, L"%s%d", szPrefix, iName);
}
WCHAR sz[20];
LPCWSTR Name()
{
return sz;
}
};
typedef CBasePin *PBASEPIN;
// Translate error codes to dshow codes
HRESULT TranslateDMOError(HRESULT hr);
#endif //__FILTER_H__
| 30.575875 | 93 | 0.662382 |
919071fbdd14e606f2b3100481858d06ee1ac995 | 2,592 | h | C | Sima/Kukua/Classes/Utils/GameObject.h | Megapop/Norad-Eduapp4syria | 20b887dd9e1fe55a5b15cd6cd36a85265bfd819e | [
"BSD-2-Clause"
] | null | null | null | Sima/Kukua/Classes/Utils/GameObject.h | Megapop/Norad-Eduapp4syria | 20b887dd9e1fe55a5b15cd6cd36a85265bfd819e | [
"BSD-2-Clause"
] | null | null | null | Sima/Kukua/Classes/Utils/GameObject.h | Megapop/Norad-Eduapp4syria | 20b887dd9e1fe55a5b15cd6cd36a85265bfd819e | [
"BSD-2-Clause"
] | 1 | 2018-09-10T08:29:13.000Z | 2018-09-10T08:29:13.000Z | #pragma once
#include "cocos2d.h"
#include "ui/CocosGUI.h"
#include "cocostudio/CocoStudio.h"
#include "SimpleAudioEngine.h"
#include <string>
using namespace std;
using namespace cocos2d;
using namespace cocostudio::timeline;
class GameObject {
public:
GameObject(Node& parentNode, string nodeName, string animationCsbPath, string colliderSpritePath = string()); // For existing nodes in scene
GameObject(Node& parentNode, const Vec2& localPosition, string csbPath = string(), string colliderSpritePath = string()); // For nodes to be instantiated from a csb or new nodes
virtual ~GameObject();
Node& getNode();
ActionTimeline* getActionTimeline();
Vec2 getPosition() const; // return world position
void setPosition(Vec2 worldPosition);
Vec2 getLocalPosition() const;
void setLocalPosition(Vec2 localPosition);
float getScale() const;
void setScale(float scale);
bool isVisible();
void setVisible(bool visible);
void play(string animationName, std::function<void()> callback = nullptr, bool looping = false, float delay = 0.f, int startFrameOffset = 0);
void play(Action* action);
void clearLastFrameCallFunc();
void pause();
void resume();
bool intersectsPoint(Touch& touch) const;
Node* getParent() const;
void setParent(Node& parentNode);
void setParent(Node& parentNode, const Vec2& localPosition);
Node* getChild(string path);
void bringToFront(); // To be tested
const Sprite* const getColliderSprite() const;
protected:
Node* node;
Sprite* colliderSprite;
ActionTimeline* actionTimeline;
//GameObject(Node& parentNode, const Vec2& localPosition, string colliderSpritePath = string()); // Constructor for subclasses that create a new node
private:
GameObject(); // Unimplemented
};
inline Node& GameObject::getNode() {
return *node;
}
inline ActionTimeline* GameObject::getActionTimeline() {
return actionTimeline;
}
inline Vec2 GameObject::getPosition() const {
return node->getParent()->convertToWorldSpace(node->getPosition());
}
inline Vec2 GameObject::getLocalPosition() const {
return node->getPosition();
}
inline float GameObject::getScale() const {
return node->getScale();
}
inline bool GameObject::isVisible() {
return node->isVisible();
}
inline void GameObject::setVisible(bool visible) {
return node->setVisible(visible);
}
inline Node* GameObject::getParent() const {
return node->getParent();
}
inline const Sprite* const GameObject::getColliderSprite() const {
return colliderSprite;
} | 25.165049 | 179 | 0.720293 |
0b89f9bf4e460c09650d6cbc2431ace920adfff8 | 3,886 | c | C | vector/src/static_vector_memblock_header.c | susanna-kaukinen/c_containers | 009f402f46ba66efb3887478298d8ae01e5ca402 | [
"MIT"
] | 1 | 2015-03-10T21:04:13.000Z | 2015-03-10T21:04:13.000Z | vector/src/static_vector_memblock_header.c | susanna-kaukinen/c_containers | 009f402f46ba66efb3887478298d8ae01e5ca402 | [
"MIT"
] | null | null | null | vector/src/static_vector_memblock_header.c | susanna-kaukinen/c_containers | 009f402f46ba66efb3887478298d8ae01e5ca402 | [
"MIT"
] | null | null | null | /**
*
* MIT Free Software License
*
* Copyright (c) 2010 Susanna Kaukinen
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
*/
#include "static_vector_memblock_header.h"
#include "debug_levels.h"
#define DBG_LVL LVL_FLOOD
//#define DBG_LVL LVL_DEBUG
#include "debug.h"
// <setters>
static_vector_memblock_header*
svm_head__clone(mutable static_vector_memblock_header* new_header, const static_vector_memblock_header* old_header)
{
memmove(new_header, old_header, sizeof(svm_head__get_size(old_header)));
return new_header;
}
size_t svm_head__set_size(mutable static_vector_memblock_header* obj, size_t size)
{
obj->size = size;
return obj->size;
}
size_t svm_head__set_chunk_size(mutable static_vector_memblock_header* obj, size_t chunk_size)
{
obj->chunk_size = chunk_size;
return obj->chunk_size;
}
size_t svm_head__set_amt_chunks(mutable static_vector_memblock_header* obj, unsigned int chunks)
{
obj->chunks = chunks;
return chunks;
}
size_t svm_head__dec_chunks_free(mutable static_vector_memblock_header* obj )
{
obj->chunks_free--;
return obj->chunks_free;
}
size_t svm_head__set_chunks_free( mutable static_vector_memblock_header* obj, unsigned int chunks_free)
{
obj->chunks_free = chunks_free;
return chunks_free;
}
size_t svm_head__get_amt_chunks(const static_vector_memblock_header* obj)
{
return obj->chunks;
}
// <forbid_allow>
uint8_t svm_head__allow_add(mutable static_vector_memblock_header* obj)
{
obj->forbid_add = 0;
return obj->forbid_add;
}
uint8_t svm_head__allow_set(mutable static_vector_memblock_header* obj)
{
obj->forbid_set = 0;
return obj->forbid_set;
}
uint8_t svm_head__forbid_get(mutable static_vector_memblock_header* obj)
{
obj->forbid_get = 1;
return obj->forbid_get;
}
uint8_t svm_head__forbid_add(mutable static_vector_memblock_header* obj)
{
obj->forbid_add = 1;
return obj->forbid_add;
}
uint8_t svm_head__forbid_set(mutable static_vector_memblock_header* obj)
{
obj->forbid_set = 1;
return obj->forbid_set;
}
// </forbid_allow></setters><getters>
uint8_t svm_head__allow_get(mutable static_vector_memblock_header* obj)
{
obj->forbid_get = 0;
return obj->forbid_get;
}
size_t svm_head__get_size(const static_vector_memblock_header* obj)
{
return obj->size;
}
size_t svm_head__get_chunk_size(const static_vector_memblock_header *obj)
{
debugfln(LVL_DEBUG, "obj=(%x)", obj);
return obj->chunk_size;
}
size_t svm_head__get_chunks_free(const static_vector_memblock_header* obj)
{
return obj->chunks_free;
}
size_t svm_head__get_header_size (const static_vector_memblock_header* obj)
{
return sizeof(static_vector_memblock_header);
}
// </getters>
uint8_t svm_head__is_get_allowed(const static_vector_memblock_header* obj) { return obj->forbid_get; }
uint8_t svm_head__is_set_allowed(const static_vector_memblock_header* obj) { return obj->forbid_set; }
| 26.256757 | 115 | 0.78667 |
ad6df0d5db17dcda17de9e656b09cfeb0796b1b2 | 336 | c | C | GCD.c | Aman-Chopra/DataStructure-Algorithms | fc5ed6ebe97032200b93c1ade783d4a5ed2fdd25 | [
"MIT"
] | null | null | null | GCD.c | Aman-Chopra/DataStructure-Algorithms | fc5ed6ebe97032200b93c1ade783d4a5ed2fdd25 | [
"MIT"
] | 3 | 2016-06-09T07:46:15.000Z | 2017-05-06T07:56:18.000Z | GCD.c | Aman-Chopra/DataStructure-Algorithms | fc5ed6ebe97032200b93c1ade783d4a5ed2fdd25 | [
"MIT"
] | 4 | 2016-06-09T07:14:37.000Z | 2021-05-21T22:07:20.000Z | #include <stdio.h>
#include <math.h>
int GCD(int a, int b)
{
int i;
for(i = min(a,b);i>=1;i--)
{
if(a%i == 0 && b%i == 0)
return i;
}
}
int min(int a, int b)
{
return (a<b)?a:b;
}
int main()
{
printf("Enter two numbers\n");
int a, b;
scanf("%d%d", &a, &b);
printf("GCD of the two numbers %d\n", GCD(a,b) );
return 0;
} | 12.923077 | 50 | 0.520833 |
14ae30868a9d651216059af1a67576cf7523e530 | 3,918 | c | C | thirdparty/cctools/as/i860-check.c | smirn0v/dohol | 4b7db2ddfad7a11c78d0512a76dbc2e48bcedb1c | [
"MIT"
] | 132 | 2019-06-06T07:13:12.000Z | 2022-03-23T11:27:43.000Z | thirdparty/cctools/as/i860-check.c | smirn0v/dohol | 4b7db2ddfad7a11c78d0512a76dbc2e48bcedb1c | [
"MIT"
] | 3 | 2019-07-19T04:46:20.000Z | 2022-03-24T01:53:07.000Z | thirdparty/cctools/as/i860-check.c | smirn0v/dohol | 4b7db2ddfad7a11c78d0512a76dbc2e48bcedb1c | [
"MIT"
] | 29 | 2019-06-23T06:14:00.000Z | 2022-01-04T06:38:40.000Z | #include "i860-opcode.h"
#include <stdio.h>
extern int32_t random();
char *controlregs[] = { "fir", "psr", "epsr", "dirbase", "db", "fsr" };
#define NCREGS (sizeof controlregs / sizeof controlregs[0])
char *textlabels[] = { "foo", "bar", "baz", "xork" };
#define NTLABELS (sizeof textlabels / sizeof textlabels[0])
char *datalabels[] = { "data1", "data2", "data3", "data4" };
#define NDLABELS (sizeof datalabels / sizeof datalabels[0])
/*
* Traverse the opcode table, dumping out sample instructions.
*/
void
main(
int argc,
char *argv[],
char *envp[])
{
int i;
const char *arg;
int r1, r2, rd;
printf( "\t.text\n%s:", textlabels[0] );
for ( i = 0; i < NUMOPCODES; ++i )
{
if ( i == (NUMOPCODES/3) )
printf( "%s:", textlabels[1] );
if ( i == (NUMOPCODES/2) )
printf( "%s:", textlabels[2] );
if ( (random() & 0x30) == 0 &&
(i860_opcodes[i].match & OP_PREFIX_MASK) == PREFIX_FPU )
{
printf( "\td.%s\t", i860_opcodes[i].name );
}
else
printf( "\t%s\t", i860_opcodes[i].name );
r1 = random() & 0x1F;
do
r2 = random() & 0x1F;
while( (r2 & 0x1E) == (r1 & 0x1E) );
do
rd = random() & 0x1F;
while( (rd & 0x1E) == (r1 & 0x1E) || (rd & 0x1E) == (r2 & 0x1E) );
for ( arg = i860_opcodes[i].args; *arg != '\0'; ++arg )
{
switch( *arg )
{
case '1': /* rs1 register, bits 11-15 of insn. */
case '2': /* rs2 register, bits 21-25 of insn. */
case 'd': /* rd register, bits 16-20 of insn. */
printf( "r%d", random() % 32);
break;
case 'e': /* frs1 floating point register, bits 11-15 of insn*/
printf( "f%d", r1 );
break;
case 'f': /* frs2 floating point register, bits 21-25 of insn*/
printf( "f%d", r2 );
break;
case 'g': /* frsd floating point register, bits 16-20 of insn*/
printf( "f%d", rd );
break;
case 'E': /* frs1 floating point register, bits 11-15 of insn*/
printf( "f%d", r1 & 0x1E );
break;
case 'F': /* frs2 floating point register, bits 21-25 of insn*/
printf( "f%d", r2 & 0x1E );
break;
case 'G': /* frsd floating point register, bits 16-20 of insn*/
printf( "f%d", rd & 0x1E );
break;
case 'H': /* frsd floating point register, bits 16-20 of insn*/
printf( "f%d", rd & 0x1C );
break;
case 'I': /* 16 bit High portion of address, I860_RELOC_HIGH. */
printf( "h%%%s", datalabels[random() % NDLABELS] );
break;
case 'i': /* 16 bit byte address low half, */
case 'j': /* 16 bit short address, I860_RELOC_LOW1 */
case 'k': /* 16 bit word/int address low half, I860_RELOC_LOW2 */
case 'l': /* 16 bit 8-byte address (double) low half */
case 'm': /* 16 bit 16-byte address (quad) low half */
case 'n': /* 16 bit byte aligned low half, split fields */
case 'o': /* 16 bit short aligned low half, split fields */
case 'p': /* 16 bit int/word aligned low half, split fields */
printf( "l%%%s", datalabels[random() % NDLABELS] );
break;
case 'J': /* 16 bit High portion of addr requiring adjustment*/
printf( "ha%%%s", datalabels[random() % NDLABELS] );
break;
case 'K': /* 26 bit branch displacement */
case 'L': /* 16 bit split branch displacement */
printf( textlabels[random() % NTLABELS] );
break;
case 'D': /* constant for shift opcode */
case 'B': /* 5 bit immediate, for bte and btne insn */
printf( "%d", random() % 32 );
break;
case 'C': /* Control Register */
printf( controlregs[random() % NCREGS] );
break;
default:
putchar( *arg );
break;
}
}
putchar( '\n' );
}
printf( "%s:\n", textlabels[3] );
printf( "nop\n" );
printf( "\t.text\n" );
printf( "data1: nop\n" );
printf( "data2: nop\n" );
printf( "data3: nop\n" );
printf( "data4: nop\n" );
}
| 28.391304 | 73 | 0.546963 |
4247b4b993e715122c4a9e5a53640917e8ce0ae8 | 2,901 | h | C | include/soro/dpd.h | motis-project/rapid | 3b18e9a8169b663db891fe5de49ff5da2627e589 | [
"MIT"
] | 1 | 2020-08-05T08:38:43.000Z | 2020-08-05T08:38:43.000Z | include/soro/dpd.h | motis-project/rapid | 3b18e9a8169b663db891fe5de49ff5da2627e589 | [
"MIT"
] | 1 | 2020-07-26T19:44:28.000Z | 2020-07-26T19:44:28.000Z | include/soro/dpd.h | motis-project/rapid | 3b18e9a8169b663db891fe5de49ff5da2627e589 | [
"MIT"
] | null | null | null | #pragma once
#include <limits>
#include <vector>
namespace soro {
using probability_t = float;
template <typename T>
struct prob_dist_iter {
using container_type = typename T::container_type;
using base_iterator_t = typename container_type::const_iterator;
using primary_t = typename T::primary_t;
using value_type = typename container_type::value_type;
explicit prob_dist_iter(T const& dist, base_iterator_t it)
: t_{dist.first_}, it_(std::move(it)) {}
prob_dist_iter& operator++() {
++it_;
++t_;
return *this;
}
prob_dist_iter& operator--() {
--it_;
--t_;
return *this;
}
prob_dist_iter& operator+=(int off) {
it_ += off;
t_ += off;
return *this;
}
std::pair<primary_t, value_type> operator*() const { return {t_, *it_}; }
bool operator==(prob_dist_iter const& o) const { return it_ == o.it_; }
bool operator!=(prob_dist_iter const& o) const { return it_ != o.it_; }
int operator-(prob_dist_iter const& o) const {
return std::distance(it_, o.it_);
}
typename T::primary_t t_;
base_iterator_t it_;
};
template <typename T>
prob_dist_iter(T const&, typename T::container_type::const_iterator)
-> prob_dist_iter<T>;
template <typename Granularity, typename... Ts>
struct dpd {};
template <typename Granularity, typename T>
struct dpd<Granularity, T> {
using primary_t = T;
using container_type = std::vector<probability_t>;
dpd() = default;
explicit dpd(T t) : first_{std::move(t)}, dpd_({probability_t{1.0}}) {}
auto begin() const { return prob_dist_iter{*this, std::cbegin(dpd_)}; }
auto end() const { return prob_dist_iter{*this, std::cend(dpd_)}; }
bool empty() const { return dpd_.empty(); }
probability_t& operator[](primary_t const i) { return dpd_[to_idx(i)]; }
static constexpr primary_t to_idx(primary_t const i) {
constexpr auto const granularity = Granularity{}.template get<0>();
return i / granularity;
}
T first_{std::numeric_limits<T>::max()};
std::vector<probability_t> dpd_;
};
template <typename Granularity, typename T, typename... Ts>
struct dpd<Granularity, T, Ts...> {
using primary_t = T;
using container_type = std::vector<dpd<Granularity, Ts...>>;
dpd() = default;
explicit dpd(T head, Ts... tail) : first_{std::move(head)} {
dpd_.emplace_back(tail...);
}
auto begin() const { return prob_dist_iter{*this, std::cbegin(dpd_)}; }
auto end() const { return prob_dist_iter{*this, std::cend(dpd_)}; }
bool empty() const { return dpd_.empty(); }
dpd<Granularity, Ts...>& operator[](primary_t const i) {
return dpd_[to_idx(i)];
}
static constexpr primary_t to_idx(primary_t const i) {
constexpr auto const granularity = Granularity{}.template get<0>();
return i / granularity;
}
T first_{std::numeric_limits<primary_t>::max()};
std::vector<dpd<Granularity, Ts...>> dpd_;
};
} // namespace soro
| 26.861111 | 75 | 0.67425 |
4e77e0fa88871b8a06e333afb6b589d2c6873b1b | 2,312 | h | C | Applications/PineBoard/PBPictureInPictureService.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | 2 | 2020-07-26T20:30:54.000Z | 2020-08-10T04:26:23.000Z | Applications/PineBoard/PBPictureInPictureService.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | 1 | 2020-07-26T20:45:31.000Z | 2020-08-09T09:30:46.000Z | Applications/PineBoard/PBPictureInPictureService.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | null | null | null | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Jun 10 2020 10:03:13).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
#import "PBPictureInPictureManagerObserver_Internal-Protocol.h"
#import "PBSPictureInPictureServiceInterface-Protocol.h"
@class NSString, PBSystemServiceConnection;
@protocol PBSPictureInPictureDelegateServiceInterface;
@interface PBPictureInPictureService : NSObject <PBPictureInPictureManagerObserver_Internal, PBSPictureInPictureServiceInterface>
{
PBSystemServiceConnection *_remoteConnection; // 8 = 0x8
id <PBSPictureInPictureDelegateServiceInterface> _serviceDelegate; // 16 = 0x10
}
- (void).cxx_destruct; // IMP=0x000000010014c824
@property(readonly, nonatomic) id <PBSPictureInPictureDelegateServiceInterface> serviceDelegate; // @synthesize serviceDelegate=_serviceDelegate;
@property(readonly, nonatomic) PBSystemServiceConnection *remoteConnection; // @synthesize remoteConnection=_remoteConnection;
- (void)pictureInPictureManager:(id)arg1 didSendPlaybackCommand:(unsigned long long)arg2; // IMP=0x000000010014c770
- (void)pictureInPictureManager:(id)arg1 didRequestMute:(_Bool)arg2 skippingBundleID:(id)arg3; // IMP=0x000000010014c4e8
- (void)pictureInPictureManagerDidUpdateState:(id)arg1; // IMP=0x000000010014c47c
- (_Bool)hasValidEntitlementWithReply:(CDUnknownBlockType)arg1; // IMP=0x000000010014c1a4
- (_Bool)hasValidEntitlement; // IMP=0x000000010014c15c
- (void)cancelPictureInPicture; // IMP=0x000000010014c0e4
- (void)applyPictureInPictureInsetsValue:(id)arg1 fromSource:(id)arg2 withAnimationSettings:(id)arg3 usingAnimationFence:(id)arg4; // IMP=0x000000010014bf7c
- (void)mutePictureInPicture:(_Bool)arg1; // IMP=0x000000010014bea4
- (void)fetchCurrentPictureInPictureStateWithReply:(CDUnknownBlockType)arg1; // IMP=0x000000010014be08
- (void)setServiceDelegate:(id)arg1; // IMP=0x000000010014bdb0
- (void)invalidate; // IMP=0x000000010014bcbc
- (void)dealloc; // IMP=0x000000010014bc1c
- (id)initWithRemoteConnection:(id)arg1; // IMP=0x000000010014ba94
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@property(readonly) unsigned long long hash;
@property(readonly) Class superclass;
@end
| 50.26087 | 156 | 0.813581 |
224ed53d79dea822374a1464da110f20165e6c33 | 765 | h | C | src/iLinX/Classes/ITResponse.h | arpandesai/ilinx | eb3b7d1c2303b45fa615bb699228a6f95e8352c5 | [
"Apache-2.0"
] | null | null | null | src/iLinX/Classes/ITResponse.h | arpandesai/ilinx | eb3b7d1c2303b45fa615bb699228a6f95e8352c5 | [
"Apache-2.0"
] | null | null | null | src/iLinX/Classes/ITResponse.h | arpandesai/ilinx | eb3b7d1c2303b45fa615bb699228a6f95e8352c5 | [
"Apache-2.0"
] | 2 | 2018-02-19T07:55:09.000Z | 2018-10-22T06:34:26.000Z | //
// ITResponse.h
// iLinX
//
// Created by mcf on 20/10/2009.
// Copyright 2009 Micropraxis Ltd.. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "DebugTracing.h"
@interface ITResponse : NSDebugObject
{
@private
NSData *_data;
NSMutableDictionary *_parsedData;
}
@property (readonly) NSData *data;
- (id) initWithData: (NSData *) data;
- (id) itemForKey: (NSString *) key;
- (ITResponse *) responseForKey: (NSString *) key;
- (NSString *) stringForKey: (NSString *) key;
- (NSNumber *) numberForKey: (NSString *) key;
- (NSUInteger) unsignedIntegerForKey: (NSString *) key;
- (NSArray *) arrayForKey: (NSString *) key;
- (NSString *) numberStringForKey: (NSString *) key;
- (NSArray *) allItemsWithPrefix: (NSString *) prefix;
@end
| 23.90625 | 57 | 0.690196 |
61965b404d91cc3d7ddcc47d3104cd6419769776 | 712 | h | C | HomeUI.framework/HUDataAnalyticsModuleController.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 4 | 2021-10-06T12:15:26.000Z | 2022-02-21T02:26:00.000Z | HomeUI.framework/HUDataAnalyticsModuleController.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | null | null | null | HomeUI.framework/HUDataAnalyticsModuleController.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 1 | 2021-10-08T07:40:53.000Z | 2021-10-08T07:40:53.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/HomeUI.framework/HomeUI
*/
@interface HUDataAnalyticsModuleController : HUItemTableModuleController {
<HUDataAnalyticsModuleControllerDelegate> * _dataAnalyticsModuleControllerDelegate;
}
@property (nonatomic) <HUDataAnalyticsModuleControllerDelegate> *dataAnalyticsModuleControllerDelegate;
- (void).cxx_destruct;
- (bool)canSelectItem:(id)arg1;
- (Class)cellClassForItem:(id)arg1;
- (id)dataAnalyticsModuleControllerDelegate;
- (unsigned long long)didSelectItem:(id)arg1;
- (id)initWithModule:(id)arg1;
- (id)module;
- (void)setDataAnalyticsModuleControllerDelegate:(id)arg1;
- (void)setupCell:(id)arg1 forItem:(id)arg2;
@end
| 32.363636 | 103 | 0.804775 |
790f128dbeb4eacdad283b0e48e54bb5ed5ec0d4 | 1,395 | h | C | Flowtags/flowtag-api/sbuFlowTags.h | shrek/buzz | df9d9a471787d7d94b3232419358e706a3989ca7 | [
"Apache-2.0"
] | 12 | 2016-03-18T04:33:13.000Z | 2021-04-18T10:03:36.000Z | Flowtags/flowtag-api/sbuFlowTags.h | shrek/buzz | df9d9a471787d7d94b3232419358e706a3989ca7 | [
"Apache-2.0"
] | null | null | null | Flowtags/flowtag-api/sbuFlowTags.h | shrek/buzz | df9d9a471787d7d94b3232419358e706a3989ca7 | [
"Apache-2.0"
] | 3 | 2017-09-26T07:15:15.000Z | 2020-12-24T01:05:18.000Z | #ifndef FLOWTAGS_H
#define FLOWTAGS_H
//Begin Constant to change
#define FLOWTAG_CONTROLLER_IP "127.0.0.1"
#define FLOWTAG_CONTROLLER_PT 2020
#define LOCAL_MB_ID 3
//End Constant to change
#define FLOWTAG_QUERY 0x00 // sbuFlowTags->type
#define FLOWTAG_INTAG 0x01 //
#define FLOWTAG_OUTTAG 0x02 //
#define FLOWTAG_TAGFIELD_NOTDEFINED 0x00
#define FLOWTAG_TAGFIELD_TOS 0x01
#define FLOWTAG_TAGFIELD_VLAN 0x02
#define FLOWTAG_SQUID_MISS 0
#define FLOWTAG_SQUID_HIT 1
#define FLOWTAG_SNORT_OK 0
#define FLOWTAG_SNORT_FAIL 1
#define FLOWTAG_SNORT_TOTAL_STATES 2
#define FLOWTAG_IPTABLES_ACCEPT 0
typedef struct sbuFlowTags
{
int type;
int mbid;
int tag;
int state; // used for reply the tagfield, and send to the controller the state of the mb
}sbuFlowTags;
// total 13 bytes, the order of the variables should be in order to avoid padding
// http://stackoverflow.com/questions/119123/why-isnt-sizeof-for-a-struct-equal-to-the-sum-of-sizeof-of-each-member
typedef struct __attribute__ ((__packed__)) sbuFiveTuple_struct
{
char protocol; // 1 byte
short srcPT; // 2 bytes
short dstPT; // 2 bytes
int srcIP; // 4 bytes
int dstIP; // 4 bytes
}sbuFiveTuple;
typedef struct sbuFlowTagsWrapper
{
sbuFlowTags *flowtag_header;
sbuFiveTuple *five_tuple;
}sbuFlowTagsWrapper;
#endif | 26.826923 | 116 | 0.730466 |
194b615f5a4690ab377f75b09b5ff6ea439d07f5 | 217 | h | C | IJSPhotoSDKProject/IJSPhotoSDKProject/ViewController.h | wangjinshan/IJSPhotoSDK | b1c696641f85793e5146f49a86aa3246f33d8a5b | [
"MIT"
] | 142 | 2017-07-11T01:56:46.000Z | 2022-02-10T07:05:18.000Z | IJSPhotoSDKProject/IJSPhotoSDKProject/ViewController.h | wangjinshan/IJSPhotoSDK | b1c696641f85793e5146f49a86aa3246f33d8a5b | [
"MIT"
] | 12 | 2017-09-16T08:39:36.000Z | 2020-07-08T08:52:01.000Z | IJSPhotoSDKProject/IJSPhotoSDKProject/ViewController.h | wangjinshan/IJSPhotoSDK | b1c696641f85793e5146f49a86aa3246f33d8a5b | [
"MIT"
] | 17 | 2017-10-22T15:03:32.000Z | 2021-02-08T03:27:45.000Z | //
// ViewController.h
// IJSPhotoSDKProject
//
// Created by shan on 2017/6/30.
// Copyright © 2017年 shanshen. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 15.5 | 52 | 0.705069 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.