max_stars_count
int64 301
224k
| text
stringlengths 6
1.05M
| token_count
int64 3
727k
|
---|---|---|
430 | <gh_stars>100-1000
import os
from pathlib import Path
BASE_DIR = Path(os.path.abspath(os.path.dirname(os.path.dirname(__file__))))
TEST_FIXTURES_DIR = BASE_DIR / "test_fixtures"
| 73 |
2,564 | <filename>medialibrary/src/main/cpp/Common/encoder/AVAudioEncoder.h
//
// Created by CainHuang on 2020-01-09.
//
#ifndef AVAUDIOENCODER_H
#define AVAUDIOENCODER_H
#include "AVMediaEncoder.h"
/**
* 音频编码器
*/
class AVAudioEncoder : public AVMediaEncoder {
public:
AVAudioEncoder(const std::shared_ptr<AVMediaMuxer> &mediaMuxer);
virtual ~AVAudioEncoder();
// 设置音频参数
void setAudioParams(int bitrate, int sampleRate, int channels);
AVMediaType getMediaType() override;
AVCodecID getCodecId() override;
};
#endif //AVAUDIOENCODER_H
| 248 |
945 | <reponame>OneSizeFitsQuorum/iotdb<gh_stars>100-1000
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.
*/
package org.apache.iotdb.db.mpp.plan.execution.config;
import org.apache.iotdb.db.auth.AuthorizerManager;
import org.apache.iotdb.db.mpp.plan.analyze.QueryType;
import org.apache.iotdb.db.mpp.plan.execution.config.executor.IConfigTaskExecutor;
import org.apache.iotdb.db.mpp.plan.statement.sys.AuthorStatement;
import com.google.common.util.concurrent.ListenableFuture;
public class AuthorizerTask implements IConfigTask {
private AuthorStatement authorStatement;
private AuthorizerManager authorizerManager = AuthorizerManager.getInstance();
public AuthorizerTask(AuthorStatement authorStatement) {
this.authorStatement = authorStatement;
}
@Override
public ListenableFuture<ConfigTaskResult> execute(IConfigTaskExecutor configTaskExecutor) {
// If the action is executed successfully, return the Future.
// If your operation is async, you can return the corresponding future directly.
if (authorStatement.getQueryType() == QueryType.WRITE) {
return authorizerManager.operatePermission(authorStatement);
} else {
return authorizerManager.queryPermission(authorStatement);
}
}
}
| 559 |
2,151 | <gh_stars>1000+
// Copyright (c) 2009 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.
#include "net/dns/dns_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
bool IsValidDNSDomainName(const char* name) {
size_t length = strlen(name);
for (size_t i = 0; i < length; ++i) {
if (name[i] == '.') {
if (i == 0 || name[i - 1] == '.') {
return false;
}
continue;
}
if (!net::IsValidHostLabelCharacter(name[i],
i == 0 || name[i - 1] == '.')) {
return false;
}
}
return true;
}
} // namespace
namespace net {
class DNSUtilTest : public testing::Test {
};
// IncludeNUL converts a char* to a std::string and includes the terminating
// NUL in the result.
static std::string IncludeNUL(const char* in) {
return std::string(in, strlen(in) + 1);
}
TEST_F(DNSUtilTest, DNSDomainFromDot) {
std::string out;
EXPECT_FALSE(DNSDomainFromDot("", &out));
EXPECT_FALSE(DNSDomainFromDot(".", &out));
EXPECT_FALSE(DNSDomainFromDot("..", &out));
EXPECT_FALSE(DNSDomainFromDot("foo,bar.com", &out));
EXPECT_TRUE(DNSDomainFromDot("com", &out));
EXPECT_EQ(out, IncludeNUL("\003com"));
EXPECT_TRUE(DNSDomainFromDot("google.com", &out));
EXPECT_EQ(out, IncludeNUL("\x006google\003com"));
EXPECT_TRUE(DNSDomainFromDot("www.google.com", &out));
EXPECT_EQ(out, IncludeNUL("\003www\006google\003com"));
// Label is 63 chars: still valid
EXPECT_TRUE(DNSDomainFromDot("z23456789a123456789a123456789a123456789a123456789a123456789a123", &out));
EXPECT_EQ(out, IncludeNUL("\077z23456789a123456789a123456789a123456789a123456789a123456789a123"));
// Label is too long: invalid
EXPECT_FALSE(DNSDomainFromDot("123456789a123456789a123456789a123456789a123456789a123456789a1234", &out));
// 253 characters in the name: still valid
EXPECT_TRUE(DNSDomainFromDot("abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abcdefghi.abc", &out));
EXPECT_EQ(out, IncludeNUL("\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\011abcdefghi\003abc"));
// 254 characters in the name: invalid
EXPECT_FALSE(DNSDomainFromDot("123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.1234", &out));
// Zero length labels should fail, except that one trailing dot is allowed
// (to disable suffix search):
EXPECT_FALSE(DNSDomainFromDot(".google.com", &out));
EXPECT_FALSE(DNSDomainFromDot("www..google.com", &out));
EXPECT_TRUE(DNSDomainFromDot("www.google.com.", &out));
EXPECT_EQ(out, IncludeNUL("\003www\006google\003com"));
}
TEST_F(DNSUtilTest, DNSDomainToString) {
EXPECT_EQ("", DNSDomainToString(IncludeNUL("")));
EXPECT_EQ("foo", DNSDomainToString(IncludeNUL("\003foo")));
EXPECT_EQ("foo.bar", DNSDomainToString(IncludeNUL("\003foo\003bar")));
EXPECT_EQ("foo.bar.uk",
DNSDomainToString(IncludeNUL("\003foo\003bar\002uk")));
// It should cope with a lack of root label.
EXPECT_EQ("foo.bar", DNSDomainToString("\003foo\003bar"));
// Invalid inputs should return an empty string.
EXPECT_EQ("", DNSDomainToString(IncludeNUL("\x80")));
EXPECT_EQ("", DNSDomainToString("\x06"));
}
TEST_F(DNSUtilTest, IsValidDNSDomain) {
const char* const bad_hostnames[] = {
"%20%20noodles.blorg", "noo dles.blorg ", "noo dles.blorg. ",
"^noodles.blorg", "noodles^.blorg", "noo&dles.blorg",
"noodles.blorg`", "www.-noodles.blorg",
};
// TODO(palmer): In the future, when we can remove support for invalid names,
// change the calls to from |IsValidDNSDomainName| to |IsValidDNSDomain|, and
// remove |IsValidDNSDomainName| (defined above).
for (size_t i = 0; i < arraysize(bad_hostnames); ++i) {
EXPECT_FALSE(IsValidDNSDomainName(bad_hostnames[i]));
}
const char* const good_hostnames[] = {
"www.noodles.blorg", "1www.noodles.blorg", "www.2noodles.blorg",
"www.n--oodles.blorg", "www.noodl_es.blorg", "www.no-_odles.blorg",
"www_.noodles.blorg", "www.noodles.blorg.", "_privet._tcp.local",
};
for (size_t i = 0; i < arraysize(good_hostnames); ++i) {
EXPECT_TRUE(IsValidDNSDomainName(good_hostnames[i]));
}
}
} // namespace net
| 2,109 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-3444-qg27-76cf",
"modified": "2022-05-13T01:16:54Z",
"published": "2022-05-13T01:16:54Z",
"aliases": [
"CVE-2018-2629"
],
"details": "Vulnerability in the Java SE, Java SE Embedded, JRockit component of Oracle Java SE (subcomponent: JGSS). Supported versions that are affected are Java SE: 6u171, 7u161, 8u152 and 9.0.1; Java SE Embedded: 8u151; JRockit: R28.3.16. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Java SE, Java SE Embedded, JRockit. Successful attacks require human interaction from a person other than the attacker. Successful attacks of this vulnerability can result in unauthorized creation, deletion or modification access to critical data or all Java SE, Java SE Embedded, JRockit accessible data. Note: This vulnerability applies to client and server deployment of Java. This vulnerability can be exploited through sandboxed Java Web Start applications and sandboxed Java applets. It can also be exploited by supplying data to APIs in the specified Component without using sandboxed Java Web Start applications or sandboxed Java applets, such as through a web service. CVSS 3.0 Base Score 5.3 (Integrity impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N).",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
}
],
"affected": [
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-2629"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2018:0095"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2018:0099"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2018:0100"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2018:0115"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2018:0349"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2018:1463"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2018:1812"
},
{
"type": "WEB",
"url": "https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2018/04/msg00003.html"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20180117-0001/"
},
{
"type": "WEB",
"url": "https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03911en_us"
},
{
"type": "WEB",
"url": "https://usn.ubuntu.com/3613-1/"
},
{
"type": "WEB",
"url": "https://usn.ubuntu.com/3614-1/"
},
{
"type": "WEB",
"url": "https://www.debian.org/security/2018/dsa-4144"
},
{
"type": "WEB",
"url": "https://www.debian.org/security/2018/dsa-4166"
},
{
"type": "WEB",
"url": "http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/102615"
},
{
"type": "WEB",
"url": "http://www.securitytracker.com/id/1040203"
}
],
"database_specific": {
"cwe_ids": [
],
"severity": "MODERATE",
"github_reviewed": false
}
} | 1,594 |
322 | <reponame>phenixmzy/apache-eagle-0.5
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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
* <p/>
* http://www.apache.org/licenses/LICENSE-2.0
* <p/>
* 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.
*/
package org.apache.eagle.jpm.analyzer.meta.impl.orm;
import org.apache.eagle.common.function.ThrowableFunction;
import org.apache.eagle.jpm.analyzer.meta.model.JobMetaEntity;
import org.codehaus.jettison.json.JSONArray;
import org.codehaus.jettison.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Map;
public class RelationToJobMetaEntity implements ThrowableFunction<ResultSet, JobMetaEntity, SQLException> {
private static final Logger LOG = LoggerFactory.getLogger(RelationToJobMetaEntity.class);
@Override
public JobMetaEntity apply(ResultSet resultSet) throws SQLException {
JobMetaEntity jobMetaEntity = new JobMetaEntity();
jobMetaEntity.setUuid(resultSet.getString(1));
jobMetaEntity.setJobDefId(resultSet.getString(2));
jobMetaEntity.setSiteId(resultSet.getString(3));
jobMetaEntity.setConfiguration(parse(resultSet.getString(4)));
jobMetaEntity.setEvaluators(new ArrayList<>());
try {
JSONArray jsonArray = new JSONArray(resultSet.getString(5));
for (int i = 0; i < jsonArray.length(); ++i) {
jobMetaEntity.getEvaluators().add(jsonArray.getString(i));
}
} catch (Exception e) {
LOG.warn("{}", e);
}
jobMetaEntity.setCreatedTime(resultSet.getLong(6));
jobMetaEntity.setModifiedTime(resultSet.getLong(7));
return jobMetaEntity;
}
private Map<String, Object> parse(String field) {
Map<String, Object> items = new java.util.HashMap<>();
try {
JSONObject jsonObject = new JSONObject(field);
Iterator<String> keyItemItr = jsonObject.keys();
while (keyItemItr.hasNext()) {
String itemKey = keyItemItr.next();
if (canParseToMap(jsonObject.getString(itemKey))) {
items.put(itemKey, parse(jsonObject.getString(itemKey)));
} else {
items.put(itemKey, jsonObject.get(itemKey));
}
}
} catch (Exception e) {
LOG.warn("{}", e);
}
return items;
}
private boolean canParseToMap(String field) {
try {
JSONObject jsonObject = new JSONObject(field);
Iterator<String> keyItemItr = jsonObject.keys();
while (keyItemItr.hasNext()) {
keyItemItr.next();
}
return true;
} catch (Exception e) {
return false;
}
}
}
| 1,403 |
304 | <filename>cloudnet-driver/src/main/java/de/dytanic/cloudnet/driver/network/protocol/chunk/listener/ChunkedPacketListener.java
/*
* Copyright 2019-2021 CloudNetService team & contributors
*
* 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.
*/
package de.dytanic.cloudnet.driver.network.protocol.chunk.listener;
import de.dytanic.cloudnet.driver.network.INetworkChannel;
import de.dytanic.cloudnet.driver.network.protocol.IPacket;
import de.dytanic.cloudnet.driver.network.protocol.IPacketListener;
import de.dytanic.cloudnet.driver.network.protocol.chunk.ChunkedPacket;
import java.io.IOException;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import org.jetbrains.annotations.NotNull;
public abstract class ChunkedPacketListener implements IPacketListener {
private final Lock lock = new ReentrantLock();
private final Map<UUID, ChunkedPacketSession> sessions = new HashMap<>();
@Override
public void handle(INetworkChannel channel, IPacket packet) throws Exception {
this.lock.lock();
try {
ChunkedPacket chunk = ChunkedPacket
.createIncomingPacket(packet.getChannel(), packet.getUniqueId(), packet.getHeader(), packet.getBuffer())
.readBuffer();
if (!this.sessions.containsKey(packet.getUniqueId())) {
this.sessions.put(packet.getUniqueId(), this.createSession(channel, packet.getUniqueId(), new HashMap<>()));
}
this.sessions.get(packet.getUniqueId()).handleIncomingChunk(chunk);
} finally {
this.lock.unlock();
}
}
public @NotNull Map<UUID, ChunkedPacketSession> getSessions() {
return this.sessions;
}
@NotNull
protected ChunkedPacketSession createSession(@NotNull INetworkChannel channel, @NotNull UUID sessionUniqueId,
@NotNull Map<String, Object> properties) throws IOException {
return new ChunkedPacketSession(channel, this, sessionUniqueId,
this.createOutputStream(sessionUniqueId, properties), properties);
}
@NotNull
protected abstract OutputStream createOutputStream(@NotNull UUID sessionUniqueId,
@NotNull Map<String, Object> properties) throws IOException;
protected void handleComplete(@NotNull ChunkedPacketSession session) throws IOException {
}
}
| 903 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-3qvq-5r47-f846",
"modified": "2022-05-01T18:35:42Z",
"published": "2022-05-01T18:35:42Z",
"aliases": [
"CVE-2007-5665"
],
"details": "STEngine.exe 172.16.58.3 in Novell ZENworks Endpoint Security Management (ESM) 3.5, and other ESM versions before 192.168.3.11, dynamically creates scripts in a world-writable directory when generating diagnostic reports, which allows local users to gain privileges, as demonstrated by creating a cmd.exe binary in the diagnostic report directory.",
"severity": [
],
"affected": [
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2007-5665"
},
{
"type": "WEB",
"url": "http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=635"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/28351"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/27146"
},
{
"type": "WEB",
"url": "http://www.securitytracker.com/id?1019155"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2008/0044"
}
],
"database_specific": {
"cwe_ids": [
],
"severity": "HIGH",
"github_reviewed": false
}
} | 579 |
679 | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.
*
*************************************************************/
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_slideshow.hxx"
// must be first
#include <canvas/debug.hxx>
#include <canvas/verbosetrace.hxx>
#include "animationtransitionfilternode.hxx"
#include "transitionfactory.hxx"
namespace slideshow {
namespace internal {
void AnimationTransitionFilterNode::dispose()
{
mxTransitionFilterNode.clear();
AnimationBaseNode::dispose();
}
AnimationActivitySharedPtr
AnimationTransitionFilterNode::createActivity() const
{
return TransitionFactory::createShapeTransition(
fillCommonParameters(),
getShape(),
getContext().mpSubsettableShapeManager,
getSlideSize(),
mxTransitionFilterNode );
}
} // namespace internal
} // namespace slideshow
| 474 |
2,113 | <filename>markwon-core/src/test/java/io/noties/markwon/core/suite/DeeplyNestedTest.java
package io.noties.markwon.core.suite;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
import io.noties.markwon.test.TestSpan.Document;
import static io.noties.markwon.test.TestSpan.args;
import static io.noties.markwon.test.TestSpan.document;
import static io.noties.markwon.test.TestSpan.span;
import static io.noties.markwon.test.TestSpan.text;
@RunWith(RobolectricTestRunner.class)
@Config(manifest = Config.NONE)
public class DeeplyNestedTest extends BaseSuiteTest {
/*
**bold *bold italic `bold italic code` bold italic* bold** normal
*/
@Test
public void test() {
final Document document = document(
span(BOLD,
text("bold "),
span(ITALIC,
text("bold italic "),
span(CODE,
args("multiline", false),
text("\u00a0bold italic code\u00a0")),
text(" bold italic")),
text(" bold")),
text(" normal")
);
matchInput("deeply-nested.md", document);
}
}
| 475 |
17,318 | <reponame>woozhijun/cat<gh_stars>1000+
/*
* Copyright (c) 2011-2018, <NAME>. All Rights Reserved.
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
package com.dianping.cat.report.page.overload.task;
import java.util.List;
import org.unidal.dal.jdbc.DalException;
import org.unidal.dal.jdbc.DalNotFoundException;
import org.unidal.lookup.annotation.Inject;
import org.unidal.lookup.annotation.Named;
import com.dianping.cat.Cat;
import com.dianping.cat.core.dal.DailyReport;
import com.dianping.cat.core.dal.DailyReportContent;
import com.dianping.cat.core.dal.DailyReportContentDao;
import com.dianping.cat.core.dal.DailyReportContentEntity;
import com.dianping.cat.core.dal.DailyReportDao;
import com.dianping.cat.core.dal.DailyReportEntity;
import com.dianping.cat.home.dal.report.Overload;
import com.dianping.cat.home.dal.report.OverloadDao;
@Named(type = CapacityUpdater.class, value = DailyCapacityUpdater.ID)
public class DailyCapacityUpdater implements CapacityUpdater {
public static final String ID = "daily_capacity_updater";
@Inject
private DailyReportContentDao m_dailyReportContentDao;
@Inject
private DailyReportDao m_dailyReportDao;
@Inject
private OverloadDao m_overloadDao;
@Inject
private CapacityUpdateStatusManager m_manager;
@Override
public String getId() {
return ID;
}
@Override
public void updateDBCapacity() throws DalException {
int maxId = m_manager.getDailyStatus();
while (true) {
List<DailyReportContent> reports = m_dailyReportContentDao
.findOverloadReport(maxId, DailyReportContentEntity.READSET_LENGTH);
for (DailyReportContent content : reports) {
try {
int reportId = content.getReportId();
double contentLength = content.getContentLength();
if (contentLength >= CapacityUpdater.CAPACITY) {
Overload overload = m_overloadDao.createLocal();
overload.setReportId(reportId);
overload.setReportSize(contentLength);
overload.setReportType(CapacityUpdater.DAILY_TYPE);
try {
DailyReport report = m_dailyReportDao.findByPK(reportId, DailyReportEntity.READSET_FULL);
overload.setPeriod(report.getPeriod());
m_overloadDao.insert(overload);
} catch (DalNotFoundException e) {
} catch (Exception e) {
Cat.logError(e);
}
}
} catch (Exception ex) {
Cat.logError(ex);
}
}
int size = reports.size();
if (size == 0) {
break;
} else {
maxId = reports.get(size - 1).getReportId();
}
}
m_manager.updateDailyStatus(maxId);
}
}
| 1,157 |
2,151 | <filename>skia/public/interfaces/bitmap_skbitmap_struct_traits.h
// Copyright 2016 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 SKIA_PUBLIC_INTERFACES_BITMAP_SKBITMAP_STRUCT_TRAITS_H_
#define SKIA_PUBLIC_INTERFACES_BITMAP_SKBITMAP_STRUCT_TRAITS_H_
#include "base/containers/span.h"
#include "mojo/public/cpp/base/big_buffer.h"
#include "mojo/public/cpp/base/big_buffer_mojom_traits.h"
#include "mojo/public/cpp/bindings/array_traits.h"
#include "skia/public/interfaces/bitmap.mojom.h"
#include "skia/public/interfaces/image_info_struct_traits.h"
#include "third_party/skia/include/core/SkBitmap.h"
namespace mojo {
// Struct traits to use SkBitmap for skia::mojom::Bitmap in Chrome C++ code.
template <>
struct StructTraits<skia::mojom::BitmapDataView, SkBitmap> {
static bool IsNull(const SkBitmap& b);
static void SetToNull(SkBitmap* b);
static const SkImageInfo& image_info(const SkBitmap& b);
static uint64_t row_bytes(const SkBitmap& b);
static mojo_base::BigBufferView pixel_data(const SkBitmap& b);
static bool Read(skia::mojom::BitmapDataView data, SkBitmap* b);
};
template <>
struct StructTraits<skia::mojom::InlineBitmapDataView, SkBitmap> {
static bool IsNull(const SkBitmap& b);
static void SetToNull(SkBitmap* b);
static const SkImageInfo& image_info(const SkBitmap& b);
static uint64_t row_bytes(const SkBitmap& b);
static base::span<const uint8_t> pixel_data(const SkBitmap& b);
static bool Read(skia::mojom::InlineBitmapDataView data, SkBitmap* b);
};
} // namespace mojo
#endif // SKIA_PUBLIC_INTERFACES_BITMAP_SKBITMAP_STRUCT_TRAITS_H_
| 634 |
735 | <gh_stars>100-1000
// NOTE: This file was generated by the ServiceGenerator.
// ----------------------------------------------------------------------------
// API:
// VM Migration API (vmmigration/v1)
// Description:
// Use the Migrate for Compute Engine API to programmatically migrate
// workloads.
// Documentation:
// https://cloud.google.com/migrate/compute-engine
#if SWIFT_PACKAGE || GTLR_USE_MODULAR_IMPORT
@import GoogleAPIClientForRESTCore;
#elif GTLR_BUILT_AS_FRAMEWORK
#import "GTLR/GTLRQuery.h"
#else
#import "GTLRQuery.h"
#endif
#if GTLR_RUNTIME_VERSION != 3000
#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source.
#endif
@class GTLRVMMigrationService_AddGroupMigrationRequest;
@class GTLRVMMigrationService_CancelCloneJobRequest;
@class GTLRVMMigrationService_CancelCutoverJobRequest;
@class GTLRVMMigrationService_CancelOperationRequest;
@class GTLRVMMigrationService_CloneJob;
@class GTLRVMMigrationService_CutoverJob;
@class GTLRVMMigrationService_DatacenterConnector;
@class GTLRVMMigrationService_FinalizeMigrationRequest;
@class GTLRVMMigrationService_Group;
@class GTLRVMMigrationService_MigratingVm;
@class GTLRVMMigrationService_PauseMigrationRequest;
@class GTLRVMMigrationService_RemoveGroupMigrationRequest;
@class GTLRVMMigrationService_ResumeMigrationRequest;
@class GTLRVMMigrationService_Source;
@class GTLRVMMigrationService_StartMigrationRequest;
@class GTLRVMMigrationService_TargetProject;
@class GTLRVMMigrationService_UtilizationReport;
// Generated comments include content from the discovery document; avoid them
// causing warnings since clang's checks are some what arbitrary.
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdocumentation"
NS_ASSUME_NONNULL_BEGIN
// ----------------------------------------------------------------------------
// Constants - For some of the query classes' properties below.
// ----------------------------------------------------------------------------
// view
/**
* Get the report metadata, without the list of VMs and their utilization info.
*
* Value: "BASIC"
*/
FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewBasic;
/**
* Include everything.
*
* Value: "FULL"
*/
FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewFull;
/**
* Get the migrating VM basic details. The basic details do not include the
* recent clone jobs and recent cutover jobs lists.
*
* Value: "MIGRATING_VM_VIEW_BASIC"
*/
FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewMigratingVmViewBasic;
/**
* Include everything.
*
* Value: "MIGRATING_VM_VIEW_FULL"
*/
FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewMigratingVmViewFull;
/**
* View is unspecified. The API will fallback to the default value.
*
* Value: "MIGRATING_VM_VIEW_UNSPECIFIED"
*/
FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewMigratingVmViewUnspecified;
/**
* The default / unset value. The API will default to FULL on single report
* request and BASIC for multiple reports request.
*
* Value: "UTILIZATION_REPORT_VIEW_UNSPECIFIED"
*/
FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewUtilizationReportViewUnspecified;
// ----------------------------------------------------------------------------
// Query Classes
//
/**
* Parent class for other VM Migration Service query classes.
*/
@interface GTLRVMMigrationServiceQuery : GTLRQuery
/** Selector specifying which fields to include in a partial response. */
@property(nonatomic, copy, nullable) NSString *fields;
@end
/**
* Gets information about a location.
*
* Method: vmmigration.projects.locations.get
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsGet : GTLRVMMigrationServiceQuery
/** Resource name for the location. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Fetches a @c GTLRVMMigrationService_Location.
*
* Gets information about a location.
*
* @param name Resource name for the location.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsGet
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Adds a MigratingVm to a Group.
*
* Method: vmmigration.projects.locations.groups.addGroupMigration
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsAddGroupMigration : GTLRVMMigrationServiceQuery
/** Required. The full path name of the Group to add to. */
@property(nonatomic, copy, nullable) NSString *group;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Adds a MigratingVm to a Group.
*
* @param object The @c GTLRVMMigrationService_AddGroupMigrationRequest to
* include in the query.
* @param group Required. The full path name of the Group to add to.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsAddGroupMigration
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_AddGroupMigrationRequest *)object
group:(NSString *)group;
@end
/**
* Creates a new Group in a given project and location.
*
* Method: vmmigration.projects.locations.groups.create
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsCreate : GTLRVMMigrationServiceQuery
/** Required. The group identifier. */
@property(nonatomic, copy, nullable) NSString *groupId;
/** Required. The Group's parent. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* A request ID to identify requests. Specify a unique request ID so that if
* you must retry your request, the server will know to ignore the request if
* it has already been completed. The server will guarantee that for at least
* 60 minutes since the first request. For example, consider a situation where
* you make an initial request and t he request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Creates a new Group in a given project and location.
*
* @param object The @c GTLRVMMigrationService_Group to include in the query.
* @param parent Required. The Group's parent.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsCreate
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_Group *)object
parent:(NSString *)parent;
@end
/**
* Deletes a single Group.
*
* Method: vmmigration.projects.locations.groups.delete
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsDelete : GTLRVMMigrationServiceQuery
/** Required. The Group name. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Optional. A request ID to identify requests. Specify a unique request ID so
* that if you must retry your request, the server will know to ignore the
* request if it has already been completed. The server will guarantee that for
* at least 60 minutes after the first request. For example, consider a
* situation where you make an initial request and t he request times out. If
* you make the request again with the same request ID, the server can check if
* original operation with the same request ID was received, and if so, will
* ignore the second request. This prevents clients from accidentally creating
* duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Deletes a single Group.
*
* @param name Required. The Group name.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsDelete
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Gets details of a single Group.
*
* Method: vmmigration.projects.locations.groups.get
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsGet : GTLRVMMigrationServiceQuery
/** Required. The group name. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Fetches a @c GTLRVMMigrationService_Group.
*
* Gets details of a single Group.
*
* @param name Required. The group name.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsGet
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Lists Groups in a given project and location.
*
* Method: vmmigration.projects.locations.groups.list
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsList : GTLRVMMigrationServiceQuery
/** Optional. The filter request. */
@property(nonatomic, copy, nullable) NSString *filter;
/** Optional. the order by fields for the result. */
@property(nonatomic, copy, nullable) NSString *orderBy;
/**
* Optional. The maximum number of groups to return. The service may return
* fewer than this value. If unspecified, at most 500 groups will be returned.
* The maximum value is 1000; values above 1000 will be coerced to 1000.
*/
@property(nonatomic, assign) NSInteger pageSize;
/**
* Required. A page token, received from a previous `ListGroups` call. Provide
* this to retrieve the subsequent page. When paginating, all other parameters
* provided to `ListGroups` must match the call that provided the page token.
*/
@property(nonatomic, copy, nullable) NSString *pageToken;
/** Required. The parent, which owns this collection of groups. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* Fetches a @c GTLRVMMigrationService_ListGroupsResponse.
*
* Lists Groups in a given project and location.
*
* @param parent Required. The parent, which owns this collection of groups.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsList
*
* @note Automatic pagination will be done when @c shouldFetchNextPages is
* enabled. See @c shouldFetchNextPages on @c GTLRService for more
* information.
*/
+ (instancetype)queryWithParent:(NSString *)parent;
@end
/**
* Updates the parameters of a single Group.
*
* Method: vmmigration.projects.locations.groups.patch
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsPatch : GTLRVMMigrationServiceQuery
/** The Group name. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* A request ID to identify requests. Specify a unique request ID so that if
* you must retry your request, the server will know to ignore the request if
* it has already been completed. The server will guarantee that for at least
* 60 minutes since the first request. For example, consider a situation where
* you make an initial request and t he request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Field mask is used to specify the fields to be overwritten in the Group
* resource by the update. The fields specified in the update_mask are relative
* to the resource, not the full request. A field will be overwritten if it is
* in the mask. If the user does not provide a mask then all fields will be
* overwritten.
*
* String format is a comma-separated list of fields.
*/
@property(nonatomic, copy, nullable) NSString *updateMask;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Updates the parameters of a single Group.
*
* @param object The @c GTLRVMMigrationService_Group to include in the query.
* @param name The Group name.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsPatch
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_Group *)object
name:(NSString *)name;
@end
/**
* Removes a MigratingVm from a Group.
*
* Method: vmmigration.projects.locations.groups.removeGroupMigration
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsRemoveGroupMigration : GTLRVMMigrationServiceQuery
/** Required. The name of the Group. */
@property(nonatomic, copy, nullable) NSString *group;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Removes a MigratingVm from a Group.
*
* @param object The @c GTLRVMMigrationService_RemoveGroupMigrationRequest to
* include in the query.
* @param group Required. The name of the Group.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsGroupsRemoveGroupMigration
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_RemoveGroupMigrationRequest *)object
group:(NSString *)group;
@end
/**
* Lists information about the supported locations for this service.
*
* Method: vmmigration.projects.locations.list
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsList : GTLRVMMigrationServiceQuery
/**
* A filter to narrow down results to a preferred subset. The filtering
* language accepts strings like "displayName=tokyo", and is documented in more
* detail in [AIP-160](https://google.aip.dev/160).
*/
@property(nonatomic, copy, nullable) NSString *filter;
/** The resource that owns the locations collection, if applicable. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* The maximum number of results to return. If not set, the service selects a
* default.
*/
@property(nonatomic, assign) NSInteger pageSize;
/**
* A page token received from the `next_page_token` field in the response. Send
* that page token to receive the subsequent page.
*/
@property(nonatomic, copy, nullable) NSString *pageToken;
/**
* Fetches a @c GTLRVMMigrationService_ListLocationsResponse.
*
* Lists information about the supported locations for this service.
*
* @param name The resource that owns the locations collection, if applicable.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsList
*
* @note Automatic pagination will be done when @c shouldFetchNextPages is
* enabled. See @c shouldFetchNextPages on @c GTLRService for more
* information.
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* Method: vmmigration.projects.locations.operations.cancel
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsOperationsCancel : GTLRVMMigrationServiceQuery
/** The name of the operation resource to be cancelled. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Fetches a @c GTLRVMMigrationService_Empty.
*
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @param object The @c GTLRVMMigrationService_CancelOperationRequest to
* include in the query.
* @param name The name of the operation resource to be cancelled.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsOperationsCancel
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_CancelOperationRequest *)object
name:(NSString *)name;
@end
/**
* Deletes a long-running operation. This method indicates that the client is
* no longer interested in the operation result. It does not cancel the
* operation. If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`.
*
* Method: vmmigration.projects.locations.operations.delete
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsOperationsDelete : GTLRVMMigrationServiceQuery
/** The name of the operation resource to be deleted. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Fetches a @c GTLRVMMigrationService_Empty.
*
* Deletes a long-running operation. This method indicates that the client is
* no longer interested in the operation result. It does not cancel the
* operation. If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`.
*
* @param name The name of the operation resource to be deleted.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsOperationsDelete
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service.
*
* Method: vmmigration.projects.locations.operations.get
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsOperationsGet : GTLRVMMigrationServiceQuery
/** The name of the operation resource. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service.
*
* @param name The name of the operation resource.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsOperationsGet
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the
* `name` binding allows API services to override the binding to use different
* resource name schemes, such as `users/ * /operations`. To override the
* binding, API services can add a binding such as `"/v1/{name=users/
* *}/operations"` to their service configuration. For backwards compatibility,
* the default name includes the operations collection id, however overriding
* users must ensure the name binding is the parent resource, without the
* operations collection id.
*
* Method: vmmigration.projects.locations.operations.list
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsOperationsList : GTLRVMMigrationServiceQuery
/** The standard list filter. */
@property(nonatomic, copy, nullable) NSString *filter;
/** The name of the operation's parent resource. */
@property(nonatomic, copy, nullable) NSString *name;
/** The standard list page size. */
@property(nonatomic, assign) NSInteger pageSize;
/** The standard list page token. */
@property(nonatomic, copy, nullable) NSString *pageToken;
/**
* Fetches a @c GTLRVMMigrationService_ListOperationsResponse.
*
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the
* `name` binding allows API services to override the binding to use different
* resource name schemes, such as `users/ * /operations`. To override the
* binding, API services can add a binding such as `"/v1/{name=users/
* *}/operations"` to their service configuration. For backwards compatibility,
* the default name includes the operations collection id, however overriding
* users must ensure the name binding is the parent resource, without the
* operations collection id.
*
* @param name The name of the operation's parent resource.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsOperationsList
*
* @note Automatic pagination will be done when @c shouldFetchNextPages is
* enabled. See @c shouldFetchNextPages on @c GTLRService for more
* information.
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Creates a new Source in a given project and location.
*
* Method: vmmigration.projects.locations.sources.create
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesCreate : GTLRVMMigrationServiceQuery
/** Required. The Source's parent. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* A request ID to identify requests. Specify a unique request ID so that if
* you must retry your request, the server will know to ignore the request if
* it has already been completed. The server will guarantee that for at least
* 60 minutes since the first request. For example, consider a situation where
* you make an initial request and t he request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/** Required. The source identifier. */
@property(nonatomic, copy, nullable) NSString *sourceId;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Creates a new Source in a given project and location.
*
* @param object The @c GTLRVMMigrationService_Source to include in the query.
* @param parent Required. The Source's parent.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesCreate
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_Source *)object
parent:(NSString *)parent;
@end
/**
* Creates a new DatacenterConnector in a given Source.
*
* Method: vmmigration.projects.locations.sources.datacenterConnectors.create
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDatacenterConnectorsCreate : GTLRVMMigrationServiceQuery
/** Required. The datacenterConnector identifier. */
@property(nonatomic, copy, nullable) NSString *datacenterConnectorId;
/**
* Required. The DatacenterConnector's parent. Required. The Source in where
* the new DatacenterConnector will be created. For example:
* `projects/my-project/locations/us-central1/sources/my-source`
*/
@property(nonatomic, copy, nullable) NSString *parent;
/**
* A request ID to identify requests. Specify a unique request ID so that if
* you must retry your request, the server will know to ignore the request if
* it has already been completed. The server will guarantee that for at least
* 60 minutes since the first request. For example, consider a situation where
* you make an initial request and t he request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Creates a new DatacenterConnector in a given Source.
*
* @param object The @c GTLRVMMigrationService_DatacenterConnector to include
* in the query.
* @param parent Required. The DatacenterConnector's parent. Required. The
* Source in where the new DatacenterConnector will be created. For example:
* `projects/my-project/locations/us-central1/sources/my-source`
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDatacenterConnectorsCreate
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_DatacenterConnector *)object
parent:(NSString *)parent;
@end
/**
* Deletes a single DatacenterConnector.
*
* Method: vmmigration.projects.locations.sources.datacenterConnectors.delete
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDatacenterConnectorsDelete : GTLRVMMigrationServiceQuery
/** Required. The DatacenterConnector name. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* A request ID to identify requests. Specify a unique request ID so that if
* you must retry your request, the server will know to ignore the request if
* it has already been completed. The server will guarantee that for at least
* 60 minutes after the first request. For example, consider a situation where
* you make an initial request and t he request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Deletes a single DatacenterConnector.
*
* @param name Required. The DatacenterConnector name.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDatacenterConnectorsDelete
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Gets details of a single DatacenterConnector.
*
* Method: vmmigration.projects.locations.sources.datacenterConnectors.get
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDatacenterConnectorsGet : GTLRVMMigrationServiceQuery
/** Required. The name of the DatacenterConnector. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Fetches a @c GTLRVMMigrationService_DatacenterConnector.
*
* Gets details of a single DatacenterConnector.
*
* @param name Required. The name of the DatacenterConnector.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDatacenterConnectorsGet
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Lists DatacenterConnectors in a given Source.
*
* Method: vmmigration.projects.locations.sources.datacenterConnectors.list
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDatacenterConnectorsList : GTLRVMMigrationServiceQuery
/** Optional. The filter request. */
@property(nonatomic, copy, nullable) NSString *filter;
/** Optional. the order by fields for the result. */
@property(nonatomic, copy, nullable) NSString *orderBy;
/**
* Optional. The maximum number of connectors to return. The service may return
* fewer than this value. If unspecified, at most 500 sources will be returned.
* The maximum value is 1000; values above 1000 will be coerced to 1000.
*/
@property(nonatomic, assign) NSInteger pageSize;
/**
* Required. A page token, received from a previous `ListDatacenterConnectors`
* call. Provide this to retrieve the subsequent page. When paginating, all
* other parameters provided to `ListDatacenterConnectors` must match the call
* that provided the page token.
*/
@property(nonatomic, copy, nullable) NSString *pageToken;
/** Required. The parent, which owns this collection of connectors. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* Fetches a @c GTLRVMMigrationService_ListDatacenterConnectorsResponse.
*
* Lists DatacenterConnectors in a given Source.
*
* @param parent Required. The parent, which owns this collection of
* connectors.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDatacenterConnectorsList
*
* @note Automatic pagination will be done when @c shouldFetchNextPages is
* enabled. See @c shouldFetchNextPages on @c GTLRService for more
* information.
*/
+ (instancetype)queryWithParent:(NSString *)parent;
@end
/**
* Deletes a single Source.
*
* Method: vmmigration.projects.locations.sources.delete
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDelete : GTLRVMMigrationServiceQuery
/** Required. The Source name. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Optional. A request ID to identify requests. Specify a unique request ID so
* that if you must retry your request, the server will know to ignore the
* request if it has already been completed. The server will guarantee that for
* at least 60 minutes after the first request. For example, consider a
* situation where you make an initial request and t he request times out. If
* you make the request again with the same request ID, the server can check if
* original operation with the same request ID was received, and if so, will
* ignore the second request. This prevents clients from accidentally creating
* duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Deletes a single Source.
*
* @param name Required. The Source name.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDelete
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* List remote source's inventory of VMs. The remote source is the onprem
* vCenter (remote in the sense it's not in Compute Engine). The inventory
* describes the list of existing VMs in that source. Note that this operation
* lists the VMs on the remote source, as opposed to listing the MigratingVms
* resources in the vmmigration service.
*
* Method: vmmigration.projects.locations.sources.fetchInventory
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesFetchInventory : GTLRVMMigrationServiceQuery
/**
* If this flag is set to true, the source will be queried instead of using
* cached results. Using this flag will make the call slower.
*/
@property(nonatomic, assign) BOOL forceRefresh;
/** Required. The name of the Source. */
@property(nonatomic, copy, nullable) NSString *source;
/**
* Fetches a @c GTLRVMMigrationService_FetchInventoryResponse.
*
* List remote source's inventory of VMs. The remote source is the onprem
* vCenter (remote in the sense it's not in Compute Engine). The inventory
* describes the list of existing VMs in that source. Note that this operation
* lists the VMs on the remote source, as opposed to listing the MigratingVms
* resources in the vmmigration service.
*
* @param source Required. The name of the Source.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesFetchInventory
*/
+ (instancetype)queryWithSource:(NSString *)source;
@end
/**
* Gets details of a single Source.
*
* Method: vmmigration.projects.locations.sources.get
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesGet : GTLRVMMigrationServiceQuery
/** Required. The Source name. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Fetches a @c GTLRVMMigrationService_Source.
*
* Gets details of a single Source.
*
* @param name Required. The Source name.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesGet
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Lists Sources in a given project and location.
*
* Method: vmmigration.projects.locations.sources.list
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesList : GTLRVMMigrationServiceQuery
/** Optional. The filter request. */
@property(nonatomic, copy, nullable) NSString *filter;
/** Optional. the order by fields for the result. */
@property(nonatomic, copy, nullable) NSString *orderBy;
/**
* Optional. The maximum number of sources to return. The service may return
* fewer than this value. If unspecified, at most 500 sources will be returned.
* The maximum value is 1000; values above 1000 will be coerced to 1000.
*/
@property(nonatomic, assign) NSInteger pageSize;
/**
* Required. A page token, received from a previous `ListSources` call. Provide
* this to retrieve the subsequent page. When paginating, all other parameters
* provided to `ListSources` must match the call that provided the page token.
*/
@property(nonatomic, copy, nullable) NSString *pageToken;
/** Required. The parent, which owns this collection of sources. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* Fetches a @c GTLRVMMigrationService_ListSourcesResponse.
*
* Lists Sources in a given project and location.
*
* @param parent Required. The parent, which owns this collection of sources.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesList
*
* @note Automatic pagination will be done when @c shouldFetchNextPages is
* enabled. See @c shouldFetchNextPages on @c GTLRService for more
* information.
*/
+ (instancetype)queryWithParent:(NSString *)parent;
@end
/**
* Initiates the cancellation of a running clone job.
*
* Method: vmmigration.projects.locations.sources.migratingVms.cloneJobs.cancel
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCloneJobsCancel : GTLRVMMigrationServiceQuery
/** Required. The clone job id */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Initiates the cancellation of a running clone job.
*
* @param object The @c GTLRVMMigrationService_CancelCloneJobRequest to include
* in the query.
* @param name Required. The clone job id
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCloneJobsCancel
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_CancelCloneJobRequest *)object
name:(NSString *)name;
@end
/**
* Initiates a Clone of a specific migrating VM.
*
* Method: vmmigration.projects.locations.sources.migratingVms.cloneJobs.create
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCloneJobsCreate : GTLRVMMigrationServiceQuery
/** Required. The clone job identifier. */
@property(nonatomic, copy, nullable) NSString *cloneJobId;
/** Required. The Clone's parent. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* A request ID to identify requests. Specify a unique request ID so that if
* you must retry your request, the server will know to ignore the request if
* it has already been completed. The server will guarantee that for at least
* 60 minutes since the first request. For example, consider a situation where
* you make an initial request and t he request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Initiates a Clone of a specific migrating VM.
*
* @param object The @c GTLRVMMigrationService_CloneJob to include in the
* query.
* @param parent Required. The Clone's parent.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCloneJobsCreate
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_CloneJob *)object
parent:(NSString *)parent;
@end
/**
* Gets details of a single CloneJob.
*
* Method: vmmigration.projects.locations.sources.migratingVms.cloneJobs.get
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCloneJobsGet : GTLRVMMigrationServiceQuery
/** Required. The name of the CloneJob. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Fetches a @c GTLRVMMigrationService_CloneJob.
*
* Gets details of a single CloneJob.
*
* @param name Required. The name of the CloneJob.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCloneJobsGet
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Lists CloneJobs of a given migrating VM.
*
* Method: vmmigration.projects.locations.sources.migratingVms.cloneJobs.list
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCloneJobsList : GTLRVMMigrationServiceQuery
/** Optional. The filter request. */
@property(nonatomic, copy, nullable) NSString *filter;
/** Optional. the order by fields for the result. */
@property(nonatomic, copy, nullable) NSString *orderBy;
/**
* Optional. The maximum number of clone jobs to return. The service may return
* fewer than this value. If unspecified, at most 500 clone jobs will be
* returned. The maximum value is 1000; values above 1000 will be coerced to
* 1000.
*/
@property(nonatomic, assign) NSInteger pageSize;
/**
* Required. A page token, received from a previous `ListCloneJobs` call.
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters provided to `ListCloneJobs` must match the call that provided the
* page token.
*/
@property(nonatomic, copy, nullable) NSString *pageToken;
/** Required. The parent, which owns this collection of source VMs. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* Fetches a @c GTLRVMMigrationService_ListCloneJobsResponse.
*
* Lists CloneJobs of a given migrating VM.
*
* @param parent Required. The parent, which owns this collection of source
* VMs.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCloneJobsList
*
* @note Automatic pagination will be done when @c shouldFetchNextPages is
* enabled. See @c shouldFetchNextPages on @c GTLRService for more
* information.
*/
+ (instancetype)queryWithParent:(NSString *)parent;
@end
/**
* Creates a new MigratingVm in a given Source.
*
* Method: vmmigration.projects.locations.sources.migratingVms.create
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCreate : GTLRVMMigrationServiceQuery
/** Required. The migratingVm identifier. */
@property(nonatomic, copy, nullable) NSString *migratingVmId;
/** Required. The MigratingVm's parent. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* A request ID to identify requests. Specify a unique request ID so that if
* you must retry your request, the server will know to ignore the request if
* it has already been completed. The server will guarantee that for at least
* 60 minutes since the first request. For example, consider a situation where
* you make an initial request and t he request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Creates a new MigratingVm in a given Source.
*
* @param object The @c GTLRVMMigrationService_MigratingVm to include in the
* query.
* @param parent Required. The MigratingVm's parent.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCreate
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_MigratingVm *)object
parent:(NSString *)parent;
@end
/**
* Initiates the cancellation of a running cutover job.
*
* Method: vmmigration.projects.locations.sources.migratingVms.cutoverJobs.cancel
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCutoverJobsCancel : GTLRVMMigrationServiceQuery
/** Required. The cutover job id */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Initiates the cancellation of a running cutover job.
*
* @param object The @c GTLRVMMigrationService_CancelCutoverJobRequest to
* include in the query.
* @param name Required. The cutover job id
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCutoverJobsCancel
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_CancelCutoverJobRequest *)object
name:(NSString *)name;
@end
/**
* Initiates a Cutover of a specific migrating VM. The returned LRO is
* completed when the cutover job resource is created and the job is initiated.
*
* Method: vmmigration.projects.locations.sources.migratingVms.cutoverJobs.create
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCutoverJobsCreate : GTLRVMMigrationServiceQuery
/** Required. The cutover job identifier. */
@property(nonatomic, copy, nullable) NSString *cutoverJobId;
/** Required. The Cutover's parent. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* A request ID to identify requests. Specify a unique request ID so that if
* you must retry your request, the server will know to ignore the request if
* it has already been completed. The server will guarantee that for at least
* 60 minutes since the first request. For example, consider a situation where
* you make an initial request and t he request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Initiates a Cutover of a specific migrating VM. The returned LRO is
* completed when the cutover job resource is created and the job is initiated.
*
* @param object The @c GTLRVMMigrationService_CutoverJob to include in the
* query.
* @param parent Required. The Cutover's parent.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCutoverJobsCreate
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_CutoverJob *)object
parent:(NSString *)parent;
@end
/**
* Gets details of a single CutoverJob.
*
* Method: vmmigration.projects.locations.sources.migratingVms.cutoverJobs.get
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCutoverJobsGet : GTLRVMMigrationServiceQuery
/** Required. The name of the CutoverJob. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Fetches a @c GTLRVMMigrationService_CutoverJob.
*
* Gets details of a single CutoverJob.
*
* @param name Required. The name of the CutoverJob.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCutoverJobsGet
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Lists CutoverJobs of a given migrating VM.
*
* Method: vmmigration.projects.locations.sources.migratingVms.cutoverJobs.list
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCutoverJobsList : GTLRVMMigrationServiceQuery
/** Optional. The filter request. */
@property(nonatomic, copy, nullable) NSString *filter;
/** Optional. the order by fields for the result. */
@property(nonatomic, copy, nullable) NSString *orderBy;
/**
* Optional. The maximum number of cutover jobs to return. The service may
* return fewer than this value. If unspecified, at most 500 cutover jobs will
* be returned. The maximum value is 1000; values above 1000 will be coerced to
* 1000.
*/
@property(nonatomic, assign) NSInteger pageSize;
/**
* Required. A page token, received from a previous `ListCutoverJobs` call.
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters provided to `ListCutoverJobs` must match the call that provided
* the page token.
*/
@property(nonatomic, copy, nullable) NSString *pageToken;
/** Required. The parent, which owns this collection of migrating VMs. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* Fetches a @c GTLRVMMigrationService_ListCutoverJobsResponse.
*
* Lists CutoverJobs of a given migrating VM.
*
* @param parent Required. The parent, which owns this collection of migrating
* VMs.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsCutoverJobsList
*
* @note Automatic pagination will be done when @c shouldFetchNextPages is
* enabled. See @c shouldFetchNextPages on @c GTLRService for more
* information.
*/
+ (instancetype)queryWithParent:(NSString *)parent;
@end
/**
* Deletes a single MigratingVm.
*
* Method: vmmigration.projects.locations.sources.migratingVms.delete
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsDelete : GTLRVMMigrationServiceQuery
/** Required. The name of the MigratingVm. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Deletes a single MigratingVm.
*
* @param name Required. The name of the MigratingVm.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsDelete
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Marks a migration as completed, deleting migration resources that are no
* longer being used. Only applicable after cutover is done.
*
* Method: vmmigration.projects.locations.sources.migratingVms.finalizeMigration
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsFinalizeMigration : GTLRVMMigrationServiceQuery
/** Required. The name of the MigratingVm. */
@property(nonatomic, copy, nullable) NSString *migratingVm;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Marks a migration as completed, deleting migration resources that are no
* longer being used. Only applicable after cutover is done.
*
* @param object The @c GTLRVMMigrationService_FinalizeMigrationRequest to
* include in the query.
* @param migratingVm Required. The name of the MigratingVm.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsFinalizeMigration
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_FinalizeMigrationRequest *)object
migratingVm:(NSString *)migratingVm;
@end
/**
* Gets details of a single MigratingVm.
*
* Method: vmmigration.projects.locations.sources.migratingVms.get
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsGet : GTLRVMMigrationServiceQuery
/** Required. The name of the MigratingVm. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Optional. The level of details of the migrating VM.
*
* Likely values:
* @arg @c kGTLRVMMigrationServiceViewMigratingVmViewUnspecified View is
* unspecified. The API will fallback to the default value. (Value:
* "MIGRATING_VM_VIEW_UNSPECIFIED")
* @arg @c kGTLRVMMigrationServiceViewMigratingVmViewBasic Get the migrating
* VM basic details. The basic details do not include the recent clone
* jobs and recent cutover jobs lists. (Value: "MIGRATING_VM_VIEW_BASIC")
* @arg @c kGTLRVMMigrationServiceViewMigratingVmViewFull Include everything.
* (Value: "MIGRATING_VM_VIEW_FULL")
*/
@property(nonatomic, copy, nullable) NSString *view;
/**
* Fetches a @c GTLRVMMigrationService_MigratingVm.
*
* Gets details of a single MigratingVm.
*
* @param name Required. The name of the MigratingVm.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsGet
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Lists MigratingVms in a given Source.
*
* Method: vmmigration.projects.locations.sources.migratingVms.list
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsList : GTLRVMMigrationServiceQuery
/** Optional. The filter request. */
@property(nonatomic, copy, nullable) NSString *filter;
/** Optional. the order by fields for the result. */
@property(nonatomic, copy, nullable) NSString *orderBy;
/**
* Optional. The maximum number of migrating VMs to return. The service may
* return fewer than this value. If unspecified, at most 500 migrating VMs will
* be returned. The maximum value is 1000; values above 1000 will be coerced to
* 1000.
*/
@property(nonatomic, assign) NSInteger pageSize;
/**
* Required. A page token, received from a previous `ListMigratingVms` call.
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters provided to `ListMigratingVms` must match the call that provided
* the page token.
*/
@property(nonatomic, copy, nullable) NSString *pageToken;
/** Required. The parent, which owns this collection of MigratingVms. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* Optional. The level of details of each migrating VM.
*
* Likely values:
* @arg @c kGTLRVMMigrationServiceViewMigratingVmViewUnspecified View is
* unspecified. The API will fallback to the default value. (Value:
* "MIGRATING_VM_VIEW_UNSPECIFIED")
* @arg @c kGTLRVMMigrationServiceViewMigratingVmViewBasic Get the migrating
* VM basic details. The basic details do not include the recent clone
* jobs and recent cutover jobs lists. (Value: "MIGRATING_VM_VIEW_BASIC")
* @arg @c kGTLRVMMigrationServiceViewMigratingVmViewFull Include everything.
* (Value: "MIGRATING_VM_VIEW_FULL")
*/
@property(nonatomic, copy, nullable) NSString *view;
/**
* Fetches a @c GTLRVMMigrationService_ListMigratingVmsResponse.
*
* Lists MigratingVms in a given Source.
*
* @param parent Required. The parent, which owns this collection of
* MigratingVms.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsList
*
* @note Automatic pagination will be done when @c shouldFetchNextPages is
* enabled. See @c shouldFetchNextPages on @c GTLRService for more
* information.
*/
+ (instancetype)queryWithParent:(NSString *)parent;
@end
/**
* Updates the parameters of a single MigratingVm.
*
* Method: vmmigration.projects.locations.sources.migratingVms.patch
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsPatch : GTLRVMMigrationServiceQuery
/** Output only. The identifier of the MigratingVm. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* A request ID to identify requests. Specify a unique request ID so that if
* you must retry your request, the server will know to ignore the request if
* it has already been completed. The server will guarantee that for at least
* 60 minutes since the first request. For example, consider a situation where
* you make an initial request and t he request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Field mask is used to specify the fields to be overwritten in the
* MigratingVm resource by the update. The fields specified in the update_mask
* are relative to the resource, not the full request. A field will be
* overwritten if it is in the mask. If the user does not provide a mask then
* all fields will be overwritten.
*
* String format is a comma-separated list of fields.
*/
@property(nonatomic, copy, nullable) NSString *updateMask;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Updates the parameters of a single MigratingVm.
*
* @param object The @c GTLRVMMigrationService_MigratingVm to include in the
* query.
* @param name Output only. The identifier of the MigratingVm.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsPatch
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_MigratingVm *)object
name:(NSString *)name;
@end
/**
* Pauses a migration for a VM. If cycle tasks are running they will be
* cancelled, preserving source task data. Further replication cycles will not
* be triggered while the VM is paused.
*
* Method: vmmigration.projects.locations.sources.migratingVms.pauseMigration
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsPauseMigration : GTLRVMMigrationServiceQuery
/** Required. The name of the MigratingVm. */
@property(nonatomic, copy, nullable) NSString *migratingVm;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Pauses a migration for a VM. If cycle tasks are running they will be
* cancelled, preserving source task data. Further replication cycles will not
* be triggered while the VM is paused.
*
* @param object The @c GTLRVMMigrationService_PauseMigrationRequest to include
* in the query.
* @param migratingVm Required. The name of the MigratingVm.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsPauseMigration
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_PauseMigrationRequest *)object
migratingVm:(NSString *)migratingVm;
@end
/**
* Resumes a migration for a VM. When called on a paused migration, will start
* the process of uploading data and creating snapshots; when called on a
* completed cut-over migration, will update the migration to active state and
* start the process of uploading data and creating snapshots.
*
* Method: vmmigration.projects.locations.sources.migratingVms.resumeMigration
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsResumeMigration : GTLRVMMigrationServiceQuery
/** Required. The name of the MigratingVm. */
@property(nonatomic, copy, nullable) NSString *migratingVm;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Resumes a migration for a VM. When called on a paused migration, will start
* the process of uploading data and creating snapshots; when called on a
* completed cut-over migration, will update the migration to active state and
* start the process of uploading data and creating snapshots.
*
* @param object The @c GTLRVMMigrationService_ResumeMigrationRequest to
* include in the query.
* @param migratingVm Required. The name of the MigratingVm.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsResumeMigration
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_ResumeMigrationRequest *)object
migratingVm:(NSString *)migratingVm;
@end
/**
* Starts migration for a VM. Starts the process of uploading data and creating
* snapshots, in replication cycles scheduled by the policy.
*
* Method: vmmigration.projects.locations.sources.migratingVms.startMigration
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsStartMigration : GTLRVMMigrationServiceQuery
/** Required. The name of the MigratingVm. */
@property(nonatomic, copy, nullable) NSString *migratingVm;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Starts migration for a VM. Starts the process of uploading data and creating
* snapshots, in replication cycles scheduled by the policy.
*
* @param object The @c GTLRVMMigrationService_StartMigrationRequest to include
* in the query.
* @param migratingVm Required. The name of the MigratingVm.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsStartMigration
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_StartMigrationRequest *)object
migratingVm:(NSString *)migratingVm;
@end
/**
* Updates the parameters of a single Source.
*
* Method: vmmigration.projects.locations.sources.patch
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesPatch : GTLRVMMigrationServiceQuery
/** Output only. The Source name. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* A request ID to identify requests. Specify a unique request ID so that if
* you must retry your request, the server will know to ignore the request if
* it has already been completed. The server will guarantee that for at least
* 60 minutes since the first request. For example, consider a situation where
* you make an initial request and t he request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Field mask is used to specify the fields to be overwritten in the Source
* resource by the update. The fields specified in the update_mask are relative
* to the resource, not the full request. A field will be overwritten if it is
* in the mask. If the user does not provide a mask then all fields will be
* overwritten.
*
* String format is a comma-separated list of fields.
*/
@property(nonatomic, copy, nullable) NSString *updateMask;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Updates the parameters of a single Source.
*
* @param object The @c GTLRVMMigrationService_Source to include in the query.
* @param name Output only. The Source name.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesPatch
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_Source *)object
name:(NSString *)name;
@end
/**
* Creates a new UtilizationReport.
*
* Method: vmmigration.projects.locations.sources.utilizationReports.create
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesUtilizationReportsCreate : GTLRVMMigrationServiceQuery
/** Required. The Utilization Report's parent. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* A request ID to identify requests. Specify a unique request ID so that if
* you must retry your request, the server will know to ignore the request if
* it has already been completed. The server will guarantee that for at least
* 60 minutes since the first request. For example, consider a situation where
* you make an initial request and t he request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Required. The ID to use for the report, which will become the final
* component of the reports's resource name. This value maximum length is 63
* characters, and valid characters are /a-z-/. It must start with an english
* letter and must not end with a hyphen.
*/
@property(nonatomic, copy, nullable) NSString *utilizationReportId;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Creates a new UtilizationReport.
*
* @param object The @c GTLRVMMigrationService_UtilizationReport to include in
* the query.
* @param parent Required. The Utilization Report's parent.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesUtilizationReportsCreate
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_UtilizationReport *)object
parent:(NSString *)parent;
@end
/**
* Deletes a single Utilization Report.
*
* Method: vmmigration.projects.locations.sources.utilizationReports.delete
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesUtilizationReportsDelete : GTLRVMMigrationServiceQuery
/** Required. The Utilization Report name. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Optional. A request ID to identify requests. Specify a unique request ID so
* that if you must retry your request, the server will know to ignore the
* request if it has already been completed. The server will guarantee that for
* at least 60 minutes after the first request. For example, consider a
* situation where you make an initial request and t he request times out. If
* you make the request again with the same request ID, the server can check if
* original operation with the same request ID was received, and if so, will
* ignore the second request. This prevents clients from accidentally creating
* duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Deletes a single Utilization Report.
*
* @param name Required. The Utilization Report name.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesUtilizationReportsDelete
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Gets a single Utilization Report.
*
* Method: vmmigration.projects.locations.sources.utilizationReports.get
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesUtilizationReportsGet : GTLRVMMigrationServiceQuery
/** Required. The Utilization Report name. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Optional. The level of details of the report. Defaults to FULL
*
* Likely values:
* @arg @c kGTLRVMMigrationServiceViewUtilizationReportViewUnspecified The
* default / unset value. The API will default to FULL on single report
* request and BASIC for multiple reports request. (Value:
* "UTILIZATION_REPORT_VIEW_UNSPECIFIED")
* @arg @c kGTLRVMMigrationServiceViewBasic Get the report metadata, without
* the list of VMs and their utilization info. (Value: "BASIC")
* @arg @c kGTLRVMMigrationServiceViewFull Include everything. (Value:
* "FULL")
*/
@property(nonatomic, copy, nullable) NSString *view;
/**
* Fetches a @c GTLRVMMigrationService_UtilizationReport.
*
* Gets a single Utilization Report.
*
* @param name Required. The Utilization Report name.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesUtilizationReportsGet
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Lists Utilization Reports of the given Source.
*
* Method: vmmigration.projects.locations.sources.utilizationReports.list
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesUtilizationReportsList : GTLRVMMigrationServiceQuery
/** Optional. The filter request. */
@property(nonatomic, copy, nullable) NSString *filter;
/** Optional. the order by fields for the result. */
@property(nonatomic, copy, nullable) NSString *orderBy;
/**
* Optional. The maximum number of reports to return. The service may return
* fewer than this value. If unspecified, at most 500 reports will be returned.
* The maximum value is 1000; values above 1000 will be coerced to 1000.
*/
@property(nonatomic, assign) NSInteger pageSize;
/**
* Required. A page token, received from a previous `ListUtilizationReports`
* call. Provide this to retrieve the subsequent page. When paginating, all
* other parameters provided to `ListUtilizationReports` must match the call
* that provided the page token.
*/
@property(nonatomic, copy, nullable) NSString *pageToken;
/** Required. The Utilization Reports parent. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* Optional. The level of details of each report. Defaults to BASIC.
*
* Likely values:
* @arg @c kGTLRVMMigrationServiceViewUtilizationReportViewUnspecified The
* default / unset value. The API will default to FULL on single report
* request and BASIC for multiple reports request. (Value:
* "UTILIZATION_REPORT_VIEW_UNSPECIFIED")
* @arg @c kGTLRVMMigrationServiceViewBasic Get the report metadata, without
* the list of VMs and their utilization info. (Value: "BASIC")
* @arg @c kGTLRVMMigrationServiceViewFull Include everything. (Value:
* "FULL")
*/
@property(nonatomic, copy, nullable) NSString *view;
/**
* Fetches a @c GTLRVMMigrationService_ListUtilizationReportsResponse.
*
* Lists Utilization Reports of the given Source.
*
* @param parent Required. The Utilization Reports parent.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesUtilizationReportsList
*
* @note Automatic pagination will be done when @c shouldFetchNextPages is
* enabled. See @c shouldFetchNextPages on @c GTLRService for more
* information.
*/
+ (instancetype)queryWithParent:(NSString *)parent;
@end
/**
* Creates a new TargetProject in a given project. NOTE: TargetProject is a
* global resource; hence the only supported value for location is `global`.
*
* Method: vmmigration.projects.locations.targetProjects.create
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsTargetProjectsCreate : GTLRVMMigrationServiceQuery
/** Required. The TargetProject's parent. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* A request ID to identify requests. Specify a unique request ID so that if
* you must retry your request, the server will know to ignore the request if
* it has already been completed. The server will guarantee that for at least
* 60 minutes since the first request. For example, consider a situation where
* you make an initial request and t he request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/** Required. The target_project identifier. */
@property(nonatomic, copy, nullable) NSString *targetProjectId;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Creates a new TargetProject in a given project. NOTE: TargetProject is a
* global resource; hence the only supported value for location is `global`.
*
* @param object The @c GTLRVMMigrationService_TargetProject to include in the
* query.
* @param parent Required. The TargetProject's parent.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsTargetProjectsCreate
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_TargetProject *)object
parent:(NSString *)parent;
@end
/**
* Deletes a single TargetProject. NOTE: TargetProject is a global resource;
* hence the only supported value for location is `global`.
*
* Method: vmmigration.projects.locations.targetProjects.delete
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsTargetProjectsDelete : GTLRVMMigrationServiceQuery
/** Required. The TargetProject name. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Optional. A request ID to identify requests. Specify a unique request ID so
* that if you must retry your request, the server will know to ignore the
* request if it has already been completed. The server will guarantee that for
* at least 60 minutes after the first request. For example, consider a
* situation where you make an initial request and t he request times out. If
* you make the request again with the same request ID, the server can check if
* original operation with the same request ID was received, and if so, will
* ignore the second request. This prevents clients from accidentally creating
* duplicate commitments. The request ID must be a valid UUID with the
* exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Deletes a single TargetProject. NOTE: TargetProject is a global resource;
* hence the only supported value for location is `global`.
*
* @param name Required. The TargetProject name.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsTargetProjectsDelete
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Gets details of a single TargetProject. NOTE: TargetProject is a global
* resource; hence the only supported value for location is `global`.
*
* Method: vmmigration.projects.locations.targetProjects.get
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsTargetProjectsGet : GTLRVMMigrationServiceQuery
/** Required. The TargetProject name. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* Fetches a @c GTLRVMMigrationService_TargetProject.
*
* Gets details of a single TargetProject. NOTE: TargetProject is a global
* resource; hence the only supported value for location is `global`.
*
* @param name Required. The TargetProject name.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsTargetProjectsGet
*/
+ (instancetype)queryWithName:(NSString *)name;
@end
/**
* Lists TargetProjects in a given project. NOTE: TargetProject is a global
* resource; hence the only supported value for location is `global`.
*
* Method: vmmigration.projects.locations.targetProjects.list
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsTargetProjectsList : GTLRVMMigrationServiceQuery
/** Optional. The filter request. */
@property(nonatomic, copy, nullable) NSString *filter;
/** Optional. the order by fields for the result. */
@property(nonatomic, copy, nullable) NSString *orderBy;
/**
* Optional. The maximum number of targets to return. The service may return
* fewer than this value. If unspecified, at most 500 targets will be returned.
* The maximum value is 1000; values above 1000 will be coerced to 1000.
*/
@property(nonatomic, assign) NSInteger pageSize;
/**
* Required. A page token, received from a previous `ListTargets` call. Provide
* this to retrieve the subsequent page. When paginating, all other parameters
* provided to `ListTargets` must match the call that provided the page token.
*/
@property(nonatomic, copy, nullable) NSString *pageToken;
/** Required. The parent, which owns this collection of targets. */
@property(nonatomic, copy, nullable) NSString *parent;
/**
* Fetches a @c GTLRVMMigrationService_ListTargetProjectsResponse.
*
* Lists TargetProjects in a given project. NOTE: TargetProject is a global
* resource; hence the only supported value for location is `global`.
*
* @param parent Required. The parent, which owns this collection of targets.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsTargetProjectsList
*
* @note Automatic pagination will be done when @c shouldFetchNextPages is
* enabled. See @c shouldFetchNextPages on @c GTLRService for more
* information.
*/
+ (instancetype)queryWithParent:(NSString *)parent;
@end
/**
* Updates the parameters of a single TargetProject. NOTE: TargetProject is a
* global resource; hence the only supported value for location is `global`.
*
* Method: vmmigration.projects.locations.targetProjects.patch
*
* Authorization scope(s):
* @c kGTLRAuthScopeVMMigrationServiceCloudPlatform
*/
@interface GTLRVMMigrationServiceQuery_ProjectsLocationsTargetProjectsPatch : GTLRVMMigrationServiceQuery
/** The name of the target project. */
@property(nonatomic, copy, nullable) NSString *name;
/**
* A request ID to identify requests. Specify a unique request ID so that if
* you must retry your request, the server will know to ignore the request if
* it has already been completed. The server will guarantee that for at least
* 60 minutes since the first request. For example, consider a situation where
* you make an initial request and t he request times out. If you make the
* request again with the same request ID, the server can check if original
* operation with the same request ID was received, and if so, will ignore the
* second request. This prevents clients from accidentally creating duplicate
* commitments. The request ID must be a valid UUID with the exception that
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@property(nonatomic, copy, nullable) NSString *requestId;
/**
* Field mask is used to specify the fields to be overwritten in the
* TargetProject resource by the update. The fields specified in the
* update_mask are relative to the resource, not the full request. A field will
* be overwritten if it is in the mask. If the user does not provide a mask
* then all fields will be overwritten.
*
* String format is a comma-separated list of fields.
*/
@property(nonatomic, copy, nullable) NSString *updateMask;
/**
* Fetches a @c GTLRVMMigrationService_Operation.
*
* Updates the parameters of a single TargetProject. NOTE: TargetProject is a
* global resource; hence the only supported value for location is `global`.
*
* @param object The @c GTLRVMMigrationService_TargetProject to include in the
* query.
* @param name The name of the target project.
*
* @return GTLRVMMigrationServiceQuery_ProjectsLocationsTargetProjectsPatch
*/
+ (instancetype)queryWithObject:(GTLRVMMigrationService_TargetProject *)object
name:(NSString *)name;
@end
NS_ASSUME_NONNULL_END
#pragma clang diagnostic pop
| 23,370 |
1,456 | <reponame>QAMP-Spring-2022-Transpiler-Hackathon/qiskit-terra
# This code is part of Qiskit.
#
# (C) Copyright IBM 2018, 2020.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivative works of this code must retain this
# copyright notice, and modified files need to carry a notice indicating
# that they have been altered from the originals.
""" Natural Gradient. """
from collections.abc import Iterable
from typing import List, Tuple, Callable, Optional, Union
import functools
import numpy as np
from qiskit.circuit.quantumcircuit import _compare_parameters
from qiskit.circuit import ParameterVector, ParameterExpression
from qiskit.utils import optionals as _optionals
from ..operator_base import OperatorBase
from ..list_ops.list_op import ListOp
from ..list_ops.composed_op import ComposedOp
from ..state_fns.circuit_state_fn import CircuitStateFn
from .circuit_gradients import CircuitGradient
from .circuit_qfis import CircuitQFI
from .gradient import Gradient
from .gradient_base import GradientBase
from .qfi import QFI
# Error tolerance variable
ETOL = 1e-8
# Cut-off ratio for small singular values for least square solver
RCOND = 1e-2
class NaturalGradient(GradientBase):
r"""Convert an operator expression to the first-order gradient.
Given an ill-posed inverse problem
x = arg min{||Ax-C||^2} (1)
one can use regularization schemes can be used to stabilize the system and find a numerical
solution
x_lambda = arg min{||Ax-C||^2 + lambda*R(x)} (2)
where R(x) represents the penalization term.
"""
def __init__(
self,
grad_method: Union[str, CircuitGradient] = "lin_comb",
qfi_method: Union[str, CircuitQFI] = "lin_comb_full",
regularization: Optional[str] = None,
**kwargs,
):
r"""
Args:
grad_method: The method used to compute the state gradient. Can be either
``'param_shift'`` or ``'lin_comb'`` or ``'fin_diff'``.
qfi_method: The method used to compute the QFI. Can be either
``'lin_comb_full'`` or ``'overlap_block_diag'`` or ``'overlap_diag'``.
regularization: Use the following regularization with a least square method to solve the
underlying system of linear equations
Can be either None or ``'ridge'`` or ``'lasso'`` or ``'perturb_diag'``
``'ridge'`` and ``'lasso'`` use an automatic optimal parameter search
If regularization is None but the metric is ill-conditioned or singular then
a least square solver is used without regularization
kwargs (dict): Optional parameters for a CircuitGradient
"""
super().__init__(grad_method)
self._qfi_method = QFI(qfi_method)
self._regularization = regularization
self._epsilon = kwargs.get("epsilon", 1e-6)
def convert(
self,
operator: OperatorBase,
params: Optional[
Union[ParameterVector, ParameterExpression, List[ParameterExpression]]
] = None,
) -> OperatorBase:
r"""
Args:
operator: The operator we are taking the gradient of.
params: The parameters we are taking the gradient with respect to. If not explicitly
passed, they are inferred from the operator and sorted by name.
Returns:
An operator whose evaluation yields the NaturalGradient.
Raises:
TypeError: If ``operator`` does not represent an expectation value or the quantum
state is not ``CircuitStateFn``.
ValueError: If ``params`` contains a parameter not present in ``operator``.
ValueError: If ``operator`` is not parameterized.
"""
if not isinstance(operator, ComposedOp):
if not (isinstance(operator, ListOp) and len(operator.oplist) == 1):
raise TypeError(
"Please provide the operator either as ComposedOp or as ListOp of "
"a CircuitStateFn potentially with a combo function."
)
if not isinstance(operator[-1], CircuitStateFn):
raise TypeError(
"Please make sure that the operator for which you want to compute "
"Quantum Fisher Information represents an expectation value or a "
"loss function and that the quantum state is given as "
"CircuitStateFn."
)
if len(operator.parameters) == 0:
raise ValueError("The operator we are taking the gradient of is not parameterized!")
if params is None:
params = sorted(operator.parameters, key=functools.cmp_to_key(_compare_parameters))
if not isinstance(params, Iterable):
params = [params]
# Instantiate the gradient
grad = Gradient(self._grad_method, epsilon=self._epsilon).convert(operator, params)
# Instantiate the QFI metric which is used to re-scale the gradient
metric = self._qfi_method.convert(operator[-1], params) * 0.25
def combo_fn(x):
return self.nat_grad_combo_fn(x, self.regularization)
# Define the ListOp which combines the gradient and the QFI according to the combination
# function defined above.
return ListOp([grad, metric], combo_fn=combo_fn)
@staticmethod
def nat_grad_combo_fn(x: tuple, regularization: Optional[str] = None) -> np.ndarray:
r"""
Natural Gradient Function Implementation.
Args:
x: Iterable consisting of Gradient, Quantum Fisher Information.
regularization: Regularization method.
Returns:
Natural Gradient.
Raises:
ValueError: If the gradient has imaginary components that are non-negligible.
"""
gradient = x[0]
metric = x[1]
if np.amax(np.abs(np.imag(gradient))) > ETOL:
raise ValueError(
"The imaginary part of the gradient are non-negligible. The largest absolute "
f"imaginary value in the gradient is {np.amax(np.abs(np.imag(gradient)))}. "
"Please increase the number of shots."
)
gradient = np.real(gradient)
if np.amax(np.abs(np.imag(metric))) > ETOL:
raise ValueError(
"The imaginary part of the metric are non-negligible. The largest "
"absolute imaginary value in the gradient is "
f"{np.amax(np.abs(np.imag(metric)))}. Please "
"increase the number of shots."
)
metric = np.real(metric)
if regularization is not None:
# If a regularization method is chosen then use a regularized solver to
# construct the natural gradient.
nat_grad = NaturalGradient._regularized_sle_solver(
metric, gradient, regularization=regularization
)
else:
# Check if numerical instabilities lead to a metric which is not positive semidefinite
w, v = np.linalg.eigh(metric)
if not all(ew >= (-1) * ETOL for ew in w):
raise ValueError(
f"The underlying metric has at least one Eigenvalue < -{ETOL}. "
f"The smallest Eigenvalue is {np.amin(w)} "
"Please use a regularized least-square solver for this problem or "
"increase the number of backend shots.",
)
if not all(ew >= 0 for ew in w):
# If not all eigenvalues are non-negative, set them to a small positive
# value
w = [max(ETOL, ew) for ew in w]
# Recompose the adapted eigenvalues with the eigenvectors to get a new metric
metric = np.real(v @ np.diag(w) @ np.linalg.inv(v))
nat_grad = np.linalg.lstsq(metric, gradient, rcond=RCOND)[0]
return nat_grad
@property
def qfi_method(self) -> CircuitQFI:
"""Returns ``CircuitQFI``.
Returns: ``CircuitQFI``.
"""
return self._qfi_method.qfi_method
@property
def regularization(self) -> Optional[str]:
"""Returns the regularization option.
Returns: the regularization option.
"""
return self._regularization
@staticmethod
def _reg_term_search(
metric: np.ndarray,
gradient: np.ndarray,
reg_method: Callable[[np.ndarray, np.ndarray, float], float],
lambda1: float = 1e-3,
lambda4: float = 1.0,
tol: float = 1e-8,
) -> Tuple[float, np.ndarray]:
"""
This method implements a search for a regularization parameter lambda by finding for the
corner of the L-curve.
More explicitly, one has to evaluate a suitable lambda by finding a compromise between
the error in the solution and the norm of the regularization.
This function implements a method presented in
`A simple algorithm to find the L-curve corner in the regularization of inverse problems
<https://arxiv.org/pdf/1608.04571.pdf>`
Args:
metric: See (1) and (2).
gradient: See (1) and (2).
reg_method: Given the metric, gradient and lambda the regularization method must return
``x_lambda`` - see (2).
lambda1: Left starting point for L-curve corner search.
lambda4: Right starting point for L-curve corner search.
tol: Termination threshold.
Returns:
Regularization coefficient which is the solution to the regularization inverse problem.
"""
def _get_curvature(x_lambda: List) -> float:
"""Calculate Menger curvature
<NAME>. (1930). Untersuchungen ̈uber Allgemeine Metrik. Math. Ann.,103(1), 466–501
Args:
``x_lambda: [[x_lambdaj], [x_lambdak], [x_lambdal]]``
``lambdaj < lambdak < lambdal``
Returns:
Menger Curvature
"""
eps = []
eta = []
for x in x_lambda:
try:
eps.append(np.log(np.linalg.norm(np.matmul(metric, x) - gradient) ** 2))
except ValueError:
eps.append(
np.log(np.linalg.norm(np.matmul(metric, np.transpose(x)) - gradient) ** 2)
)
eta.append(np.log(max(np.linalg.norm(x) ** 2, ETOL)))
p_temp = 1
c_k = 0
for i in range(3):
p_temp *= (eps[np.mod(i + 1, 3)] - eps[i]) ** 2 + (
eta[np.mod(i + 1, 3)] - eta[i]
) ** 2
c_k += eps[i] * eta[np.mod(i + 1, 3)] - eps[np.mod(i + 1, 3)] * eta[i]
c_k = 2 * c_k / max(1e-4, np.sqrt(p_temp))
return c_k
def get_lambda2_lambda3(lambda1, lambda4):
gold_sec = (1 + np.sqrt(5)) / 2.0
lambda2 = 10 ** ((np.log10(lambda4) + np.log10(lambda1) * gold_sec) / (1 + gold_sec))
lambda3 = 10 ** (np.log10(lambda1) + np.log10(lambda4) - np.log10(lambda2))
return lambda2, lambda3
lambda2, lambda3 = get_lambda2_lambda3(lambda1, lambda4)
lambda_ = [lambda1, lambda2, lambda3, lambda4]
x_lambda = []
for lam in lambda_:
x_lambda.append(reg_method(metric, gradient, lam))
counter = 0
while (lambda_[3] - lambda_[0]) / lambda_[3] >= tol:
counter += 1
c_2 = _get_curvature(x_lambda[:-1])
c_3 = _get_curvature(x_lambda[1:])
while c_3 < 0:
lambda_[3] = lambda_[2]
x_lambda[3] = x_lambda[2]
lambda_[2] = lambda_[1]
x_lambda[2] = x_lambda[1]
lambda2, _ = get_lambda2_lambda3(lambda_[0], lambda_[3])
lambda_[1] = lambda2
x_lambda[1] = reg_method(metric, gradient, lambda_[1])
c_3 = _get_curvature(x_lambda[1:])
if c_2 > c_3:
lambda_mc = lambda_[1]
x_mc = x_lambda[1]
lambda_[3] = lambda_[2]
x_lambda[3] = x_lambda[2]
lambda_[2] = lambda_[1]
x_lambda[2] = x_lambda[1]
lambda2, _ = get_lambda2_lambda3(lambda_[0], lambda_[3])
lambda_[1] = lambda2
x_lambda[1] = reg_method(metric, gradient, lambda_[1])
else:
lambda_mc = lambda_[2]
x_mc = x_lambda[2]
lambda_[0] = lambda_[1]
x_lambda[0] = x_lambda[1]
lambda_[1] = lambda_[2]
x_lambda[1] = x_lambda[2]
_, lambda3 = get_lambda2_lambda3(lambda_[0], lambda_[3])
lambda_[2] = lambda3
x_lambda[2] = reg_method(metric, gradient, lambda_[2])
return lambda_mc, x_mc
@staticmethod
@_optionals.HAS_SKLEARN.require_in_call
def _ridge(
metric: np.ndarray,
gradient: np.ndarray,
lambda_: float = 1.0,
lambda1: float = 1e-4,
lambda4: float = 1e-1,
tol_search: float = 1e-8,
fit_intercept: bool = True,
normalize: bool = False,
copy_a: bool = True,
max_iter: int = 1000,
tol: float = 0.0001,
solver: str = "auto",
random_state: Optional[int] = None,
) -> Tuple[float, np.ndarray]:
"""
Ridge Regression with automatic search for a good regularization term lambda
x_lambda = arg min{||Ax-C||^2 + lambda*||x||_2^2} (3)
`Scikit Learn Ridge Regression
<https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Ridge.html>`
Args:
metric: See (1) and (2).
gradient: See (1) and (2).
lambda_ : regularization parameter used if auto_search = False
lambda1: left starting point for L-curve corner search
lambda4: right starting point for L-curve corner search
tol_search: termination threshold for regularization parameter search
fit_intercept: if True calculate intercept
normalize: deprecated if fit_intercept=False, if True normalize A for regression
copy_a: if True A is copied, else overwritten
max_iter: max. number of iterations if solver is CG
tol: precision of the regression solution
solver: solver {‘auto’, ‘svd’, ‘cholesky’, ‘lsqr’, ‘sparse_cg’, ‘sag’, ‘saga’}
random_state: seed for the pseudo random number generator used when data is shuffled
Returns:
regularization coefficient, solution to the regularization inverse problem
Raises:
MissingOptionalLibraryError: scikit-learn not installed
"""
from sklearn.linear_model import Ridge
reg = Ridge(
alpha=lambda_,
fit_intercept=fit_intercept,
normalize=normalize,
copy_X=copy_a,
max_iter=max_iter,
tol=tol,
solver=solver,
random_state=random_state,
)
def reg_method(a, c, alpha):
reg.set_params(alpha=alpha)
reg.fit(a, c)
return reg.coef_
lambda_mc, x_mc = NaturalGradient._reg_term_search(
metric, gradient, reg_method, lambda1=lambda1, lambda4=lambda4, tol=tol_search
)
return lambda_mc, np.transpose(x_mc)
@staticmethod
@_optionals.HAS_SKLEARN.require_in_call
def _lasso(
metric: np.ndarray,
gradient: np.ndarray,
lambda_: float = 1.0,
lambda1: float = 1e-4,
lambda4: float = 1e-1,
tol_search: float = 1e-8,
fit_intercept: bool = True,
normalize: bool = False,
precompute: Union[bool, Iterable] = False,
copy_a: bool = True,
max_iter: int = 1000,
tol: float = 0.0001,
warm_start: bool = False,
positive: bool = False,
random_state: Optional[int] = None,
selection: str = "random",
) -> Tuple[float, np.ndarray]:
"""
Lasso Regression with automatic search for a good regularization term lambda
x_lambda = arg min{||Ax-C||^2/(2*n_samples) + lambda*||x||_1} (4)
`Scikit Learn Lasso Regression
<https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Lasso.html>`
Args:
metric: Matrix of size mxn.
gradient: Vector of size m.
lambda_ : regularization parameter used if auto_search = False
lambda1: left starting point for L-curve corner search
lambda4: right starting point for L-curve corner search
tol_search: termination threshold for regularization parameter search
fit_intercept: if True calculate intercept
normalize: deprecated if fit_intercept=False, if True normalize A for regression
precompute: If True compute and use Gram matrix to speed up calculations.
Gram matrix can also be given explicitly
copy_a: if True A is copied, else overwritten
max_iter: max. number of iterations if solver is CG
tol: precision of the regression solution
warm_start: if True reuse solution from previous fit as initialization
positive: if True force positive coefficients
random_state: seed for the pseudo random number generator used when data is shuffled
selection: {'cyclic', 'random'}
Returns:
regularization coefficient, solution to the regularization inverse problem
Raises:
MissingOptionalLibraryError: scikit-learn not installed
"""
from sklearn.linear_model import Lasso
reg = Lasso(
alpha=lambda_,
fit_intercept=fit_intercept,
normalize=normalize,
precompute=precompute,
copy_X=copy_a,
max_iter=max_iter,
tol=tol,
warm_start=warm_start,
positive=positive,
random_state=random_state,
selection=selection,
)
def reg_method(a, c, alpha):
reg.set_params(alpha=alpha)
reg.fit(a, c)
return reg.coef_
lambda_mc, x_mc = NaturalGradient._reg_term_search(
metric, gradient, reg_method, lambda1=lambda1, lambda4=lambda4, tol=tol_search
)
return lambda_mc, x_mc
@staticmethod
def _regularized_sle_solver(
metric: np.ndarray,
gradient: np.ndarray,
regularization: str = "perturb_diag",
lambda1: float = 1e-3,
lambda4: float = 1.0,
alpha: float = 0.0,
tol_norm_x: Tuple[float, float] = (1e-8, 5.0),
tol_cond_a: float = 1000.0,
) -> np.ndarray:
"""
Solve a linear system of equations with a regularization method and automatic lambda fitting
Args:
metric: Matrix of size mxn.
gradient: Vector of size m.
regularization: Regularization scheme to be used: 'ridge', 'lasso',
'perturb_diag_elements' or 'perturb_diag'
lambda1: left starting point for L-curve corner search (for 'ridge' and 'lasso')
lambda4: right starting point for L-curve corner search (for 'ridge' and 'lasso')
alpha: perturbation coefficient for 'perturb_diag_elements' and 'perturb_diag'
tol_norm_x: tolerance for the norm of x
tol_cond_a: tolerance for the condition number of A
Returns:
solution to the regularized system of linear equations
"""
if regularization == "ridge":
_, x = NaturalGradient._ridge(metric, gradient, lambda1=lambda1)
elif regularization == "lasso":
_, x = NaturalGradient._lasso(metric, gradient, lambda1=lambda1)
elif regularization == "perturb_diag_elements":
alpha = 1e-7
while np.linalg.cond(metric + alpha * np.diag(metric)) > tol_cond_a:
alpha *= 10
# include perturbation in A to avoid singularity
x, _, _, _ = np.linalg.lstsq(metric + alpha * np.diag(metric), gradient, rcond=None)
elif regularization == "perturb_diag":
alpha = 1e-7
while np.linalg.cond(metric + alpha * np.eye(len(gradient))) > tol_cond_a:
alpha *= 10
# include perturbation in A to avoid singularity
x, _, _, _ = np.linalg.lstsq(
metric + alpha * np.eye(len(gradient)), gradient, rcond=None
)
else:
# include perturbation in A to avoid singularity
x, _, _, _ = np.linalg.lstsq(metric, gradient, rcond=None)
if np.linalg.norm(x) > tol_norm_x[1] or np.linalg.norm(x) < tol_norm_x[0]:
if regularization == "ridge":
lambda1 = lambda1 / 10.0
_, x = NaturalGradient._ridge(metric, gradient, lambda1=lambda1, lambda4=lambda4)
elif regularization == "lasso":
lambda1 = lambda1 / 10.0
_, x = NaturalGradient._lasso(metric, gradient, lambda1=lambda1)
elif regularization == "perturb_diag_elements":
while np.linalg.cond(metric + alpha * np.diag(metric)) > tol_cond_a:
if alpha == 0:
alpha = 1e-7
else:
alpha *= 10
# include perturbation in A to avoid singularity
x, _, _, _ = np.linalg.lstsq(metric + alpha * np.diag(metric), gradient, rcond=None)
else:
if alpha == 0:
alpha = 1e-7
else:
alpha *= 10
while np.linalg.cond(metric + alpha * np.eye(len(gradient))) > tol_cond_a:
# include perturbation in A to avoid singularity
x, _, _, _ = np.linalg.lstsq(
metric + alpha * np.eye(len(gradient)), gradient, rcond=None
)
alpha *= 10
return x
| 10,562 |
12,278 | <gh_stars>1000+
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// 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 holder is ArangoDB GmbH, Cologne, Germany
///
/// @author <NAME>
////////////////////////////////////////////////////////////////////////////////
/// Google offers a way to run a death test against the system.
/// e.g. define set of cade that causes the process to crash.
/// this could be used to validate that certain states are considered
/// invalid in production code and not accidentially removed on refactorings.
/// However every such death test will generate a core-dump, even if the test is successful
/// This is inconvenient as it unnecessarily bloats up HDD usage and hides releveant coredumps
/// So this thin macro wraps around the GTEST :: EXPECT_DEATH macro and disables coredumps
/// only within the expected forked process
#pragma once
#ifndef _WIN32
#include <sys/resource.h>
// Enabled on Linux and Mac
inline void disableCoredump() {
auto core_limit = rlimit{};
core_limit.rlim_cur = 0;
core_limit.rlim_max = 0;
setrlimit(RLIMIT_CORE, &core_limit);
}
#define EXPECT_DEATH_CORE_FREE(func, assertion) \
EXPECT_DEATH( \
[&]() { \
disableCoredump(); \
func; \
}(), \
assertion)
#define ASSERT_DEATH_CORE_FREE(func, assertion) \
ASSERT_DEATH( \
[&]() { \
disableCoredump(); \
func; \
}(), \
assertion)
#else
// Disabled on windows
// If anyone knows how to disable core creation of a forked process
// please feel free to fix it here.
#define EXPECT_DEATH_CORE_FREE(func, assertion) EXPECT_TRUE(true)
#define ASSERT_DEATH_CORE_FREE(func, assertion) ASSERT_TRUE(true)
#endif
| 1,034 |
2,291 | {
"id" : 243,
"status" : "Invalid",
"summary" : "PathOverlay draw an itinerary with transparence problem",
"labels" : [ "Type-Defect", "Priority-Medium" ],
"stars" : 0,
"commentCount" : 2,
"comments" : [ {
"id" : 0,
"commenterId" : 476572048224933488,
"content" : "<b>What steps will reproduce the problem?</b>\n\r\n1. add an overlay of sub class PathOverlay,\r\n2. use the overlay to draw an itinerary with transparence, and use the code below for blend in the constructor of the overlay:\r\nthis.mPaint.setStyle(Paint.Style.STROKE);\r\nthis.mPaint.setFlags(Paint.ANTI_ALIAS_FLAG);\r\nthis.mPaint.setStrokeCap(Paint.Cap.ROUND);\r\nthis.mPaint.setStrokeJoin(Paint.Join.ROUND);\r\n3. add the overlay into map view \r\n\r\n<b>What is the expected output? What do you see instead?</b>\nthe color of the junction point between two section of the itinerary is darker than the color of the section. ref. the picture. \r\n\r\n<b>What version of the product are you using? On what operating system?</b>\nI use the latest version of osmdroid for android (version 3.0.4), and test it in emulator API 7 (WVGA800).\r\n\r\n<b>Please provide any additional information below.</b>\nI think it is because osmdroid draw all things in the same canvas, the method setXfermode\r\ncan not give me the right result even I write like this in the constructor:\r\nthis.mPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC));\r\n\r\n",
"timestamp" : 1311079662,
"attachments" : [ {
"id" : 2430000000,
"fileName" : "1.png",
"fileSize" : 73183
} ]
}, {
"id" : 1,
"commenterId" : 7646092065249173135,
"content" : "This is not an osmdroid related issue.",
"timestamp" : 1362505784,
"attachments" : [ ]
} ]
} | 673 |
4,901 | <filename>third_party/android/platform-libcore/android-platform-libcore/luni/src/test/java/libcore/java/io/FilterInputStreamNullSourceTest.java
/*
* Copyright (C) 2010 The Android 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.
*/
package libcore.java.io;
import java.io.BufferedInputStream;
import java.io.DataInputStream;
import java.io.FilterInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.LineNumberInputStream;
import java.io.PushbackInputStream;
import java.security.DigestInputStream;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.zip.CRC32;
import java.util.zip.CheckedInputStream;
import java.util.zip.Inflater;
import java.util.zip.InflaterInputStream;
import javax.crypto.CipherInputStream;
import javax.crypto.NullCipher;
import junit.framework.TestCase;
public final class FilterInputStreamNullSourceTest extends TestCase {
public void testBufferedInputStream() throws IOException {
assertReadsFailWithIoException(new BufferedInputStream(null));
assertReadsFailWithIoException(new BufferedInputStream(null, 1024));
}
public void testCheckedInputStream() throws IOException {
assertReadsFailWithNullPointerException(new CheckedInputStream(null, new CRC32()));
}
public void testCipherInputStream() throws IOException {
InputStream in = new CipherInputStream(null, new NullCipher());
try {
in.read();
fail();
} catch (NullPointerException expected) {
}
assertEquals(0, in.available());
try {
in.close();
fail();
} catch (NullPointerException expected) {
}
}
public void testDataInputStream() throws IOException {
assertReadsFailWithNullPointerException(new DataInputStream(null));
}
public void testDigestInputStream() throws IOException, NoSuchAlgorithmException {
MessageDigest md5 = MessageDigest.getInstance("MD5");
assertReadsFailWithNullPointerException(new DigestInputStream(null, md5));
}
public void testFilterInputStream() throws IOException {
assertReadsFailWithNullPointerException(new FilterInputStream(null) {});
}
public void testInflaterInputStream() throws IOException {
try {
new InflaterInputStream(null);
fail();
} catch (NullPointerException expected) {
}
try {
new InflaterInputStream(null, new Inflater());
fail();
} catch (NullPointerException expected) {
}
try {
new InflaterInputStream(null, new Inflater(), 1024);
fail();
} catch (NullPointerException expected) {
}
}
public void testLineNumberInputStream() throws IOException {
assertReadsFailWithNullPointerException(new LineNumberInputStream(null));
}
public void testPushbackInputStream() throws IOException {
assertReadsFailWithIoException(new PushbackInputStream(null));
assertReadsFailWithIoException(new PushbackInputStream(null, 1024));
}
private void assertReadsFailWithIoException(InputStream in) throws IOException {
try {
in.read();
fail();
} catch (IOException expected) {
}
try {
in.available();
fail();
} catch (IOException expected) {
}
in.close();
}
private void assertReadsFailWithNullPointerException(InputStream in) throws IOException {
try {
in.read();
fail();
} catch (NullPointerException expected) {
}
try {
in.available();
fail();
} catch (NullPointerException expected) {
}
try {
in.close();
fail();
} catch (NullPointerException expected) {
}
}
}
| 1,688 |
428 | /*
** 2018 May 31
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
*/
package info.ata4.bsplib.struct;
import info.ata4.io.DataReader;
import info.ata4.io.DataWriter;
import java.io.IOException;
/**
* V11 structure found in Black Mesa, xengine(cu5) branch and later releases
* (introduced with the December 2017 Update.)
*
* Possibly found in recent Source 2013 games as well.
*/
public class DStaticPropV11 extends DStaticPropV11lite {
// m_FlagsEx
// Additional flags? Purpose and use unknown. Usually 0.
public int flagsEx;
@Override
public int getSize() {
return super.getSize() + 4; // 80
}
@Override
public void read(DataReader in) throws IOException {
super.read(in);
flagsEx = in.readInt();
}
@Override
public void write(DataWriter out) throws IOException {
super.write(out);
out.writeInt(flagsEx);
}
}
| 433 |
458 | # - * - encoding : utf - 8 - * -
"""
:copyright: 2017-2018 H2O.ai, Inc.
:license: Apache License Version 2.0 (see LICENSE for details)
"""
#import abc
import os
import numpy as np
import pandas as pd
from daal.data_management import (AOSNumericTable, FileDataSource,
DataSource, HomogenNumericTable)
class IInput:
'''
Abstract class for generic input data in daal library
'''
# @abc.abstractclassmethod
def getNumericTable(self, **kwargs):
raise NotImplementedError()
class HomogenousDaalData(IInput):
'''
Converts numpy, pandas, csv-file to daal_solver NumericTables
e.g. np.array([[1,2,3],[4,5,6]])
pd.DataFrame(values)
'example.csv'
'''
def __init__(self, indata=None):
self.indata = indata
if self.indata is not None:
self._categorize(indata)
def __call__(self, indata):
if indata is not None and indata is not self.indata:
self._categorize(indata)
def _categorize(self, indata):
'''
decide what data type is input
:param indata:
'''
if isinstance(indata, np.ndarray):
self.informat = 'numpy'
elif isinstance(indata, pd.DataFrame):
self.informat = 'pandas'
elif isinstance(indata, str):
if os.path.isfile(input):
self.informat = 'csv'
else:
raise ValueError("DaalData error in intialization,\
no valid format given.")
else:
raise ValueError("DaalData error in intialization,\
no valid format given.")
self.indata = indata
def getNumericTable(self, **kwargs):
if self.informat == 'numpy':
return HomogenNumericTable(self.indata)
if self.informat == 'pandas':
array = self.indata.as_matrix()
return HomogenNumericTable(array)
if self.informat == 'csv':
dataSource = \
FileDataSource(self.indata,
DataSource.doAllocateNumericTable,
DataSource.doDictionaryFormContext)
dataSource.loadDataBlock()
return dataSource.getNumericTable()
raise ValueError("Cannot identify input type.")
class HeterogenousDaalData(HomogenousDaalData):
'''
Heterogenous data with numpy:
np.array([(1,2.3),(2,-1,-0.9)],
dtype=('x',np.float32), ('y', np.float64)])
'''
def __init__(self, indata=None):
HomogenousDaalData.__init__(indata)
def __call__(self, indata):
HomogenousDaalData.__call__(self, indata)
def _getStructureArray(self, dataframe, dtypes):
'''
:param dataframe:
:param dtypes:
:output structured numpy array
'''
dataList = []
for i in range(dataframe.shape[0]):
dataList.append(tuple(dataframe.loc[i]))
decDtype = list(zip(dataframe.columns.tolist(), dtypes))
array = np.array(dataList, dtype=decDtype)
return array
def getNumericTable(self, **kwargs):
if self.informat == 'numpy':
return AOSNumericTable(self.indata)
if self.informat == 'pandas':
array = self._getStructureArray(
self.indata,
dtypes=self.indata.dtypes)
return AOSNumericTable(array)
if self.informat == 'csv':
dataSource = FileDataSource(
self.indata,
DataSource.notAllocateNumericTable,
DataSource.doDictionaryFromContext)
if 'nRows' not in kwargs and 'dtype' not in kwargs:
raise ValueError("HeterogenousDaalData, for csv file, \
'nrows' and 'dtypes' must be specified.")
nRows = kwargs['nRows']
dtype = kwargs['dtype']
array = np.empty([nRows,], dtype=dtype)
nT = AOSNumericTable(array)
return dataSource.loadDataBlock(nRows, nT)
return None
| 1,984 |
2,151 | // Copyright 2017 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 REMOTING_IOS_SESSION_REMOTING_CLIENT_H_
#define REMOTING_IOS_SESSION_REMOTING_CLIENT_H_
#import <CoreGraphics/CoreGraphics.h>
#import <Foundation/Foundation.h>
#import "remoting/ios/display/gl_display_handler.h"
#include "remoting/client/feedback_data.h"
#include "remoting/protocol/client_authentication_config.h"
#include "remoting/protocol/connection_to_host.h"
namespace remoting {
class GestureInterpreter;
class KeyboardInterpreter;
} // namespace remoting
@class HostInfo;
@class GlDisplayHandler;
// A list of notifications that will be sent out for different types of Remoting
// Client events.
//
extern NSString* const kHostSessionStatusChanged;
extern NSString* const kHostSessionPinProvided;
// List of keys in user info from events.
extern NSString* const kSessionDetails;
extern NSString* const kSessionSupportsPairing;
extern NSString* const kSessonStateErrorCode;
extern NSString* const kHostSessionCreatePairing;
extern NSString* const kHostSessionHostName;
extern NSString* const kHostSessionPin;
// Remoting Client is the entry point for starting a session with a remote
// host. This object should not be reused. Remoting Client will use the default
// NSNotificationCenter to signal session state changes using the key
// |kHostSessionStatusChanged|. It expects to receive an event back on
// |kHostSessionPinProvided| when the session is asking for a PIN authenication.
@interface RemotingClient : NSObject<GlDisplayHandlerDelegate>
// Connect to a given host.
// |hostInfo| is all the details around a host.
// |username| is the username to be used when connecting.
// |accessToken| is the oAuth access token to provided to create the session.
- (void)connectToHost:(HostInfo*)hostInfo
username:(NSString*)username
accessToken:(NSString*)accessToken;
// Disconnect the current host connection.
- (void)disconnectFromHost;
// Mirrors the native client session delegate interface:
- (void)onConnectionState:(remoting::protocol::ConnectionToHost::State)state
error:(remoting::protocol::ErrorCode)error;
- (void)commitPairingCredentialsForHost:(NSString*)host
id:(NSString*)id
secret:(NSString*)secret;
- (void)
fetchSecretWithPairingSupported:(BOOL)pairingSupported
callback:
(const remoting::protocol::SecretFetchedCallback&)
secretFetchedCallback;
- (void)fetchThirdPartyTokenForUrl:(NSString*)tokenUrl
clientId:(NSString*)clinetId
scopes:(NSString*)scopes
callback:(const remoting::protocol::
ThirdPartyTokenFetchedCallback&)
tokenFetchedCallback;
- (void)setCapabilities:(NSString*)capabilities;
- (void)handleExtensionMessageOfType:(NSString*)type message:(NSString*)message;
- (void)setHostResolution:(CGSize)dipsResolution scale:(int)scale;
- (void)setVideoChannelEnabled:(BOOL)enabled;
// Creates a feedback data and returns it to the callback.
- (void)createFeedbackDataWithCallback:
(void (^)(const remoting::FeedbackData&))callback;
// The display handler tied to the remoting client used to display the host.
@property(nonatomic, strong) GlDisplayHandler* displayHandler;
// The host info used to make the remoting client connection.
@property(nonatomic, readonly) HostInfo* hostInfo;
// The gesture interpreter used to handle gestures. It has no effect if the
// session is not connected.
@property(nonatomic, readonly) remoting::GestureInterpreter* gestureInterpreter;
// The keyboard interpreter used to convert key events and send them to the
// host. It has no effect if the session is not connected.
@property(nonatomic, readonly)
remoting::KeyboardInterpreter* keyboardInterpreter;
@end
#endif // REMOTING_IOS_SESSION_REMOTING_CLIENT_H_
| 1,452 |
333 | <filename>cxxtest/cxxtest/GlobalFixture.cpp<gh_stars>100-1000
/*
-------------------------------------------------------------------------
CxxTest: A lightweight C++ unit testing library.
Copyright (c) 2008 Sandia Corporation.
This software is distributed under the LGPL License v2.1
For more information, see the COPYING file in the top CxxTest directory.
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
the U.S. Government retains certain rights in this software.
-------------------------------------------------------------------------
*/
#ifndef __cxxtest__GlobalFixture_cpp__
#define __cxxtest__GlobalFixture_cpp__
#include <cxxtest/GlobalFixture.h>
namespace CxxTest
{
bool GlobalFixture::setUpWorld() { return true; }
bool GlobalFixture::tearDownWorld() { return true; }
bool GlobalFixture::setUp() { return true; }
bool GlobalFixture::tearDown() { return true; }
GlobalFixture::GlobalFixture() { attach( _list ); }
GlobalFixture::~GlobalFixture() { detach( _list ); }
GlobalFixture *GlobalFixture::firstGlobalFixture() { return (GlobalFixture *)_list.head(); }
GlobalFixture *GlobalFixture::lastGlobalFixture() { return (GlobalFixture *)_list.tail(); }
GlobalFixture *GlobalFixture::nextGlobalFixture() { return (GlobalFixture *)next(); }
GlobalFixture *GlobalFixture::prevGlobalFixture() { return (GlobalFixture *)prev(); }
}
#endif // __cxxtest__GlobalFixture_cpp__
| 447 |
1,822 | <gh_stars>1000+
// Copyright (c) 2017 <NAME>
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include <hpx/config.hpp>
#include <boost/accumulators/framework/accumulator_base.hpp>
#include <boost/accumulators/framework/depends_on.hpp>
#include <boost/accumulators/framework/extractor.hpp>
#include <boost/accumulators/framework/parameters/sample.hpp>
#include <boost/accumulators/numeric/functional.hpp>
#include <boost/accumulators/statistics/rolling_window.hpp>
#include <boost/accumulators/statistics_fwd.hpp>
namespace hpx { namespace util { namespace detail {
template <typename Sample>
struct rolling_min_impl : boost::accumulators::accumulator_base
{
typedef Sample float_type;
// for boost::result_of
typedef float_type result_type;
template <typename Args>
rolling_min_impl(Args const& /* args */)
: min_(boost::numeric::as_max(Sample()))
, is_dirty_(false)
{
}
template <typename Args>
void operator()(Args const& args)
{
boost::accumulators::find_accumulator<
boost::accumulators::tag::rolling_window>(
args[boost::accumulators::accumulator])(args);
is_dirty_ = true;
}
template <typename Args>
result_type result(Args const& args) const
{
if (is_dirty_)
{
using namespace boost::accumulators;
min_ = boost::numeric::as_max(Sample());
// work around problem in older Boost versions
auto r = rolling_window_plus1(args);
bool full = impl::is_rolling_window_plus1_full(args);
for (auto const& s : r.advance_begin(full ? 1 : 0))
{
boost::numeric::min_assign(min_, s);
}
is_dirty_ = false;
}
return min_;
}
private:
mutable Sample min_;
mutable bool is_dirty_;
};
}}} // namespace hpx::util::detail
///////////////////////////////////////////////////////////////////////////////
// tag::rolling_min
namespace boost { namespace accumulators {
namespace tag {
struct rolling_min : depends_on<rolling_window>
{
struct impl
{
template <typename Sample, typename Weight>
struct apply
{
typedef hpx::util::detail::rolling_min_impl<Sample> type;
};
};
};
} // namespace tag
///////////////////////////////////////////////////////////////////////////////
// extract::rolling_min
namespace extract {
extractor<tag::rolling_min> const rolling_min = {};
}
}} // namespace boost::accumulators
namespace hpx { namespace util {
namespace tag {
using boost::accumulators::tag::rolling_min;
}
using boost::accumulators::extract::rolling_min;
}} // namespace hpx::util
| 1,409 |
313 | //
// YBLExpressPriceTableView.h
// YC168
//
// Created by 乔同新 on 2017/4/18.
// Copyright © 2017年 乔同新. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void(^ExpressPriceTableViewCellDidSelectRowBlock)(NSIndexPath *indexPath,id model);
@interface YBLExpressPriceTableView : UITableView
@property (nonatomic, copy) ExpressPriceTableViewCellDidSelectRowBlock expressPriceTableViewCellDidSelectRowBlock;
- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style distanceRadiusType:(DistanceRadiusType)distanceRadiusType;
@property (nonatomic, strong) NSMutableArray *dataArray;
@property (nonatomic, assign) BOOL isCanDelete;
@end
| 229 |
368 | /*
Plugin-SDK (Grand Theft Auto San Andreas) header file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#pragma once
#include "PluginBase.h"
#include "CVehicle.h"
#include "CBaseModelInfo.h"
#include "CPtrListDoubleLink.h"
struct tScanLists {
CPtrListDoubleLink *buildingsList;
CPtrListDoubleLink *objectsList;
CPtrListDoubleLink *vehiclesList;
CPtrListDoubleLink *pedsList;
CPtrListDoubleLink *dummiesList;
};
VALIDATE_SIZE(tScanLists, 0x14);
struct tRenderListEntry {
CEntity *pEntity;
float distance;
};
VALIDATE_SIZE(tRenderListEntry, 8);
extern unsigned int MAX_INVISIBLE_ENTITY_PTRS; // default 150
extern unsigned int MAX_VISIBLE_ENTITY_PTRS; // default 1000
extern unsigned int MAX_VISIBLE_LOD_PTRS; // default 1000
extern unsigned int MAX_VISIBLE_SUPERLOD_PTRS; // default 50
class PLUGIN_API CRenderer {
public:
static bool &ms_bRenderTunnels;
static bool &ms_bRenderOutsideTunnels;
static tRenderListEntry *&ms_pLodDontRenderList;
static tRenderListEntry *&ms_pLodRenderList;
static CVehicle *&m_pFirstPersonVehicle;
static CEntity **ms_aInVisibleEntityPtrs; // static CEntity *ms_aInVisibleEntityPtrs[MAX_INVISIBLE_ENTITY_PTRS];
static CEntity **ms_aVisibleSuperLodPtrs; // static CEntity *ms_aVisibleSuperLodPtrs[MAX_VISIBLE_SUPERLOD_PTRS];
static CEntity **ms_aVisibleLodPtrs; // static CEntity *ms_aVisibleLodPtrs[MAX_VISIBLE_LOD_PTRS];
static CEntity **ms_aVisibleEntityPtrs; // static CEntity *ms_aVisibleEntityPtrs[MAX_VISIBLE_ENTITY_PTRS];
static unsigned int &ms_nNoOfVisibleSuperLods;
static unsigned int &ms_nNoOfInVisibleEntities;
static unsigned int &ms_nNoOfVisibleLods;
static unsigned int &ms_nNoOfVisibleEntities;
static float &ms_fFarClipPlane;
static float &ms_fCameraHeading;
static unsigned char &m_loadingPriority;
static bool &ms_bInTheSky;
static CVector &ms_vecCameraPosition;
static float &ms_lodDistScale; // default 1.2
static float &ms_lowLodDistScale; // default 1.0
// dummy function
static void Init();
// dummy function
static void Shutdown();
static void RenderFadingInEntities();
static void RenderFadingInUnderwaterEntities();
static void RenderOneRoad(CEntity* entity);
static void RenderOneNonRoad(CEntity* entity);
static void RemoveVehiclePedLights(CPhysical* entity);
static void AddEntityToRenderList(CEntity* entity, float distance);
static void ScanSectorList_ListModels(int sector_x, int sector_y);
static void ScanSectorList_ListModelsVisible(int sector_x, int sector_y);
static tRenderListEntry* GetLodRenderListBase();
static tRenderListEntry* GetLodDontRenderListBase();
static void ResetLodRenderLists();
static void AddToLodRenderList(CEntity* entity, float distance);
static void AddToLodDontRenderList(CEntity* entity, float distance);
static void ProcessLodRenderLists();
static void PreRender();
static void RenderRoads();
static void RenderEverythingBarRoads();
static void RenderFirstPersonVehicle();
static bool SetupLightingForEntity(CEntity* entity);
static int SetupMapEntityVisibility(CEntity* entity, CBaseModelInfo* modelInfo, float distance, bool arg3);
static int SetupEntityVisibility(CEntity* entity, float& outDistance);
static int SetupBigBuildingVisibility(CEntity* entity, float& outDistance);
static void ScanSectorList(int sector_x, int sector_y);
static void ScanBigBuildingList(int sector_x, int sector_y);
// returns objects count
static int GetObjectsInFrustum(CEntity** outEntities, float distance, RwMatrixTag* transformMat);
static bool ShouldModelBeStreamed(CEntity* entity, CVector const& origin, float farClip);
static void ScanWorld();
static void ScanPtrList_RequestModels(CPtrList& ptrList);
static void ConstructRenderList();
static void ScanSectorList_RequestModels(int sector_x, int sector_y);
static void RequestObjectsInFrustum(RwMatrixTag* transformMat, int modelRequesFlags);
static void RequestObjectsInDirection(CVector const& posn, float angle, int modelRequesFlags);
static void SetupScanLists(int sector_x, int sector_y);
};
extern unsigned int &gnRendererModelRequestFlags;
extern CEntity **&gpOutEntitiesForGetObjectsInFrustum; | 1,531 |
766 | // include all of the standard stl files
//
// although it may be considered bad practice to "use" namespace items in a header file,
// these types are so intrinsic to c++ that it would be worse practice to copy these names
// I feel the readability this provides trumps the reasons to not
#pragma once
#include "stl_util.hpp"
#include <string>
using std::string;
#include <memory>
using std::unique_ptr;
using std::shared_ptr;
using std::make_shared;
using std::make_unique;
using std_patch::to_string;
#include <vector>
using std::vector;
#include <functional>
using std::function;
// less common stuff, don't "use" them
#include <mutex>
#include <condition_variable>
#include <optional/optional.hpp>
using std::experimental::optional;
using std::experimental::nullopt;
using std::experimental::nullopt_t;
// noexcept was added to MSVC in Visua
#if defined(_MSC_VER) && _MSC_VER <= 1800
#define noexcept throw()
#endif
#include <json11/json11.hpp>
#undef noexcept
| 305 |
806 | <gh_stars>100-1000
package com.evenwell.powersaving.g3.powersaver;
import android.app.Service;
import android.content.ComponentName;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.IBinder;
import android.os.RemoteCallbackList;
import android.os.RemoteException;
import android.util.Log;
import com.evenwell.powersaving.g3.PowerSavingUtils;
import com.evenwell.powersaving.g3.powersaver.IPowerSavingController.Stub;
import com.evenwell.powersaving.g3.powersaver.PowerSavingController.IStateChangeListener;
import com.evenwell.powersaving.g3.powersaver.PowerSavingController.LATEST_EVENT_EXTRA;
import com.evenwell.powersaving.g3.powersaver.PowerSavingController.ServiceBinder;
public class RemotePowerSavingController extends Service {
private String TAG = getClass().getSimpleName();
private ServiceConnection conn = new C03941();
private Intent intent;
private IStateChangeListener listener = new C03973();
private boolean mBound = false;
private RemoteCallbackList<IStatusChangeListener> mCallbacks = new RemoteCallbackList();
private Handler mHandler;
private HandlerThread mHandlerThread;
private ServiceBinder mPowerSavingControllerbinder;
public final Stub remoteBinder = new C03952();
/* renamed from: com.evenwell.powersaving.g3.powersaver.RemotePowerSavingController$1 */
class C03941 implements ServiceConnection {
C03941() {
}
public void onServiceDisconnected(ComponentName name) {
Log.d(RemotePowerSavingController.this.TAG, "onServiceDisconnected");
RemotePowerSavingController.this.mPowerSavingControllerbinder.getService().unregisterStateChangeListener(RemotePowerSavingController.this.listener);
RemotePowerSavingController.this.mBound = false;
}
public void onServiceConnected(ComponentName name, IBinder service) {
Log.d(RemotePowerSavingController.this.TAG, "onServiceConnected");
RemotePowerSavingController.this.mPowerSavingControllerbinder = (ServiceBinder) service;
RemotePowerSavingController.this.mPowerSavingControllerbinder.getService().registerStateChangeListener(RemotePowerSavingController.this.listener);
RemotePowerSavingController.this.mBound = true;
}
}
/* renamed from: com.evenwell.powersaving.g3.powersaver.RemotePowerSavingController$2 */
class C03952 extends Stub {
C03952() {
}
public void applyInAactiveMode(String reason) throws RemoteException {
if (RemotePowerSavingController.this.getService() != null) {
RemotePowerSavingController.this.getService().updateEventStatusForQS();
RemotePowerSavingController.this.getService().applyInAactiveMode(reason);
}
}
public void applyExtremeMode(String reason) throws RemoteException {
if (RemotePowerSavingController.this.getService() != null && !PowerSavingUtils.isCharging(RemotePowerSavingController.this)) {
RemotePowerSavingController.this.getService().updateEventStatusForQS();
RemotePowerSavingController.this.getService().updateApplyEventStatusForOtherUI(LATEST_EVENT_EXTRA.MANUAL);
RemotePowerSavingController.this.getService().applyExtremeMode(reason);
}
}
public int getCurentMode() throws RemoteException {
if (RemotePowerSavingController.this.getService() != null) {
return RemotePowerSavingController.this.getService().getCurentMode();
}
return -999;
}
public void registerStateChangeListener(IStatusChangeListener listener) throws RemoteException {
synchronized (this) {
RemotePowerSavingController.this.mCallbacks.register(listener);
}
}
public void unregisterStateChangeListener(IStatusChangeListener listener) throws RemoteException {
synchronized (this) {
RemotePowerSavingController.this.mCallbacks.unregister(listener);
}
}
}
/* renamed from: com.evenwell.powersaving.g3.powersaver.RemotePowerSavingController$3 */
class C03973 implements IStateChangeListener {
C03973() {
}
public void onChange(final int status) {
Log.d(RemotePowerSavingController.this.TAG, "onChange status : " + status);
RemotePowerSavingController.this.mHandler.post(new Thread() {
public void run() {
super.run();
RemotePowerSavingController.this.notifyAll(status);
}
});
}
}
private void notifyAll(int status) {
synchronized (this) {
int len = this.mCallbacks.beginBroadcast();
for (int i = 0; i < len; i++) {
try {
((IStatusChangeListener) this.mCallbacks.getBroadcastItem(i)).onChange(status);
} catch (RemoteException e) {
e.printStackTrace();
}
}
this.mCallbacks.finishBroadcast();
}
}
public void onCreate() {
super.onCreate();
Log.d(this.TAG, "oncreate");
this.mHandlerThread = new HandlerThread("RemotePowerSavingController");
this.mHandlerThread.start();
this.mHandler = new Handler(this.mHandlerThread.getLooper());
this.intent = new Intent(this, PowerSavingController.class);
}
public IBinder onBind(Intent intent) {
if (!this.mBound) {
bindPowerSavingController();
}
return this.remoteBinder;
}
private PowerSavingController getService() {
if (this.mBound) {
return this.mPowerSavingControllerbinder.getService();
}
return null;
}
private void bindPowerSavingController() {
bindService(this.intent, this.conn, 1);
}
public void onDestroy() {
Log.d(this.TAG, "onDestory");
this.mHandlerThread.getLooper().quitSafely();
this.mCallbacks.kill();
this.mPowerSavingControllerbinder.getService().unregisterStateChangeListener(this.listener);
unbindService(this.conn);
super.onDestroy();
}
public boolean onUnbind(Intent intent) {
Log.d(this.TAG, "onUnbind");
return super.onUnbind(intent);
}
}
| 2,567 |
348 | {"nom":"Montcavrel","circ":"4ème circonscription","dpt":"Pas-de-Calais","inscrits":305,"abs":112,"votants":193,"blancs":8,"nuls":5,"exp":180,"res":[{"nuance":"REM","nom":"<NAME>","voix":75},{"nuance":"LR","nom":"<NAME>","voix":66},{"nuance":"FN","nom":"<NAME>","voix":20},{"nuance":"SOC","nom":"Mme <NAME>","voix":12},{"nuance":"FI","nom":"Mme <NAME>","voix":4},{"nuance":"ECO","nom":"Mme <NAME>","voix":2},{"nuance":"EXG","nom":"M. <NAME>","voix":1},{"nuance":"EXG","nom":"Mme <NAME>","voix":0},{"nuance":"DIV","nom":"Mme <NAME>","voix":0},{"nuance":"DVD","nom":"M. <NAME>","voix":0}]} | 241 |
383 | package org.gitlab.api.models;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.gitlab.api.TestUtils;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import java.io.IOException;
class GitlabIssueDeserializationTest {
@Test
void deserializationTest() {
ObjectMapper objectMapper = new ObjectMapper();
Assertions.assertDoesNotThrow(() -> objectMapper.readValue(
TestUtils.readDataFromResource("IssueExample.json"), GitlabIssue.class));
}
}
| 201 |
1,671 | /**
* Copyright 2016 LinkedIn Corp. 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.
*/
package com.github.ambry.messageformat;
import com.github.ambry.account.Account;
import com.github.ambry.account.Container;
import com.github.ambry.store.MockId;
import com.github.ambry.store.MockIdFactory;
import com.github.ambry.store.StoreKey;
import com.github.ambry.store.StoreKeyFactory;
import com.github.ambry.utils.ByteBufferInputStream;
import com.github.ambry.utils.Crc32;
import com.github.ambry.utils.CrcInputStream;
import com.github.ambry.utils.NettyByteBufLeakHelper;
import com.github.ambry.utils.SystemTime;
import com.github.ambry.utils.TestUtils;
import com.github.ambry.utils.Utils;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.util.Random;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
public class MessageFormatInputStreamTest {
private static short messageFormatHeaderVersionSaved;
private final NettyByteBufLeakHelper nettyByteBufLeakHelper = new NettyByteBufLeakHelper();
@BeforeClass
public static void saveMessageFormatHeaderVersionToUse() {
messageFormatHeaderVersionSaved = MessageFormatRecord.headerVersionToUse;
}
@After
public void resetMessageFormatHeaderVersionToUse() {
MessageFormatRecord.headerVersionToUse = messageFormatHeaderVersionSaved;
}
@Before
public void before() {
nettyByteBufLeakHelper.beforeTest();
}
@After
public void after() {
nettyByteBufLeakHelper.afterTest();
}
/**
* Tests for {@link PutMessageFormatInputStream} in different versions.
*/
@Test
public void messageFormatPutRecordsTest() throws IOException, MessageFormatException {
messageFormatPutRecordsTest(MessageFormatRecord.Blob_Version_V1, BlobType.DataBlob,
MessageFormatRecord.Message_Header_Version_V1);
messageFormatPutRecordsTest(MessageFormatRecord.Blob_Version_V2, BlobType.DataBlob,
MessageFormatRecord.Message_Header_Version_V1);
messageFormatPutRecordsTest(MessageFormatRecord.Blob_Version_V2, BlobType.MetadataBlob,
MessageFormatRecord.Message_Header_Version_V1);
messageFormatPutRecordsTest(MessageFormatRecord.Blob_Version_V2, BlobType.DataBlob,
MessageFormatRecord.Message_Header_Version_V2);
messageFormatPutRecordsTest(MessageFormatRecord.Blob_Version_V2, BlobType.MetadataBlob,
MessageFormatRecord.Message_Header_Version_V2);
messageFormatPutRecordsTest(MessageFormatRecord.Blob_Version_V2, BlobType.DataBlob,
MessageFormatRecord.Message_Header_Version_V3);
messageFormatPutRecordsTest(MessageFormatRecord.Blob_Version_V2, BlobType.MetadataBlob,
MessageFormatRecord.Message_Header_Version_V3);
}
private void messageFormatPutRecordsTest(short blobVersion, BlobType blobType, short headerVersion)
throws IOException, MessageFormatException {
StoreKey key = new MockId("id1");
StoreKeyFactory keyFactory = new MockIdFactory();
short accountId = Utils.getRandomShort(TestUtils.RANDOM);
short containerId = Utils.getRandomShort(TestUtils.RANDOM);
BlobProperties prop = new BlobProperties(10, "servid", accountId, containerId, false);
byte[] encryptionKey = new byte[100];
new Random().nextBytes(encryptionKey);
byte[] usermetadata = new byte[1000];
new Random().nextBytes(usermetadata);
int blobContentSize = 2000;
byte[] data = new byte[blobContentSize];
new Random().nextBytes(data);
short lifeVersion = 1;
long blobSize = -1;
MessageFormatRecord.headerVersionToUse = headerVersion;
if (blobVersion == MessageFormatRecord.Blob_Version_V1) {
blobSize = MessageFormatRecord.Blob_Format_V1.getBlobRecordSize(blobContentSize);
} else if (blobVersion == MessageFormatRecord.Blob_Version_V2 && blobType == BlobType.DataBlob) {
blobSize = (int) MessageFormatRecord.Blob_Format_V2.getBlobRecordSize(blobContentSize);
} else if (blobVersion == MessageFormatRecord.Blob_Version_V2 && blobType == BlobType.MetadataBlob) {
ByteBuffer byteBufferBlob = MessageFormatTestUtils.getBlobContentForMetadataBlob(blobContentSize);
data = byteBufferBlob.array();
blobContentSize = data.length;
blobSize = (int) MessageFormatRecord.Blob_Format_V2.getBlobRecordSize(blobContentSize);
}
ByteBufferInputStream stream = new ByteBufferInputStream(ByteBuffer.wrap(data));
MessageFormatInputStream messageFormatStream =
(blobVersion == MessageFormatRecord.Blob_Version_V2) ? new PutMessageFormatInputStream(key,
ByteBuffer.wrap(encryptionKey), prop, ByteBuffer.wrap(usermetadata), stream, blobContentSize, blobType,
lifeVersion)
: new PutMessageFormatBlobV1InputStream(key, prop, ByteBuffer.wrap(usermetadata), stream, blobContentSize,
blobType);
int headerSize = MessageFormatRecord.getHeaderSizeForVersion(headerVersion);
int blobEncryptionKeySize =
headerVersion != MessageFormatRecord.Message_Header_Version_V1 ? MessageFormatRecord.BlobEncryptionKey_Format_V1
.getBlobEncryptionKeyRecordSize(ByteBuffer.wrap(encryptionKey)) : 0;
int blobPropertiesRecordSize = MessageFormatRecord.BlobProperties_Format_V1.getBlobPropertiesRecordSize(prop);
int userMetadataSize =
MessageFormatRecord.UserMetadata_Format_V1.getUserMetadataSize(ByteBuffer.wrap(usermetadata));
Assert.assertEquals(messageFormatStream.getSize(),
headerSize + blobEncryptionKeySize + blobPropertiesRecordSize + userMetadataSize + blobSize
+ key.sizeInBytes());
// verify header
byte[] headerOutput = new byte[headerSize];
messageFormatStream.read(headerOutput);
ByteBuffer headerBuf = ByteBuffer.wrap(headerOutput);
Assert.assertEquals(headerVersion, headerBuf.getShort());
if (headerVersion == MessageFormatRecord.Message_Header_Version_V3) {
Assert.assertEquals(lifeVersion, headerBuf.getShort());
}
Assert.assertEquals(blobEncryptionKeySize + blobPropertiesRecordSize + userMetadataSize + blobSize,
headerBuf.getLong());
switch (headerVersion) {
case MessageFormatRecord.Message_Header_Version_V1:
Assert.assertEquals(headerSize + key.sizeInBytes(), headerBuf.getInt());
Assert.assertEquals(MessageFormatRecord.Message_Header_Invalid_Relative_Offset, headerBuf.getInt());
Assert.assertEquals(headerSize + key.sizeInBytes() + blobPropertiesRecordSize, headerBuf.getInt());
Assert.assertEquals(headerSize + key.sizeInBytes() + blobPropertiesRecordSize + userMetadataSize,
headerBuf.getInt());
break;
default: //case MessageFormatRecord.Message_Header_Version_V2 or V3:
Assert.assertEquals(headerSize + key.sizeInBytes(), headerBuf.getInt());
Assert.assertEquals(headerSize + key.sizeInBytes() + blobEncryptionKeySize, headerBuf.getInt());
Assert.assertEquals(MessageFormatRecord.Message_Header_Invalid_Relative_Offset, headerBuf.getInt());
Assert.assertEquals(headerSize + key.sizeInBytes() + blobEncryptionKeySize + blobPropertiesRecordSize,
headerBuf.getInt());
Assert.assertEquals(
headerSize + key.sizeInBytes() + blobEncryptionKeySize + blobPropertiesRecordSize + userMetadataSize,
headerBuf.getInt());
}
Crc32 crc = new Crc32();
crc.update(headerOutput, 0, headerSize - MessageFormatRecord.Crc_Size);
Assert.assertEquals(crc.getValue(), headerBuf.getLong());
// verify handle
byte[] handleOutput = new byte[key.sizeInBytes()];
ByteBuffer handleOutputBuf = ByteBuffer.wrap(handleOutput);
messageFormatStream.read(handleOutput);
byte[] dest = new byte[key.sizeInBytes()];
handleOutputBuf.get(dest);
Assert.assertArrayEquals(dest, key.toBytes());
// verify encryption key
if (headerVersion != MessageFormatRecord.Message_Header_Version_V1) {
byte[] blobEncryptionKeyOutput = new byte[blobEncryptionKeySize];
ByteBuffer blobEncryptionKeyBuf = ByteBuffer.wrap(blobEncryptionKeyOutput);
messageFormatStream.read(blobEncryptionKeyOutput);
Assert.assertEquals(blobEncryptionKeyBuf.getShort(), MessageFormatRecord.Blob_Encryption_Key_V1);
Assert.assertEquals(blobEncryptionKeyBuf.getInt(), 100);
dest = new byte[100];
blobEncryptionKeyBuf.get(dest);
Assert.assertArrayEquals(dest, encryptionKey);
crc = new Crc32();
crc.update(blobEncryptionKeyOutput, 0, blobEncryptionKeySize - MessageFormatRecord.Crc_Size);
Assert.assertEquals(crc.getValue(), blobEncryptionKeyBuf.getLong());
}
// verify blob properties
byte[] blobPropertiesOutput = new byte[blobPropertiesRecordSize];
ByteBuffer blobPropertiesBuf = ByteBuffer.wrap(blobPropertiesOutput);
messageFormatStream.read(blobPropertiesOutput);
Assert.assertEquals(blobPropertiesBuf.getShort(), 1);
BlobProperties propOutput = BlobPropertiesSerDe.getBlobPropertiesFromStream(
new DataInputStream(new ByteBufferInputStream(blobPropertiesBuf)));
Assert.assertEquals(10, propOutput.getBlobSize());
Assert.assertEquals("servid", propOutput.getServiceId());
Assert.assertEquals("AccountId mismatch", accountId, propOutput.getAccountId());
Assert.assertEquals("ContainerId mismatch", containerId, propOutput.getContainerId());
crc = new Crc32();
crc.update(blobPropertiesOutput, 0, blobPropertiesRecordSize - MessageFormatRecord.Crc_Size);
Assert.assertEquals(crc.getValue(), blobPropertiesBuf.getLong());
// verify user metadata
byte[] userMetadataOutput = new byte[userMetadataSize];
ByteBuffer userMetadataBuf = ByteBuffer.wrap(userMetadataOutput);
messageFormatStream.read(userMetadataOutput);
Assert.assertEquals(userMetadataBuf.getShort(), 1);
Assert.assertEquals(userMetadataBuf.getInt(), 1000);
dest = new byte[1000];
userMetadataBuf.get(dest);
Assert.assertArrayEquals(dest, usermetadata);
crc = new Crc32();
crc.update(userMetadataOutput, 0, userMetadataSize - MessageFormatRecord.Crc_Size);
Assert.assertEquals(crc.getValue(), userMetadataBuf.getLong());
// verify blob
CrcInputStream crcstream = new CrcInputStream(messageFormatStream);
DataInputStream streamData = new DataInputStream(crcstream);
Assert.assertEquals(streamData.readShort(), blobVersion);
if (blobVersion == MessageFormatRecord.Blob_Version_V2) {
Assert.assertEquals(streamData.readShort(), blobType.ordinal());
}
Assert.assertEquals(streamData.readLong(), blobContentSize);
for (int i = 0; i < blobContentSize; i++) {
Assert.assertEquals((byte) streamData.read(), data[i]);
}
long crcVal = crcstream.getValue();
Assert.assertEquals(crcVal, streamData.readLong());
// Verify Blob All
stream = new ByteBufferInputStream(ByteBuffer.wrap(data));
messageFormatStream = (blobVersion == MessageFormatRecord.Blob_Version_V2) ? new PutMessageFormatInputStream(key,
ByteBuffer.wrap(encryptionKey), prop, ByteBuffer.wrap(usermetadata), stream, blobContentSize, blobType)
: new PutMessageFormatBlobV1InputStream(key, prop, ByteBuffer.wrap(usermetadata), stream, blobContentSize,
blobType);
int totalSize;
switch (headerVersion) {
case MessageFormatRecord.Message_Header_Version_V1:
totalSize = headerSize + key.sizeInBytes() + blobPropertiesRecordSize + userMetadataSize + (int) blobSize;
break;
default: //case MessageFormatRecord.Message_Header_Version_V2:
totalSize = headerSize + key.sizeInBytes() + blobEncryptionKeySize + blobPropertiesRecordSize + userMetadataSize
+ (int) blobSize;
//TODO Add MessageFormatRecord.Message_Header_Version_V3 test code
}
ByteBuffer allBuf = ByteBuffer.allocate(totalSize);
messageFormatStream.read(allBuf.array());
BlobAll blobAll = MessageFormatRecord.deserializeBlobAll(new ByteBufferInputStream(allBuf), keyFactory);
Assert.assertEquals(key, blobAll.getStoreKey());
Assert.assertArrayEquals(usermetadata, blobAll.getBlobInfo().getUserMetadata());
Assert.assertEquals(blobContentSize, blobAll.getBlobData().getSize());
Assert.assertEquals(blobType, blobAll.getBlobData().getBlobType());
if (headerVersion != MessageFormatRecord.Message_Header_Version_V1) {
Assert.assertEquals(ByteBuffer.wrap(encryptionKey), blobAll.getBlobEncryptionKey());
} else {
Assert.assertEquals(null, blobAll.getBlobEncryptionKey());
}
ByteBuf byteBuf = blobAll.getBlobData().content();
try {
Assert.assertEquals(Unpooled.wrappedBuffer(data), byteBuf);
} finally {
byteBuf.release();
}
}
/**
* Tests for {@link DeleteMessageFormatInputStream} in different versions.
*/
@Test
public void messageFormatDeleteRecordTest() throws IOException, MessageFormatException {
short[] versions = {MessageFormatRecord.Update_Version_V1, MessageFormatRecord.Update_Version_V2,
MessageFormatRecord.Update_Version_V3};
for (short version : versions) {
StoreKey key = new MockId("id1");
short accountId = Utils.getRandomShort(TestUtils.RANDOM);
short containerId = Utils.getRandomShort(TestUtils.RANDOM);
long deletionTimeMs = SystemTime.getInstance().milliseconds() + TestUtils.RANDOM.nextInt();
short lifeVersion = 1;
MessageFormatInputStream messageFormatStream;
short messageHeaderVersionInUse;
int deleteRecordSize;
if (version == MessageFormatRecord.Update_Version_V1) {
messageFormatStream = new DeleteMessageFormatV1InputStream(key, accountId, containerId, deletionTimeMs);
deleteRecordSize = MessageFormatRecord.Update_Format_V1.getRecordSize();
messageHeaderVersionInUse = MessageFormatRecord.Message_Header_Version_V1;
// reset account, container ids and time
accountId = Account.UNKNOWN_ACCOUNT_ID;
containerId = Container.UNKNOWN_CONTAINER_ID;
deletionTimeMs = Utils.Infinite_Time;
} else if (version == MessageFormatRecord.Update_Version_V2) {
messageFormatStream =
new DeleteMessageFormatV2InputStream(key, accountId, containerId, deletionTimeMs, lifeVersion);
deleteRecordSize = MessageFormatRecord.Update_Format_V2.getRecordSize();
messageHeaderVersionInUse = MessageFormatRecord.headerVersionToUse;
} else {
messageFormatStream =
new DeleteMessageFormatInputStream(key, accountId, containerId, deletionTimeMs, lifeVersion);
deleteRecordSize = MessageFormatRecord.Update_Format_V3.getRecordSize(SubRecord.Type.DELETE);
messageHeaderVersionInUse = MessageFormatRecord.headerVersionToUse;
}
int headerSize = MessageFormatRecord.getHeaderSizeForVersion(messageHeaderVersionInUse);
Assert.assertEquals("Unexpected size for version " + version, headerSize + deleteRecordSize + key.sizeInBytes(),
messageFormatStream.getSize());
// check header
byte[] headerOutput = new byte[headerSize];
messageFormatStream.read(headerOutput);
ByteBuffer headerBuf = ByteBuffer.wrap(headerOutput);
Assert.assertEquals(messageHeaderVersionInUse, headerBuf.getShort());
if (messageHeaderVersionInUse == MessageFormatRecord.Message_Header_Version_V3) {
Assert.assertEquals(lifeVersion, headerBuf.getShort());
}
Assert.assertEquals(deleteRecordSize, headerBuf.getLong());
// read encryption key relative offset
if (messageHeaderVersionInUse >= MessageFormatRecord.Message_Header_Version_V2) {
Assert.assertEquals(MessageFormatRecord.Message_Header_Invalid_Relative_Offset, headerBuf.getInt());
}
// blob properties relative offset
Assert.assertEquals(MessageFormatRecord.Message_Header_Invalid_Relative_Offset, headerBuf.getInt());
// delete record relative offset. This is the only relative offset with a valid value.
Assert.assertEquals(headerSize + key.sizeInBytes(), headerBuf.getInt());
// user metadata relative offset
Assert.assertEquals(MessageFormatRecord.Message_Header_Invalid_Relative_Offset, headerBuf.getInt());
// blob relative offset
Assert.assertEquals(MessageFormatRecord.Message_Header_Invalid_Relative_Offset, headerBuf.getInt());
Crc32 crc = new Crc32();
crc.update(headerOutput, 0, headerSize - MessageFormatRecord.Crc_Size);
Assert.assertEquals(crc.getValue(), headerBuf.getLong());
// verify handle
byte[] handleOutput = new byte[key.sizeInBytes()];
messageFormatStream.read(handleOutput);
Assert.assertArrayEquals(handleOutput, key.toBytes());
// check delete record
UpdateRecord updateRecord = MessageFormatRecord.deserializeUpdateRecord(messageFormatStream);
Assert.assertEquals("Type of update record not DELETE", SubRecord.Type.DELETE, updateRecord.getType());
Assert.assertNotNull("DeleteSubRecord should not be null", updateRecord.getDeleteSubRecord());
Assert.assertEquals("AccountId mismatch", accountId, updateRecord.getAccountId());
Assert.assertEquals("ContainerId mismatch", containerId, updateRecord.getContainerId());
Assert.assertEquals("DeletionTime mismatch", deletionTimeMs, updateRecord.getUpdateTimeInMs());
}
}
/**
* Test calling the no-arg read method
* @throws IOException
* @throws MessageFormatException
*/
@Test
public void messageFormatPutNoArgReadTest() throws Exception, MessageFormatException {
StoreKey key = new MockId("id1");
StoreKeyFactory keyFactory = new MockIdFactory();
short accountId = Utils.getRandomShort(TestUtils.RANDOM);
short containerId = Utils.getRandomShort(TestUtils.RANDOM);
BlobProperties prop = new BlobProperties(10, "servid", accountId, containerId, false);
byte[] encryptionKey = new byte[100];
new Random().nextBytes(encryptionKey);
byte[] usermetadata = new byte[1000];
new Random().nextBytes(usermetadata);
int blobContentSize = 2000;
byte[] data = new byte[blobContentSize];
new Random().nextBytes(data);
ByteBufferInputStream stream = new ByteBufferInputStream(ByteBuffer.wrap(data));
MessageFormatInputStream messageFormatStream =
new PutMessageFormatInputStream(key, ByteBuffer.wrap(encryptionKey), prop, ByteBuffer.wrap(usermetadata),
stream, blobContentSize, BlobType.DataBlob);
TestUtils.validateInputStreamContract(messageFormatStream);
TestUtils.readInputStreamAndValidateSize(messageFormatStream, messageFormatStream.getSize());
}
/**
* Tests for {@link TtlUpdateMessageFormatInputStream} in different versions.
*/
@Test
public void messageFormatTtlUpdateRecordTest() throws IOException, MessageFormatException {
StoreKey key = new MockId("id1");
short accountId = Utils.getRandomShort(TestUtils.RANDOM);
short containerId = Utils.getRandomShort(TestUtils.RANDOM);
long ttlUpdateTimeMs = SystemTime.getInstance().milliseconds() + TestUtils.RANDOM.nextInt();
long updatedExpiryMs = ttlUpdateTimeMs + TestUtils.RANDOM.nextInt();
short lifeVersion = 1;
short oldMessageFormatHeaderVersion = MessageFormatRecord.headerVersionToUse;
for (short messageFormatHeaderVersion : new short[]{MessageFormatRecord.Message_Header_Version_V2,
MessageFormatRecord.Message_Header_Version_V3}) {
MessageFormatRecord.headerVersionToUse = messageFormatHeaderVersion;
MessageFormatInputStream messageFormatStream =
new TtlUpdateMessageFormatInputStream(key, accountId, containerId, updatedExpiryMs, ttlUpdateTimeMs,
lifeVersion);
long ttlUpdateRecordSize = MessageFormatRecord.Update_Format_V3.getRecordSize(SubRecord.Type.TTL_UPDATE);
int headerSize = MessageFormatRecord.getHeaderSizeForVersion(MessageFormatRecord.headerVersionToUse);
Assert.assertEquals(headerSize + ttlUpdateRecordSize + key.sizeInBytes(), messageFormatStream.getSize());
checkTtlUpdateMessage(messageFormatStream, ttlUpdateRecordSize, key, accountId, containerId, updatedExpiryMs,
ttlUpdateTimeMs, lifeVersion);
}
MessageFormatRecord.headerVersionToUse = oldMessageFormatHeaderVersion;
}
/**
* Checks a TTL update message including headers and the {@link UpdateRecord}.
* @param stream the {@link InputStream} to read data from
* @param expectedRecordSize the expected size of the record in the message. Can be {@code null} if unknown (won't be
* checked)
* @param key the expected {@link StoreKey}
* @param accountId the account id expected
* @param containerId the container id expected
* @param updatedExpiresAtMs the expected updated expiry time
* @param updateTimeMs the expected time of update
* @param lifeVersion the life version of this update.
* @throws IOException
* @throws MessageFormatException
*/
public static void checkTtlUpdateMessage(InputStream stream, Long expectedRecordSize, StoreKey key, short accountId,
short containerId, long updatedExpiresAtMs, long updateTimeMs, short lifeVersion)
throws IOException, MessageFormatException {
checkHeaderAndStoreKeyForUpdate(stream, expectedRecordSize, key, lifeVersion);
checkTtlUpdateSubRecord(stream, accountId, containerId, updatedExpiresAtMs, updateTimeMs);
}
/**
* Checks the header and storekey for an update message in {@code stream}
* @param stream the {@link InputStream} to read data from
* @param expectedRecordSize the expected size of the record in the message. Can be {@code null} if unknown (won't be
* checked)
* @param key the expected {@link StoreKey}
* @param lifeVersion the life version of this update.
* @throws IOException
* @throws MessageFormatException
*/
private static void checkHeaderAndStoreKeyForUpdate(InputStream stream, Long expectedRecordSize, StoreKey key,
short lifeVersion) throws IOException, MessageFormatException {
MessageFormatRecord.MessageHeader_Format header = MessageFormatRecordTest.getHeader(new DataInputStream(stream));
header.verifyHeader();
short messageHeaderVersion = MessageFormatRecord.headerVersionToUse;
Assert.assertEquals("Version not as expected", messageHeaderVersion, header.getVersion());
// update record relative offset. This is the only relative offset with a valid value.
Assert.assertEquals("Update record relative offset not as expected",
MessageFormatRecord.getHeaderSizeForVersion(messageHeaderVersion) + key.sizeInBytes(),
header.getUpdateRecordRelativeOffset());
if (expectedRecordSize != null) {
Assert.assertEquals("Size of record not as expected", expectedRecordSize.longValue(), header.getMessageSize());
}
Assert.assertEquals("Encryption key relative offset should be invalid",
MessageFormatRecord.Message_Header_Invalid_Relative_Offset, header.getBlobEncryptionKeyRecordRelativeOffset());
Assert.assertEquals("Blob props relative offset should be invalid",
MessageFormatRecord.Message_Header_Invalid_Relative_Offset, header.getBlobPropertiesRecordRelativeOffset());
Assert.assertEquals("UM relative offset should be invalid",
MessageFormatRecord.Message_Header_Invalid_Relative_Offset, header.getUserMetadataRecordRelativeOffset());
Assert.assertEquals("Blob relative offset should be invalid",
MessageFormatRecord.Message_Header_Invalid_Relative_Offset, header.getBlobRecordRelativeOffset());
if (header.getVersion() == MessageFormatRecord.Message_Header_Version_V3) {
Assert.assertTrue("Header should have lifeVersion", header.hasLifeVersion());
Assert.assertEquals("LifeVersion mismatch", lifeVersion, header.getLifeVersion());
} else {
Assert.assertEquals("LifeVersion mismatch", (short) 0, header.getLifeVersion());
}
// verify StoreKey
byte[] keyBytes = Utils.readBytesFromStream(stream, key.sizeInBytes());
Assert.assertArrayEquals("StoreKey not as expected", key.toBytes(), keyBytes);
}
/**
* Verifies the values in the {@link UpdateRecord} obtained from {@code stream} for ttl update.
* @param stream the {@link InputStream} to obtain the records from
* @param accountId the account id expected
* @param containerId the container id expected
* @param updatedExpiresAtMs the expected updated expiry time
* @param updateTimeMs the expected time of update
* @throws IOException
* @throws MessageFormatException
*/
private static void checkTtlUpdateSubRecord(InputStream stream, short accountId, short containerId,
long updatedExpiresAtMs, long updateTimeMs) throws IOException, MessageFormatException {
UpdateRecord updateRecord = MessageFormatRecord.deserializeUpdateRecord(stream);
Assert.assertEquals("Type of update record not TTL_UPDATE", SubRecord.Type.TTL_UPDATE, updateRecord.getType());
Assert.assertNotNull("TtlUpdateSubRecord should not be null", updateRecord.getTtlUpdateSubRecord());
Assert.assertEquals("AccountId mismatch", accountId, updateRecord.getAccountId());
Assert.assertEquals("ContainerId mismatch", containerId, updateRecord.getContainerId());
Assert.assertEquals("Updated expiry time mismatch", updatedExpiresAtMs,
updateRecord.getTtlUpdateSubRecord().getUpdatedExpiryTimeMs());
Assert.assertEquals("UpdateTime mismatch", updateTimeMs, updateRecord.getUpdateTimeInMs());
}
/**
* Test for {@link UndeleteMessageFormatInputStream}.
* @throws Exception
*/
@Test
public void messageFormatUndeleteUpdateRecordTest() throws Exception {
MessageFormatRecord.headerVersionToUse = MessageFormatRecord.Message_Header_Version_V3;
StoreKey key = new MockId("id1");
short accountId = Utils.getRandomShort(TestUtils.RANDOM);
short containerId = Utils.getRandomShort(TestUtils.RANDOM);
long updateTimeMs = SystemTime.getInstance().milliseconds() + TestUtils.RANDOM.nextInt();
short lifeVersion = Utils.getRandomShort(TestUtils.RANDOM);
MessageFormatInputStream messageFormatInputStream =
new UndeleteMessageFormatInputStream(key, accountId, containerId, updateTimeMs, lifeVersion);
long undeleteRecordSize = MessageFormatRecord.Update_Format_V3.getRecordSize(SubRecord.Type.UNDELETE);
// Undelete record's version will start at least from V3.
int headerSize = MessageFormatRecord.getHeaderSizeForVersion(MessageFormatRecord.Message_Header_Version_V3);
Assert.assertEquals(headerSize + undeleteRecordSize + key.sizeInBytes(), messageFormatInputStream.getSize());
checkUndeleteMessage(messageFormatInputStream, undeleteRecordSize, key, accountId, containerId, updateTimeMs,
lifeVersion);
}
/**
* Checks a undelete message including headers and the {@link UpdateRecord}.
* @param stream the {@link InputStream} to read data from
* @param expectedRecordSize the expected size of the record in the message. Can be {@code null} if unknown (won't be
* checked)
* @param key the expected {@link StoreKey}
* @param accountId the account id expected
* @param containerId the container id expected
* @param updateTimeMs the expected time of update
* @throws Exception any error.
*/
public static void checkUndeleteMessage(InputStream stream, Long expectedRecordSize, StoreKey key, short accountId,
short containerId, long updateTimeMs, short lifeVersion) throws Exception {
checkHeaderAndStoreKeyForUpdate(stream, expectedRecordSize, key, lifeVersion);
checkUndeleteSubRecord(stream, accountId, containerId, updateTimeMs);
}
/**
* Verifies the values in the {@link UpdateRecord} obtained from {@code stream} for undelete.
* @param stream the {@link InputStream} to obtain the records from
* @param accountId the account id expected
* @param containerId the container id expected
* @param updateTimeMs the expected time of update
* @throws Exception any error.
*/
private static void checkUndeleteSubRecord(InputStream stream, short accountId, short containerId, long updateTimeMs)
throws Exception {
UpdateRecord updateRecord = MessageFormatRecord.deserializeUpdateRecord(stream);
Assert.assertEquals("Type of update record not UNDELETE", SubRecord.Type.UNDELETE, updateRecord.getType());
Assert.assertNotNull("UndeleteSubRecord should not be null", updateRecord.getUndeleteSubRecord());
Assert.assertEquals("AccountId mismatch", accountId, updateRecord.getAccountId());
Assert.assertEquals("ContainerId mismatch", containerId, updateRecord.getContainerId());
Assert.assertEquals("UpdateTime mismatch", updateTimeMs, updateRecord.getUpdateTimeInMs());
}
}
| 9,626 |
337 | /*
* 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.
*/
package io.airlift.compress.zstd;
import java.util.Arrays;
class BlockCompressionState
{
public final int[] hashTable;
public final int[] chainTable;
private final long baseAddress;
// starting point of the window with respect to baseAddress
private int windowBaseOffset;
public BlockCompressionState(CompressionParameters parameters, long baseAddress)
{
this.baseAddress = baseAddress;
hashTable = new int[1 << parameters.getHashLog()];
chainTable = new int[1 << parameters.getChainLog()]; // TODO: chain table not used by Strategy.FAST
}
public void reset()
{
Arrays.fill(hashTable, 0);
Arrays.fill(chainTable, 0);
}
public void enforceMaxDistance(long inputLimit, int maxDistance)
{
int distance = (int) (inputLimit - baseAddress);
int newOffset = distance - maxDistance;
if (windowBaseOffset < newOffset) {
windowBaseOffset = newOffset;
}
}
public long getBaseAddress()
{
return baseAddress;
}
public int getWindowBaseOffset()
{
return windowBaseOffset;
}
}
| 571 |
377 | <filename>src/kundera-rdbms/src/test/java/com/impetus/client/twitter/dao/TwitterService.java
/*******************************************************************************
* * Copyright 2012 Impetus Infotech.
* *
* * 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.
******************************************************************************/
package com.impetus.client.twitter.dao;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Query;
import com.impetus.client.twitter.entities.ExternalLinkRDBMS;
import com.impetus.client.twitter.entities.PreferenceRDBMS;
import com.impetus.client.twitter.entities.TweetRDBMS;
import com.impetus.client.twitter.entities.UserRDBMS;
/**
* Data access object class for implementation of twitter.
*
* @author amresh.singh
*/
public class TwitterService extends SuperDao implements Twitter
{
private EntityManager em;
private EntityManagerFactory emf;
private String pu;
public TwitterService(String persistenceUnitName)
{
this.pu = persistenceUnitName;
if (emf == null)
{
try
{
emf = createEntityManagerFactory(persistenceUnitName);
}
catch (Exception e)
{
}
}
}
@Override
public void createEntityManager()
{
if (em == null)
{
em = emf.createEntityManager();
}
}
@Override
public void closeEntityManager()
{
if (em != null)
{
em.close();
em = null;
}
}
@Override
public void close()
{
if (emf != null)
{
emf.close();
}
}
@Override
public void addUser(UserRDBMS user)
{
em.persist(user);
}
@Override
public void addUser(String userId, String name, String password, String relationshipStatus)
{
UserRDBMS user = new UserRDBMS(userId, name, password, relationshipStatus);
em.persist(user);
}
@Override
public void savePreference(String userId, PreferenceRDBMS preference)
{
UserRDBMS user = em.find(UserRDBMS.class, userId);
user.setPreference(preference);
em.persist(user);
}
@Override
public void addExternalLink(String userId, String linkId, String linkType, String linkAddress)
{
UserRDBMS user = em.find(UserRDBMS.class, userId);
user.addExternalLink(new ExternalLinkRDBMS(linkId, linkType, linkAddress));
em.persist(user);
}
@Override
public void addTweet(String userId, String tweetBody, String device)
{
UserRDBMS user = em.find(UserRDBMS.class, userId);
user.addTweet(new TweetRDBMS(tweetBody, device));
em.persist(user);
}
@Override
public void startFollowing(String userId, String friendUserId)
{
UserRDBMS user = em.find(UserRDBMS.class, userId);
UserRDBMS friend = em.find(UserRDBMS.class, friendUserId);
user.addFriend(friend);
em.persist(user);
friend.addFollower(user);
em.persist(friend);
}
@Override
public void addFollower(String userId, String followerUserId)
{
UserRDBMS user = em.find(UserRDBMS.class, userId);
UserRDBMS follower = em.find(UserRDBMS.class, followerUserId);
user.addFollower(follower);
em.persist(user);
}
@Override
public UserRDBMS findUserById(String userId)
{
UserRDBMS user = em.find(UserRDBMS.class, userId);
return user;
}
@Override
public void removeUser(UserRDBMS user)
{
em.remove(user);
}
@Override
public void mergeUser(UserRDBMS user)
{
em.merge(user);
}
@Override
public List<UserRDBMS> getAllUsers()
{
Query q = em.createQuery("select u from UserRDBMS u");
List<UserRDBMS> users = q.getResultList();
return users;
}
@Override
public List<TweetRDBMS> getAllTweets(String userId)
{
Query q = em.createQuery("select u from UserRDBMS u where u.userId =:userId");
q.setParameter("userId", userId);
List<UserRDBMS> users = q.getResultList();
if (users == null || users.isEmpty())
{
return null;
}
else
{
return users.get(0).getTweets();
}
}
@Override
public List<UserRDBMS> getFollowers(String userId)
{
Query q = em.createQuery("select u from UserRDBMS u where u.userId =:userId");
q.setParameter("userId", userId);
List<UserRDBMS> users = q.getResultList();
if (users == null || users.isEmpty())
{
return null;
}
return users.get(0).getFollowers();
}
@Override
public List<TweetRDBMS> findTweetByBody(String tweetBody)
{
Query q = em.createQuery("select u.tweet_body from UserRDBMS u where u.tweet_body like :body");
q.setParameter("body", tweetBody);
List<TweetRDBMS> tweets = q.getResultList();
return tweets;
}
@Override
public List<TweetRDBMS> findTweetByDevice(String deviceName)
{
Query q = em.createQuery("select u.tweeted_from from UserRDBMS u where u.tweeted_from like :device");
q.setParameter("device", deviceName);
List<TweetRDBMS> tweets = q.getResultList();
return tweets;
}
}
| 2,776 |
13,430 | from . chooser import Chooser, FileChooser, FileSaver, DirChooser, DateChooser, TimeChooser, MultiFileChooser, MultiDirChooser, ColourChooser
from . text_input import PasswordInput, MultilineTextInput, TextInput
| 62 |
335 | {
"word": "Uncertainty",
"definitions": [
"The state of being uncertain.",
"Something that is uncertain or that causes one to feel uncertain."
],
"parts-of-speech": "Noun"
} | 80 |
1,063 | <reponame>wh8983298/GreaterWMS
from django_filters import FilterSet
from .models import StockListModel, StockBinModel
class StockListFilter(FilterSet):
class Meta:
model = StockListModel
fields = {
"id": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'isnull', 'in', 'range'],
"goods_code": ['exact', 'iexact', 'contains', 'icontains'],
"goods_desc": ['exact', 'iexact', 'contains', 'icontains'],
"goods_qty": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"onhand_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"can_order_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"ordered_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"inspect_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"hold_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"damage_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"asn_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"dn_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"pre_load_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"pre_sort_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"sorted_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"pick_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"picked_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"back_order_stock": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"supplier": ['exact', 'iexact', 'contains', 'icontains'],
"create_time": ['year', 'month', 'day', 'week_day', 'gt', 'gte', 'lt', 'lte', 'range'],
"update_time": ['year', 'month', 'day', 'week_day', 'gt', 'gte', 'lt', 'lte', 'range']
}
class StockBinFilter(FilterSet):
class Meta:
model = StockBinModel
fields = {
"id": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'isnull', 'in', 'range'],
"bin_name": ['exact', 'iexact', 'contains', 'icontains'],
"goods_code": ['exact', 'iexact', 'contains', 'icontains'],
"goods_desc": ['exact', 'iexact', 'contains', 'icontains'],
"goods_qty": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"pick_qty": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"picked_qty": ['exact', 'iexact', 'gt', 'gte', 'lt', 'lte', 'range'],
"bin_size": ['exact', 'iexact', 'contains', 'icontains'],
"bin_property": ['exact', 'iexact', 'contains', 'icontains'],
"t_code": ['exact', 'iexact'],
"create_time": ['year', 'month', 'day', 'week_day', 'gt', 'gte', 'lt', 'lte', 'range'],
"update_time": ['year', 'month', 'day', 'week_day', 'gt', 'gte', 'lt', 'lte', 'range']
}
| 1,561 |
421 | <filename>samples/snippets/cpp/VS_Snippets_CLR/stringstartswith/CPP/stringstartswith.cpp
//<snippet1>
using namespace System;
String^ StripStartTags( String^ item )
{
// Determine whether a tag begins the string.
if (item->Trim()->StartsWith("<")) {
// Find the closing tag.
int lastLocation = item->IndexOf(">");
// Remove the tag.
if ( lastLocation >= 0 ) {
item = item->Substring(lastLocation+ 1);
// Remove any additional starting tags.
item = StripStartTags(item);
}
}
return item;
}
int main()
{
array<String^>^ strSource = { "<b>This is bold text</b>",
"<H1>This is large Text</H1>",
"<b><i><font color=green>This has multiple tags</font></i></b>",
"<b>This has <i>embedded</i> tags.</b>",
"<This line simply begins with a lesser than symbol, it should not be modified" };
// Display the initial string array.
Console::WriteLine("The original strings:");
Console::WriteLine("---------------------");
for each (String^ s in strSource)
Console::WriteLine( s );
Console::WriteLine();
Console::WriteLine( "Strings after starting tags have been stripped:");
Console::WriteLine( "-----------------------------------------------");
// Display the strings with starting tags removed.
for each (String^ s in strSource)
Console::WriteLine(StripStartTags(s));
}
// The example displays the following output:
// The original strings:
// ---------------------
// <b>This is bold text</b>
// <H1>This is large Text</H1>
// <b><i><font color = green>This has multiple tags</font></i></b>
// <b>This has <i>embedded</i> tags.</b>
// <This line simply begins with a lesser than symbol, it should not be modified
//
// Strings after starting tags have been stripped:
// -----------------------------------------------
// This is bold text</b>
// This is large Text</H1>
// This has multiple tags</font></i></b>
// This has <i>embedded</i> tags.</b>
// <This line simply begins with a lesser than symbol, it should not be modified
//</snippet1>
| 886 |
1,093 | /*
* Copyright 2021 the original author or authors.
*
* 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
*
* https://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.
*/
package org.springframework.integration.dsl.composition;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.BeanCreationException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.integration.channel.DirectChannel;
import org.springframework.integration.channel.QueueChannel;
import org.springframework.integration.config.EnableIntegration;
import org.springframework.integration.dsl.IntegrationFlow;
import org.springframework.integration.dsl.IntegrationFlows;
import org.springframework.integration.dsl.Pollers;
import org.springframework.integration.dsl.context.IntegrationFlowContext;
import org.springframework.integration.scheduling.PollerMetadata;
import org.springframework.integration.support.MessageBuilder;
import org.springframework.messaging.Message;
import org.springframework.messaging.support.GenericMessage;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
/**
* @author <NAME>
*
* @since 5.5.4
*/
@SpringJUnitConfig
@DirtiesContext
public class IntegrationFlowCompositionTests {
@Autowired
IntegrationFlowContext integrationFlowContext;
@Autowired
@Qualifier("mainFlow.input")
DirectChannel mainFlowInput;
@Autowired
QueueChannel otherFlowResultChannel;
@Test
void testToOperator() {
this.mainFlowInput.send(new GenericMessage<>("hello"));
Message<?> receive = this.otherFlowResultChannel.receive(10_000);
assertThat(receive).isNotNull()
.extracting(Message::getPayload)
.isEqualTo("HELLO from other flow");
}
@Autowired
@Qualifier("requestReplyMainFlow.input")
DirectChannel requestReplyMainFlowInput;
@Test
void testToWithRequestReply() {
QueueChannel replyChannel = new QueueChannel();
this.requestReplyMainFlowInput.send(
MessageBuilder.withPayload("TEST")
.setReplyChannel(replyChannel)
.build());
Message<?> receive = replyChannel.receive(10_000);
assertThat(receive).isNotNull()
.extracting(Message::getPayload)
.isEqualTo("Reply for: test");
}
@Autowired
QueueChannel compositionMainFlowResult;
@Test
void testFromComposition() {
Message<?> receive = this.compositionMainFlowResult.receive(10_000);
assertThat(receive).isNotNull()
.extracting(Message::getPayload)
.isEqualTo("TEST DATA");
receive = this.compositionMainFlowResult.receive(10_000);
assertThat(receive).isNotNull()
.extracting(Message::getPayload)
.isEqualTo("TEST DATA");
}
@Autowired
@Qualifier("firstFlow.input")
DirectChannel firstFlowInput;
@Autowired
QueueChannel lastFlowResult;
@Test
void testFromToComposition() {
this.firstFlowInput.send(new GenericMessage<>("start"));
Message<?> receive = this.lastFlowResult.receive(10_000);
assertThat(receive).isNotNull()
.extracting(Message::getPayload)
.isEqualTo("start, and first flow, and middle flow, and last flow");
}
@Test
void testInvalidStartFlowForComposition() {
IntegrationFlow startFlow = f -> f.handle(m -> { });
assertThatIllegalArgumentException()
.isThrownBy(() -> IntegrationFlows.from(startFlow))
.withMessageContaining("must be declared as a bean in the application context");
IntegrationFlowContext.IntegrationFlowRegistration startRegistration =
this.integrationFlowContext.registration(startFlow).register();
assertThatExceptionOfType(BeanCreationException.class)
.isThrownBy(() -> IntegrationFlows.from(startRegistration.getIntegrationFlow()))
.withMessageContaining("The 'IntegrationFlow' to start from must end with " +
"a 'MessageChannel' or reply-producing endpoint");
}
@Configuration
@EnableIntegration
public static class ContextConfiguration {
@Bean(PollerMetadata.DEFAULT_POLLER)
PollerMetadata defaultPoller() {
return Pollers.fixedDelay(100).get();
}
@Bean
IntegrationFlow mainFlow(IntegrationFlow otherFlow) {
return f -> f
.<String, String>transform(String::toUpperCase)
.to(otherFlow);
}
@Bean
IntegrationFlow otherFlow() {
return f -> f
.<String, String>transform(p -> p + " from other flow")
.channel(c -> c.queue("otherFlowResultChannel"));
}
@Bean
IntegrationFlow requestReplyMainFlow(IntegrationFlow templateFlow) {
return f -> f
.<String, String>transform(String::toLowerCase)
.to(templateFlow);
}
@Bean
IntegrationFlow templateFlow() {
return f -> f
.<String, String>transform("Reply for: "::concat);
}
@Bean
IntegrationFlow templateSourceFlow() {
return IntegrationFlows.fromSupplier(() -> "test data")
.channel("sourceChannel")
.get();
}
@Bean
IntegrationFlow compositionMainFlow(IntegrationFlow templateSourceFlow) {
return IntegrationFlows.from(templateSourceFlow)
.<String, String>transform(String::toUpperCase)
.channel(c -> c.queue("compositionMainFlowResult"))
.get();
}
@Bean
IntegrationFlow firstFlow() {
return f -> f
.<String, String>transform(p -> p + ", and first flow");
}
@Bean
IntegrationFlow middleFlow(IntegrationFlow firstFlow, IntegrationFlow lastFlow) {
return IntegrationFlows.from(firstFlow)
.<String, String>transform(p -> p + ", and middle flow")
.to(lastFlow);
}
@Bean
IntegrationFlow lastFlow() {
return f -> f
.<String, String>transform(p -> p + ", and last flow")
.channel(c -> c.queue("lastFlowResult"));
}
}
}
| 2,150 |
17,037 | # This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _GCP
class _Migration(_GCP):
_type = "migration"
_icon_dir = "resources/gcp/migration"
class TransferAppliance(_Migration):
_icon = "transfer-appliance.png"
# Aliases
| 96 |
5,208 | package io.vertx.it;
import io.vertx.core.impl.VertxThread;
import io.vertx.core.spi.VertxThreadFactory;
import java.util.concurrent.TimeUnit;
public class CustomVertxThreadFactory implements VertxThreadFactory {
@Override
public VertxThread newVertxThread(Runnable target, String name, boolean worker, long maxExecTime, TimeUnit maxExecTimeUnit) {
return new CustomVertxThread(target, name, worker, maxExecTime, maxExecTimeUnit);
}
}
| 140 |
4,920 | # Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
#
# 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.
from __future__ import absolute_import
import unittest2
from st2common.util import jinja as jinja_utils
class JinjaUtilsJsonEscapeTestCase(unittest2.TestCase):
def test_doublequotes(self):
env = jinja_utils.get_jinja_environment()
template = "{{ test_str | json_escape }}"
actual = env.from_string(template).render({"test_str": 'foo """ bar'})
expected = 'foo \\"\\"\\" bar'
self.assertEqual(actual, expected)
def test_backslashes(self):
env = jinja_utils.get_jinja_environment()
template = "{{ test_str | json_escape }}"
actual = env.from_string(template).render({"test_str": r"foo \ bar"})
expected = "foo \\\\ bar"
self.assertEqual(actual, expected)
def test_backspace(self):
env = jinja_utils.get_jinja_environment()
template = "{{ test_str | json_escape }}"
actual = env.from_string(template).render({"test_str": "foo \b bar"})
expected = "foo \\b bar"
self.assertEqual(actual, expected)
def test_formfeed(self):
env = jinja_utils.get_jinja_environment()
template = "{{ test_str | json_escape }}"
actual = env.from_string(template).render({"test_str": "foo \f bar"})
expected = "foo \\f bar"
self.assertEqual(actual, expected)
def test_newline(self):
env = jinja_utils.get_jinja_environment()
template = "{{ test_str | json_escape }}"
actual = env.from_string(template).render({"test_str": "foo \n bar"})
expected = "foo \\n bar"
self.assertEqual(actual, expected)
def test_carriagereturn(self):
env = jinja_utils.get_jinja_environment()
template = "{{ test_str | json_escape }}"
actual = env.from_string(template).render({"test_str": "foo \r bar"})
expected = "foo \\r bar"
self.assertEqual(actual, expected)
def test_tab(self):
env = jinja_utils.get_jinja_environment()
template = "{{ test_str | json_escape }}"
actual = env.from_string(template).render({"test_str": "foo \t bar"})
expected = "foo \\t bar"
self.assertEqual(actual, expected)
| 1,076 |
6,989 | <reponame>jochenater/catboost
#line 1 "numpy/core/src/umath/matmul.h.src"
/*
*****************************************************************************
** This file was autogenerated from a template DO NOT EDIT!!!! **
** Changes should be made to the original source (.src) file **
*****************************************************************************
*/
#line 1
#line 8
NPY_NO_EXPORT void
FLOAT_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
DOUBLE_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
LONGDOUBLE_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
HALF_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
CFLOAT_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
CDOUBLE_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
CLONGDOUBLE_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
UBYTE_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
USHORT_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
UINT_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
ULONG_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
ULONGLONG_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
BYTE_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
SHORT_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
INT_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
LONG_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
LONGLONG_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
BOOL_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
#line 8
NPY_NO_EXPORT void
OBJECT_matmul(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func));
| 1,195 |
14,668 | <filename>chrome/browser/ui/views/bubble_menu_item_factory.h
// Copyright 2019 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_UI_VIEWS_BUBBLE_MENU_ITEM_FACTORY_H_
#define CHROME_BROWSER_UI_VIEWS_BUBBLE_MENU_ITEM_FACTORY_H_
#include <memory>
#include <string>
#include "ui/gfx/vector_icon_types.h"
#include "ui/views/controls/button/button.h"
class HoverButton;
void ConfigureBubbleMenuItem(views::Button* button, int button_id);
// Convenience method for creating a menu item used inside a bubble that can
// then be further configured to hold an image and text.
std::unique_ptr<HoverButton> CreateBubbleMenuItem(
int button_id,
const std::u16string& name,
views::Button::PressedCallback callback,
const gfx::VectorIcon* icon = nullptr);
#endif // CHROME_BROWSER_UI_VIEWS_BUBBLE_MENU_ITEM_FACTORY_H_
| 339 |
3,066 | /*
SuperEQ DSP plugin for DeaDBeeF Player
Copyright (C) 2009-2014 <NAME> <<EMAIL>>
Original SuperEQ code (C) <NAME> <<EMAIL>>
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
class paramlistelm {
public:
class paramlistelm *next;
float lower,upper,gain,gain2;
int sortindex;
paramlistelm(void) {
lower = upper = gain = 0;
next = NULL;
};
~paramlistelm() {
delete next;
next = NULL;
};
};
class paramlist {
public:
class paramlistelm *elm;
paramlist(void) {
elm = NULL;
}
~paramlist() {
delete elm;
elm = NULL;
}
void copy(paramlist &src)
{
delete elm;
elm = NULL;
paramlistelm **p,*q;
for(p=&elm,q=src.elm;q != NULL;q = q->next,p = &(*p)->next)
{
*p = new paramlistelm;
(*p)->lower = q->lower;
(*p)->upper = q->upper;
(*p)->gain = q->gain;
}
}
paramlistelm *newelm(void)
{
paramlistelm **e;
for(e = &elm;*e != NULL;e = &(*e)->next) ;
*e = new paramlistelm;
return *e;
}
int getnelm(void)
{
int i;
paramlistelm *e;
for(e = elm,i = 0;e != NULL;e = e->next,i++) ;
return i;
}
void delelm(paramlistelm *p)
{
paramlistelm **e;
for(e = &elm;*e != NULL && p != *e;e = &(*e)->next) ;
if (*e == NULL) return;
*e = (*e)->next;
p->next = NULL;
delete p;
}
void sortelm(void)
{
int i=0;
if (elm == NULL) return;
for(paramlistelm *r = elm;r != NULL;r = r->next) r->sortindex = i++;
paramlistelm **p,**q;
for(p=&elm->next;*p != NULL;)
{
for(q=&elm;*q != *p;q = &(*q)->next)
if ((*p)->lower < (*q)->lower ||
((*p)->lower == (*q)->lower && (*p)->sortindex < (*q)->sortindex)) break;
if (p == q) {p = &(*p)->next; continue;}
paramlistelm **pn = p;
paramlistelm *pp = *p;
*p = (*p)->next;
pp->next = *q;
*q = pp;
p = pn;
}
}
};
| 1,122 |
7,615 | import typer
app = typer.Typer()
@app.command()
def create(item: str):
typer.echo(f"Creating item: {item}")
@app.command()
def delete(item: str):
typer.echo(f"Deleting item: {item}")
@app.command()
def sell(item: str):
typer.echo(f"Selling item: {item}")
if __name__ == "__main__":
app()
| 134 |
695 | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See LICENSE in the project root
# for license information.
from __future__ import absolute_import, division, print_function, unicode_literals
# "force_pydevd" must be imported first to ensure (via side effects)
# that the debugpy-vendored copy of pydevd gets used.
import debugpy._vendored.force_pydevd # noqa
| 116 |
1,473 | <filename>extern/wxWidgets/include/wx/meta/pod.h
/////////////////////////////////////////////////////////////////////////////
// Name: wx/meta/pod.h
// Purpose: Test if a type is POD
// Author: <NAME>, <NAME>
// Created: 2010-06-14
// Copyright: (c) wxWidgets team
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_META_POD_H_
#define _WX_META_POD_H_
#include "wx/defs.h"
//
// TODO: Use TR1 is_pod<> implementation where available. VC9 SP1 has it
// in tr1 namespace, VC10 has it in std namespace. GCC 4.2 has it in
// <tr1/type_traits>, while GCC 4.3 and later have it in <type_traits>.
//
// Helper to decide if an object of type T is POD (Plain Old Data)
template<typename T>
struct wxIsPod
{
static const bool value = false;
};
// Macro to add wxIsPod<T> specialization for given type that marks it
// as Plain Old Data:
#define WX_DECLARE_TYPE_POD(type) \
template<> struct wxIsPod<type> \
{ \
static const bool value = true; \
};
WX_DECLARE_TYPE_POD(bool)
WX_DECLARE_TYPE_POD(unsigned char)
WX_DECLARE_TYPE_POD(signed char)
WX_DECLARE_TYPE_POD(unsigned int)
WX_DECLARE_TYPE_POD(signed int)
WX_DECLARE_TYPE_POD(unsigned short int)
WX_DECLARE_TYPE_POD(signed short int)
WX_DECLARE_TYPE_POD(signed long int)
WX_DECLARE_TYPE_POD(unsigned long int)
WX_DECLARE_TYPE_POD(float)
WX_DECLARE_TYPE_POD(double)
WX_DECLARE_TYPE_POD(long double)
#if wxWCHAR_T_IS_REAL_TYPE
WX_DECLARE_TYPE_POD(wchar_t)
#endif
#ifdef wxLongLong_t
WX_DECLARE_TYPE_POD(wxLongLong_t)
WX_DECLARE_TYPE_POD(wxULongLong_t)
#endif
// pointers are Plain Old Data:
template<typename T>
struct wxIsPod<T*>
{
static const bool value = true;
};
template<typename T>
struct wxIsPod<const T*>
{
static const bool value = true;
};
#endif // _WX_META_POD_H_
| 897 |
14,668 | // Copyright 2017 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.
#include "components/download/internal/background_service/debugging_client.h"
#include "base/bind.h"
#include "base/threading/sequenced_task_runner_handle.h"
#include "components/download/public/background_service/download_metadata.h"
#include "services/network/public/cpp/resource_request_body.h"
namespace download {
void DebuggingClient::OnServiceInitialized(
bool state_lost,
const std::vector<DownloadMetaData>& downloads) {}
void DebuggingClient::OnServiceUnavailable() {}
void DebuggingClient::OnDownloadStarted(
const std::string& guid,
const std::vector<GURL>& url_chain,
const scoped_refptr<const net::HttpResponseHeaders>& headers) {}
void DebuggingClient::OnDownloadUpdated(const std::string& guid,
uint64_t bytes_uploaded,
uint64_t bytes_downloaded) {}
void DebuggingClient::OnDownloadFailed(const std::string& guid,
const CompletionInfo& completion_info,
FailureReason reason) {}
void DebuggingClient::OnDownloadSucceeded(
const std::string& guid,
const CompletionInfo& completion_info) {
// TODO(dtrainor): Automatically remove the downloaded file. For now this
// will happen after the timeout window in the service.
}
bool DebuggingClient::CanServiceRemoveDownloadedFile(const std::string& guid,
bool force_delete) {
return true;
}
void DebuggingClient::GetUploadData(const std::string& guid,
GetUploadDataCallback callback) {
base::SequencedTaskRunnerHandle::Get()->PostTask(
FROM_HERE, base::BindOnce(std::move(callback), nullptr));
}
} // namespace download
| 756 |
742 | /*
* Copyright (C) 2009, <NAME>, Inc.
*
* 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 names of Willow Garage, Inc. 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 OWNER 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 ROSLIB_PROTOBUFFER_TRAITS_H
#define ROSLIB_PROTOBUFFER_TRAITS_H
#include "message_forward.h"
#include "message_traits.h"
#include <ros/time.h>
#include <ros/md5.h>
#include <string>
#include <map>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/remove_const.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <typeinfo>
#include <google/protobuf/message.h>
#include <google/protobuf/descriptor.h>
namespace ros
{
namespace message_traits
{
//protobuffer trait
static std::map<std::string, std::string> type_md5_map;
template<typename T>
struct DataType<T, typename boost::enable_if<boost::is_base_of< ::google::protobuf::Message, T> >::type>
{
static const char* value()
{
static std::string data_type = "";
data_type = "pb_msgs/" + T::descriptor()->name();
return data_type.c_str();
}
static const char* value(const T&) { return value(); }
};
template<typename T>
struct MD5Sum<T, typename boost::enable_if<boost::is_base_of< ::google::protobuf::Message, T> >::type>
{
static const char* value()
{
std::string data_type(DataType<T>::value());
if (type_md5_map.count(data_type) == 0)
{
type_md5_map[data_type] = ros::md5::MD5(data_type).toStr();
}
return type_md5_map[data_type].c_str();
}
static const char* value(const T&) { return value(); }
};
template<typename T>
struct Definition<T, typename boost::enable_if<boost::is_base_of< ::google::protobuf::Message, T> >::type>
{
static const char* value() { return "protobuf"; }
static const char* value(const T&) { return "protobuf"; }
};
template<typename T>
struct HasHeader<T, typename boost::enable_if<boost::is_base_of< ::google::protobuf::Message, T> >::type>
: FalseType
{ };
template<typename T>
struct HasHeader<T const, typename boost::enable_if<boost::is_base_of< ::google::protobuf::Message, T> >::type>
: FalseType
{ };
template<typename T>
struct IsFixedSize<T, typename boost::enable_if<boost::is_base_of< ::google::protobuf::Message, T> >::type>
: FalseType
{ };
template<typename T>
struct IsFixedSize<T const, typename boost::enable_if<boost::is_base_of< ::google::protobuf::Message, T> >::type>
: FalseType
{ };
template<typename T>
struct IsMessage<T, typename boost::enable_if<boost::is_base_of< ::google::protobuf::Message, T> >::type>
: TrueType
{ };
template<typename T>
struct IsMessage<T const, typename boost::enable_if<boost::is_base_of< ::google::protobuf::Message, T> >::type>
: TrueType
{ };
} // namespace message_traits
} // namespace ros
#endif // ROSLIB_MESSAGE_TRAITS_H
| 1,466 |
994 | /*++
Copyright (c) Microsoft Corporation
Module Name:
FxIoQueueKm.hpp
Abstract:
This module implements km specific functions for FxIoQueue.
Author:
Environment:
Kernel mode only
Revision History:
--*/
#ifndef _FXIOQUEUEKM_HPP_
#define _FXIOQUEUEKM_HPP_
__inline
BOOLEAN
FxIoQueue::IsPagingIo(
__in MdIrp Irp
)
/*++
Routine Description:
Paging IO is treated especially depending on what Forward Progress policy
was set on the Queue
--*/
{
//
// NOTE: IRP_INPUT_OPERATION has the same value as IRP_SYNCHRONOUS_PAGING_IO
// and IRP_MOUNT_COMPLETION the same as IRP_PAGING_IO so how does one know if
// the IO is a paging IO ?
//
// One can assume that if IRP_PAGING_IO is set and the MJ code is not
// FILE_SYSTEM_CONTROL then it is a paging I/O.
//
if (Irp->Flags & IRP_PAGING_IO) {
if (IoGetCurrentIrpStackLocation(Irp)->MajorFunction
!= IRP_MJ_FILE_SYSTEM_CONTROL) {
return TRUE;
}
}
return FALSE;
}
#endif // _FXIOQUEUEKM_HPP
| 463 |
1,350 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.security.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** Describes properties of an assessment metadata. */
@Fluent
public final class SecurityAssessmentMetadataProperties {
@JsonIgnore private final ClientLogger logger = new ClientLogger(SecurityAssessmentMetadataProperties.class);
/*
* User friendly display name of the assessment
*/
@JsonProperty(value = "displayName", required = true)
private String displayName;
/*
* Azure resource ID of the policy definition that turns this assessment
* calculation on
*/
@JsonProperty(value = "policyDefinitionId", access = JsonProperty.Access.WRITE_ONLY)
private String policyDefinitionId;
/*
* Human readable description of the assessment
*/
@JsonProperty(value = "description")
private String description;
/*
* Human readable description of what you should do to mitigate this
* security issue
*/
@JsonProperty(value = "remediationDescription")
private String remediationDescription;
/*
* The categories property.
*/
@JsonProperty(value = "categories")
private List<Categories> categories;
/*
* The severity level of the assessment
*/
@JsonProperty(value = "severity", required = true)
private Severity severity;
/*
* The user impact of the assessment
*/
@JsonProperty(value = "userImpact")
private UserImpact userImpact;
/*
* The implementation effort required to remediate this assessment
*/
@JsonProperty(value = "implementationEffort")
private ImplementationEffort implementationEffort;
/*
* The threats property.
*/
@JsonProperty(value = "threats")
private List<Threats> threats;
/*
* True if this assessment is in preview release status
*/
@JsonProperty(value = "preview")
private Boolean preview;
/*
* BuiltIn if the assessment based on built-in Azure Policy definition,
* Custom if the assessment based on custom Azure Policy definition
*/
@JsonProperty(value = "assessmentType", required = true)
private AssessmentType assessmentType;
/*
* Describes the partner that created the assessment
*/
@JsonProperty(value = "partnerData")
private SecurityAssessmentMetadataPartnerData partnerData;
/**
* Get the displayName property: User friendly display name of the assessment.
*
* @return the displayName value.
*/
public String displayName() {
return this.displayName;
}
/**
* Set the displayName property: User friendly display name of the assessment.
*
* @param displayName the displayName value to set.
* @return the SecurityAssessmentMetadataProperties object itself.
*/
public SecurityAssessmentMetadataProperties withDisplayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* Get the policyDefinitionId property: Azure resource ID of the policy definition that turns this assessment
* calculation on.
*
* @return the policyDefinitionId value.
*/
public String policyDefinitionId() {
return this.policyDefinitionId;
}
/**
* Get the description property: Human readable description of the assessment.
*
* @return the description value.
*/
public String description() {
return this.description;
}
/**
* Set the description property: Human readable description of the assessment.
*
* @param description the description value to set.
* @return the SecurityAssessmentMetadataProperties object itself.
*/
public SecurityAssessmentMetadataProperties withDescription(String description) {
this.description = description;
return this;
}
/**
* Get the remediationDescription property: Human readable description of what you should do to mitigate this
* security issue.
*
* @return the remediationDescription value.
*/
public String remediationDescription() {
return this.remediationDescription;
}
/**
* Set the remediationDescription property: Human readable description of what you should do to mitigate this
* security issue.
*
* @param remediationDescription the remediationDescription value to set.
* @return the SecurityAssessmentMetadataProperties object itself.
*/
public SecurityAssessmentMetadataProperties withRemediationDescription(String remediationDescription) {
this.remediationDescription = remediationDescription;
return this;
}
/**
* Get the categories property: The categories property.
*
* @return the categories value.
*/
public List<Categories> categories() {
return this.categories;
}
/**
* Set the categories property: The categories property.
*
* @param categories the categories value to set.
* @return the SecurityAssessmentMetadataProperties object itself.
*/
public SecurityAssessmentMetadataProperties withCategories(List<Categories> categories) {
this.categories = categories;
return this;
}
/**
* Get the severity property: The severity level of the assessment.
*
* @return the severity value.
*/
public Severity severity() {
return this.severity;
}
/**
* Set the severity property: The severity level of the assessment.
*
* @param severity the severity value to set.
* @return the SecurityAssessmentMetadataProperties object itself.
*/
public SecurityAssessmentMetadataProperties withSeverity(Severity severity) {
this.severity = severity;
return this;
}
/**
* Get the userImpact property: The user impact of the assessment.
*
* @return the userImpact value.
*/
public UserImpact userImpact() {
return this.userImpact;
}
/**
* Set the userImpact property: The user impact of the assessment.
*
* @param userImpact the userImpact value to set.
* @return the SecurityAssessmentMetadataProperties object itself.
*/
public SecurityAssessmentMetadataProperties withUserImpact(UserImpact userImpact) {
this.userImpact = userImpact;
return this;
}
/**
* Get the implementationEffort property: The implementation effort required to remediate this assessment.
*
* @return the implementationEffort value.
*/
public ImplementationEffort implementationEffort() {
return this.implementationEffort;
}
/**
* Set the implementationEffort property: The implementation effort required to remediate this assessment.
*
* @param implementationEffort the implementationEffort value to set.
* @return the SecurityAssessmentMetadataProperties object itself.
*/
public SecurityAssessmentMetadataProperties withImplementationEffort(ImplementationEffort implementationEffort) {
this.implementationEffort = implementationEffort;
return this;
}
/**
* Get the threats property: The threats property.
*
* @return the threats value.
*/
public List<Threats> threats() {
return this.threats;
}
/**
* Set the threats property: The threats property.
*
* @param threats the threats value to set.
* @return the SecurityAssessmentMetadataProperties object itself.
*/
public SecurityAssessmentMetadataProperties withThreats(List<Threats> threats) {
this.threats = threats;
return this;
}
/**
* Get the preview property: True if this assessment is in preview release status.
*
* @return the preview value.
*/
public Boolean preview() {
return this.preview;
}
/**
* Set the preview property: True if this assessment is in preview release status.
*
* @param preview the preview value to set.
* @return the SecurityAssessmentMetadataProperties object itself.
*/
public SecurityAssessmentMetadataProperties withPreview(Boolean preview) {
this.preview = preview;
return this;
}
/**
* Get the assessmentType property: BuiltIn if the assessment based on built-in Azure Policy definition, Custom if
* the assessment based on custom Azure Policy definition.
*
* @return the assessmentType value.
*/
public AssessmentType assessmentType() {
return this.assessmentType;
}
/**
* Set the assessmentType property: BuiltIn if the assessment based on built-in Azure Policy definition, Custom if
* the assessment based on custom Azure Policy definition.
*
* @param assessmentType the assessmentType value to set.
* @return the SecurityAssessmentMetadataProperties object itself.
*/
public SecurityAssessmentMetadataProperties withAssessmentType(AssessmentType assessmentType) {
this.assessmentType = assessmentType;
return this;
}
/**
* Get the partnerData property: Describes the partner that created the assessment.
*
* @return the partnerData value.
*/
public SecurityAssessmentMetadataPartnerData partnerData() {
return this.partnerData;
}
/**
* Set the partnerData property: Describes the partner that created the assessment.
*
* @param partnerData the partnerData value to set.
* @return the SecurityAssessmentMetadataProperties object itself.
*/
public SecurityAssessmentMetadataProperties withPartnerData(SecurityAssessmentMetadataPartnerData partnerData) {
this.partnerData = partnerData;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (displayName() == null) {
throw logger
.logExceptionAsError(
new IllegalArgumentException(
"Missing required property displayName in model SecurityAssessmentMetadataProperties"));
}
if (severity() == null) {
throw logger
.logExceptionAsError(
new IllegalArgumentException(
"Missing required property severity in model SecurityAssessmentMetadataProperties"));
}
if (assessmentType() == null) {
throw logger
.logExceptionAsError(
new IllegalArgumentException(
"Missing required property assessmentType in model SecurityAssessmentMetadataProperties"));
}
if (partnerData() != null) {
partnerData().validate();
}
}
}
| 3,833 |
1,963 | /*
*******************************************************************************
* Copyright (c) 2021, STMicroelectronics
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
*******************************************************************************
*/
/*
* Automatically generated from STM32L475V(C-E-G)Tx.xml
* CubeMX DB release 6.0.10
*/
#if defined(ARDUINO_B_L475E_IOT01A)
#include "Arduino.h"
#include "PeripheralPins.h"
/* =====
* Notes:
* - The pins mentioned Px_y_ALTz are alternative possibilities which use other
* HW peripheral instances. You can use them the same way as any other "normal"
* pin (i.e. analogWrite(PA7_ALT1, 128);).
*
* - Commented lines are alternative possibilities which are not used per default.
* If you change them, you will have to know what you do
* =====
*/
//*** ADC ***
#ifdef HAL_ADC_MODULE_ENABLED
WEAK const PinMap PinMap_ADC[] = {
{PA_0, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 5, 0)}, // ADC1_IN5 - D1/UART4_TX
{PA_0_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 5, 0)}, // ADC2_IN5 - D1/UART4_TX
{PA_1, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 6, 0)}, // ADC1_IN6 - D0/UART4_RX
{PA_1_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 6, 0)}, // ADC2_IN6 - D0/UART4_RX
{PA_2, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 7, 0)}, // ADC1_IN7 - D10/PWM
{PA_2_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 7, 0)}, // ADC2_IN7 - D10/PWM
{PA_3, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 8, 0)}, // ADC1_IN8 - D4
{PA_3_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 8, 0)}, // ADC2_IN8 - D4
{PA_4, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 9, 0)}, // ADC1_IN9 - D7
{PA_4_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 9, 0)}, // ADC2_IN9 - D7
{PA_5, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 10, 0)}, // ADC1_IN10 - D13/SPI1_SCK/LED1
{PA_5_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 10, 0)}, // ADC2_IN10 - D13/SPI1_SCK/LED1
{PA_6, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 11, 0)}, // ADC1_IN11 - D12/SPI_MISO
{PA_6_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 11, 0)}, // ADC2_IN11 - D12/SPI_MISO
{PA_7, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 12, 0)}, // ADC1_IN12 - D11/SPI1_MOSI/PWM
{PA_7_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 12, 0)}, // ADC2_IN12 - D11/SPI1_MOSI/PWM
{PB_0, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 15, 0)}, // ADC1_IN15 - D3/PWM
{PB_0_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 15, 0)}, // ADC2_IN15 - D3/PWM
{PB_1, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 16, 0)}, // ADC1_IN16 - D6/PWM
{PB_1_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 16, 0)}, // ADC2_IN16 - D6/PWM
{PC_0, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 1, 0)}, // ADC1_IN1 - A5
{PC_0_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 1, 0)}, // ADC2_IN1 - A5
{PC_0_ALT2, ADC3, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 1, 0)}, // ADC3_IN1 - A5
{PC_1, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 2, 0)}, // ADC1_IN2 - A2
{PC_1_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 2, 0)}, // ADC2_IN2 - A2
{PC_1_ALT2, ADC3, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 2, 0)}, // ADC3_IN2 - A2
{PC_2, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 3, 0)}, // ADC1_IN3 - A3
{PC_2_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 3, 0)}, // ADC2_IN3 - A3
{PC_2_ALT2, ADC3, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 3, 0)}, // ADC3_IN3 - A3
{PC_3, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 4, 0)}, // ADC1_IN4 - A2
{PC_3_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 4, 0)}, // ADC2_IN4 - A2
{PC_3_ALT2, ADC3, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 4, 0)}, // ADC3_IN4 - A2
{PC_4, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 13, 0)}, // ADC1_IN13 - A1
{PC_4_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 13, 0)}, // ADC2_IN13 - A1
{PC_5, ADC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 14, 0)}, // ADC1_IN14 - A0
{PC_5_ALT1, ADC2, STM_PIN_DATA_EXT(STM_MODE_ANALOG_ADC_CONTROL, GPIO_NOPULL, 0, 14, 0)}, // ADC2_IN14 - A0
{NC, NP, 0}
};
#endif
//*** DAC ***
#ifdef HAL_DAC_MODULE_ENABLED
WEAK const PinMap PinMap_DAC[] = {
{PA_4, DAC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 1, 0)}, // DAC1_OUT1 - D7
{PA_5, DAC1, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 2, 0)}, // DAC1_OUT2 - D13/SPI1_SCK/LED1
{NC, NP, 0}
};
#endif
//*** I2C ***
#ifdef HAL_I2C_MODULE_ENABLED
WEAK const PinMap PinMap_I2C_SDA[] = {
// {PB_7, I2C1, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C1)}, //ST-LINK-UART1_RX
{PB_9, I2C1, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C1)}, //D14/I2C1_SDA
{PB_11, I2C2, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C2)}, //INTERNAL-I2C2_SDA
// {PB_14, I2C2, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C2)}, //LED2
{PC_1, I2C3, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C3)}, //A2
{NC, NP, 0}
};
#endif
#ifdef HAL_I2C_MODULE_ENABLED
WEAK const PinMap PinMap_I2C_SCL[] = {
// {PB_6, I2C1, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C1)}, //ST-LINK-UART1_TX
{PB_8, I2C1, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C1)}, //D15/I2C1_SCL
{PB_10, I2C2, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C2)}, //INTERNAL-I2C2_SCL
// {PB_13, I2C2, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C2)}, //ISM43362-WAKEUP
{PC_0, I2C3, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C3)}, //A5
{NC, NP, 0}
};
#endif
//*** TIM ***
#ifdef HAL_TIM_MODULE_ENABLED
WEAK const PinMap PinMap_TIM[] = {
{PA_0, TIM2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM2, 1, 0)}, // TIM2_CH1 - D1/UART4_TX
{PA_0_ALT1, TIM5, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM5, 1, 0)}, // TIM5_CH1 - D1/UART4_TX
{PA_1, TIM2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM2, 2, 0)}, // TIM2_CH2 - D0/UART4_RX
{PA_1_ALT1, TIM5, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM5, 2, 0)}, // TIM5_CH2 - D0/UART4_RX
{PA_1_ALT2, TIM15, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM15, 1, 1)}, // TIM15_CH1N - D0/UART4_RX
{PA_2, TIM2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM2, 3, 0)}, // TIM2_CH3 - D10 - D10/PWM
{PA_2_ALT1, TIM5, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM5, 3, 0)}, // TIM5_CH3 - D10/PWM
{PA_2_ALT2, TIM15, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM15, 1, 0)}, // TIM15_CH1 - D10/PWM
{PA_3, TIM2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM2, 4, 0)}, // TIM2_CH4 - D4
{PA_3_ALT1, TIM5, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM5, 4, 0)}, // TIM5_CH4 - D4
{PA_3_ALT2, TIM15, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM15, 2, 0)}, // TIM15_CH2 - D4
{PA_5, TIM2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM2, 1, 0)}, // TIM2_CH1 - D13/SPI1_SCK/LED1
{PA_5_ALT1, TIM8, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF3_TIM8, 1, 1)}, // TIM8_CH1N - D13/SPI1_SCK/LED1
{PA_6, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 1, 0)}, // TIM3_CH1 - D12/SPI_MISO
{PA_6_ALT1, TIM16, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM16, 1, 0)}, // TIM16_CH1 - D12/SPI_MISO
{PA_7, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 1, 1)}, // TIM1_CH1N - D11/SPI1_MOSI/PWM
{PA_7_ALT1, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 2, 0)}, // TIM3_CH2 - D11/SPI1_MOSI/PWM
{PA_7_ALT2, TIM8, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF3_TIM8, 1, 1)}, // TIM8_CH1N - D11/SPI1_MOSI/PWM
{PA_7_ALT3, TIM17, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM17, 1, 0)}, // TIM17_CH1 - D11/SPI1_MOSI/PWM
// {PA_8, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 1, 0)}, // TIM1_CH1 - SPBTLE-RF-RST
// {PA_9, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 2, 0)}, // TIM1_CH2 - USB_OTG_FS_VBUS
// {PA_10, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 3, 0)}, // TIM1_CH3 - USB_OTG_FS_ID
// {PA_11, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 4, 0)}, // TIM1_CH4 - USB_OTG_FS_DM
{PA_15, TIM2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM2, 1, 0)}, // TIM2_CH1 - D9/PWM
{PB_0, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 2, 1)}, // TIM1_CH2N - D3/PWM
{PB_0_ALT1, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 3, 0)}, // TIM3_CH3 - D3/PWM
{PB_0_ALT2, TIM8, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF3_TIM8, 2, 1)}, // TIM8_CH2N - D3/PWM
{PB_1, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 3, 1)}, // TIM1_CH3N - D6/PWM
{PB_1_ALT1, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 4, 0)}, // TIM3_CH4 - D6/PWM
{PB_1_ALT2, TIM8, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF3_TIM8, 3, 1)}, // TIM8_CH3N - D6/PWM
// {PB_3, TIM2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM2, 2, 0)}, // TIM2_CH2 - SYS_JTDO-SWO
{PB_4, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 1, 0)}, // TIM3_CH1 - D5/PWM
// {PB_5, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 2, 0)}, // TIM3_CH2 - SPSGRF-915-SPI3_CSN
// {PB_6, TIM4, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM4, 1, 0)}, // TIM4_CH1 - ST-LINK-UART1_TX
// {PB_6_ALT1, TIM16, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM16, 1, 1)}, // TIM16_CH1N - ST-LINK-UART1_TX
// {PB_7, TIM4, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM4, 2, 0)}, // TIM4_CH2 - ST-LINK-UART1_RX
// {PB_7_ALT1, TIM17, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM17, 1, 1)}, // TIM17_CH1N - ST-LINK-UART1_RX
{PB_8, TIM4, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM4, 3, 0)}, // TIM4_CH3 - D15/I2C1_SCL
{PB_8_ALT1, TIM16, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM16, 1, 0)}, // TIM16_CH1 - D15/I2C1_SCL
{PB_9, TIM4, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM4, 4, 0)}, // TIM4_CH4 - D14/I2C1_SDA
{PB_9_ALT1, TIM17, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM17, 1, 0)}, // TIM17_CH1 - D14/I2C1_SDA
// {PB_10, TIM2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM2, 3, 0)}, // TIM2_CH3 - INTERNAL-I2C2_SCL
// {PB_11, TIM2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM2, 4, 0)}, // TIM2_CH4 - INTERNAL-I2C2_SDA
// {PB_13, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 1, 1)}, // TIM1_CH1N - ISM43362-WAKEUP
// {PB_13_ALT1, TIM15, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM15, 1, 1)}, // TIM15_CH1N - ISM43362-WAKEUP
{PB_14, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 2, 1)}, // TIM1_CH2N - LED2
{PB_14_ALT1, TIM8, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF3_TIM8, 2, 1)}, // TIM8_CH2N - LED2
{PB_14_ALT2, TIM15, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM15, 1, 0)}, // TIM15_CH1 - LED2
// {PB_15, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 3, 1)}, // TIM1_CH3N - SPSGRF-915-SDN
// {PB_15_ALT1, TIM8, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF3_TIM8, 3, 1)}, // TIM8_CH3N - SPSGRF-915-SDN
// {PB_15_ALT2, TIM15, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM15, 2, 0)}, // TIM15_CH2 - SPSGRF-915-SDN
// {PC_6, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 1, 0)}, // TIM3_CH1 - VL53L0X_XSHUT
// {PC_6_ALT1, TIM8, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF3_TIM8, 1, 0)}, // TIM8_CH1 - VL53L0X_XSHUT
// {PC_7, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 2, 0)}, // TIM3_CH2 - VL53L0X_GPIO1_EXTI7
// {PC_7_ALT1, TIM8, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF3_TIM8, 2, 0)}, // TIM8_CH2 - VL53L0X_GPIO1_EXTI7
// {PC_8, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 3, 0)}, // TIM3_CH3 - VL53L0X_GPIO1_EXTI7
// {PC_8_ALT1, TIM8, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF3_TIM8, 3, 0)}, // TIM8_CH3 - VL53L0X_GPIO1_EXTI7
// {PC_9, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 4, 0)}, // TIM3_CH4 - LED3 (WIFI) & LED4 (BLE)
// {PC_9_ALT1, TIM8, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF3_TIM8, 4, 0)}, // TIM8_CH4 - LED3 (WIFI) & LED4 (BLE)
// {PD_12, TIM4, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM4, 1, 0)}, // TIM4_CH1 - USB_OTG_FS_PWR_EN
// {PD_13, TIM4, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM4, 2, 0)}, // TIM4_CH2 - SPBTLE-RF-SPI3_CSN
{PD_14, TIM4, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM4, 3, 0)}, // TIM4_CH3 - D2
// {PD_15, TIM4, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM4, 4, 0)}, // TIM4_CH4 - HTS221_DRDY_EXTI15
// {PE_0, TIM16, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM16, 1, 0)}, // TIM16_CH1 - ISM43362-SPI3_CSN
// {PE_1, TIM17, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_TIM17, 1, 0)}, // TIM17_CH1 - ISM43362-DRDY_EXTI1
// {PE_3, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 1, 0)}, // TIM3_CH1 - USB_OTG_OVRCR_EXTI3
// {PE_4, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 2, 0)}, // TIM3_CH2 - M24SR64-Y-GPO
// {PE_5, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 3, 0)}, // TIM3_CH3 - SPSGRF-915-GPIO3_EXTI5
// {PE_6, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM3, 4, 0)}, // TIM3_CH4 - SPBTLE-RF-IRQ_EXTI6
// {PE_8, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 1, 1)}, // TIM1_CH1N - ISM43362-RST
// {PE_9, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 1, 0)}, // TIM1_CH1 - DFSDM1_CKOUT
// {PE_10, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 2, 1)}, // TIM1_CH2N - QUADSPI_CLK
// {PE_11, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 2, 0)}, // TIM1_CH2 - QUADSPI_NCS
// {PE_12, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 3, 1)}, // TIM1_CH3N - QUADSPI_BK1_IO0
// {PE_13, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 3, 0)}, // TIM1_CH3 - QUADSPI_BK1_IO1
// {PE_14, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM1, 4, 0)}, // TIM1_CH4 - QUADSPI_BK1_IO2
{NC, NP, 0}
};
#endif
//*** UART ***
#ifdef HAL_UART_MODULE_ENABLED
WEAK const PinMap PinMap_UART_TX[] = {
{PA_0, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART4)}, //D1/UART4_TX
{PA_2, USART2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)}, //D10/PWM
// {PA_9, USART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)}, //USB_OTG_FS_VBUS
{PB_6, USART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)}, //ST-LINK-UART1_TX
// {PB_10, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //INTERNAL-I2C2_SCL
// {PB_11, LPUART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_LPUART1)}, //INTERNAL-I2C2_SDA
{PC_1, LPUART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_LPUART1)}, //A2
{PC_4, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //A1
// {PC_10, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART4)}, //INTERNAL-SPI3_SCK
// {PC_10_ALT1, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //INTERNAL-SPI3_SCK
// {PC_12, UART5, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART5)}, //INTERNAL-SPI3_MOSI
{PD_5, USART2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)}, //PMOD-UART2_TX/SPI2_CSN
{PD_8, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //INTERNAL-UART3_TX
{NC, NP, 0}
};
#endif
#ifdef HAL_UART_MODULE_ENABLED
WEAK const PinMap PinMap_UART_RX[] = {
{PA_1, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART4)}, //D0/UART4_RX
{PA_3, USART2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)}, //D4
// {PA_10, USART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)}, //USB_OTG_FS_ID
{PB_7, USART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)}, //ST-LINK-UART1_RX
// {PB_10, LPUART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_LPUART1)}, //INTERNAL-I2C2_SCL
// {PB_11, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //INTERNAL-I2C2_SDA
{PC_0, LPUART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_LPUART1)}, //A5
{PC_5, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //A0
// {PC_11, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART4)}, //INTERNAL-SPI3_MISO
// {PC_11_ALT1, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //INTERNAL-SPI3_MISO
// {PD_2, UART5, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART5)}, //PMOD-IRQ_EXTI2
{PD_6, USART2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)}, //PMOD-UART2_RX
{PD_9, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //INTERNAL-UART3_RX
{NC, NP, 0}
};
#endif
#ifdef HAL_UART_MODULE_ENABLED
WEAK const PinMap PinMap_UART_RTS[] = {
// {PA_1, USART2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)}, //D0/UART4_RX
// {PA_12, USART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)}, //USB_OTG_FS_DP
// {PA_15, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART4)}, //D9/PWM
// {PB_1, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //D6/PWM
// {PB_3, USART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)}, //SYS_JTDO-SWO
// {PB_4, UART5, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART5)}, //D5/PWM
// {PB_12, LPUART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_LPUART1)}, //ISM43362-BOOT0
// {PB_14, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //LED2
{PD_2, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //PMOD-IRQ_EXTI2
{PD_4, USART2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)}, //PMOD-UART2_RTS/SPI2_MOSI
// {PD_12, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //USB_OTG_FS_PWR_EN
{NC, NP, 0}
};
#endif
#ifdef HAL_UART_MODULE_ENABLED
WEAK const PinMap PinMap_UART_CTS[] = {
// {PA_0, USART2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)}, //D1/UART4_TX
// {PA_6, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //D12/SPI_MISO
// {PA_11, USART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)}, //USB_OTG_FS_DM
// {PB_4, USART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)}, //D5/PWM
// {PB_5, UART5, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART5)}, //SPSGRF-915-SPI3_CSN
// {PB_7, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART4)}, //ST-LINK-UART1_RX
// {PB_13, LPUART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_LPUART1)}, //ISM43362-WAKEUP
// {PB_13_ALT1, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //ISM43362-WAKEUP
{PD_3, USART2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)}, //PMOD-UART2_CTS/SPI2_MISO
// {PD_11, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, //LSM6DSL_INT1_EXTI11
{NC, NP, 0}
};
#endif
//*** SPI ***
#ifdef HAL_SPI_MODULE_ENABLED
WEAK const PinMap PinMap_SPI_MOSI[] = {
{PA_7, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)}, //D11/SPI1_MOSI/PWM
// {PB_5, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)}, //SPSGRF-915-SPI3_CSN
// {PB_5_ALT1, SPI3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_SPI3)}, //SPSGRF-915-SPI3_CSN
// {PB_15, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)}, //SPSGRF-915-SDN
{PC_3, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)}, //A2
{PC_12, SPI3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_SPI3)}, //INTERNAL-SPI3_MOSI
{PD_4, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)}, //PMOD-UART2_RTS/SPI2_MOSI
// {PE_15, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)}, //QUADSPI_BK1_IO3
{NC, NP, 0}
};
#endif
#ifdef HAL_SPI_MODULE_ENABLED
WEAK const PinMap PinMap_SPI_MISO[] = {
{PA_6, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)}, //D12
{PB_4, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)}, //D5/PWM
{PB_4_ALT1, SPI3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_SPI3)}, //D5/PWM
// {PB_14, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)}, //LED2
{PC_2, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)}, //A3
{PC_11, SPI3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_SPI3)}, //INTERNAL-SPI3_MISO
{PD_3, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)}, //PMOD-UART2_CTS/SPI2_MISO
// {PE_14, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)}, //QUADSPI_BK1_IO2
{NC, NP, 0}
};
#endif
#ifdef HAL_SPI_MODULE_ENABLED
WEAK const PinMap PinMap_SPI_SCLK[] = {
{PA_5, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)}, //D13/SPI1_SCK/LED1
// {PB_3, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)}, //SYS_JTDO-SWO
// {PB_3_ALT1, SPI3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_SPI3)}, //SYS_JTDO-SWO
// {PB_10, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)}, //INTERNAL-I2C2_SCL
// {PB_13, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)}, //ISM43362-WAKEUP
{PC_10, SPI3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_SPI3)}, //INTERNAL-SPI3_SCK
{PD_1, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)}, //PMOD-SPI2_SCK
// {PE_13, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)}, //QUADSPI_BK1_IO1
{NC, NP, 0}
};
#endif
#ifdef HAL_SPI_MODULE_ENABLED
WEAK const PinMap PinMap_SPI_SSEL[] = {
{PA_4, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)}, //D7
{PA_4_ALT1, SPI3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_SPI3)}, //D7
{PA_15, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)}, //D9/PWM
{PA_15_ALT1, SPI3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_SPI3)}, //D9/PWM
{PB_9, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)}, //D14/I2C1_SDA
// {PB_12, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)}, //ISM43362-BOOT0
{PD_0, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)}, //PMOD-RESET
// {PE_12, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)}, //QUADSPI_BK1_IO0
{NC, NP, 0}
};
#endif
//*** CAN ***
#ifdef HAL_CAN_MODULE_ENABLED
WEAK const PinMap PinMap_CAN_RD[] = {
// {PA_11, CAN1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF9_CAN1)}, //USB_OTG_FS_DM
{PB_8, CAN1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF9_CAN1)}, //D15/I2C1_SCL
{PD_0, CAN1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF9_CAN1)}, //PMOD-RESET
{NC, NP, 0}
};
#endif
#ifdef HAL_CAN_MODULE_ENABLED
WEAK const PinMap PinMap_CAN_TD[] = {
// {PA_12, CAN1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF9_CAN1)}, //USB_OTG_FS_DP
{PB_9, CAN1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF9_CAN1)}, //D14/I2C1_SDA
{PD_1, CAN1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF9_CAN1)}, //PMOD-SPI2_SCK
{NC, NP, 0}
};
#endif
//*** No ETHERNET ***
//*** QUADSPI ***
#ifdef HAL_QSPI_MODULE_ENABLED
WEAK const PinMap PinMap_QUADSPI_DATA0[] = {
{PB_1, QUADSPI, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QUADSPI)}, // QUADSPI_BK1_IO0
{PE_12, QUADSPI, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QUADSPI)}, // QUADSPI_BK1_IO0
{NC, NP, 0}
};
#endif
#ifdef HAL_QSPI_MODULE_ENABLED
WEAK const PinMap PinMap_QUADSPI_DATA1[] = {
{PB_0, QUADSPI, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QUADSPI)}, // QUADSPI_BK1_IO1
{PE_13, QUADSPI, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QUADSPI)}, // QUADSPI_BK1_IO1
{NC, NP, 0}
};
#endif
#ifdef HAL_QSPI_MODULE_ENABLED
WEAK const PinMap PinMap_QUADSPI_DATA2[] = {
{PA_7, QUADSPI, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QUADSPI)}, // QUADSPI_BK1_IO2
{PE_14, QUADSPI, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QUADSPI)}, // QUADSPI_BK1_IO2
{NC, NP, 0}
};
#endif
#ifdef HAL_QSPI_MODULE_ENABLED
WEAK const PinMap PinMap_QUADSPI_DATA3[] = {
{PA_6, QUADSPI, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QUADSPI)}, // QUADSPI_BK1_IO3
{PE_15, QUADSPI, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QUADSPI)}, // QUADSPI_BK1_IO3
{NC, NP, 0}
};
#endif
#ifdef HAL_QSPI_MODULE_ENABLED
WEAK const PinMap PinMap_QUADSPI_SCLK[] = {
{PB_10, QUADSPI, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QUADSPI)}, // QUADSPI_CLK
{PE_10, QUADSPI, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QUADSPI)}, // QUADSPI_CLK
{NC, NP, 0}
};
#endif
#ifdef HAL_QSPI_MODULE_ENABLED
WEAK const PinMap PinMap_QUADSPI_SSEL[] = {
{PB_11, QUADSPI, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QUADSPI)}, // QUADSPI_NCS
{PE_11, QUADSPI, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QUADSPI)}, // QUADSPI_NCS
{NC, NP, 0}
};
#endif
//*** USB ***
#if defined(HAL_PCD_MODULE_ENABLED) || defined(HAL_HCD_MODULE_ENABLED)
WEAK const PinMap PinMap_USB_OTG_FS[] = {
// {PA_8, USB_OTG_FS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_OTG_FS)}, // USB_OTG_FS_SOF
{PA_9, USB_OTG_FS, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, GPIO_AF_NONE)}, // USB_OTG_FS_VBUS
{PA_10, USB_OTG_FS, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_PULLUP, GPIO_AF10_OTG_FS)}, // USB_OTG_FS_ID
{PA_11, USB_OTG_FS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_OTG_FS)}, // USB_OTG_FS_DM
{PA_12, USB_OTG_FS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_OTG_FS)}, // USB_OTG_FS_DP
// {PA_13, USB_OTG_FS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_OTG_FS)}, // USB_OTG_FS_NOE
// {PC_9, USB_OTG_FS, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_OTG_FS)}, // USB_OTG_FS_NOE
{NC, NP, 0}
};
#endif
//*** SD ***
#ifdef HAL_SD_MODULE_ENABLED
WEAK const PinMap PinMap_SD[] = {
// {PB_8, SDMMC1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_SDMMC1)}, // SDMMC1_D4
// {PB_9, SDMMC1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_SDMMC1)}, // SDMMC1_D5
// {PC_6, SDMMC1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_SDMMC1)}, // SDMMC1_D6
// {PC_7, SDMMC1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_SDMMC1)}, // SDMMC1_D7
// {PC_8, SDMMC1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_SDMMC1)}, // SDMMC1_D0
// {PC_9, SDMMC1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_SDMMC1)}, // SDMMC1_D1
// {PC_10, SDMMC1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_SDMMC1)}, // SDMMC1_D2
// {PC_11, SDMMC1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF12_SDMMC1)}, // SDMMC1_D3
// {PC_12, SDMMC1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF12_SDMMC1)}, // SDMMC1_CK
// {PD_2, SDMMC1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF12_SDMMC1)}, // SDMMC1_CMD
{NC, NP, 0}
};
#endif
#endif /* ARDUINO_B_L475E_IOT01A */
| 16,542 |
2,151 | <reponame>zipated/src
//
// Copyright 2018 The ANGLE 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.
//
// RenderbufferMultisampleTest: Tests of multisampled renderbuffer
#include "test_utils/ANGLETest.h"
#include "test_utils/gl_raii.h"
using namespace angle;
namespace
{
class RenderbufferMultisampleTest : public ANGLETest
{
protected:
RenderbufferMultisampleTest()
{
setWindowWidth(64);
setWindowHeight(64);
setConfigRedBits(8);
setConfigGreenBits(8);
setConfigBlueBits(8);
setConfigAlphaBits(8);
}
void SetUp() override
{
ANGLETest::SetUp();
glGenRenderbuffers(1, &mRenderbuffer);
ASSERT_GL_NO_ERROR();
}
void TearDown() override
{
glDeleteRenderbuffers(1, &mRenderbuffer);
mRenderbuffer = 0;
ANGLETest::TearDown();
}
GLuint mRenderbuffer = 0;
};
// In GLES 3.0, if internalformat is integer (signed or unsigned), to allocate multisample
// renderbuffer storage for that internalformat is not supported. An INVALID_OPERATION is
// generated. In GLES 3.1, it is OK to allocate multisample renderbuffer storage for interger
// internalformat, but the max samples should be less than MAX_INTEGER_SAMPLES.
// MAX_INTEGER_SAMPLES should be at least 1.
TEST_P(RenderbufferMultisampleTest, IntegerInternalformat)
{
glBindRenderbuffer(GL_RENDERBUFFER, mRenderbuffer);
glRenderbufferStorageMultisample(GL_RENDERBUFFER, 1, GL_RGBA8I, 64, 64);
if (getClientMajorVersion() < 3 || getClientMinorVersion() < 1)
{
ASSERT_GL_ERROR(GL_INVALID_OPERATION);
}
else
{
ASSERT_GL_NO_ERROR();
GLint maxSamplesRGBA8I = 0;
glGetInternalformativ(GL_RENDERBUFFER, GL_RGBA8I, GL_SAMPLES, 1, &maxSamplesRGBA8I);
GLint maxIntegerSamples = 0;
glGetIntegerv(GL_MAX_INTEGER_SAMPLES, &maxIntegerSamples);
ASSERT_GL_NO_ERROR();
EXPECT_GE(maxIntegerSamples, 1);
glRenderbufferStorageMultisample(GL_RENDERBUFFER, maxSamplesRGBA8I + 1, GL_RGBA8I, 64, 64);
ASSERT_GL_ERROR(GL_INVALID_OPERATION);
glRenderbufferStorageMultisample(GL_RENDERBUFFER, maxIntegerSamples + 1, GL_RGBA8I, 64, 64);
ASSERT_GL_ERROR(GL_INVALID_OPERATION);
}
}
ANGLE_INSTANTIATE_TEST(RenderbufferMultisampleTest,
ES3_D3D11(),
ES3_OPENGL(),
ES3_OPENGLES(),
ES31_D3D11(),
ES31_OPENGL(),
ES31_OPENGLES());
}
| 1,172 |
14,668 | // 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_MEDIA_HISTORY_MEDIA_HISTORY_SESSION_IMAGES_TABLE_H_
#define CHROME_BROWSER_MEDIA_HISTORY_MEDIA_HISTORY_SESSION_IMAGES_TABLE_H_
#include <vector>
#include "base/strings/string_util.h"
#include "chrome/browser/media/history/media_history_table_base.h"
#include "sql/init_status.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "url/gurl.h"
namespace base {
class UpdateableSequencedTaskRunner;
} // namespace base
namespace media_session {
struct MediaImage;
} // namespace media_session
namespace gfx {
class Size;
} // namespace gfx
namespace media_history {
class MediaHistorySessionImagesTable : public MediaHistoryTableBase {
public:
static const char kTableName[];
private:
friend class MediaHistoryStore;
explicit MediaHistorySessionImagesTable(
scoped_refptr<base::UpdateableSequencedTaskRunner> db_task_runner);
MediaHistorySessionImagesTable(const MediaHistorySessionImagesTable&) =
delete;
MediaHistorySessionImagesTable& operator=(
const MediaHistorySessionImagesTable&) = delete;
~MediaHistorySessionImagesTable() override;
// MediaHistoryTableBase:
sql::InitStatus CreateTableIfNonExistent() override;
// Saves the link and returns whether it was successful.
bool LinkImage(const int64_t session_id,
const int64_t image_id,
const absl::optional<gfx::Size> size);
// Gets all the images for a session.
std::vector<media_session::MediaImage> GetImagesForSession(
const int64_t session_id);
};
} // namespace media_history
#endif // CHROME_BROWSER_MEDIA_HISTORY_MEDIA_HISTORY_SESSION_IMAGES_TABLE_H_
| 602 |
675 | <reponame>bigplayszn/nCine
#include "FontGlyph.h"
namespace ncine {
///////////////////////////////////////////////////////////
// CONSTRUCTORS and DESTRUCTOR
///////////////////////////////////////////////////////////
FontGlyph::FontGlyph()
: FontGlyph(0, 0, 0, 0, 0, 0, 0)
{
}
FontGlyph::FontGlyph(unsigned int x, unsigned int y, unsigned int width, unsigned int height,
int xOffset, int yOffset, int xAdvance)
: x_(x), y_(y), width_(width), height_(height),
xOffset_(xOffset), yOffset_(yOffset), xAdvance_(xAdvance),
kernings_(4)
{
}
///////////////////////////////////////////////////////////
// PUBLIC FUNCTIONS
///////////////////////////////////////////////////////////
int FontGlyph::kerning(unsigned int secondGlyph) const
{
int kerningAmount = 0;
for (const Kerning &kerning : kernings_)
{
if (secondGlyph == kerning.secondGlyph_)
{
kerningAmount = kerning.amount_;
break;
}
}
return kerningAmount;
}
}
| 346 |
348 | {"nom":"Cordonnet","circ":"1ère circonscription","dpt":"Haute-Saône","inscrits":117,"abs":55,"votants":62,"blancs":4,"nuls":1,"exp":57,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":43},{"nuance":"FN","nom":"Mme <NAME>","voix":14}]} | 95 |
432 | <filename>debugger/src/simple_plugin/isimple_plugin.h
/**
* @file
* @copyright Copyright 2016 GNSS Sensor Ltd. All right reserved.
* @author <NAME> - <EMAIL>
* @brief Demo plugin interface.
*/
#ifndef __DEBUGGER_SIMPLE_PLUGIN_H__
#define __DEBUGGER_SIMPLE_PLUGIN_H__
#include "iface.h"
namespace debugger {
static const char *const IFACE_SIMPLE_PLUGIN = "ITap";
static const char *const ISimplePlugin_brief =
"Simple plugin interface example.";
static const char *const ISimplePlugin_detail =
"This interface is used to interact with the plugin library.";
class ISimplePlugin : public IFace {
public:
ISimplePlugin() : IFace(IFACE_SIMPLE_PLUGIN) {}
virtual const char *getBrief() { return ISimplePlugin_brief; }
virtual const char *getDetail() { return ISimplePlugin_detail; }
virtual int exampleAction(int val) =0;
};
} // namespace debugger
#endif // __DEBUGGER_SIMPLE_PLUGIN_H__
| 327 |
1,694 | <reponame>CrackerCat/iWeChat
//
// 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 <NAME>.
//
#import "CBaseEvent.h"
#import "NotifyFromEventDelegate-Protocol.h"
@class MMTimer, NSMutableArray, NSMutableDictionary, NSOperationQueue;
@interface CMultiEvent : CBaseEvent <NotifyFromEventDelegate>
{
NSMutableArray *m_arrEvent;
MMTimer *m_oTimerCheckEvent;
NSMutableDictionary *m_dicThreadEvent;
NSOperationQueue *m_operationQueuEvent;
}
- (void).cxx_destruct;
- (id)GetLock;
- (id)FindEvent:(unsigned int)arg1;
- (void)NotifyFromEvent:(id)arg1 Message:(unsigned int)arg2 MessageInfo:(id)arg3;
- (_Bool)IsEventRunning:(unsigned int)arg1;
- (unsigned int)IsEventTypeExist:(unsigned int)arg1;
- (void)StopEvent:(unsigned int)arg1;
- (_Bool)SetEvent:(id)arg1 EventInfo:(id)arg2 Start:(_Bool)arg3 Ret:(unsigned int *)arg4 RetInfo:(id)arg5;
- (_Bool)StartEvent:(id)arg1 Ret:(unsigned int *)arg2 RetInfo:(id)arg3;
- (void)ClearStopEvent;
- (void)TimerCheckEvent;
- (void)Stop;
- (_Bool)Start:(unsigned int *)arg1 RetInfo:(id)arg2;
- (void)dealloc;
- (id)init;
@end
| 461 |
4,813 | # Generated by Django 2.1.5 on 2019-01-12 20:05
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("accounts", "0020_auto_20190112_1950")]
operations = [
migrations.AlterField(
model_name="project",
name="badge_key",
field=models.CharField(max_length=150, unique=True),
)
]
| 170 |
2,291 | <reponame>M-i-k-e-l/osmdroid
{
"id" : 164,
"status" : "Fixed",
"summary" : "Do Overlay.onDraw the same as Google Maps Overlay",
"labels" : [ "Type-Enhancement", "Priority-Medium" ],
"stars" : 0,
"commentCount" : 5,
"comments" : [ {
"id" : 0,
"commenterId" : 8937367184059112911,
"content" : "Currently Overlay has two methods\r\nonDraw - this is called first\r\nonDrawFinished - this is called last\r\nBoth methods are called sequentially for each overlay.\r\n\r\nGoogle Maps overlay has on method onDraw with a parameter "shadow". It calls all overlays with shadow = true first, then all overlays with shadow = false afterwards.\r\n\r\nI am submitting this issue to suggest that we change osmdroid to work the same way as Google.\r\n\r\nI've attached a patch which seems to work.\r\n\r\nThis issue is derived from some comments on issue 155.",
"timestamp" : 1298389346,
"attachments" : [ {
"id" : -337721164261688113,
"fileName" : "onDraw.patch",
"fileSize" : 24697
} ]
}, {
"id" : 1,
"commenterId" : 8937367184059112911,
"content" : "Actually I just noticed that Google has draw, not onDraw, so I should change it to that.\r\n\r\nhttp://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/Overlay.html",
"timestamp" : 1298457691,
"attachments" : [ ]
}, {
"id" : 2,
"commenterId" : 7646092065249173135,
"content" : "Neil - this looks good, but it loses the \"enabled\" setting functionality for individual overlays. The reason we called onManagedDraw is so that we could short-circuit calling onDraw if !mEnabled. However, this functionality can easily be handled by the OverlayManager, and I'll note in the comments that the \"enabled\" functionality must be checked externally before calling onDraw.",
"timestamp" : 1298758106,
"attachments" : [ ]
}, {
"id" : 3,
"commenterId" : 7646092065249173135,
"content" : "This issue was updated by revision r827.\n\nApplied Neil's patch, changed onDraw to draw, and added isEnabled() checks",
"timestamp" : 1298758693,
"attachments" : [ ]
}, {
"id" : 4,
"commenterId" : 8937367184059112911,
"content" : "",
"timestamp" : 1299250779,
"attachments" : [ ]
} ]
} | 834 |
578 | /*
* Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available.
*
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
*
* BK-JOB蓝鲸智云作业平台 is licensed under the MIT License.
*
* License for BK-JOB蓝鲸智云作业平台:
* --------------------------------------------------------------------
* 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.
*/
package com.tencent.bk.job.common.util.http;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Field;
import java.net.URLEncoder;
public class BasicHttpReq {
public String toUrlParams() {
StringBuilder urlString = new StringBuilder(512);
char c = '&';
Class<?> aClass = getClass();
while (aClass != null) {
Field[] declaredFields = aClass.getDeclaredFields();
for (Field field : declaredFields) {
String key;
JsonProperty annotation = field.getAnnotation(JsonProperty.class);
if (annotation != null) {
key = annotation.value();
} else {
key = field.getName();
}
if (!field.isAccessible()) {
field.setAccessible(true);
try {
Object b = field.get(this);
if (b != null) {
urlString.append(c).append(key).append('=').append(urlEncode(b.toString()));
}
} catch (IllegalAccessException ignored) {
} finally {
field.setAccessible(false);
}
}
}
aClass = aClass.getSuperclass();
}
if (urlString.toString().length() > 0) {
return "?" + urlString.toString().substring(1);
} else {
return "?";
}
}
private String urlEncode(String str) {
try {
return URLEncoder.encode(str, "utf-8");
} catch (UnsupportedEncodingException e) {
throw new RuntimeException("encode failed");
}
}
}
| 1,355 |
578 | //#include <two/frame.h>
#include <xx_three/xx_three.h>
#include <gfx-pbr/Api.h>
#include <xx_three/xx_three.h>
using namespace two;
static string shader_vertex =
R"'(
varying vec2 v_uv0;
void main()
{
v_uv0 = uv;
vec4 mvPosition = mul(u_modelView, vec4(a_position.xyz, 1.0));
gl_Position = u_proj * mvPosition;
}
)'";
static string shader4_fragment =
R"'(
uniform float time;
varying vec2 v_uv0;
void main(void)
{
vec2 position = - 1.0 + 2.0 * v_uv0;
float red = abs(sin(position.x * position.y + time / 5.0));
float green = abs(sin(position.x * position.y + time / 4.0));
float blue = abs(sin(position.x * position.y + time / 3.0));
gl_FragColor = vec4(red, green, blue, 1.0);
}
)'";
static string shader3_fragment =
R"'(
uniform float time;
varying vec2 v_uv0;
void main(void)
{
vec2 position = v_uv0;
float color = 0.0;
color += sin(position.x * cos(time / 15.0) * 80.0) + cos(position.y * cos(time / 15.0) * 10.0);
color += sin(position.y * sin(time / 10.0) * 40.0) + cos(position.x * sin(time / 25.0) * 40.0);
color += sin(position.x * sin(time / 5.0) * 10.0) + sin(position.y * sin(time / 35.0) * 80.0);
color *= sin(time / 10.0) * 0.5;
gl_FragColor = vec4(vec3(color, color * 0.5, sin(color + time / 3.0) * 0.75), 1.0);
}
)'";
static string shader2_fragment =
R"'(
uniform float time;
uniform sampler2D texture;
varying vec2 v_uv0;
void main(void) {
vec2 position = - 1.0 + 2.0 * v_uv0;
float a = atan(position.y, position.x);
float r = sqrt(dot(position, position));
vec2 uv;
uv.x = cos(a) / r;
uv.y = sin(a) / r;
uv /= 10.0;
uv += time * 0.05;
vec3 color = texture2D(texture, uv).rgb;
gl_FragColor = vec4(color * r * 1.5, 1.0);
}
)'";
static string shader1_fragment =
R"'(
uniform float time;
varying vec2 v_uv0;
void main(void) {
vec2 p = - 1.0 + 2.0 * v_uv0;
float a = time * 40.0;
float d, e, f, g = 1.0 / 40.0 ,h ,i ,r ,q;
e = 400.0 * (p.x * 0.5 + 0.5);
f = 400.0 * (p.y * 0.5 + 0.5);
i = 200.0 + sin(e * g + a / 150.0) * 20.0;
d = 200.0 + cos(f * g / 2.0) * 18.0 + cos(e * g) * 7.0;
r = sqrt(pow(abs(i - e), 2.0) + pow(abs(d - f), 2.0));
q = f / r;
e = (r * cos(q)) - a / 2.0;
f = (r * sin(q)) - a / 2.0;
d = sin(e * g) * 176.0 + sin(e * g) * 164.0 + r;
h = ((f + d) + a / 2.0) * g;
i = cos(h + r * p.x / 1.3) * (e + e + a) + cos(q * g * 6.0) * (r + h / 3.0);
h = sin(f * g) * 144.0 - sin(e * g) * 212.0 * p.x;
h = (h + (f - e) * q + sin(r - (a + h) / 7.0) * 10.0 + i / 4.0) * g;
i += cos(h * 2.3 * sin(a / 350.0 - q)) * 184.0 * sin(q - (r * 4.3 + a / 12.0) * g) + tan(r * g + h) * 184.0 * cos(r * g + h);
i = mod(i / 5.6, 256.0) / 64.0;
if (i < 0.0) i += 4.0;
if (i >= 2.0) i = 4.0 - i;
d = r / 350.0;
d += sin(d * d * 8.0) * 0.52;
f = (sin(a * g) + 1.0) / 2.0;
gl_FragColor = vec4(vec3(f * i / 1.6, i / 2.0 + d / 13.0, i) * d * p.x + vec3(i / 1.3 + d / 8.0, i / 2.0 + d / 18.0, i) * d * (1.0 - p.x), 1.0);
}
)'";
EX(xx_shader2)
{
#if UI
UNUSED(dockbar);
SceneViewer& viewer = ui::scene_viewer(parent);
Scene& scene = viewer.m_scene;
#else
static Scene scene = Scene(app.m_gfx);
static GfxViewer viewer = GfxViewer(window, scene);
#endif
if(init)
{
#if 0
camera = new THREE.PerspectiveCamera(40, window.innerWidth / window.innerHeight, 1, 3000);
camera.position.z = 4;
scene = new THREE.Scene();
clock = new THREE.Clock();
var geometry = new THREE.BoxBufferGeometry(0.75, 0.75, 0.75);
uniforms1 = {
"time": { value: 1.0 }
};
uniforms2 = {
"time": { value: 1.0 },
"texture": { value: new THREE.TextureLoader().load('textures/disturb.jpg') }
};
uniforms2["texture"].value.wrapS = uniforms2["texture"].value.wrapT = THREE.RepeatWrapping;
var params = [
['fragment_shader1', uniforms1],
['fragment_shader2', uniforms2],
['fragment_shader3', uniforms1],
['fragment_shader4', uniforms1]
];
for(var i = 0; i < params.length; i ++) {
var material = new THREE.ShaderMaterial({
uniforms: params[i][1],
vertexShader: document.getElementById('vertexShader').textContent,
fragmentShader: document.getElementById(params[i][0]).textContent
});
var mesh = new THREE.Mesh(geometry, material);
mesh.position.x = i - (params.length - 1) / 2;
mesh.position.y = i % 2 - 0.5;
scene.add(mesh);
}
#endif
}
#if 0
var delta = clock.getDelta();
uniforms1["time"].value += delta * 5;
uniforms2["time"].value = clock.elapsedTime;
for(var i = 0; i < scene.children.length; i ++) {
var object = scene.children[i];
object.rotation.y += delta * 0.5 * (i % 2 ? 1 : - 1);
object.rotation.x += delta * 0.5 * (i % 2 ? - 1 : 1);
}
renderer.render(scene, camera);
#endif
} | 2,260 |
474 | <reponame>BoneyIsSpooky/Javacord
package org.javacord.api.entity.channel;
import org.javacord.api.entity.Icon;
import org.javacord.api.entity.user.User;
import org.javacord.api.listener.channel.group.GroupChannelAttachableListenerManager;
import java.util.Collection;
import java.util.NoSuchElementException;
import java.util.Optional;
import java.util.concurrent.CompletableFuture;
/**
* This class represents a group channel. Group channels are not supported by bot accounts!
*/
public interface GroupChannel extends TextChannel, VoiceChannel, GroupChannelAttachableListenerManager {
@Override
default ChannelType getType() {
return ChannelType.GROUP_CHANNEL;
}
/**
* Gets the members of the group channel.
*
* @return The members of the group channel.
*/
Collection<User> getMembers();
/**
* Gets the name of the channel.
*
* @return The name of the channel.
*/
Optional<String> getName();
/**
* Gets the icon of the group channel.
*
* @return The icon of the group channel.
*/
Optional<Icon> getIcon();
/**
* Checks if the user is a member of this group channel.
*
* @param user The user to check.
* @return Whether the user is a member of this group channel or not.
*/
default boolean isMember(User user) {
return user.isYourself() || getMembers().contains(user);
}
/**
* Creates an updater for this channel.
*
* @return An updater for this channel.
*/
default GroupChannelUpdater createUpdater() {
return new GroupChannelUpdater(this);
}
/**
* Updates the name of the channel.
*
* <p>If you want to update several settings at once, it's recommended to use the
* {@link GroupChannelUpdater} from {@link #createUpdater()} which provides a better performance!
*
* @param name The new name of the channel.
* @return A future to check if the update was successful.
*/
default CompletableFuture<Void> updateName(String name) {
return createUpdater().setName(name).update();
}
@Override
default Optional<GroupChannel> getCurrentCachedInstance() {
return getApi().getGroupChannelById(getId());
}
@Override
default CompletableFuture<GroupChannel> getLatestInstance() {
Optional<GroupChannel> currentCachedInstance = getCurrentCachedInstance();
if (currentCachedInstance.isPresent()) {
return CompletableFuture.completedFuture(currentCachedInstance.get());
} else {
CompletableFuture<GroupChannel> result = new CompletableFuture<>();
result.completeExceptionally(new NoSuchElementException());
return result;
}
}
}
| 995 |
333 | #!/usr/bin/python3
from __future__ import print_function
'''switchuser.py - A simple utility to switch irods user environment files, offsession (ie. after running iexit).
Assumes that such files are stored as irods_environment_username.json under ~/.irods
'''
import os
import sys
import shutil
if len(sys.argv) != 2:
print('Usage: switchuser.py <username>')
sys.exit(1)
irods_dir = os.path.join(os.environ['HOME'], '.irods')
# Do we have a file for this user?
if 'irods_environment_' + sys.argv[1] + ".json" in os.listdir(irods_dir):
# Save previous environment file
if 'irods_environment.json' in os.listdir(irods_dir):
os.rename(os.path.join(irods_dir, 'irods_environment.json'),
os.path.join(irods_dir, 'irods_environment.json~'))
# Copy user environment file to irods_environemnt.json
shutil.copyfile(os.path.join(
irods_dir, 'irods_environment_' + sys.argv[1] + ".json"), os.path.join(irods_dir, 'irods_environment.json'))
else:
print('No irods_environment.json file found for user: %s' % (sys.argv[1]))
sys.exit(1)
| 432 |
573 | // Copyright 2015, VIXL authors
// 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 ARM Limited 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 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 OWNER 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 file is auto generated using tools/generate_simulator_traces.py.
//
// PLEASE DO NOT EDIT.
// ---------------------------------------------------------------------
#ifndef VIXL_SIMULATOR_COND_RD_RN_OPERAND_RM_SUB_A32_H_
#define VIXL_SIMULATOR_COND_RD_RN_OPERAND_RM_SUB_A32_H_
const Inputs kOutputs_Sub_Condition_eq_r0_r0_r0[] = {
{ 0x80000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x40000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x20000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x10000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xc0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xa0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x90000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x60000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x50000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x30000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xe0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xd0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xb0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x70000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xf0000000, 0x00000000, 0x00000000, 0x00000000 },
};
const Inputs kOutputs_Sub_Condition_ne_r0_r0_r0[] = {
{ 0x80000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x40000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x20000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x10000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xc0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xa0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x90000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x60000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x50000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x30000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xe0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xd0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xb0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x70000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xf0000000, 0xabababab, 0xabababab, 0xabababab },
};
const Inputs kOutputs_Sub_Condition_cs_r0_r0_r0[] = {
{ 0x80000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x40000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x20000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x10000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xc0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xa0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x90000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x60000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x50000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x30000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xe0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xd0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xb0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x70000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xf0000000, 0x00000000, 0x00000000, 0x00000000 },
};
const Inputs kOutputs_Sub_Condition_cc_r0_r0_r0[] = {
{ 0x80000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x40000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x20000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x10000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xc0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xa0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x90000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x60000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x50000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x30000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xe0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xd0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xb0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x70000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xf0000000, 0xabababab, 0xabababab, 0xabababab },
};
const Inputs kOutputs_Sub_Condition_mi_r0_r0_r0[] = {
{ 0x80000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x40000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x20000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x10000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xc0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xa0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x90000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x60000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x50000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x30000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xe0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xd0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xb0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x70000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xf0000000, 0x00000000, 0x00000000, 0x00000000 },
};
const Inputs kOutputs_Sub_Condition_pl_r0_r0_r0[] = {
{ 0x80000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x40000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x20000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x10000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xc0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xa0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x90000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x60000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x50000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x30000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xe0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xd0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xb0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x70000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xf0000000, 0xabababab, 0xabababab, 0xabababab },
};
const Inputs kOutputs_Sub_Condition_vs_r0_r0_r0[] = {
{ 0x80000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x40000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x20000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x10000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xc0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xa0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x90000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x60000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x50000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x30000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xe0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xd0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xb0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x70000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xf0000000, 0x00000000, 0x00000000, 0x00000000 },
};
const Inputs kOutputs_Sub_Condition_vc_r0_r0_r0[] = {
{ 0x80000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x40000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x20000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x10000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xc0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xa0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x90000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x60000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x50000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x30000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xe0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xd0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xb0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x70000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xf0000000, 0xabababab, 0xabababab, 0xabababab },
};
const Inputs kOutputs_Sub_Condition_hi_r0_r0_r0[] = {
{ 0x80000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x40000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x20000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x10000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xc0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xa0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x90000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x60000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x50000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x30000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xe0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xd0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xb0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x70000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xf0000000, 0xabababab, 0xabababab, 0xabababab },
};
const Inputs kOutputs_Sub_Condition_ls_r0_r0_r0[] = {
{ 0x80000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x40000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x20000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x10000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xc0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xa0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x90000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x60000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x50000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x30000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xe0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xd0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xb0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x70000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xf0000000, 0x00000000, 0x00000000, 0x00000000 },
};
const Inputs kOutputs_Sub_Condition_ge_r0_r0_r0[] = {
{ 0x80000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x40000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x20000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x10000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xc0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xa0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x90000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x60000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x50000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x30000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xe0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xd0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xb0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x70000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xf0000000, 0x00000000, 0x00000000, 0x00000000 },
};
const Inputs kOutputs_Sub_Condition_lt_r0_r0_r0[] = {
{ 0x80000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x40000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x20000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x10000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xc0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xa0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x90000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x60000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x50000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x30000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xe0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xd0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xb0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x70000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xf0000000, 0xabababab, 0xabababab, 0xabababab },
};
const Inputs kOutputs_Sub_Condition_gt_r0_r0_r0[] = {
{ 0x80000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x40000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x20000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x10000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xc0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xa0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x90000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x60000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x50000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x30000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xe0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xd0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xb0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x70000000, 0xabababab, 0xabababab, 0xabababab },
{ 0xf0000000, 0xabababab, 0xabababab, 0xabababab },
};
const Inputs kOutputs_Sub_Condition_le_r0_r0_r0[] = {
{ 0x80000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x40000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x20000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x10000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xc0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xa0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x90000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x60000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x50000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x30000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xe0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xd0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xb0000000, 0xabababab, 0xabababab, 0xabababab },
{ 0x70000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xf0000000, 0x00000000, 0x00000000, 0x00000000 },
};
const Inputs kOutputs_Sub_Condition_al_r0_r0_r0[] = {
{ 0x80000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x40000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x20000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x10000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xc0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xa0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x90000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x60000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x50000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x30000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xe0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xd0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xb0000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0x70000000, 0x00000000, 0x00000000, 0x00000000 },
{ 0xf0000000, 0x00000000, 0x00000000, 0x00000000 },
};
const Inputs kOutputs_Sub_RdIsRn_al_r3_r3_r4[] = {
{ 0x00000000, 0x00007f81, 0x00007f81, 0xffff8002 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0x7fffffff },
{ 0x00000000, 0x0000009d, 0x0000009d, 0xffffffe0 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000002 },
{ 0x00000000, 0xffff8005, 0xffff8005, 0xfffffffd },
{ 0x00000000, 0xffff7fe1, 0xffff7fe1, 0x00007fff },
{ 0x00000000, 0xffff807d, 0xffff807d, 0xffffff83 },
{ 0x00000000, 0x7fff8001, 0x7fff8001, 0x80000001 },
{ 0x00000000, 0x0000fffa, 0x0000fffa, 0xffff8003 },
{ 0x00000000, 0x00008000, 0x00008000, 0xffffffff },
{ 0x00000000, 0x00000080, 0x00000080, 0xffffff80 },
{ 0x00000000, 0xcccc4cce, 0xcccc4cce, 0x33333333 },
{ 0x00000000, 0xffffff02, 0xffffff02, 0x0000007e },
{ 0x00000000, 0x80000081, 0x80000081, 0x7ffffffd },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xfffffffd },
{ 0x00000000, 0x0000801e, 0x0000801e, 0xffff8002 },
{ 0x00000000, 0xffffff82, 0xffffff82, 0xfffffffe },
{ 0x00000000, 0x00000002, 0x00000002, 0x00000000 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0x00000001 },
{ 0x00000000, 0xffffff83, 0xffffff83, 0x0000007f },
{ 0x00000000, 0x00000000, 0x00000000, 0x80000000 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0xffffff80 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffe },
{ 0x00000000, 0x333332b6, 0x333332b6, 0x0000007d },
{ 0x00000000, 0x80000003, 0x80000003, 0x7ffffffe },
{ 0x00000000, 0x80007fff, 0x80007fff, 0x7fffffff },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff83 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7ffffffe },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x0000007f },
{ 0x00000000, 0xb3333333, 0xb3333333, 0xcccccccc },
{ 0x00000000, 0xffffff80, 0xffffff80, 0x00000002 },
{ 0x00000000, 0xd5555553, 0xd5555553, 0xaaaaaaaa },
{ 0x00000000, 0xcccd4ccb, 0xcccd4ccb, 0xffff8001 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0xffff8001 },
{ 0x00000000, 0x7fffffdf, 0x7fffffdf, 0x00000020 },
{ 0x00000000, 0xffff7fe2, 0xffff7fe2, 0x00007ffe },
{ 0x00000000, 0x80008001, 0x80008001, 0xffff8000 },
{ 0x00000000, 0xffffff05, 0xffffff05, 0x0000007d },
{ 0x00000000, 0x80000080, 0x80000080, 0x7ffffffe },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff80 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x0000007e },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x7fffffff },
{ 0x00000000, 0xffffff61, 0xffffff61, 0x0000007f },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff81 },
{ 0x00000000, 0x7fffff82, 0x7fffff82, 0x0000007e },
{ 0x00000000, 0x55555555, 0x55555555, 0xaaaaaaaa },
{ 0x00000000, 0xffffffde, 0xffffffde, 0x00000020 },
{ 0x00000000, 0x00007f7f, 0x00007f7f, 0xffff8003 },
{ 0x00000000, 0x80007ffb, 0x80007ffb, 0xffff8002 },
{ 0x00000000, 0x7ffffffe, 0x7ffffffe, 0x00000000 },
{ 0x00000000, 0x0000001d, 0x0000001d, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0xffff8002 },
{ 0x00000000, 0x7fffff85, 0x7fffff85, 0x7ffffffd },
{ 0x00000000, 0x4ccccccc, 0x4ccccccc, 0x80000000 },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x33333333 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x00000002 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0xfffffffd },
{ 0x00000000, 0x7fffff80, 0x7fffff80, 0x80000000 },
{ 0x00000000, 0xffffffe0, 0xffffffe0, 0x00000020 },
{ 0x00000000, 0x00007ffb, 0x00007ffb, 0xffff8003 },
{ 0x00000000, 0x00000001, 0x00000001, 0xffff8000 },
{ 0x00000000, 0x00000000, 0x00000000, 0x55555555 },
{ 0x00000000, 0x0000ffff, 0x0000ffff, 0xffff8000 },
{ 0x00000000, 0x8000001f, 0x8000001f, 0xffffffe0 },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0x55555555 },
{ 0x00000000, 0xb3333335, 0xb3333335, 0x7ffffffe },
{ 0x00000000, 0x80000020, 0x80000020, 0xffffffe0 },
{ 0x00000000, 0xffffff06, 0xffffff06, 0x0000007d },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00000002 },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff81 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x0000fffc, 0x0000fffc, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x80000003, 0xfffffffe },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffd },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0x8000007b, 0x8000007b, 0xffffff83 },
{ 0x00000000, 0xffff7fff, 0xffff7fff, 0x00007ffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x7fffff83, 0x7fffff83, 0x7fffffff },
{ 0x00000000, 0x0000005d, 0x0000005d, 0xffffff83 },
{ 0x00000000, 0x00000000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7fffffff },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xffffffff },
{ 0x00000000, 0x00000001, 0x00000001, 0xfffffffe },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffe },
{ 0x00000000, 0x00007f81, 0x00007f81, 0x0000007d },
{ 0x00000000, 0xffffff84, 0xffffff84, 0xfffffffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00007ffd },
{ 0x00000000, 0xaaab2aa8, 0xaaab2aa8, 0xffff8002 },
{ 0x00000000, 0x000000fd, 0x000000fd, 0xffffff82 },
{ 0x00000000, 0xcccd4ccc, 0xcccd4ccc, 0x33333333 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x80000000 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffd },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0x0000007f },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x0000007e },
{ 0x00000000, 0xaaaaaa8b, 0xaaaaaa8b, 0x55555555 },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0xffffff62, 0xffffff62, 0x0000007e },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007ffd },
{ 0x00000000, 0x0000801f, 0x0000801f, 0xffff8001 },
{ 0x00000000, 0x0000807c, 0x0000807c, 0xffffff83 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff807e, 0xffffff82 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007e },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x00000001 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0xcccccccc },
{ 0x00000000, 0xffff8005, 0xffff8005, 0x00007ffd },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x80000001 },
{ 0x00000000, 0xffff8022, 0xffff8022, 0x00007ffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffd },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0x0000005f, 0x0000005f, 0x00000020 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8003 },
{ 0x00000000, 0xffff7f82, 0xffff7f82, 0x0000007f },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000001 },
{ 0x00000000, 0x80000004, 0x80000004, 0x7ffffffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffff83 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0x7fffffff },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffe },
{ 0x00000000, 0x00007f82, 0x00007f82, 0xffff8000 },
{ 0x00000000, 0x00007ffe, 0x00007ffe, 0xffff8000 },
{ 0x00000000, 0xffff8081, 0xffff8081, 0xffffff81 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0x7fffffff },
{ 0x00000000, 0x7fff8002, 0x7fff8002, 0x00007fff },
{ 0x00000000, 0x3332b336, 0x3332b336, 0xcccccccc },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000002 },
{ 0x00000000, 0x333333b2, 0x333333b2, 0xffffff81 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff80 },
{ 0x00000000, 0xaaaaaaab, 0xaaaaaaab, 0xaaaaaaaa },
{ 0x00000000, 0x333333b1, 0x333333b1, 0xffffff82 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0xaaaaaaaa },
{ 0x00000000, 0x0000005e, 0x0000005e, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffff7f86, 0x00007ffd },
{ 0x00000000, 0x555554d8, 0x555554d8, 0xaaaaaaaa },
{ 0x00000000, 0xffff8004, 0xffff8004, 0xffffffff },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0xfffffffe },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0x0000007d },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaa8, 0x55555555 },
{ 0x00000000, 0xffffffdf, 0xffffffdf, 0x00000020 },
{ 0x00000000, 0x0000807b, 0x0000807b, 0xffffff83 },
{ 0x00000000, 0x2aaaaaaa, 0x2aaaaaaa, 0x55555555 },
{ 0x00000000, 0x88888889, 0x88888889, 0xcccccccc },
{ 0x00000000, 0x00007fdd, 0x00007fdd, 0xffff8003 },
{ 0x00000000, 0x7fff8000, 0x7fff8000, 0x00007ffe },
{ 0x00000000, 0x0000fffb, 0x0000fffb, 0xffff8002 },
{ 0x00000000, 0x00007ffc, 0x00007ffc, 0x00000001 },
{ 0x00000000, 0xffff8002, 0xffff8002, 0x00007ffe },
{ 0x00000000, 0xffffff60, 0xffffff60, 0x00000020 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00000000 },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000000 },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff81, 0xffffffff },
{ 0x00000000, 0xcccccc4d, 0xcccccc4d, 0x0000007f },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0x00007fff, 0x00007fff, 0x00000000 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0x00000001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff82 },
{ 0x00000000, 0x00000001, 0x00000001, 0x00007ffd },
{ 0x00000000, 0x77777777, 0x77777777, 0x33333333 },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x55555555 },
{ 0x00000000, 0xffff7f85, 0xffff7f85, 0x0000007e },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x00000002 },
{ 0x00000000, 0xcccccc4f, 0xcccccc4f, 0x33333333 },
{ 0x00000000, 0x55555556, 0x55555556, 0xffffffff },
{ 0x00000000, 0x2aaaaaa9, 0x2aaaaaa9, 0x80000001 },
{ 0x00000000, 0xffffffa3, 0xffffffa3, 0xffffffe0 },
{ 0x00000000, 0x00000021, 0x00000021, 0xffffffe0 },
{ 0x00000000, 0x00000000, 0x00000000, 0x33333333 },
{ 0x00000000, 0x55555554, 0x55555554, 0x00000001 },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007fff },
{ 0x00000000, 0x00000005, 0x00000005, 0xfffffffd },
{ 0x00000000, 0x00007fde, 0x00007fde, 0xffff8002 },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x00007ffd },
{ 0x00000000, 0xffffff85, 0xffffff85, 0xfffffffe },
{ 0x00000000, 0x80000002, 0x80000002, 0xffffffff },
{ 0x00000000, 0xffff7fe3, 0xffff7fe3, 0x00000020 },
{ 0x00000000, 0x333332b6, 0x333332b6, 0xcccccccc },
{ 0x00000000, 0x80000021, 0x80000021, 0x7fffffff },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x55555555 },
{ 0x00000000, 0xffffffe1, 0xffffffe1, 0x00000020 },
{ 0x00000000, 0xffff0002, 0xffff0002, 0x00007fff },
{ 0x00000000, 0x55555576, 0x55555576, 0xaaaaaaaa },
{ 0x00000000, 0xd5555556, 0xd5555556, 0x7fffffff },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x7fffffff },
{ 0x00000000, 0xaaab2aaa, 0xaaab2aaa, 0x55555555 },
{ 0x00000000, 0x555554d8, 0x555554d8, 0x0000007d },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x7ffffffe },
{ 0x00000000, 0xffff0004, 0xffff0004, 0x00007ffe },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff81 },
{ 0x00000000, 0xffffff04, 0xffffff04, 0x0000007d },
{ 0x00000000, 0xffffffa2, 0xffffffa2, 0x0000007e },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00007ffe },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x0000007e },
};
const Inputs kOutputs_Sub_RdIsRn_al_r2_r2_r12[] = {
{ 0x00000000, 0x00007f81, 0x00007f81, 0xffff8002 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0x7fffffff },
{ 0x00000000, 0x0000009d, 0x0000009d, 0xffffffe0 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000002 },
{ 0x00000000, 0xffff8005, 0xffff8005, 0xfffffffd },
{ 0x00000000, 0xffff7fe1, 0xffff7fe1, 0x00007fff },
{ 0x00000000, 0xffff807d, 0xffff807d, 0xffffff83 },
{ 0x00000000, 0x7fff8001, 0x7fff8001, 0x80000001 },
{ 0x00000000, 0x0000fffa, 0x0000fffa, 0xffff8003 },
{ 0x00000000, 0x00008000, 0x00008000, 0xffffffff },
{ 0x00000000, 0x00000080, 0x00000080, 0xffffff80 },
{ 0x00000000, 0xcccc4cce, 0xcccc4cce, 0x33333333 },
{ 0x00000000, 0xffffff02, 0xffffff02, 0x0000007e },
{ 0x00000000, 0x80000081, 0x80000081, 0x7ffffffd },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xfffffffd },
{ 0x00000000, 0x0000801e, 0x0000801e, 0xffff8002 },
{ 0x00000000, 0xffffff82, 0xffffff82, 0xfffffffe },
{ 0x00000000, 0x00000002, 0x00000002, 0x00000000 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0x00000001 },
{ 0x00000000, 0xffffff83, 0xffffff83, 0x0000007f },
{ 0x00000000, 0x00000000, 0x00000000, 0x80000000 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0xffffff80 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffe },
{ 0x00000000, 0x333332b6, 0x333332b6, 0x0000007d },
{ 0x00000000, 0x80000003, 0x80000003, 0x7ffffffe },
{ 0x00000000, 0x80007fff, 0x80007fff, 0x7fffffff },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff83 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7ffffffe },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x0000007f },
{ 0x00000000, 0xb3333333, 0xb3333333, 0xcccccccc },
{ 0x00000000, 0xffffff80, 0xffffff80, 0x00000002 },
{ 0x00000000, 0xd5555553, 0xd5555553, 0xaaaaaaaa },
{ 0x00000000, 0xcccd4ccb, 0xcccd4ccb, 0xffff8001 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0xffff8001 },
{ 0x00000000, 0x7fffffdf, 0x7fffffdf, 0x00000020 },
{ 0x00000000, 0xffff7fe2, 0xffff7fe2, 0x00007ffe },
{ 0x00000000, 0x80008001, 0x80008001, 0xffff8000 },
{ 0x00000000, 0xffffff05, 0xffffff05, 0x0000007d },
{ 0x00000000, 0x80000080, 0x80000080, 0x7ffffffe },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff80 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x0000007e },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x7fffffff },
{ 0x00000000, 0xffffff61, 0xffffff61, 0x0000007f },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff81 },
{ 0x00000000, 0x7fffff82, 0x7fffff82, 0x0000007e },
{ 0x00000000, 0x55555555, 0x55555555, 0xaaaaaaaa },
{ 0x00000000, 0xffffffde, 0xffffffde, 0x00000020 },
{ 0x00000000, 0x00007f7f, 0x00007f7f, 0xffff8003 },
{ 0x00000000, 0x80007ffb, 0x80007ffb, 0xffff8002 },
{ 0x00000000, 0x7ffffffe, 0x7ffffffe, 0x00000000 },
{ 0x00000000, 0x0000001d, 0x0000001d, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0xffff8002 },
{ 0x00000000, 0x7fffff85, 0x7fffff85, 0x7ffffffd },
{ 0x00000000, 0x4ccccccc, 0x4ccccccc, 0x80000000 },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x33333333 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x00000002 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0xfffffffd },
{ 0x00000000, 0x7fffff80, 0x7fffff80, 0x80000000 },
{ 0x00000000, 0xffffffe0, 0xffffffe0, 0x00000020 },
{ 0x00000000, 0x00007ffb, 0x00007ffb, 0xffff8003 },
{ 0x00000000, 0x00000001, 0x00000001, 0xffff8000 },
{ 0x00000000, 0x00000000, 0x00000000, 0x55555555 },
{ 0x00000000, 0x0000ffff, 0x0000ffff, 0xffff8000 },
{ 0x00000000, 0x8000001f, 0x8000001f, 0xffffffe0 },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0x55555555 },
{ 0x00000000, 0xb3333335, 0xb3333335, 0x7ffffffe },
{ 0x00000000, 0x80000020, 0x80000020, 0xffffffe0 },
{ 0x00000000, 0xffffff06, 0xffffff06, 0x0000007d },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00000002 },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff81 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x0000fffc, 0x0000fffc, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x80000003, 0xfffffffe },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffd },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0x8000007b, 0x8000007b, 0xffffff83 },
{ 0x00000000, 0xffff7fff, 0xffff7fff, 0x00007ffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x7fffff83, 0x7fffff83, 0x7fffffff },
{ 0x00000000, 0x0000005d, 0x0000005d, 0xffffff83 },
{ 0x00000000, 0x00000000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7fffffff },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xffffffff },
{ 0x00000000, 0x00000001, 0x00000001, 0xfffffffe },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffe },
{ 0x00000000, 0x00007f81, 0x00007f81, 0x0000007d },
{ 0x00000000, 0xffffff84, 0xffffff84, 0xfffffffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00007ffd },
{ 0x00000000, 0xaaab2aa8, 0xaaab2aa8, 0xffff8002 },
{ 0x00000000, 0x000000fd, 0x000000fd, 0xffffff82 },
{ 0x00000000, 0xcccd4ccc, 0xcccd4ccc, 0x33333333 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x80000000 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffd },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0x0000007f },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x0000007e },
{ 0x00000000, 0xaaaaaa8b, 0xaaaaaa8b, 0x55555555 },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0xffffff62, 0xffffff62, 0x0000007e },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007ffd },
{ 0x00000000, 0x0000801f, 0x0000801f, 0xffff8001 },
{ 0x00000000, 0x0000807c, 0x0000807c, 0xffffff83 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff807e, 0xffffff82 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007e },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x00000001 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0xcccccccc },
{ 0x00000000, 0xffff8005, 0xffff8005, 0x00007ffd },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x80000001 },
{ 0x00000000, 0xffff8022, 0xffff8022, 0x00007ffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffd },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0x0000005f, 0x0000005f, 0x00000020 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8003 },
{ 0x00000000, 0xffff7f82, 0xffff7f82, 0x0000007f },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000001 },
{ 0x00000000, 0x80000004, 0x80000004, 0x7ffffffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffff83 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0x7fffffff },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffe },
{ 0x00000000, 0x00007f82, 0x00007f82, 0xffff8000 },
{ 0x00000000, 0x00007ffe, 0x00007ffe, 0xffff8000 },
{ 0x00000000, 0xffff8081, 0xffff8081, 0xffffff81 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0x7fffffff },
{ 0x00000000, 0x7fff8002, 0x7fff8002, 0x00007fff },
{ 0x00000000, 0x3332b336, 0x3332b336, 0xcccccccc },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000002 },
{ 0x00000000, 0x333333b2, 0x333333b2, 0xffffff81 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff80 },
{ 0x00000000, 0xaaaaaaab, 0xaaaaaaab, 0xaaaaaaaa },
{ 0x00000000, 0x333333b1, 0x333333b1, 0xffffff82 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0xaaaaaaaa },
{ 0x00000000, 0x0000005e, 0x0000005e, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffff7f86, 0x00007ffd },
{ 0x00000000, 0x555554d8, 0x555554d8, 0xaaaaaaaa },
{ 0x00000000, 0xffff8004, 0xffff8004, 0xffffffff },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0xfffffffe },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0x0000007d },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaa8, 0x55555555 },
{ 0x00000000, 0xffffffdf, 0xffffffdf, 0x00000020 },
{ 0x00000000, 0x0000807b, 0x0000807b, 0xffffff83 },
{ 0x00000000, 0x2aaaaaaa, 0x2aaaaaaa, 0x55555555 },
{ 0x00000000, 0x88888889, 0x88888889, 0xcccccccc },
{ 0x00000000, 0x00007fdd, 0x00007fdd, 0xffff8003 },
{ 0x00000000, 0x7fff8000, 0x7fff8000, 0x00007ffe },
{ 0x00000000, 0x0000fffb, 0x0000fffb, 0xffff8002 },
{ 0x00000000, 0x00007ffc, 0x00007ffc, 0x00000001 },
{ 0x00000000, 0xffff8002, 0xffff8002, 0x00007ffe },
{ 0x00000000, 0xffffff60, 0xffffff60, 0x00000020 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00000000 },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000000 },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff81, 0xffffffff },
{ 0x00000000, 0xcccccc4d, 0xcccccc4d, 0x0000007f },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0x00007fff, 0x00007fff, 0x00000000 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0x00000001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff82 },
{ 0x00000000, 0x00000001, 0x00000001, 0x00007ffd },
{ 0x00000000, 0x77777777, 0x77777777, 0x33333333 },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x55555555 },
{ 0x00000000, 0xffff7f85, 0xffff7f85, 0x0000007e },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x00000002 },
{ 0x00000000, 0xcccccc4f, 0xcccccc4f, 0x33333333 },
{ 0x00000000, 0x55555556, 0x55555556, 0xffffffff },
{ 0x00000000, 0x2aaaaaa9, 0x2aaaaaa9, 0x80000001 },
{ 0x00000000, 0xffffffa3, 0xffffffa3, 0xffffffe0 },
{ 0x00000000, 0x00000021, 0x00000021, 0xffffffe0 },
{ 0x00000000, 0x00000000, 0x00000000, 0x33333333 },
{ 0x00000000, 0x55555554, 0x55555554, 0x00000001 },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007fff },
{ 0x00000000, 0x00000005, 0x00000005, 0xfffffffd },
{ 0x00000000, 0x00007fde, 0x00007fde, 0xffff8002 },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x00007ffd },
{ 0x00000000, 0xffffff85, 0xffffff85, 0xfffffffe },
{ 0x00000000, 0x80000002, 0x80000002, 0xffffffff },
{ 0x00000000, 0xffff7fe3, 0xffff7fe3, 0x00000020 },
{ 0x00000000, 0x333332b6, 0x333332b6, 0xcccccccc },
{ 0x00000000, 0x80000021, 0x80000021, 0x7fffffff },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x55555555 },
{ 0x00000000, 0xffffffe1, 0xffffffe1, 0x00000020 },
{ 0x00000000, 0xffff0002, 0xffff0002, 0x00007fff },
{ 0x00000000, 0x55555576, 0x55555576, 0xaaaaaaaa },
{ 0x00000000, 0xd5555556, 0xd5555556, 0x7fffffff },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x7fffffff },
{ 0x00000000, 0xaaab2aaa, 0xaaab2aaa, 0x55555555 },
{ 0x00000000, 0x555554d8, 0x555554d8, 0x0000007d },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x7ffffffe },
{ 0x00000000, 0xffff0004, 0xffff0004, 0x00007ffe },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff81 },
{ 0x00000000, 0xffffff04, 0xffffff04, 0x0000007d },
{ 0x00000000, 0xffffffa2, 0xffffffa2, 0x0000007e },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00007ffe },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x0000007e },
};
const Inputs kOutputs_Sub_RdIsRn_al_r8_r8_r5[] = {
{ 0x00000000, 0x00007f81, 0x00007f81, 0xffff8002 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0x7fffffff },
{ 0x00000000, 0x0000009d, 0x0000009d, 0xffffffe0 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000002 },
{ 0x00000000, 0xffff8005, 0xffff8005, 0xfffffffd },
{ 0x00000000, 0xffff7fe1, 0xffff7fe1, 0x00007fff },
{ 0x00000000, 0xffff807d, 0xffff807d, 0xffffff83 },
{ 0x00000000, 0x7fff8001, 0x7fff8001, 0x80000001 },
{ 0x00000000, 0x0000fffa, 0x0000fffa, 0xffff8003 },
{ 0x00000000, 0x00008000, 0x00008000, 0xffffffff },
{ 0x00000000, 0x00000080, 0x00000080, 0xffffff80 },
{ 0x00000000, 0xcccc4cce, 0xcccc4cce, 0x33333333 },
{ 0x00000000, 0xffffff02, 0xffffff02, 0x0000007e },
{ 0x00000000, 0x80000081, 0x80000081, 0x7ffffffd },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xfffffffd },
{ 0x00000000, 0x0000801e, 0x0000801e, 0xffff8002 },
{ 0x00000000, 0xffffff82, 0xffffff82, 0xfffffffe },
{ 0x00000000, 0x00000002, 0x00000002, 0x00000000 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0x00000001 },
{ 0x00000000, 0xffffff83, 0xffffff83, 0x0000007f },
{ 0x00000000, 0x00000000, 0x00000000, 0x80000000 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0xffffff80 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffe },
{ 0x00000000, 0x333332b6, 0x333332b6, 0x0000007d },
{ 0x00000000, 0x80000003, 0x80000003, 0x7ffffffe },
{ 0x00000000, 0x80007fff, 0x80007fff, 0x7fffffff },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff83 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7ffffffe },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x0000007f },
{ 0x00000000, 0xb3333333, 0xb3333333, 0xcccccccc },
{ 0x00000000, 0xffffff80, 0xffffff80, 0x00000002 },
{ 0x00000000, 0xd5555553, 0xd5555553, 0xaaaaaaaa },
{ 0x00000000, 0xcccd4ccb, 0xcccd4ccb, 0xffff8001 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0xffff8001 },
{ 0x00000000, 0x7fffffdf, 0x7fffffdf, 0x00000020 },
{ 0x00000000, 0xffff7fe2, 0xffff7fe2, 0x00007ffe },
{ 0x00000000, 0x80008001, 0x80008001, 0xffff8000 },
{ 0x00000000, 0xffffff05, 0xffffff05, 0x0000007d },
{ 0x00000000, 0x80000080, 0x80000080, 0x7ffffffe },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff80 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x0000007e },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x7fffffff },
{ 0x00000000, 0xffffff61, 0xffffff61, 0x0000007f },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff81 },
{ 0x00000000, 0x7fffff82, 0x7fffff82, 0x0000007e },
{ 0x00000000, 0x55555555, 0x55555555, 0xaaaaaaaa },
{ 0x00000000, 0xffffffde, 0xffffffde, 0x00000020 },
{ 0x00000000, 0x00007f7f, 0x00007f7f, 0xffff8003 },
{ 0x00000000, 0x80007ffb, 0x80007ffb, 0xffff8002 },
{ 0x00000000, 0x7ffffffe, 0x7ffffffe, 0x00000000 },
{ 0x00000000, 0x0000001d, 0x0000001d, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0xffff8002 },
{ 0x00000000, 0x7fffff85, 0x7fffff85, 0x7ffffffd },
{ 0x00000000, 0x4ccccccc, 0x4ccccccc, 0x80000000 },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x33333333 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x00000002 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0xfffffffd },
{ 0x00000000, 0x7fffff80, 0x7fffff80, 0x80000000 },
{ 0x00000000, 0xffffffe0, 0xffffffe0, 0x00000020 },
{ 0x00000000, 0x00007ffb, 0x00007ffb, 0xffff8003 },
{ 0x00000000, 0x00000001, 0x00000001, 0xffff8000 },
{ 0x00000000, 0x00000000, 0x00000000, 0x55555555 },
{ 0x00000000, 0x0000ffff, 0x0000ffff, 0xffff8000 },
{ 0x00000000, 0x8000001f, 0x8000001f, 0xffffffe0 },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0x55555555 },
{ 0x00000000, 0xb3333335, 0xb3333335, 0x7ffffffe },
{ 0x00000000, 0x80000020, 0x80000020, 0xffffffe0 },
{ 0x00000000, 0xffffff06, 0xffffff06, 0x0000007d },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00000002 },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff81 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x0000fffc, 0x0000fffc, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x80000003, 0xfffffffe },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffd },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0x8000007b, 0x8000007b, 0xffffff83 },
{ 0x00000000, 0xffff7fff, 0xffff7fff, 0x00007ffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x7fffff83, 0x7fffff83, 0x7fffffff },
{ 0x00000000, 0x0000005d, 0x0000005d, 0xffffff83 },
{ 0x00000000, 0x00000000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7fffffff },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xffffffff },
{ 0x00000000, 0x00000001, 0x00000001, 0xfffffffe },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffe },
{ 0x00000000, 0x00007f81, 0x00007f81, 0x0000007d },
{ 0x00000000, 0xffffff84, 0xffffff84, 0xfffffffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00007ffd },
{ 0x00000000, 0xaaab2aa8, 0xaaab2aa8, 0xffff8002 },
{ 0x00000000, 0x000000fd, 0x000000fd, 0xffffff82 },
{ 0x00000000, 0xcccd4ccc, 0xcccd4ccc, 0x33333333 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x80000000 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffd },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0x0000007f },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x0000007e },
{ 0x00000000, 0xaaaaaa8b, 0xaaaaaa8b, 0x55555555 },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0xffffff62, 0xffffff62, 0x0000007e },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007ffd },
{ 0x00000000, 0x0000801f, 0x0000801f, 0xffff8001 },
{ 0x00000000, 0x0000807c, 0x0000807c, 0xffffff83 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff807e, 0xffffff82 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007e },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x00000001 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0xcccccccc },
{ 0x00000000, 0xffff8005, 0xffff8005, 0x00007ffd },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x80000001 },
{ 0x00000000, 0xffff8022, 0xffff8022, 0x00007ffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffd },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0x0000005f, 0x0000005f, 0x00000020 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8003 },
{ 0x00000000, 0xffff7f82, 0xffff7f82, 0x0000007f },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000001 },
{ 0x00000000, 0x80000004, 0x80000004, 0x7ffffffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffff83 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0x7fffffff },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffe },
{ 0x00000000, 0x00007f82, 0x00007f82, 0xffff8000 },
{ 0x00000000, 0x00007ffe, 0x00007ffe, 0xffff8000 },
{ 0x00000000, 0xffff8081, 0xffff8081, 0xffffff81 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0x7fffffff },
{ 0x00000000, 0x7fff8002, 0x7fff8002, 0x00007fff },
{ 0x00000000, 0x3332b336, 0x3332b336, 0xcccccccc },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000002 },
{ 0x00000000, 0x333333b2, 0x333333b2, 0xffffff81 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff80 },
{ 0x00000000, 0xaaaaaaab, 0xaaaaaaab, 0xaaaaaaaa },
{ 0x00000000, 0x333333b1, 0x333333b1, 0xffffff82 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0xaaaaaaaa },
{ 0x00000000, 0x0000005e, 0x0000005e, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffff7f86, 0x00007ffd },
{ 0x00000000, 0x555554d8, 0x555554d8, 0xaaaaaaaa },
{ 0x00000000, 0xffff8004, 0xffff8004, 0xffffffff },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0xfffffffe },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0x0000007d },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaa8, 0x55555555 },
{ 0x00000000, 0xffffffdf, 0xffffffdf, 0x00000020 },
{ 0x00000000, 0x0000807b, 0x0000807b, 0xffffff83 },
{ 0x00000000, 0x2aaaaaaa, 0x2aaaaaaa, 0x55555555 },
{ 0x00000000, 0x88888889, 0x88888889, 0xcccccccc },
{ 0x00000000, 0x00007fdd, 0x00007fdd, 0xffff8003 },
{ 0x00000000, 0x7fff8000, 0x7fff8000, 0x00007ffe },
{ 0x00000000, 0x0000fffb, 0x0000fffb, 0xffff8002 },
{ 0x00000000, 0x00007ffc, 0x00007ffc, 0x00000001 },
{ 0x00000000, 0xffff8002, 0xffff8002, 0x00007ffe },
{ 0x00000000, 0xffffff60, 0xffffff60, 0x00000020 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00000000 },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000000 },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff81, 0xffffffff },
{ 0x00000000, 0xcccccc4d, 0xcccccc4d, 0x0000007f },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0x00007fff, 0x00007fff, 0x00000000 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0x00000001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff82 },
{ 0x00000000, 0x00000001, 0x00000001, 0x00007ffd },
{ 0x00000000, 0x77777777, 0x77777777, 0x33333333 },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x55555555 },
{ 0x00000000, 0xffff7f85, 0xffff7f85, 0x0000007e },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x00000002 },
{ 0x00000000, 0xcccccc4f, 0xcccccc4f, 0x33333333 },
{ 0x00000000, 0x55555556, 0x55555556, 0xffffffff },
{ 0x00000000, 0x2aaaaaa9, 0x2aaaaaa9, 0x80000001 },
{ 0x00000000, 0xffffffa3, 0xffffffa3, 0xffffffe0 },
{ 0x00000000, 0x00000021, 0x00000021, 0xffffffe0 },
{ 0x00000000, 0x00000000, 0x00000000, 0x33333333 },
{ 0x00000000, 0x55555554, 0x55555554, 0x00000001 },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007fff },
{ 0x00000000, 0x00000005, 0x00000005, 0xfffffffd },
{ 0x00000000, 0x00007fde, 0x00007fde, 0xffff8002 },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x00007ffd },
{ 0x00000000, 0xffffff85, 0xffffff85, 0xfffffffe },
{ 0x00000000, 0x80000002, 0x80000002, 0xffffffff },
{ 0x00000000, 0xffff7fe3, 0xffff7fe3, 0x00000020 },
{ 0x00000000, 0x333332b6, 0x333332b6, 0xcccccccc },
{ 0x00000000, 0x80000021, 0x80000021, 0x7fffffff },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x55555555 },
{ 0x00000000, 0xffffffe1, 0xffffffe1, 0x00000020 },
{ 0x00000000, 0xffff0002, 0xffff0002, 0x00007fff },
{ 0x00000000, 0x55555576, 0x55555576, 0xaaaaaaaa },
{ 0x00000000, 0xd5555556, 0xd5555556, 0x7fffffff },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x7fffffff },
{ 0x00000000, 0xaaab2aaa, 0xaaab2aaa, 0x55555555 },
{ 0x00000000, 0x555554d8, 0x555554d8, 0x0000007d },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x7ffffffe },
{ 0x00000000, 0xffff0004, 0xffff0004, 0x00007ffe },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff81 },
{ 0x00000000, 0xffffff04, 0xffffff04, 0x0000007d },
{ 0x00000000, 0xffffffa2, 0xffffffa2, 0x0000007e },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00007ffe },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x0000007e },
};
const Inputs kOutputs_Sub_RdIsRn_al_r14_r14_r0[] = {
{ 0x00000000, 0x00007f81, 0x00007f81, 0xffff8002 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0x7fffffff },
{ 0x00000000, 0x0000009d, 0x0000009d, 0xffffffe0 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000002 },
{ 0x00000000, 0xffff8005, 0xffff8005, 0xfffffffd },
{ 0x00000000, 0xffff7fe1, 0xffff7fe1, 0x00007fff },
{ 0x00000000, 0xffff807d, 0xffff807d, 0xffffff83 },
{ 0x00000000, 0x7fff8001, 0x7fff8001, 0x80000001 },
{ 0x00000000, 0x0000fffa, 0x0000fffa, 0xffff8003 },
{ 0x00000000, 0x00008000, 0x00008000, 0xffffffff },
{ 0x00000000, 0x00000080, 0x00000080, 0xffffff80 },
{ 0x00000000, 0xcccc4cce, 0xcccc4cce, 0x33333333 },
{ 0x00000000, 0xffffff02, 0xffffff02, 0x0000007e },
{ 0x00000000, 0x80000081, 0x80000081, 0x7ffffffd },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xfffffffd },
{ 0x00000000, 0x0000801e, 0x0000801e, 0xffff8002 },
{ 0x00000000, 0xffffff82, 0xffffff82, 0xfffffffe },
{ 0x00000000, 0x00000002, 0x00000002, 0x00000000 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0x00000001 },
{ 0x00000000, 0xffffff83, 0xffffff83, 0x0000007f },
{ 0x00000000, 0x00000000, 0x00000000, 0x80000000 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0xffffff80 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffe },
{ 0x00000000, 0x333332b6, 0x333332b6, 0x0000007d },
{ 0x00000000, 0x80000003, 0x80000003, 0x7ffffffe },
{ 0x00000000, 0x80007fff, 0x80007fff, 0x7fffffff },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff83 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7ffffffe },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x0000007f },
{ 0x00000000, 0xb3333333, 0xb3333333, 0xcccccccc },
{ 0x00000000, 0xffffff80, 0xffffff80, 0x00000002 },
{ 0x00000000, 0xd5555553, 0xd5555553, 0xaaaaaaaa },
{ 0x00000000, 0xcccd4ccb, 0xcccd4ccb, 0xffff8001 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0xffff8001 },
{ 0x00000000, 0x7fffffdf, 0x7fffffdf, 0x00000020 },
{ 0x00000000, 0xffff7fe2, 0xffff7fe2, 0x00007ffe },
{ 0x00000000, 0x80008001, 0x80008001, 0xffff8000 },
{ 0x00000000, 0xffffff05, 0xffffff05, 0x0000007d },
{ 0x00000000, 0x80000080, 0x80000080, 0x7ffffffe },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff80 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x0000007e },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x7fffffff },
{ 0x00000000, 0xffffff61, 0xffffff61, 0x0000007f },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff81 },
{ 0x00000000, 0x7fffff82, 0x7fffff82, 0x0000007e },
{ 0x00000000, 0x55555555, 0x55555555, 0xaaaaaaaa },
{ 0x00000000, 0xffffffde, 0xffffffde, 0x00000020 },
{ 0x00000000, 0x00007f7f, 0x00007f7f, 0xffff8003 },
{ 0x00000000, 0x80007ffb, 0x80007ffb, 0xffff8002 },
{ 0x00000000, 0x7ffffffe, 0x7ffffffe, 0x00000000 },
{ 0x00000000, 0x0000001d, 0x0000001d, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0xffff8002 },
{ 0x00000000, 0x7fffff85, 0x7fffff85, 0x7ffffffd },
{ 0x00000000, 0x4ccccccc, 0x4ccccccc, 0x80000000 },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x33333333 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x00000002 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0xfffffffd },
{ 0x00000000, 0x7fffff80, 0x7fffff80, 0x80000000 },
{ 0x00000000, 0xffffffe0, 0xffffffe0, 0x00000020 },
{ 0x00000000, 0x00007ffb, 0x00007ffb, 0xffff8003 },
{ 0x00000000, 0x00000001, 0x00000001, 0xffff8000 },
{ 0x00000000, 0x00000000, 0x00000000, 0x55555555 },
{ 0x00000000, 0x0000ffff, 0x0000ffff, 0xffff8000 },
{ 0x00000000, 0x8000001f, 0x8000001f, 0xffffffe0 },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0x55555555 },
{ 0x00000000, 0xb3333335, 0xb3333335, 0x7ffffffe },
{ 0x00000000, 0x80000020, 0x80000020, 0xffffffe0 },
{ 0x00000000, 0xffffff06, 0xffffff06, 0x0000007d },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00000002 },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff81 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x0000fffc, 0x0000fffc, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x80000003, 0xfffffffe },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffd },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0x8000007b, 0x8000007b, 0xffffff83 },
{ 0x00000000, 0xffff7fff, 0xffff7fff, 0x00007ffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x7fffff83, 0x7fffff83, 0x7fffffff },
{ 0x00000000, 0x0000005d, 0x0000005d, 0xffffff83 },
{ 0x00000000, 0x00000000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7fffffff },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xffffffff },
{ 0x00000000, 0x00000001, 0x00000001, 0xfffffffe },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffe },
{ 0x00000000, 0x00007f81, 0x00007f81, 0x0000007d },
{ 0x00000000, 0xffffff84, 0xffffff84, 0xfffffffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00007ffd },
{ 0x00000000, 0xaaab2aa8, 0xaaab2aa8, 0xffff8002 },
{ 0x00000000, 0x000000fd, 0x000000fd, 0xffffff82 },
{ 0x00000000, 0xcccd4ccc, 0xcccd4ccc, 0x33333333 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x80000000 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffd },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0x0000007f },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x0000007e },
{ 0x00000000, 0xaaaaaa8b, 0xaaaaaa8b, 0x55555555 },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0xffffff62, 0xffffff62, 0x0000007e },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007ffd },
{ 0x00000000, 0x0000801f, 0x0000801f, 0xffff8001 },
{ 0x00000000, 0x0000807c, 0x0000807c, 0xffffff83 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff807e, 0xffffff82 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007e },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x00000001 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0xcccccccc },
{ 0x00000000, 0xffff8005, 0xffff8005, 0x00007ffd },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x80000001 },
{ 0x00000000, 0xffff8022, 0xffff8022, 0x00007ffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffd },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0x0000005f, 0x0000005f, 0x00000020 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8003 },
{ 0x00000000, 0xffff7f82, 0xffff7f82, 0x0000007f },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000001 },
{ 0x00000000, 0x80000004, 0x80000004, 0x7ffffffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffff83 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0x7fffffff },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffe },
{ 0x00000000, 0x00007f82, 0x00007f82, 0xffff8000 },
{ 0x00000000, 0x00007ffe, 0x00007ffe, 0xffff8000 },
{ 0x00000000, 0xffff8081, 0xffff8081, 0xffffff81 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0x7fffffff },
{ 0x00000000, 0x7fff8002, 0x7fff8002, 0x00007fff },
{ 0x00000000, 0x3332b336, 0x3332b336, 0xcccccccc },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000002 },
{ 0x00000000, 0x333333b2, 0x333333b2, 0xffffff81 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff80 },
{ 0x00000000, 0xaaaaaaab, 0xaaaaaaab, 0xaaaaaaaa },
{ 0x00000000, 0x333333b1, 0x333333b1, 0xffffff82 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0xaaaaaaaa },
{ 0x00000000, 0x0000005e, 0x0000005e, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffff7f86, 0x00007ffd },
{ 0x00000000, 0x555554d8, 0x555554d8, 0xaaaaaaaa },
{ 0x00000000, 0xffff8004, 0xffff8004, 0xffffffff },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0xfffffffe },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0x0000007d },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaa8, 0x55555555 },
{ 0x00000000, 0xffffffdf, 0xffffffdf, 0x00000020 },
{ 0x00000000, 0x0000807b, 0x0000807b, 0xffffff83 },
{ 0x00000000, 0x2aaaaaaa, 0x2aaaaaaa, 0x55555555 },
{ 0x00000000, 0x88888889, 0x88888889, 0xcccccccc },
{ 0x00000000, 0x00007fdd, 0x00007fdd, 0xffff8003 },
{ 0x00000000, 0x7fff8000, 0x7fff8000, 0x00007ffe },
{ 0x00000000, 0x0000fffb, 0x0000fffb, 0xffff8002 },
{ 0x00000000, 0x00007ffc, 0x00007ffc, 0x00000001 },
{ 0x00000000, 0xffff8002, 0xffff8002, 0x00007ffe },
{ 0x00000000, 0xffffff60, 0xffffff60, 0x00000020 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00000000 },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000000 },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff81, 0xffffffff },
{ 0x00000000, 0xcccccc4d, 0xcccccc4d, 0x0000007f },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0x00007fff, 0x00007fff, 0x00000000 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0x00000001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff82 },
{ 0x00000000, 0x00000001, 0x00000001, 0x00007ffd },
{ 0x00000000, 0x77777777, 0x77777777, 0x33333333 },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x55555555 },
{ 0x00000000, 0xffff7f85, 0xffff7f85, 0x0000007e },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x00000002 },
{ 0x00000000, 0xcccccc4f, 0xcccccc4f, 0x33333333 },
{ 0x00000000, 0x55555556, 0x55555556, 0xffffffff },
{ 0x00000000, 0x2aaaaaa9, 0x2aaaaaa9, 0x80000001 },
{ 0x00000000, 0xffffffa3, 0xffffffa3, 0xffffffe0 },
{ 0x00000000, 0x00000021, 0x00000021, 0xffffffe0 },
{ 0x00000000, 0x00000000, 0x00000000, 0x33333333 },
{ 0x00000000, 0x55555554, 0x55555554, 0x00000001 },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007fff },
{ 0x00000000, 0x00000005, 0x00000005, 0xfffffffd },
{ 0x00000000, 0x00007fde, 0x00007fde, 0xffff8002 },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x00007ffd },
{ 0x00000000, 0xffffff85, 0xffffff85, 0xfffffffe },
{ 0x00000000, 0x80000002, 0x80000002, 0xffffffff },
{ 0x00000000, 0xffff7fe3, 0xffff7fe3, 0x00000020 },
{ 0x00000000, 0x333332b6, 0x333332b6, 0xcccccccc },
{ 0x00000000, 0x80000021, 0x80000021, 0x7fffffff },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x55555555 },
{ 0x00000000, 0xffffffe1, 0xffffffe1, 0x00000020 },
{ 0x00000000, 0xffff0002, 0xffff0002, 0x00007fff },
{ 0x00000000, 0x55555576, 0x55555576, 0xaaaaaaaa },
{ 0x00000000, 0xd5555556, 0xd5555556, 0x7fffffff },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x7fffffff },
{ 0x00000000, 0xaaab2aaa, 0xaaab2aaa, 0x55555555 },
{ 0x00000000, 0x555554d8, 0x555554d8, 0x0000007d },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x7ffffffe },
{ 0x00000000, 0xffff0004, 0xffff0004, 0x00007ffe },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff81 },
{ 0x00000000, 0xffffff04, 0xffffff04, 0x0000007d },
{ 0x00000000, 0xffffffa2, 0xffffffa2, 0x0000007e },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00007ffe },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x0000007e },
};
const Inputs kOutputs_Sub_RdIsRn_al_r11_r11_r10[] = {
{ 0x00000000, 0x00007f81, 0x00007f81, 0xffff8002 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0x7fffffff },
{ 0x00000000, 0x0000009d, 0x0000009d, 0xffffffe0 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000002 },
{ 0x00000000, 0xffff8005, 0xffff8005, 0xfffffffd },
{ 0x00000000, 0xffff7fe1, 0xffff7fe1, 0x00007fff },
{ 0x00000000, 0xffff807d, 0xffff807d, 0xffffff83 },
{ 0x00000000, 0x7fff8001, 0x7fff8001, 0x80000001 },
{ 0x00000000, 0x0000fffa, 0x0000fffa, 0xffff8003 },
{ 0x00000000, 0x00008000, 0x00008000, 0xffffffff },
{ 0x00000000, 0x00000080, 0x00000080, 0xffffff80 },
{ 0x00000000, 0xcccc4cce, 0xcccc4cce, 0x33333333 },
{ 0x00000000, 0xffffff02, 0xffffff02, 0x0000007e },
{ 0x00000000, 0x80000081, 0x80000081, 0x7ffffffd },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xfffffffd },
{ 0x00000000, 0x0000801e, 0x0000801e, 0xffff8002 },
{ 0x00000000, 0xffffff82, 0xffffff82, 0xfffffffe },
{ 0x00000000, 0x00000002, 0x00000002, 0x00000000 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0x00000001 },
{ 0x00000000, 0xffffff83, 0xffffff83, 0x0000007f },
{ 0x00000000, 0x00000000, 0x00000000, 0x80000000 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0xffffff80 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffe },
{ 0x00000000, 0x333332b6, 0x333332b6, 0x0000007d },
{ 0x00000000, 0x80000003, 0x80000003, 0x7ffffffe },
{ 0x00000000, 0x80007fff, 0x80007fff, 0x7fffffff },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff83 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7ffffffe },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x0000007f },
{ 0x00000000, 0xb3333333, 0xb3333333, 0xcccccccc },
{ 0x00000000, 0xffffff80, 0xffffff80, 0x00000002 },
{ 0x00000000, 0xd5555553, 0xd5555553, 0xaaaaaaaa },
{ 0x00000000, 0xcccd4ccb, 0xcccd4ccb, 0xffff8001 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0xffff8001 },
{ 0x00000000, 0x7fffffdf, 0x7fffffdf, 0x00000020 },
{ 0x00000000, 0xffff7fe2, 0xffff7fe2, 0x00007ffe },
{ 0x00000000, 0x80008001, 0x80008001, 0xffff8000 },
{ 0x00000000, 0xffffff05, 0xffffff05, 0x0000007d },
{ 0x00000000, 0x80000080, 0x80000080, 0x7ffffffe },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff80 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x0000007e },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x7fffffff },
{ 0x00000000, 0xffffff61, 0xffffff61, 0x0000007f },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff81 },
{ 0x00000000, 0x7fffff82, 0x7fffff82, 0x0000007e },
{ 0x00000000, 0x55555555, 0x55555555, 0xaaaaaaaa },
{ 0x00000000, 0xffffffde, 0xffffffde, 0x00000020 },
{ 0x00000000, 0x00007f7f, 0x00007f7f, 0xffff8003 },
{ 0x00000000, 0x80007ffb, 0x80007ffb, 0xffff8002 },
{ 0x00000000, 0x7ffffffe, 0x7ffffffe, 0x00000000 },
{ 0x00000000, 0x0000001d, 0x0000001d, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0xffff8002 },
{ 0x00000000, 0x7fffff85, 0x7fffff85, 0x7ffffffd },
{ 0x00000000, 0x4ccccccc, 0x4ccccccc, 0x80000000 },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x33333333 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x00000002 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0xfffffffd },
{ 0x00000000, 0x7fffff80, 0x7fffff80, 0x80000000 },
{ 0x00000000, 0xffffffe0, 0xffffffe0, 0x00000020 },
{ 0x00000000, 0x00007ffb, 0x00007ffb, 0xffff8003 },
{ 0x00000000, 0x00000001, 0x00000001, 0xffff8000 },
{ 0x00000000, 0x00000000, 0x00000000, 0x55555555 },
{ 0x00000000, 0x0000ffff, 0x0000ffff, 0xffff8000 },
{ 0x00000000, 0x8000001f, 0x8000001f, 0xffffffe0 },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0x55555555 },
{ 0x00000000, 0xb3333335, 0xb3333335, 0x7ffffffe },
{ 0x00000000, 0x80000020, 0x80000020, 0xffffffe0 },
{ 0x00000000, 0xffffff06, 0xffffff06, 0x0000007d },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00000002 },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff81 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x0000fffc, 0x0000fffc, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x80000003, 0xfffffffe },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffd },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0x8000007b, 0x8000007b, 0xffffff83 },
{ 0x00000000, 0xffff7fff, 0xffff7fff, 0x00007ffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x7fffff83, 0x7fffff83, 0x7fffffff },
{ 0x00000000, 0x0000005d, 0x0000005d, 0xffffff83 },
{ 0x00000000, 0x00000000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7fffffff },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xffffffff },
{ 0x00000000, 0x00000001, 0x00000001, 0xfffffffe },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffe },
{ 0x00000000, 0x00007f81, 0x00007f81, 0x0000007d },
{ 0x00000000, 0xffffff84, 0xffffff84, 0xfffffffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00007ffd },
{ 0x00000000, 0xaaab2aa8, 0xaaab2aa8, 0xffff8002 },
{ 0x00000000, 0x000000fd, 0x000000fd, 0xffffff82 },
{ 0x00000000, 0xcccd4ccc, 0xcccd4ccc, 0x33333333 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x80000000 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffd },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0x0000007f },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x0000007e },
{ 0x00000000, 0xaaaaaa8b, 0xaaaaaa8b, 0x55555555 },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0xffffff62, 0xffffff62, 0x0000007e },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007ffd },
{ 0x00000000, 0x0000801f, 0x0000801f, 0xffff8001 },
{ 0x00000000, 0x0000807c, 0x0000807c, 0xffffff83 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff807e, 0xffffff82 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007e },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x00000001 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0xcccccccc },
{ 0x00000000, 0xffff8005, 0xffff8005, 0x00007ffd },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x80000001 },
{ 0x00000000, 0xffff8022, 0xffff8022, 0x00007ffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffd },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0x0000005f, 0x0000005f, 0x00000020 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8003 },
{ 0x00000000, 0xffff7f82, 0xffff7f82, 0x0000007f },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000001 },
{ 0x00000000, 0x80000004, 0x80000004, 0x7ffffffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffff83 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0x7fffffff },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffe },
{ 0x00000000, 0x00007f82, 0x00007f82, 0xffff8000 },
{ 0x00000000, 0x00007ffe, 0x00007ffe, 0xffff8000 },
{ 0x00000000, 0xffff8081, 0xffff8081, 0xffffff81 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0x7fffffff },
{ 0x00000000, 0x7fff8002, 0x7fff8002, 0x00007fff },
{ 0x00000000, 0x3332b336, 0x3332b336, 0xcccccccc },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000002 },
{ 0x00000000, 0x333333b2, 0x333333b2, 0xffffff81 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff80 },
{ 0x00000000, 0xaaaaaaab, 0xaaaaaaab, 0xaaaaaaaa },
{ 0x00000000, 0x333333b1, 0x333333b1, 0xffffff82 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0xaaaaaaaa },
{ 0x00000000, 0x0000005e, 0x0000005e, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffff7f86, 0x00007ffd },
{ 0x00000000, 0x555554d8, 0x555554d8, 0xaaaaaaaa },
{ 0x00000000, 0xffff8004, 0xffff8004, 0xffffffff },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0xfffffffe },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0x0000007d },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaa8, 0x55555555 },
{ 0x00000000, 0xffffffdf, 0xffffffdf, 0x00000020 },
{ 0x00000000, 0x0000807b, 0x0000807b, 0xffffff83 },
{ 0x00000000, 0x2aaaaaaa, 0x2aaaaaaa, 0x55555555 },
{ 0x00000000, 0x88888889, 0x88888889, 0xcccccccc },
{ 0x00000000, 0x00007fdd, 0x00007fdd, 0xffff8003 },
{ 0x00000000, 0x7fff8000, 0x7fff8000, 0x00007ffe },
{ 0x00000000, 0x0000fffb, 0x0000fffb, 0xffff8002 },
{ 0x00000000, 0x00007ffc, 0x00007ffc, 0x00000001 },
{ 0x00000000, 0xffff8002, 0xffff8002, 0x00007ffe },
{ 0x00000000, 0xffffff60, 0xffffff60, 0x00000020 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00000000 },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000000 },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff81, 0xffffffff },
{ 0x00000000, 0xcccccc4d, 0xcccccc4d, 0x0000007f },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0x00007fff, 0x00007fff, 0x00000000 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0x00000001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff82 },
{ 0x00000000, 0x00000001, 0x00000001, 0x00007ffd },
{ 0x00000000, 0x77777777, 0x77777777, 0x33333333 },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x55555555 },
{ 0x00000000, 0xffff7f85, 0xffff7f85, 0x0000007e },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x00000002 },
{ 0x00000000, 0xcccccc4f, 0xcccccc4f, 0x33333333 },
{ 0x00000000, 0x55555556, 0x55555556, 0xffffffff },
{ 0x00000000, 0x2aaaaaa9, 0x2aaaaaa9, 0x80000001 },
{ 0x00000000, 0xffffffa3, 0xffffffa3, 0xffffffe0 },
{ 0x00000000, 0x00000021, 0x00000021, 0xffffffe0 },
{ 0x00000000, 0x00000000, 0x00000000, 0x33333333 },
{ 0x00000000, 0x55555554, 0x55555554, 0x00000001 },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007fff },
{ 0x00000000, 0x00000005, 0x00000005, 0xfffffffd },
{ 0x00000000, 0x00007fde, 0x00007fde, 0xffff8002 },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x00007ffd },
{ 0x00000000, 0xffffff85, 0xffffff85, 0xfffffffe },
{ 0x00000000, 0x80000002, 0x80000002, 0xffffffff },
{ 0x00000000, 0xffff7fe3, 0xffff7fe3, 0x00000020 },
{ 0x00000000, 0x333332b6, 0x333332b6, 0xcccccccc },
{ 0x00000000, 0x80000021, 0x80000021, 0x7fffffff },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x55555555 },
{ 0x00000000, 0xffffffe1, 0xffffffe1, 0x00000020 },
{ 0x00000000, 0xffff0002, 0xffff0002, 0x00007fff },
{ 0x00000000, 0x55555576, 0x55555576, 0xaaaaaaaa },
{ 0x00000000, 0xd5555556, 0xd5555556, 0x7fffffff },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x7fffffff },
{ 0x00000000, 0xaaab2aaa, 0xaaab2aaa, 0x55555555 },
{ 0x00000000, 0x555554d8, 0x555554d8, 0x0000007d },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x7ffffffe },
{ 0x00000000, 0xffff0004, 0xffff0004, 0x00007ffe },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff81 },
{ 0x00000000, 0xffffff04, 0xffffff04, 0x0000007d },
{ 0x00000000, 0xffffffa2, 0xffffffa2, 0x0000007e },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00007ffe },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x0000007e },
};
const Inputs kOutputs_Sub_RdIsRn_al_r12_r12_r10[] = {
{ 0x00000000, 0x00007f81, 0x00007f81, 0xffff8002 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0x7fffffff },
{ 0x00000000, 0x0000009d, 0x0000009d, 0xffffffe0 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000002 },
{ 0x00000000, 0xffff8005, 0xffff8005, 0xfffffffd },
{ 0x00000000, 0xffff7fe1, 0xffff7fe1, 0x00007fff },
{ 0x00000000, 0xffff807d, 0xffff807d, 0xffffff83 },
{ 0x00000000, 0x7fff8001, 0x7fff8001, 0x80000001 },
{ 0x00000000, 0x0000fffa, 0x0000fffa, 0xffff8003 },
{ 0x00000000, 0x00008000, 0x00008000, 0xffffffff },
{ 0x00000000, 0x00000080, 0x00000080, 0xffffff80 },
{ 0x00000000, 0xcccc4cce, 0xcccc4cce, 0x33333333 },
{ 0x00000000, 0xffffff02, 0xffffff02, 0x0000007e },
{ 0x00000000, 0x80000081, 0x80000081, 0x7ffffffd },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xfffffffd },
{ 0x00000000, 0x0000801e, 0x0000801e, 0xffff8002 },
{ 0x00000000, 0xffffff82, 0xffffff82, 0xfffffffe },
{ 0x00000000, 0x00000002, 0x00000002, 0x00000000 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0x00000001 },
{ 0x00000000, 0xffffff83, 0xffffff83, 0x0000007f },
{ 0x00000000, 0x00000000, 0x00000000, 0x80000000 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0xffffff80 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffe },
{ 0x00000000, 0x333332b6, 0x333332b6, 0x0000007d },
{ 0x00000000, 0x80000003, 0x80000003, 0x7ffffffe },
{ 0x00000000, 0x80007fff, 0x80007fff, 0x7fffffff },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff83 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7ffffffe },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x0000007f },
{ 0x00000000, 0xb3333333, 0xb3333333, 0xcccccccc },
{ 0x00000000, 0xffffff80, 0xffffff80, 0x00000002 },
{ 0x00000000, 0xd5555553, 0xd5555553, 0xaaaaaaaa },
{ 0x00000000, 0xcccd4ccb, 0xcccd4ccb, 0xffff8001 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0xffff8001 },
{ 0x00000000, 0x7fffffdf, 0x7fffffdf, 0x00000020 },
{ 0x00000000, 0xffff7fe2, 0xffff7fe2, 0x00007ffe },
{ 0x00000000, 0x80008001, 0x80008001, 0xffff8000 },
{ 0x00000000, 0xffffff05, 0xffffff05, 0x0000007d },
{ 0x00000000, 0x80000080, 0x80000080, 0x7ffffffe },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff80 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x0000007e },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x7fffffff },
{ 0x00000000, 0xffffff61, 0xffffff61, 0x0000007f },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff81 },
{ 0x00000000, 0x7fffff82, 0x7fffff82, 0x0000007e },
{ 0x00000000, 0x55555555, 0x55555555, 0xaaaaaaaa },
{ 0x00000000, 0xffffffde, 0xffffffde, 0x00000020 },
{ 0x00000000, 0x00007f7f, 0x00007f7f, 0xffff8003 },
{ 0x00000000, 0x80007ffb, 0x80007ffb, 0xffff8002 },
{ 0x00000000, 0x7ffffffe, 0x7ffffffe, 0x00000000 },
{ 0x00000000, 0x0000001d, 0x0000001d, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0xffff8002 },
{ 0x00000000, 0x7fffff85, 0x7fffff85, 0x7ffffffd },
{ 0x00000000, 0x4ccccccc, 0x4ccccccc, 0x80000000 },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x33333333 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x00000002 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0xfffffffd },
{ 0x00000000, 0x7fffff80, 0x7fffff80, 0x80000000 },
{ 0x00000000, 0xffffffe0, 0xffffffe0, 0x00000020 },
{ 0x00000000, 0x00007ffb, 0x00007ffb, 0xffff8003 },
{ 0x00000000, 0x00000001, 0x00000001, 0xffff8000 },
{ 0x00000000, 0x00000000, 0x00000000, 0x55555555 },
{ 0x00000000, 0x0000ffff, 0x0000ffff, 0xffff8000 },
{ 0x00000000, 0x8000001f, 0x8000001f, 0xffffffe0 },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0x55555555 },
{ 0x00000000, 0xb3333335, 0xb3333335, 0x7ffffffe },
{ 0x00000000, 0x80000020, 0x80000020, 0xffffffe0 },
{ 0x00000000, 0xffffff06, 0xffffff06, 0x0000007d },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00000002 },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff81 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x0000fffc, 0x0000fffc, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x80000003, 0xfffffffe },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffd },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0x8000007b, 0x8000007b, 0xffffff83 },
{ 0x00000000, 0xffff7fff, 0xffff7fff, 0x00007ffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x7fffff83, 0x7fffff83, 0x7fffffff },
{ 0x00000000, 0x0000005d, 0x0000005d, 0xffffff83 },
{ 0x00000000, 0x00000000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7fffffff },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xffffffff },
{ 0x00000000, 0x00000001, 0x00000001, 0xfffffffe },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffe },
{ 0x00000000, 0x00007f81, 0x00007f81, 0x0000007d },
{ 0x00000000, 0xffffff84, 0xffffff84, 0xfffffffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00007ffd },
{ 0x00000000, 0xaaab2aa8, 0xaaab2aa8, 0xffff8002 },
{ 0x00000000, 0x000000fd, 0x000000fd, 0xffffff82 },
{ 0x00000000, 0xcccd4ccc, 0xcccd4ccc, 0x33333333 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x80000000 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffd },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0x0000007f },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x0000007e },
{ 0x00000000, 0xaaaaaa8b, 0xaaaaaa8b, 0x55555555 },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0xffffff62, 0xffffff62, 0x0000007e },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007ffd },
{ 0x00000000, 0x0000801f, 0x0000801f, 0xffff8001 },
{ 0x00000000, 0x0000807c, 0x0000807c, 0xffffff83 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff807e, 0xffffff82 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007e },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x00000001 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0xcccccccc },
{ 0x00000000, 0xffff8005, 0xffff8005, 0x00007ffd },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x80000001 },
{ 0x00000000, 0xffff8022, 0xffff8022, 0x00007ffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffd },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0x0000005f, 0x0000005f, 0x00000020 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8003 },
{ 0x00000000, 0xffff7f82, 0xffff7f82, 0x0000007f },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000001 },
{ 0x00000000, 0x80000004, 0x80000004, 0x7ffffffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffff83 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0x7fffffff },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffe },
{ 0x00000000, 0x00007f82, 0x00007f82, 0xffff8000 },
{ 0x00000000, 0x00007ffe, 0x00007ffe, 0xffff8000 },
{ 0x00000000, 0xffff8081, 0xffff8081, 0xffffff81 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0x7fffffff },
{ 0x00000000, 0x7fff8002, 0x7fff8002, 0x00007fff },
{ 0x00000000, 0x3332b336, 0x3332b336, 0xcccccccc },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000002 },
{ 0x00000000, 0x333333b2, 0x333333b2, 0xffffff81 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff80 },
{ 0x00000000, 0xaaaaaaab, 0xaaaaaaab, 0xaaaaaaaa },
{ 0x00000000, 0x333333b1, 0x333333b1, 0xffffff82 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0xaaaaaaaa },
{ 0x00000000, 0x0000005e, 0x0000005e, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffff7f86, 0x00007ffd },
{ 0x00000000, 0x555554d8, 0x555554d8, 0xaaaaaaaa },
{ 0x00000000, 0xffff8004, 0xffff8004, 0xffffffff },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0xfffffffe },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0x0000007d },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaa8, 0x55555555 },
{ 0x00000000, 0xffffffdf, 0xffffffdf, 0x00000020 },
{ 0x00000000, 0x0000807b, 0x0000807b, 0xffffff83 },
{ 0x00000000, 0x2aaaaaaa, 0x2aaaaaaa, 0x55555555 },
{ 0x00000000, 0x88888889, 0x88888889, 0xcccccccc },
{ 0x00000000, 0x00007fdd, 0x00007fdd, 0xffff8003 },
{ 0x00000000, 0x7fff8000, 0x7fff8000, 0x00007ffe },
{ 0x00000000, 0x0000fffb, 0x0000fffb, 0xffff8002 },
{ 0x00000000, 0x00007ffc, 0x00007ffc, 0x00000001 },
{ 0x00000000, 0xffff8002, 0xffff8002, 0x00007ffe },
{ 0x00000000, 0xffffff60, 0xffffff60, 0x00000020 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00000000 },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000000 },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff81, 0xffffffff },
{ 0x00000000, 0xcccccc4d, 0xcccccc4d, 0x0000007f },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0x00007fff, 0x00007fff, 0x00000000 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0x00000001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff82 },
{ 0x00000000, 0x00000001, 0x00000001, 0x00007ffd },
{ 0x00000000, 0x77777777, 0x77777777, 0x33333333 },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x55555555 },
{ 0x00000000, 0xffff7f85, 0xffff7f85, 0x0000007e },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x00000002 },
{ 0x00000000, 0xcccccc4f, 0xcccccc4f, 0x33333333 },
{ 0x00000000, 0x55555556, 0x55555556, 0xffffffff },
{ 0x00000000, 0x2aaaaaa9, 0x2aaaaaa9, 0x80000001 },
{ 0x00000000, 0xffffffa3, 0xffffffa3, 0xffffffe0 },
{ 0x00000000, 0x00000021, 0x00000021, 0xffffffe0 },
{ 0x00000000, 0x00000000, 0x00000000, 0x33333333 },
{ 0x00000000, 0x55555554, 0x55555554, 0x00000001 },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007fff },
{ 0x00000000, 0x00000005, 0x00000005, 0xfffffffd },
{ 0x00000000, 0x00007fde, 0x00007fde, 0xffff8002 },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x00007ffd },
{ 0x00000000, 0xffffff85, 0xffffff85, 0xfffffffe },
{ 0x00000000, 0x80000002, 0x80000002, 0xffffffff },
{ 0x00000000, 0xffff7fe3, 0xffff7fe3, 0x00000020 },
{ 0x00000000, 0x333332b6, 0x333332b6, 0xcccccccc },
{ 0x00000000, 0x80000021, 0x80000021, 0x7fffffff },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x55555555 },
{ 0x00000000, 0xffffffe1, 0xffffffe1, 0x00000020 },
{ 0x00000000, 0xffff0002, 0xffff0002, 0x00007fff },
{ 0x00000000, 0x55555576, 0x55555576, 0xaaaaaaaa },
{ 0x00000000, 0xd5555556, 0xd5555556, 0x7fffffff },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x7fffffff },
{ 0x00000000, 0xaaab2aaa, 0xaaab2aaa, 0x55555555 },
{ 0x00000000, 0x555554d8, 0x555554d8, 0x0000007d },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x7ffffffe },
{ 0x00000000, 0xffff0004, 0xffff0004, 0x00007ffe },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff81 },
{ 0x00000000, 0xffffff04, 0xffffff04, 0x0000007d },
{ 0x00000000, 0xffffffa2, 0xffffffa2, 0x0000007e },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00007ffe },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x0000007e },
};
const Inputs kOutputs_Sub_RdIsRn_al_r4_r4_r8[] = {
{ 0x00000000, 0x00007f81, 0x00007f81, 0xffff8002 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0x7fffffff },
{ 0x00000000, 0x0000009d, 0x0000009d, 0xffffffe0 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000002 },
{ 0x00000000, 0xffff8005, 0xffff8005, 0xfffffffd },
{ 0x00000000, 0xffff7fe1, 0xffff7fe1, 0x00007fff },
{ 0x00000000, 0xffff807d, 0xffff807d, 0xffffff83 },
{ 0x00000000, 0x7fff8001, 0x7fff8001, 0x80000001 },
{ 0x00000000, 0x0000fffa, 0x0000fffa, 0xffff8003 },
{ 0x00000000, 0x00008000, 0x00008000, 0xffffffff },
{ 0x00000000, 0x00000080, 0x00000080, 0xffffff80 },
{ 0x00000000, 0xcccc4cce, 0xcccc4cce, 0x33333333 },
{ 0x00000000, 0xffffff02, 0xffffff02, 0x0000007e },
{ 0x00000000, 0x80000081, 0x80000081, 0x7ffffffd },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xfffffffd },
{ 0x00000000, 0x0000801e, 0x0000801e, 0xffff8002 },
{ 0x00000000, 0xffffff82, 0xffffff82, 0xfffffffe },
{ 0x00000000, 0x00000002, 0x00000002, 0x00000000 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0x00000001 },
{ 0x00000000, 0xffffff83, 0xffffff83, 0x0000007f },
{ 0x00000000, 0x00000000, 0x00000000, 0x80000000 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0xffffff80 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffe },
{ 0x00000000, 0x333332b6, 0x333332b6, 0x0000007d },
{ 0x00000000, 0x80000003, 0x80000003, 0x7ffffffe },
{ 0x00000000, 0x80007fff, 0x80007fff, 0x7fffffff },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff83 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7ffffffe },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x0000007f },
{ 0x00000000, 0xb3333333, 0xb3333333, 0xcccccccc },
{ 0x00000000, 0xffffff80, 0xffffff80, 0x00000002 },
{ 0x00000000, 0xd5555553, 0xd5555553, 0xaaaaaaaa },
{ 0x00000000, 0xcccd4ccb, 0xcccd4ccb, 0xffff8001 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0xffff8001 },
{ 0x00000000, 0x7fffffdf, 0x7fffffdf, 0x00000020 },
{ 0x00000000, 0xffff7fe2, 0xffff7fe2, 0x00007ffe },
{ 0x00000000, 0x80008001, 0x80008001, 0xffff8000 },
{ 0x00000000, 0xffffff05, 0xffffff05, 0x0000007d },
{ 0x00000000, 0x80000080, 0x80000080, 0x7ffffffe },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff80 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x0000007e },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x7fffffff },
{ 0x00000000, 0xffffff61, 0xffffff61, 0x0000007f },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff81 },
{ 0x00000000, 0x7fffff82, 0x7fffff82, 0x0000007e },
{ 0x00000000, 0x55555555, 0x55555555, 0xaaaaaaaa },
{ 0x00000000, 0xffffffde, 0xffffffde, 0x00000020 },
{ 0x00000000, 0x00007f7f, 0x00007f7f, 0xffff8003 },
{ 0x00000000, 0x80007ffb, 0x80007ffb, 0xffff8002 },
{ 0x00000000, 0x7ffffffe, 0x7ffffffe, 0x00000000 },
{ 0x00000000, 0x0000001d, 0x0000001d, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0xffff8002 },
{ 0x00000000, 0x7fffff85, 0x7fffff85, 0x7ffffffd },
{ 0x00000000, 0x4ccccccc, 0x4ccccccc, 0x80000000 },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x33333333 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x00000002 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0xfffffffd },
{ 0x00000000, 0x7fffff80, 0x7fffff80, 0x80000000 },
{ 0x00000000, 0xffffffe0, 0xffffffe0, 0x00000020 },
{ 0x00000000, 0x00007ffb, 0x00007ffb, 0xffff8003 },
{ 0x00000000, 0x00000001, 0x00000001, 0xffff8000 },
{ 0x00000000, 0x00000000, 0x00000000, 0x55555555 },
{ 0x00000000, 0x0000ffff, 0x0000ffff, 0xffff8000 },
{ 0x00000000, 0x8000001f, 0x8000001f, 0xffffffe0 },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0x55555555 },
{ 0x00000000, 0xb3333335, 0xb3333335, 0x7ffffffe },
{ 0x00000000, 0x80000020, 0x80000020, 0xffffffe0 },
{ 0x00000000, 0xffffff06, 0xffffff06, 0x0000007d },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00000002 },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff81 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x0000fffc, 0x0000fffc, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x80000003, 0xfffffffe },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffd },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0x8000007b, 0x8000007b, 0xffffff83 },
{ 0x00000000, 0xffff7fff, 0xffff7fff, 0x00007ffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x7fffff83, 0x7fffff83, 0x7fffffff },
{ 0x00000000, 0x0000005d, 0x0000005d, 0xffffff83 },
{ 0x00000000, 0x00000000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7fffffff },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xffffffff },
{ 0x00000000, 0x00000001, 0x00000001, 0xfffffffe },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffe },
{ 0x00000000, 0x00007f81, 0x00007f81, 0x0000007d },
{ 0x00000000, 0xffffff84, 0xffffff84, 0xfffffffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00007ffd },
{ 0x00000000, 0xaaab2aa8, 0xaaab2aa8, 0xffff8002 },
{ 0x00000000, 0x000000fd, 0x000000fd, 0xffffff82 },
{ 0x00000000, 0xcccd4ccc, 0xcccd4ccc, 0x33333333 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x80000000 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffd },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0x0000007f },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x0000007e },
{ 0x00000000, 0xaaaaaa8b, 0xaaaaaa8b, 0x55555555 },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0xffffff62, 0xffffff62, 0x0000007e },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007ffd },
{ 0x00000000, 0x0000801f, 0x0000801f, 0xffff8001 },
{ 0x00000000, 0x0000807c, 0x0000807c, 0xffffff83 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff807e, 0xffffff82 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007e },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x00000001 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0xcccccccc },
{ 0x00000000, 0xffff8005, 0xffff8005, 0x00007ffd },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x80000001 },
{ 0x00000000, 0xffff8022, 0xffff8022, 0x00007ffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffd },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0x0000005f, 0x0000005f, 0x00000020 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8003 },
{ 0x00000000, 0xffff7f82, 0xffff7f82, 0x0000007f },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000001 },
{ 0x00000000, 0x80000004, 0x80000004, 0x7ffffffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffff83 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0x7fffffff },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffe },
{ 0x00000000, 0x00007f82, 0x00007f82, 0xffff8000 },
{ 0x00000000, 0x00007ffe, 0x00007ffe, 0xffff8000 },
{ 0x00000000, 0xffff8081, 0xffff8081, 0xffffff81 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0x7fffffff },
{ 0x00000000, 0x7fff8002, 0x7fff8002, 0x00007fff },
{ 0x00000000, 0x3332b336, 0x3332b336, 0xcccccccc },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000002 },
{ 0x00000000, 0x333333b2, 0x333333b2, 0xffffff81 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff80 },
{ 0x00000000, 0xaaaaaaab, 0xaaaaaaab, 0xaaaaaaaa },
{ 0x00000000, 0x333333b1, 0x333333b1, 0xffffff82 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0xaaaaaaaa },
{ 0x00000000, 0x0000005e, 0x0000005e, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffff7f86, 0x00007ffd },
{ 0x00000000, 0x555554d8, 0x555554d8, 0xaaaaaaaa },
{ 0x00000000, 0xffff8004, 0xffff8004, 0xffffffff },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0xfffffffe },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0x0000007d },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaa8, 0x55555555 },
{ 0x00000000, 0xffffffdf, 0xffffffdf, 0x00000020 },
{ 0x00000000, 0x0000807b, 0x0000807b, 0xffffff83 },
{ 0x00000000, 0x2aaaaaaa, 0x2aaaaaaa, 0x55555555 },
{ 0x00000000, 0x88888889, 0x88888889, 0xcccccccc },
{ 0x00000000, 0x00007fdd, 0x00007fdd, 0xffff8003 },
{ 0x00000000, 0x7fff8000, 0x7fff8000, 0x00007ffe },
{ 0x00000000, 0x0000fffb, 0x0000fffb, 0xffff8002 },
{ 0x00000000, 0x00007ffc, 0x00007ffc, 0x00000001 },
{ 0x00000000, 0xffff8002, 0xffff8002, 0x00007ffe },
{ 0x00000000, 0xffffff60, 0xffffff60, 0x00000020 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00000000 },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000000 },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff81, 0xffffffff },
{ 0x00000000, 0xcccccc4d, 0xcccccc4d, 0x0000007f },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0x00007fff, 0x00007fff, 0x00000000 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0x00000001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff82 },
{ 0x00000000, 0x00000001, 0x00000001, 0x00007ffd },
{ 0x00000000, 0x77777777, 0x77777777, 0x33333333 },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x55555555 },
{ 0x00000000, 0xffff7f85, 0xffff7f85, 0x0000007e },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x00000002 },
{ 0x00000000, 0xcccccc4f, 0xcccccc4f, 0x33333333 },
{ 0x00000000, 0x55555556, 0x55555556, 0xffffffff },
{ 0x00000000, 0x2aaaaaa9, 0x2aaaaaa9, 0x80000001 },
{ 0x00000000, 0xffffffa3, 0xffffffa3, 0xffffffe0 },
{ 0x00000000, 0x00000021, 0x00000021, 0xffffffe0 },
{ 0x00000000, 0x00000000, 0x00000000, 0x33333333 },
{ 0x00000000, 0x55555554, 0x55555554, 0x00000001 },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007fff },
{ 0x00000000, 0x00000005, 0x00000005, 0xfffffffd },
{ 0x00000000, 0x00007fde, 0x00007fde, 0xffff8002 },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x00007ffd },
{ 0x00000000, 0xffffff85, 0xffffff85, 0xfffffffe },
{ 0x00000000, 0x80000002, 0x80000002, 0xffffffff },
{ 0x00000000, 0xffff7fe3, 0xffff7fe3, 0x00000020 },
{ 0x00000000, 0x333332b6, 0x333332b6, 0xcccccccc },
{ 0x00000000, 0x80000021, 0x80000021, 0x7fffffff },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x55555555 },
{ 0x00000000, 0xffffffe1, 0xffffffe1, 0x00000020 },
{ 0x00000000, 0xffff0002, 0xffff0002, 0x00007fff },
{ 0x00000000, 0x55555576, 0x55555576, 0xaaaaaaaa },
{ 0x00000000, 0xd5555556, 0xd5555556, 0x7fffffff },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x7fffffff },
{ 0x00000000, 0xaaab2aaa, 0xaaab2aaa, 0x55555555 },
{ 0x00000000, 0x555554d8, 0x555554d8, 0x0000007d },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x7ffffffe },
{ 0x00000000, 0xffff0004, 0xffff0004, 0x00007ffe },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff81 },
{ 0x00000000, 0xffffff04, 0xffffff04, 0x0000007d },
{ 0x00000000, 0xffffffa2, 0xffffffa2, 0x0000007e },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00007ffe },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x0000007e },
};
const Inputs kOutputs_Sub_RdIsRn_al_r5_r5_r14[] = {
{ 0x00000000, 0x00007f81, 0x00007f81, 0xffff8002 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0x7fffffff },
{ 0x00000000, 0x0000009d, 0x0000009d, 0xffffffe0 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000002 },
{ 0x00000000, 0xffff8005, 0xffff8005, 0xfffffffd },
{ 0x00000000, 0xffff7fe1, 0xffff7fe1, 0x00007fff },
{ 0x00000000, 0xffff807d, 0xffff807d, 0xffffff83 },
{ 0x00000000, 0x7fff8001, 0x7fff8001, 0x80000001 },
{ 0x00000000, 0x0000fffa, 0x0000fffa, 0xffff8003 },
{ 0x00000000, 0x00008000, 0x00008000, 0xffffffff },
{ 0x00000000, 0x00000080, 0x00000080, 0xffffff80 },
{ 0x00000000, 0xcccc4cce, 0xcccc4cce, 0x33333333 },
{ 0x00000000, 0xffffff02, 0xffffff02, 0x0000007e },
{ 0x00000000, 0x80000081, 0x80000081, 0x7ffffffd },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xfffffffd },
{ 0x00000000, 0x0000801e, 0x0000801e, 0xffff8002 },
{ 0x00000000, 0xffffff82, 0xffffff82, 0xfffffffe },
{ 0x00000000, 0x00000002, 0x00000002, 0x00000000 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0x00000001 },
{ 0x00000000, 0xffffff83, 0xffffff83, 0x0000007f },
{ 0x00000000, 0x00000000, 0x00000000, 0x80000000 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0xffffff80 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffe },
{ 0x00000000, 0x333332b6, 0x333332b6, 0x0000007d },
{ 0x00000000, 0x80000003, 0x80000003, 0x7ffffffe },
{ 0x00000000, 0x80007fff, 0x80007fff, 0x7fffffff },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff83 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7ffffffe },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x0000007f },
{ 0x00000000, 0xb3333333, 0xb3333333, 0xcccccccc },
{ 0x00000000, 0xffffff80, 0xffffff80, 0x00000002 },
{ 0x00000000, 0xd5555553, 0xd5555553, 0xaaaaaaaa },
{ 0x00000000, 0xcccd4ccb, 0xcccd4ccb, 0xffff8001 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0xffff8001 },
{ 0x00000000, 0x7fffffdf, 0x7fffffdf, 0x00000020 },
{ 0x00000000, 0xffff7fe2, 0xffff7fe2, 0x00007ffe },
{ 0x00000000, 0x80008001, 0x80008001, 0xffff8000 },
{ 0x00000000, 0xffffff05, 0xffffff05, 0x0000007d },
{ 0x00000000, 0x80000080, 0x80000080, 0x7ffffffe },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff80 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x0000007e },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x7fffffff },
{ 0x00000000, 0xffffff61, 0xffffff61, 0x0000007f },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff81 },
{ 0x00000000, 0x7fffff82, 0x7fffff82, 0x0000007e },
{ 0x00000000, 0x55555555, 0x55555555, 0xaaaaaaaa },
{ 0x00000000, 0xffffffde, 0xffffffde, 0x00000020 },
{ 0x00000000, 0x00007f7f, 0x00007f7f, 0xffff8003 },
{ 0x00000000, 0x80007ffb, 0x80007ffb, 0xffff8002 },
{ 0x00000000, 0x7ffffffe, 0x7ffffffe, 0x00000000 },
{ 0x00000000, 0x0000001d, 0x0000001d, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0xffff8002 },
{ 0x00000000, 0x7fffff85, 0x7fffff85, 0x7ffffffd },
{ 0x00000000, 0x4ccccccc, 0x4ccccccc, 0x80000000 },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x33333333 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x00000002 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0xfffffffd },
{ 0x00000000, 0x7fffff80, 0x7fffff80, 0x80000000 },
{ 0x00000000, 0xffffffe0, 0xffffffe0, 0x00000020 },
{ 0x00000000, 0x00007ffb, 0x00007ffb, 0xffff8003 },
{ 0x00000000, 0x00000001, 0x00000001, 0xffff8000 },
{ 0x00000000, 0x00000000, 0x00000000, 0x55555555 },
{ 0x00000000, 0x0000ffff, 0x0000ffff, 0xffff8000 },
{ 0x00000000, 0x8000001f, 0x8000001f, 0xffffffe0 },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0x55555555 },
{ 0x00000000, 0xb3333335, 0xb3333335, 0x7ffffffe },
{ 0x00000000, 0x80000020, 0x80000020, 0xffffffe0 },
{ 0x00000000, 0xffffff06, 0xffffff06, 0x0000007d },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00000002 },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff81 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x0000fffc, 0x0000fffc, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x80000003, 0xfffffffe },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffd },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0x8000007b, 0x8000007b, 0xffffff83 },
{ 0x00000000, 0xffff7fff, 0xffff7fff, 0x00007ffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x7fffff83, 0x7fffff83, 0x7fffffff },
{ 0x00000000, 0x0000005d, 0x0000005d, 0xffffff83 },
{ 0x00000000, 0x00000000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7fffffff },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xffffffff },
{ 0x00000000, 0x00000001, 0x00000001, 0xfffffffe },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffe },
{ 0x00000000, 0x00007f81, 0x00007f81, 0x0000007d },
{ 0x00000000, 0xffffff84, 0xffffff84, 0xfffffffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00007ffd },
{ 0x00000000, 0xaaab2aa8, 0xaaab2aa8, 0xffff8002 },
{ 0x00000000, 0x000000fd, 0x000000fd, 0xffffff82 },
{ 0x00000000, 0xcccd4ccc, 0xcccd4ccc, 0x33333333 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x80000000 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffd },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0x0000007f },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x0000007e },
{ 0x00000000, 0xaaaaaa8b, 0xaaaaaa8b, 0x55555555 },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0xffffff62, 0xffffff62, 0x0000007e },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007ffd },
{ 0x00000000, 0x0000801f, 0x0000801f, 0xffff8001 },
{ 0x00000000, 0x0000807c, 0x0000807c, 0xffffff83 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff807e, 0xffffff82 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007e },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x00000001 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0xcccccccc },
{ 0x00000000, 0xffff8005, 0xffff8005, 0x00007ffd },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x80000001 },
{ 0x00000000, 0xffff8022, 0xffff8022, 0x00007ffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffd },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0x0000005f, 0x0000005f, 0x00000020 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8003 },
{ 0x00000000, 0xffff7f82, 0xffff7f82, 0x0000007f },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000001 },
{ 0x00000000, 0x80000004, 0x80000004, 0x7ffffffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffff83 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0x7fffffff },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffe },
{ 0x00000000, 0x00007f82, 0x00007f82, 0xffff8000 },
{ 0x00000000, 0x00007ffe, 0x00007ffe, 0xffff8000 },
{ 0x00000000, 0xffff8081, 0xffff8081, 0xffffff81 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0x7fffffff },
{ 0x00000000, 0x7fff8002, 0x7fff8002, 0x00007fff },
{ 0x00000000, 0x3332b336, 0x3332b336, 0xcccccccc },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000002 },
{ 0x00000000, 0x333333b2, 0x333333b2, 0xffffff81 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff80 },
{ 0x00000000, 0xaaaaaaab, 0xaaaaaaab, 0xaaaaaaaa },
{ 0x00000000, 0x333333b1, 0x333333b1, 0xffffff82 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0xaaaaaaaa },
{ 0x00000000, 0x0000005e, 0x0000005e, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffff7f86, 0x00007ffd },
{ 0x00000000, 0x555554d8, 0x555554d8, 0xaaaaaaaa },
{ 0x00000000, 0xffff8004, 0xffff8004, 0xffffffff },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0xfffffffe },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0x0000007d },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaa8, 0x55555555 },
{ 0x00000000, 0xffffffdf, 0xffffffdf, 0x00000020 },
{ 0x00000000, 0x0000807b, 0x0000807b, 0xffffff83 },
{ 0x00000000, 0x2aaaaaaa, 0x2aaaaaaa, 0x55555555 },
{ 0x00000000, 0x88888889, 0x88888889, 0xcccccccc },
{ 0x00000000, 0x00007fdd, 0x00007fdd, 0xffff8003 },
{ 0x00000000, 0x7fff8000, 0x7fff8000, 0x00007ffe },
{ 0x00000000, 0x0000fffb, 0x0000fffb, 0xffff8002 },
{ 0x00000000, 0x00007ffc, 0x00007ffc, 0x00000001 },
{ 0x00000000, 0xffff8002, 0xffff8002, 0x00007ffe },
{ 0x00000000, 0xffffff60, 0xffffff60, 0x00000020 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00000000 },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000000 },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff81, 0xffffffff },
{ 0x00000000, 0xcccccc4d, 0xcccccc4d, 0x0000007f },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0x00007fff, 0x00007fff, 0x00000000 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0x00000001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff82 },
{ 0x00000000, 0x00000001, 0x00000001, 0x00007ffd },
{ 0x00000000, 0x77777777, 0x77777777, 0x33333333 },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x55555555 },
{ 0x00000000, 0xffff7f85, 0xffff7f85, 0x0000007e },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x00000002 },
{ 0x00000000, 0xcccccc4f, 0xcccccc4f, 0x33333333 },
{ 0x00000000, 0x55555556, 0x55555556, 0xffffffff },
{ 0x00000000, 0x2aaaaaa9, 0x2aaaaaa9, 0x80000001 },
{ 0x00000000, 0xffffffa3, 0xffffffa3, 0xffffffe0 },
{ 0x00000000, 0x00000021, 0x00000021, 0xffffffe0 },
{ 0x00000000, 0x00000000, 0x00000000, 0x33333333 },
{ 0x00000000, 0x55555554, 0x55555554, 0x00000001 },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007fff },
{ 0x00000000, 0x00000005, 0x00000005, 0xfffffffd },
{ 0x00000000, 0x00007fde, 0x00007fde, 0xffff8002 },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x00007ffd },
{ 0x00000000, 0xffffff85, 0xffffff85, 0xfffffffe },
{ 0x00000000, 0x80000002, 0x80000002, 0xffffffff },
{ 0x00000000, 0xffff7fe3, 0xffff7fe3, 0x00000020 },
{ 0x00000000, 0x333332b6, 0x333332b6, 0xcccccccc },
{ 0x00000000, 0x80000021, 0x80000021, 0x7fffffff },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x55555555 },
{ 0x00000000, 0xffffffe1, 0xffffffe1, 0x00000020 },
{ 0x00000000, 0xffff0002, 0xffff0002, 0x00007fff },
{ 0x00000000, 0x55555576, 0x55555576, 0xaaaaaaaa },
{ 0x00000000, 0xd5555556, 0xd5555556, 0x7fffffff },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x7fffffff },
{ 0x00000000, 0xaaab2aaa, 0xaaab2aaa, 0x55555555 },
{ 0x00000000, 0x555554d8, 0x555554d8, 0x0000007d },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x7ffffffe },
{ 0x00000000, 0xffff0004, 0xffff0004, 0x00007ffe },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff81 },
{ 0x00000000, 0xffffff04, 0xffffff04, 0x0000007d },
{ 0x00000000, 0xffffffa2, 0xffffffa2, 0x0000007e },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00007ffe },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x0000007e },
};
const Inputs kOutputs_Sub_RdIsRn_al_r0_r0_r6[] = {
{ 0x00000000, 0x00007f81, 0x00007f81, 0xffff8002 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0x7fffffff },
{ 0x00000000, 0x0000009d, 0x0000009d, 0xffffffe0 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000002 },
{ 0x00000000, 0xffff8005, 0xffff8005, 0xfffffffd },
{ 0x00000000, 0xffff7fe1, 0xffff7fe1, 0x00007fff },
{ 0x00000000, 0xffff807d, 0xffff807d, 0xffffff83 },
{ 0x00000000, 0x7fff8001, 0x7fff8001, 0x80000001 },
{ 0x00000000, 0x0000fffa, 0x0000fffa, 0xffff8003 },
{ 0x00000000, 0x00008000, 0x00008000, 0xffffffff },
{ 0x00000000, 0x00000080, 0x00000080, 0xffffff80 },
{ 0x00000000, 0xcccc4cce, 0xcccc4cce, 0x33333333 },
{ 0x00000000, 0xffffff02, 0xffffff02, 0x0000007e },
{ 0x00000000, 0x80000081, 0x80000081, 0x7ffffffd },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xfffffffd },
{ 0x00000000, 0x0000801e, 0x0000801e, 0xffff8002 },
{ 0x00000000, 0xffffff82, 0xffffff82, 0xfffffffe },
{ 0x00000000, 0x00000002, 0x00000002, 0x00000000 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0x00000001 },
{ 0x00000000, 0xffffff83, 0xffffff83, 0x0000007f },
{ 0x00000000, 0x00000000, 0x00000000, 0x80000000 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0xffffff80 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffe },
{ 0x00000000, 0x333332b6, 0x333332b6, 0x0000007d },
{ 0x00000000, 0x80000003, 0x80000003, 0x7ffffffe },
{ 0x00000000, 0x80007fff, 0x80007fff, 0x7fffffff },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff83 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7ffffffe },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x0000007f },
{ 0x00000000, 0xb3333333, 0xb3333333, 0xcccccccc },
{ 0x00000000, 0xffffff80, 0xffffff80, 0x00000002 },
{ 0x00000000, 0xd5555553, 0xd5555553, 0xaaaaaaaa },
{ 0x00000000, 0xcccd4ccb, 0xcccd4ccb, 0xffff8001 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0xffff8001 },
{ 0x00000000, 0x7fffffdf, 0x7fffffdf, 0x00000020 },
{ 0x00000000, 0xffff7fe2, 0xffff7fe2, 0x00007ffe },
{ 0x00000000, 0x80008001, 0x80008001, 0xffff8000 },
{ 0x00000000, 0xffffff05, 0xffffff05, 0x0000007d },
{ 0x00000000, 0x80000080, 0x80000080, 0x7ffffffe },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff80 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x0000007e },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x7fffffff },
{ 0x00000000, 0xffffff61, 0xffffff61, 0x0000007f },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff81 },
{ 0x00000000, 0x7fffff82, 0x7fffff82, 0x0000007e },
{ 0x00000000, 0x55555555, 0x55555555, 0xaaaaaaaa },
{ 0x00000000, 0xffffffde, 0xffffffde, 0x00000020 },
{ 0x00000000, 0x00007f7f, 0x00007f7f, 0xffff8003 },
{ 0x00000000, 0x80007ffb, 0x80007ffb, 0xffff8002 },
{ 0x00000000, 0x7ffffffe, 0x7ffffffe, 0x00000000 },
{ 0x00000000, 0x0000001d, 0x0000001d, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0xffff8002 },
{ 0x00000000, 0x7fffff85, 0x7fffff85, 0x7ffffffd },
{ 0x00000000, 0x4ccccccc, 0x4ccccccc, 0x80000000 },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x33333333 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x00000002 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0xfffffffd },
{ 0x00000000, 0x7fffff80, 0x7fffff80, 0x80000000 },
{ 0x00000000, 0xffffffe0, 0xffffffe0, 0x00000020 },
{ 0x00000000, 0x00007ffb, 0x00007ffb, 0xffff8003 },
{ 0x00000000, 0x00000001, 0x00000001, 0xffff8000 },
{ 0x00000000, 0x00000000, 0x00000000, 0x55555555 },
{ 0x00000000, 0x0000ffff, 0x0000ffff, 0xffff8000 },
{ 0x00000000, 0x8000001f, 0x8000001f, 0xffffffe0 },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0x55555555 },
{ 0x00000000, 0xb3333335, 0xb3333335, 0x7ffffffe },
{ 0x00000000, 0x80000020, 0x80000020, 0xffffffe0 },
{ 0x00000000, 0xffffff06, 0xffffff06, 0x0000007d },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00000002 },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff81 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x0000fffc, 0x0000fffc, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x80000003, 0xfffffffe },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffd },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0x8000007b, 0x8000007b, 0xffffff83 },
{ 0x00000000, 0xffff7fff, 0xffff7fff, 0x00007ffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x7fffff83, 0x7fffff83, 0x7fffffff },
{ 0x00000000, 0x0000005d, 0x0000005d, 0xffffff83 },
{ 0x00000000, 0x00000000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7fffffff },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xffffffff },
{ 0x00000000, 0x00000001, 0x00000001, 0xfffffffe },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffe },
{ 0x00000000, 0x00007f81, 0x00007f81, 0x0000007d },
{ 0x00000000, 0xffffff84, 0xffffff84, 0xfffffffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00007ffd },
{ 0x00000000, 0xaaab2aa8, 0xaaab2aa8, 0xffff8002 },
{ 0x00000000, 0x000000fd, 0x000000fd, 0xffffff82 },
{ 0x00000000, 0xcccd4ccc, 0xcccd4ccc, 0x33333333 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x80000000 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffd },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0x0000007f },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x0000007e },
{ 0x00000000, 0xaaaaaa8b, 0xaaaaaa8b, 0x55555555 },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0xffffff62, 0xffffff62, 0x0000007e },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007ffd },
{ 0x00000000, 0x0000801f, 0x0000801f, 0xffff8001 },
{ 0x00000000, 0x0000807c, 0x0000807c, 0xffffff83 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff807e, 0xffffff82 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007e },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x00000001 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0xcccccccc },
{ 0x00000000, 0xffff8005, 0xffff8005, 0x00007ffd },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x80000001 },
{ 0x00000000, 0xffff8022, 0xffff8022, 0x00007ffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffd },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0x0000005f, 0x0000005f, 0x00000020 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8003 },
{ 0x00000000, 0xffff7f82, 0xffff7f82, 0x0000007f },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000001 },
{ 0x00000000, 0x80000004, 0x80000004, 0x7ffffffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffff83 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0x7fffffff },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffe },
{ 0x00000000, 0x00007f82, 0x00007f82, 0xffff8000 },
{ 0x00000000, 0x00007ffe, 0x00007ffe, 0xffff8000 },
{ 0x00000000, 0xffff8081, 0xffff8081, 0xffffff81 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0x7fffffff },
{ 0x00000000, 0x7fff8002, 0x7fff8002, 0x00007fff },
{ 0x00000000, 0x3332b336, 0x3332b336, 0xcccccccc },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000002 },
{ 0x00000000, 0x333333b2, 0x333333b2, 0xffffff81 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff80 },
{ 0x00000000, 0xaaaaaaab, 0xaaaaaaab, 0xaaaaaaaa },
{ 0x00000000, 0x333333b1, 0x333333b1, 0xffffff82 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0xaaaaaaaa },
{ 0x00000000, 0x0000005e, 0x0000005e, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffff7f86, 0x00007ffd },
{ 0x00000000, 0x555554d8, 0x555554d8, 0xaaaaaaaa },
{ 0x00000000, 0xffff8004, 0xffff8004, 0xffffffff },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0xfffffffe },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0x0000007d },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaa8, 0x55555555 },
{ 0x00000000, 0xffffffdf, 0xffffffdf, 0x00000020 },
{ 0x00000000, 0x0000807b, 0x0000807b, 0xffffff83 },
{ 0x00000000, 0x2aaaaaaa, 0x2aaaaaaa, 0x55555555 },
{ 0x00000000, 0x88888889, 0x88888889, 0xcccccccc },
{ 0x00000000, 0x00007fdd, 0x00007fdd, 0xffff8003 },
{ 0x00000000, 0x7fff8000, 0x7fff8000, 0x00007ffe },
{ 0x00000000, 0x0000fffb, 0x0000fffb, 0xffff8002 },
{ 0x00000000, 0x00007ffc, 0x00007ffc, 0x00000001 },
{ 0x00000000, 0xffff8002, 0xffff8002, 0x00007ffe },
{ 0x00000000, 0xffffff60, 0xffffff60, 0x00000020 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00000000 },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000000 },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff81, 0xffffffff },
{ 0x00000000, 0xcccccc4d, 0xcccccc4d, 0x0000007f },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0x00007fff, 0x00007fff, 0x00000000 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0x00000001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff82 },
{ 0x00000000, 0x00000001, 0x00000001, 0x00007ffd },
{ 0x00000000, 0x77777777, 0x77777777, 0x33333333 },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x55555555 },
{ 0x00000000, 0xffff7f85, 0xffff7f85, 0x0000007e },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x00000002 },
{ 0x00000000, 0xcccccc4f, 0xcccccc4f, 0x33333333 },
{ 0x00000000, 0x55555556, 0x55555556, 0xffffffff },
{ 0x00000000, 0x2aaaaaa9, 0x2aaaaaa9, 0x80000001 },
{ 0x00000000, 0xffffffa3, 0xffffffa3, 0xffffffe0 },
{ 0x00000000, 0x00000021, 0x00000021, 0xffffffe0 },
{ 0x00000000, 0x00000000, 0x00000000, 0x33333333 },
{ 0x00000000, 0x55555554, 0x55555554, 0x00000001 },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007fff },
{ 0x00000000, 0x00000005, 0x00000005, 0xfffffffd },
{ 0x00000000, 0x00007fde, 0x00007fde, 0xffff8002 },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x00007ffd },
{ 0x00000000, 0xffffff85, 0xffffff85, 0xfffffffe },
{ 0x00000000, 0x80000002, 0x80000002, 0xffffffff },
{ 0x00000000, 0xffff7fe3, 0xffff7fe3, 0x00000020 },
{ 0x00000000, 0x333332b6, 0x333332b6, 0xcccccccc },
{ 0x00000000, 0x80000021, 0x80000021, 0x7fffffff },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x55555555 },
{ 0x00000000, 0xffffffe1, 0xffffffe1, 0x00000020 },
{ 0x00000000, 0xffff0002, 0xffff0002, 0x00007fff },
{ 0x00000000, 0x55555576, 0x55555576, 0xaaaaaaaa },
{ 0x00000000, 0xd5555556, 0xd5555556, 0x7fffffff },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x7fffffff },
{ 0x00000000, 0xaaab2aaa, 0xaaab2aaa, 0x55555555 },
{ 0x00000000, 0x555554d8, 0x555554d8, 0x0000007d },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x7ffffffe },
{ 0x00000000, 0xffff0004, 0xffff0004, 0x00007ffe },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff81 },
{ 0x00000000, 0xffffff04, 0xffffff04, 0x0000007d },
{ 0x00000000, 0xffffffa2, 0xffffffa2, 0x0000007e },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00007ffe },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x0000007e },
};
const Inputs kOutputs_Sub_RdIsRn_al_r12_r12_r1[] = {
{ 0x00000000, 0x00007f81, 0x00007f81, 0xffff8002 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0x7fffffff },
{ 0x00000000, 0x0000009d, 0x0000009d, 0xffffffe0 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000002 },
{ 0x00000000, 0xffff8005, 0xffff8005, 0xfffffffd },
{ 0x00000000, 0xffff7fe1, 0xffff7fe1, 0x00007fff },
{ 0x00000000, 0xffff807d, 0xffff807d, 0xffffff83 },
{ 0x00000000, 0x7fff8001, 0x7fff8001, 0x80000001 },
{ 0x00000000, 0x0000fffa, 0x0000fffa, 0xffff8003 },
{ 0x00000000, 0x00008000, 0x00008000, 0xffffffff },
{ 0x00000000, 0x00000080, 0x00000080, 0xffffff80 },
{ 0x00000000, 0xcccc4cce, 0xcccc4cce, 0x33333333 },
{ 0x00000000, 0xffffff02, 0xffffff02, 0x0000007e },
{ 0x00000000, 0x80000081, 0x80000081, 0x7ffffffd },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xfffffffd },
{ 0x00000000, 0x0000801e, 0x0000801e, 0xffff8002 },
{ 0x00000000, 0xffffff82, 0xffffff82, 0xfffffffe },
{ 0x00000000, 0x00000002, 0x00000002, 0x00000000 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0x00000001 },
{ 0x00000000, 0xffffff83, 0xffffff83, 0x0000007f },
{ 0x00000000, 0x00000000, 0x00000000, 0x80000000 },
{ 0x00000000, 0x8000007f, 0x8000007f, 0xffffff80 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffe },
{ 0x00000000, 0x333332b6, 0x333332b6, 0x0000007d },
{ 0x00000000, 0x80000003, 0x80000003, 0x7ffffffe },
{ 0x00000000, 0x80007fff, 0x80007fff, 0x7fffffff },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff83 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7ffffffe },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x0000007f },
{ 0x00000000, 0xb3333333, 0xb3333333, 0xcccccccc },
{ 0x00000000, 0xffffff80, 0xffffff80, 0x00000002 },
{ 0x00000000, 0xd5555553, 0xd5555553, 0xaaaaaaaa },
{ 0x00000000, 0xcccd4ccb, 0xcccd4ccb, 0xffff8001 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0xffff8001 },
{ 0x00000000, 0x7fffffdf, 0x7fffffdf, 0x00000020 },
{ 0x00000000, 0xffff7fe2, 0xffff7fe2, 0x00007ffe },
{ 0x00000000, 0x80008001, 0x80008001, 0xffff8000 },
{ 0x00000000, 0xffffff05, 0xffffff05, 0x0000007d },
{ 0x00000000, 0x80000080, 0x80000080, 0x7ffffffe },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff80 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x0000007e },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x7fffffff },
{ 0x00000000, 0xffffff61, 0xffffff61, 0x0000007f },
{ 0x00000000, 0x0000807d, 0x0000807d, 0xffffff81 },
{ 0x00000000, 0x7fffff82, 0x7fffff82, 0x0000007e },
{ 0x00000000, 0x55555555, 0x55555555, 0xaaaaaaaa },
{ 0x00000000, 0xffffffde, 0xffffffde, 0x00000020 },
{ 0x00000000, 0x00007f7f, 0x00007f7f, 0xffff8003 },
{ 0x00000000, 0x80007ffb, 0x80007ffb, 0xffff8002 },
{ 0x00000000, 0x7ffffffe, 0x7ffffffe, 0x00000000 },
{ 0x00000000, 0x0000001d, 0x0000001d, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0xffff8002 },
{ 0x00000000, 0x7fffff85, 0x7fffff85, 0x7ffffffd },
{ 0x00000000, 0x4ccccccc, 0x4ccccccc, 0x80000000 },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x33333333 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x00000002 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0xfffffffd },
{ 0x00000000, 0x7fffff80, 0x7fffff80, 0x80000000 },
{ 0x00000000, 0xffffffe0, 0xffffffe0, 0x00000020 },
{ 0x00000000, 0x00007ffb, 0x00007ffb, 0xffff8003 },
{ 0x00000000, 0x00000001, 0x00000001, 0xffff8000 },
{ 0x00000000, 0x00000000, 0x00000000, 0x55555555 },
{ 0x00000000, 0x0000ffff, 0x0000ffff, 0xffff8000 },
{ 0x00000000, 0x8000001f, 0x8000001f, 0xffffffe0 },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0x55555555 },
{ 0x00000000, 0xb3333335, 0xb3333335, 0x7ffffffe },
{ 0x00000000, 0x80000020, 0x80000020, 0xffffffe0 },
{ 0x00000000, 0xffffff06, 0xffffff06, 0x0000007d },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00000002 },
{ 0x00000000, 0x8000007d, 0x8000007d, 0xffffff81 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x0000fffc, 0x0000fffc, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x80000003, 0xfffffffe },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffd },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0x8000007b, 0x8000007b, 0xffffff83 },
{ 0x00000000, 0xffff7fff, 0xffff7fff, 0x00007ffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x7fffff83, 0x7fffff83, 0x7fffffff },
{ 0x00000000, 0x0000005d, 0x0000005d, 0xffffff83 },
{ 0x00000000, 0x00000000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x80000002, 0x7fffffff },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0xffffff83, 0xffffff83, 0xffffffff },
{ 0x00000000, 0x00000001, 0x00000001, 0xfffffffe },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffe },
{ 0x00000000, 0x00007f81, 0x00007f81, 0x0000007d },
{ 0x00000000, 0xffffff84, 0xffffff84, 0xfffffffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00007ffd },
{ 0x00000000, 0xaaab2aa8, 0xaaab2aa8, 0xffff8002 },
{ 0x00000000, 0x000000fd, 0x000000fd, 0xffffff82 },
{ 0x00000000, 0xcccd4ccc, 0xcccd4ccc, 0x33333333 },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x80000000 },
{ 0x00000000, 0x00000003, 0x00000003, 0xfffffffd },
{ 0x00000000, 0xfffffffe, 0xfffffffe, 0x0000007f },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x0000007e },
{ 0x00000000, 0xaaaaaa8b, 0xaaaaaa8b, 0x55555555 },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0xffffff62, 0xffffff62, 0x0000007e },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007ffd },
{ 0x00000000, 0x0000801f, 0x0000801f, 0xffff8001 },
{ 0x00000000, 0x0000807c, 0x0000807c, 0xffffff83 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff807e, 0xffffff82 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007e },
{ 0x00000000, 0xffffff7f, 0xffffff7f, 0x00000001 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0xcccccccc },
{ 0x00000000, 0xffff8005, 0xffff8005, 0x00007ffd },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x80000001 },
{ 0x00000000, 0xffff8022, 0xffff8022, 0x00007ffe },
{ 0x00000000, 0xffff8003, 0xffff8003, 0xfffffffd },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0x0000005f, 0x0000005f, 0x00000020 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0xffff8003 },
{ 0x00000000, 0xffff7f82, 0xffff7f82, 0x0000007f },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000001 },
{ 0x00000000, 0x80000004, 0x80000004, 0x7ffffffe },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffff83 },
{ 0x00000000, 0x80007ffe, 0x80007ffe, 0x7fffffff },
{ 0x00000000, 0x80000000, 0x80000000, 0xfffffffe },
{ 0x00000000, 0x00007f82, 0x00007f82, 0xffff8000 },
{ 0x00000000, 0x00007ffe, 0x00007ffe, 0xffff8000 },
{ 0x00000000, 0xffff8081, 0xffff8081, 0xffffff81 },
{ 0x00000000, 0xb3333334, 0xb3333334, 0x7fffffff },
{ 0x00000000, 0x7fff8002, 0x7fff8002, 0x00007fff },
{ 0x00000000, 0x3332b336, 0x3332b336, 0xcccccccc },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000002 },
{ 0x00000000, 0x333333b2, 0x333333b2, 0xffffff81 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff80 },
{ 0x00000000, 0xaaaaaaab, 0xaaaaaaab, 0xaaaaaaaa },
{ 0x00000000, 0x333333b1, 0x333333b1, 0xffffff82 },
{ 0x00000000, 0x555554d6, 0x555554d6, 0xaaaaaaaa },
{ 0x00000000, 0x0000005e, 0x0000005e, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffff7f86, 0x00007ffd },
{ 0x00000000, 0x555554d8, 0x555554d8, 0xaaaaaaaa },
{ 0x00000000, 0xffff8004, 0xffff8004, 0xffffffff },
{ 0x00000000, 0xaaaaaaac, 0xaaaaaaac, 0xfffffffe },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x0000007f },
{ 0x00000000, 0x00000002, 0x00000002, 0x0000007d },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaa8, 0x55555555 },
{ 0x00000000, 0xffffffdf, 0xffffffdf, 0x00000020 },
{ 0x00000000, 0x0000807b, 0x0000807b, 0xffffff83 },
{ 0x00000000, 0x2aaaaaaa, 0x2aaaaaaa, 0x55555555 },
{ 0x00000000, 0x88888889, 0x88888889, 0xcccccccc },
{ 0x00000000, 0x00007fdd, 0x00007fdd, 0xffff8003 },
{ 0x00000000, 0x7fff8000, 0x7fff8000, 0x00007ffe },
{ 0x00000000, 0x0000fffb, 0x0000fffb, 0xffff8002 },
{ 0x00000000, 0x00007ffc, 0x00007ffc, 0x00000001 },
{ 0x00000000, 0xffff8002, 0xffff8002, 0x00007ffe },
{ 0x00000000, 0xffffff60, 0xffffff60, 0x00000020 },
{ 0x00000000, 0xffff7f83, 0xffff7f83, 0x0000007d },
{ 0x00000000, 0xffff8003, 0xffff8003, 0x00000000 },
{ 0x00000000, 0x8000007e, 0x8000007e, 0x80000000 },
{ 0x00000000, 0xfffffffd, 0xfffffffd, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff81, 0xffffffff },
{ 0x00000000, 0xcccccc4d, 0xcccccc4d, 0x0000007f },
{ 0x00000000, 0x7ffffffd, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0x00007fff, 0x00007fff, 0x00000000 },
{ 0x00000000, 0x0000007e, 0x0000007e, 0x00000001 },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff82 },
{ 0x00000000, 0x00000001, 0x00000001, 0x00007ffd },
{ 0x00000000, 0x77777777, 0x77777777, 0x33333333 },
{ 0x00000000, 0xaaaaaa2d, 0xaaaaaa2d, 0x55555555 },
{ 0x00000000, 0xffff7f85, 0xffff7f85, 0x0000007e },
{ 0x00000000, 0xffffff81, 0xffffff81, 0x00000002 },
{ 0x00000000, 0xcccccc4f, 0xcccccc4f, 0x33333333 },
{ 0x00000000, 0x55555556, 0x55555556, 0xffffffff },
{ 0x00000000, 0x2aaaaaa9, 0x2aaaaaa9, 0x80000001 },
{ 0x00000000, 0xffffffa3, 0xffffffa3, 0xffffffe0 },
{ 0x00000000, 0x00000021, 0x00000021, 0xffffffe0 },
{ 0x00000000, 0x00000000, 0x00000000, 0x33333333 },
{ 0x00000000, 0x55555554, 0x55555554, 0x00000001 },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x00007fff },
{ 0x00000000, 0x00000005, 0x00000005, 0xfffffffd },
{ 0x00000000, 0x00007fde, 0x00007fde, 0xffff8002 },
{ 0x00000000, 0x7fff8003, 0x7fff8003, 0x00007ffd },
{ 0x00000000, 0xffffff85, 0xffffff85, 0xfffffffe },
{ 0x00000000, 0x80000002, 0x80000002, 0xffffffff },
{ 0x00000000, 0xffff7fe3, 0xffff7fe3, 0x00000020 },
{ 0x00000000, 0x333332b6, 0x333332b6, 0xcccccccc },
{ 0x00000000, 0x80000021, 0x80000021, 0x7fffffff },
{ 0x00000000, 0xaaaaaa2b, 0xaaaaaa2b, 0x55555555 },
{ 0x00000000, 0xffffffe1, 0xffffffe1, 0x00000020 },
{ 0x00000000, 0xffff0002, 0xffff0002, 0x00007fff },
{ 0x00000000, 0x55555576, 0x55555576, 0xaaaaaaaa },
{ 0x00000000, 0xd5555556, 0xd5555556, 0x7fffffff },
{ 0x00000000, 0x7fffffff, 0x7fffffff, 0x7fffffff },
{ 0x00000000, 0xaaab2aaa, 0xaaab2aaa, 0x55555555 },
{ 0x00000000, 0x555554d8, 0x555554d8, 0x0000007d },
{ 0x00000000, 0x4cccccce, 0x4cccccce, 0x7ffffffe },
{ 0x00000000, 0xffff0004, 0xffff0004, 0x00007ffe },
{ 0x00000000, 0x0000007d, 0x0000007d, 0xffffff81 },
{ 0x00000000, 0xffffff04, 0xffffff04, 0x0000007d },
{ 0x00000000, 0xffffffa2, 0xffffffa2, 0x0000007e },
{ 0x00000000, 0xffff8001, 0xffff8001, 0x00007ffe },
{ 0x00000000, 0xffff7f84, 0xffff7f84, 0x0000007e },
};
const Inputs kOutputs_Sub_RdIsRm_al_r6_r11_r6[] = {
{ 0x00000000, 0x2aaaaaa9, 0x7ffffffe, 0x2aaaaaa9 },
{ 0x00000000, 0x00000003, 0x00000001, 0x00000003 },
{ 0x00000000, 0x00000000, 0xffffff82, 0x00000000 },
{ 0x00000000, 0x00000003, 0xffff8003, 0x00000003 },
{ 0x00000000, 0xffffffff, 0x00000000, 0xffffffff },
{ 0x00000000, 0x0000807e, 0x00007fff, 0x0000807e },
{ 0x00000000, 0xffff7f85, 0xffff8002, 0xffff7f85 },
{ 0x00000000, 0x7fff8000, 0xffff8000, 0x7fff8000 },
{ 0x00000000, 0x000000a0, 0x00000020, 0x000000a0 },
{ 0x00000000, 0xaaaaaa2c, 0xffffff81, 0xaaaaaa2c },
{ 0x00000000, 0xffff7f85, 0xffffff82, 0xffff7f85 },
{ 0x00000000, 0xaaab2aaa, 0x00007fff, 0xaaab2aaa },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7fff8003 },
{ 0x00000000, 0xffffff84, 0xffffff83, 0xffffff84 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3333b331, 0x33333333, 0x3333b331 },
{ 0x00000000, 0xaaaa2aad, 0xaaaaaaaa, 0xaaaa2aad },
{ 0x00000000, 0xaaaa2aab, 0xffff8000, 0xaaaa2aab },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x7ffffffe },
{ 0x00000000, 0xffffff06, 0xffffff83, 0xffffff06 },
{ 0x00000000, 0xffffff04, 0xffffff82, 0xffffff04 },
{ 0x00000000, 0x333333b1, 0x0000007d, 0x333333b1 },
{ 0x00000000, 0x00007ffd, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x000000fe, 0x0000007f, 0x000000fe },
{ 0x00000000, 0x00007f83, 0xffffff83, 0x00007f83 },
{ 0x00000000, 0xffffffe1, 0xffffffe0, 0xffffffe1 },
{ 0x00000000, 0x80000004, 0x80000001, 0x80000004 },
{ 0x00000000, 0x2aaaaaab, 0x80000000, 0x2aaaaaab },
{ 0x00000000, 0x0000807d, 0x0000007d, 0x0000807d },
{ 0x00000000, 0x5554d559, 0xffff8003, 0x5554d559 },
{ 0x00000000, 0x00007ffc, 0x00007ffd, 0x00007ffc },
{ 0x00000000, 0x7fffff80, 0x7ffffffe, 0x7fffff80 },
{ 0x00000000, 0x00007fdd, 0x00007ffd, 0x00007fdd },
{ 0x00000000, 0x8000007c, 0x7ffffffd, 0x8000007c },
{ 0x00000000, 0x000000fc, 0x0000007f, 0x000000fc },
{ 0x00000000, 0x0000007d, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x0000007b, 0xfffffffd, 0x0000007b },
{ 0x00000000, 0x80007ffb, 0x7ffffffe, 0x80007ffb },
{ 0x00000000, 0x00000000, 0x00000002, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff8001, 0xffff807e },
{ 0x00000000, 0x00007ffc, 0xfffffffe, 0x00007ffc },
{ 0x00000000, 0x00000001, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x7fffff82, 0xffffff81, 0x7fffff82 },
{ 0x00000000, 0xffffff61, 0xffffff81, 0xffffff61 },
{ 0x00000000, 0xffffff80, 0xffffffff, 0xffffff80 },
{ 0x00000000, 0xcccccc4f, 0xcccccccc, 0xcccccc4f },
{ 0x00000000, 0x5554d556, 0x55555555, 0x5554d556 },
{ 0x00000000, 0x0000fffa, 0x00007ffd, 0x0000fffa },
{ 0x00000000, 0x00000000, 0x80000001, 0x00000000 },
{ 0x00000000, 0xfffffffe, 0xfffffffd, 0xfffffffe },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0x00007ffe },
{ 0x00000000, 0x333333b3, 0x0000007f, 0x333333b3 },
{ 0x00000000, 0x00000001, 0x00000002, 0x00000001 },
{ 0x00000000, 0xffffffff, 0xffffff81, 0xffffffff },
{ 0x00000000, 0x00008000, 0x00007ffd, 0x00008000 },
{ 0x00000000, 0xb3333332, 0x33333333, 0xb3333332 },
{ 0x00000000, 0xffff8080, 0xffff8002, 0xffff8080 },
{ 0x00000000, 0x00007ffa, 0xfffffffd, 0x00007ffa },
{ 0x00000000, 0x0000009f, 0x00000020, 0x0000009f },
{ 0x00000000, 0x00000002, 0xffff8003, 0x00000002 },
{ 0x00000000, 0x80000000, 0x80000001, 0x80000000 },
{ 0x00000000, 0x00000005, 0x00000002, 0x00000005 },
{ 0x00000000, 0x80007ffa, 0x7ffffffd, 0x80007ffa },
{ 0x00000000, 0xaaaaaa2c, 0xaaaaaaaa, 0xaaaaaa2c },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x00000001 },
{ 0x00000000, 0x00000001, 0x00007ffe, 0x00000001 },
{ 0x00000000, 0x7fff8002, 0x80000001, 0x7fff8002 },
{ 0x00000000, 0xffff7fff, 0xfffffffe, 0xffff7fff },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0xffffff7f },
{ 0x00000000, 0x77777777, 0xcccccccc, 0x77777777 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7fffffe3 },
{ 0x00000000, 0x0000007d, 0xfffffffe, 0x0000007d },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0x0000807c },
{ 0x00000000, 0x8000007f, 0x80000001, 0x8000007f },
{ 0x00000000, 0xffff7f82, 0xffff8001, 0xffff7f82 },
{ 0x00000000, 0x7fffff86, 0xffffff83, 0x7fffff86 },
{ 0x00000000, 0xcccccd4a, 0xcccccccc, 0xcccccd4a },
{ 0x00000000, 0xffffff63, 0xffffff83, 0xffffff63 },
{ 0x00000000, 0x7fff8002, 0x80000000, 0x7fff8002 },
{ 0x00000000, 0xffff7f81, 0xffff8000, 0xffff7f81 },
{ 0x00000000, 0x333333b1, 0x33333333, 0x333333b1 },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0xffff8081, 0xffff8001, 0xffff8081 },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaaa, 0xaaaaaaa8 },
{ 0x00000000, 0x80000000, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0x00000001, 0xfffffffe, 0x00000001 },
{ 0x00000000, 0xffffffe1, 0x00000001, 0xffffffe1 },
{ 0x00000000, 0xaaaaaaac, 0x00000001, 0xaaaaaaac },
{ 0x00000000, 0xaaaaaa2b, 0xffffff80, 0xaaaaaa2b },
{ 0x00000000, 0x00008000, 0x00007fff, 0x00008000 },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0xaaaaaa8a },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00007ffc },
{ 0x00000000, 0xcccccccb, 0xcccccccc, 0xcccccccb },
{ 0x00000000, 0x00007fff, 0x00000000, 0x00007fff },
{ 0x00000000, 0xffff7fff, 0xffff8000, 0xffff7fff },
{ 0x00000000, 0x0000801f, 0x00007fff, 0x0000801f },
{ 0x00000000, 0x00008001, 0x00007fff, 0x00008001 },
{ 0x00000000, 0x0000007e, 0x00000001, 0x0000007e },
{ 0x00000000, 0xffff0003, 0xffff8002, 0xffff0003 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x2aaaaaa9 },
{ 0x00000000, 0x4ccccccb, 0xcccccccc, 0x4ccccccb },
{ 0x00000000, 0xffff7fe2, 0xffffffe0, 0xffff7fe2 },
{ 0x00000000, 0xffff7fff, 0xfffffffd, 0xffff7fff },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0x00000021, 0x00000001, 0x00000021 },
{ 0x00000000, 0x00007f81, 0x00007fff, 0x00007f81 },
{ 0x00000000, 0xffffffff, 0xfffffffd, 0xffffffff },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0xcccccd4a },
{ 0x00000000, 0x8000007e, 0x7fffffff, 0x8000007e },
{ 0x00000000, 0xffffffff, 0x0000007d, 0xffffffff },
{ 0x00000000, 0xffffff80, 0xffffff81, 0xffffff80 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000002 },
{ 0x00000000, 0xffff7f86, 0xffff8003, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x00007ffd, 0x80007fff },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x2aaaaaac },
{ 0x00000000, 0xffff8000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0xcccccccf, 0x00000002, 0xcccccccf },
{ 0x00000000, 0x00000002, 0xffffff83, 0x00000002 },
{ 0x00000000, 0x80008000, 0x00007ffe, 0x80008000 },
{ 0x00000000, 0x8000007d, 0x0000007d, 0x8000007d },
{ 0x00000000, 0xffffffe2, 0x00000002, 0xffffffe2 },
{ 0x00000000, 0x4cccccce, 0x80000001, 0x4cccccce },
{ 0x00000000, 0x0000807a, 0x00007ffd, 0x0000807a },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x80000000, 0x80007fff },
{ 0x00000000, 0x80000000, 0x80000000, 0x80000000 },
{ 0x00000000, 0x0000001f, 0xffffffff, 0x0000001f },
{ 0x00000000, 0x7fffff83, 0xffffff83, 0x7fffff83 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0xffffff60 },
{ 0x00000000, 0x7fff8004, 0xffff8001, 0x7fff8004 },
{ 0x00000000, 0x7fff8002, 0xffff8003, 0x7fff8002 },
{ 0x00000000, 0x7fff8001, 0x7fffffff, 0x7fff8001 },
{ 0x00000000, 0x80000003, 0x00000002, 0x80000003 },
{ 0x00000000, 0xffff8080, 0xffff8003, 0xffff8080 },
{ 0x00000000, 0x22222222, 0xcccccccc, 0x22222222 },
{ 0x00000000, 0xffffff01, 0xffffff80, 0xffffff01 },
{ 0x00000000, 0x80007ffc, 0x00007ffd, 0x80007ffc },
{ 0x00000000, 0x80008001, 0x80000001, 0x80008001 },
{ 0x00000000, 0xfffffffe, 0x00007ffd, 0xfffffffe },
{ 0x00000000, 0x00000001, 0x0000007f, 0x00000001 },
{ 0x00000000, 0x0000007b, 0x0000007d, 0x0000007b },
{ 0x00000000, 0xfffffffe, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0xffffff03, 0xffffff81, 0xffffff03 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7fff8003 },
{ 0x00000000, 0x00000002, 0x80000001, 0x00000002 },
{ 0x00000000, 0x80000082, 0x0000007f, 0x80000082 },
{ 0x00000000, 0x00000000, 0xffffff81, 0x00000000 },
{ 0x00000000, 0xfffffffc, 0xfffffffd, 0xfffffffc },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0xfffffffe },
{ 0x00000000, 0xd5555558, 0x55555555, 0xd5555558 },
{ 0x00000000, 0xaaaaab2a, 0x0000007f, 0xaaaaab2a },
{ 0x00000000, 0xaaaa2aae, 0xffff8003, 0xaaaa2aae },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0x5555d553 },
{ 0x00000000, 0x333332b5, 0x33333333, 0x333332b5 },
{ 0x00000000, 0x80000003, 0x80000001, 0x80000003 },
{ 0x00000000, 0xffff8002, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffa1 },
{ 0x00000000, 0x80000080, 0x0000007f, 0x80000080 },
{ 0x00000000, 0x0000807c, 0x0000007f, 0x0000807c },
{ 0x00000000, 0x0000807b, 0x00007ffd, 0x0000807b },
{ 0x00000000, 0xcccccccc, 0xffffffff, 0xcccccccc },
{ 0x00000000, 0xccccccec, 0xcccccccc, 0xccccccec },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0x8000007a },
{ 0x00000000, 0xcccccc4e, 0xcccccccc, 0xcccccc4e },
{ 0x00000000, 0xfffffffb, 0xfffffffd, 0xfffffffb },
{ 0x00000000, 0xcccc4ccd, 0xcccccccc, 0xcccc4ccd },
{ 0x00000000, 0x80008000, 0x00007fff, 0x80008000 },
{ 0x00000000, 0x33333353, 0x33333333, 0x33333353 },
{ 0x00000000, 0xfffffffe, 0x0000007d, 0xfffffffe },
{ 0x00000000, 0xffffff61, 0xffffffe0, 0xffffff61 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0xffff0001 },
{ 0x00000000, 0x80000000, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffd, 0x7ffffffd, 0x80007ffd },
{ 0x00000000, 0x333333b2, 0x0000007e, 0x333333b2 },
{ 0x00000000, 0xcccc4cd0, 0xffff8003, 0xcccc4cd0 },
{ 0x00000000, 0xaaaaaaad, 0x00000002, 0xaaaaaaad },
{ 0x00000000, 0x00000000, 0x00000001, 0x00000000 },
{ 0x00000000, 0x88888889, 0x33333333, 0x88888889 },
{ 0x00000000, 0x80000004, 0x00000001, 0x80000004 },
{ 0x00000000, 0xffff807e, 0xffff8000, 0xffff807e },
{ 0x00000000, 0x555554d8, 0x55555555, 0x555554d8 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0x80007ffe },
{ 0x00000000, 0x7fffffe1, 0xffffffe0, 0x7fffffe1 },
{ 0x00000000, 0x7fff8004, 0xffff8003, 0x7fff8004 },
{ 0x00000000, 0xaaaaab28, 0xaaaaaaaa, 0xaaaaab28 },
{ 0x00000000, 0xffffff83, 0xffffff80, 0xffffff83 },
{ 0x00000000, 0x00000004, 0x80000001, 0x00000004 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0x00007ffd },
{ 0x00000000, 0xffffff81, 0xffffff80, 0xffffff81 },
{ 0x00000000, 0xcccccd4c, 0xcccccccc, 0xcccccd4c },
{ 0x00000000, 0x5554d557, 0x55555555, 0x5554d557 },
{ 0x00000000, 0x00000000, 0xffff8000, 0x00000000 },
{ 0x00000000, 0xffff8001, 0xffff8000, 0xffff8001 },
{ 0x00000000, 0x8000007c, 0x0000007d, 0x8000007c },
{ 0x00000000, 0xffff8022, 0xffff8002, 0xffff8022 },
{ 0x00000000, 0xffffffe2, 0xffffffe0, 0xffffffe2 },
{ 0x00000000, 0x7fff8003, 0xffff8003, 0x7fff8003 },
{ 0x00000000, 0x7fffff80, 0xffffff81, 0x7fffff80 },
{ 0x00000000, 0x0000801e, 0x00007ffe, 0x0000801e },
};
const Inputs kOutputs_Sub_RdIsRm_al_r11_r9_r11[] = {
{ 0x00000000, 0x2aaaaaa9, 0x7ffffffe, 0x2aaaaaa9 },
{ 0x00000000, 0x00000003, 0x00000001, 0x00000003 },
{ 0x00000000, 0x00000000, 0xffffff82, 0x00000000 },
{ 0x00000000, 0x00000003, 0xffff8003, 0x00000003 },
{ 0x00000000, 0xffffffff, 0x00000000, 0xffffffff },
{ 0x00000000, 0x0000807e, 0x00007fff, 0x0000807e },
{ 0x00000000, 0xffff7f85, 0xffff8002, 0xffff7f85 },
{ 0x00000000, 0x7fff8000, 0xffff8000, 0x7fff8000 },
{ 0x00000000, 0x000000a0, 0x00000020, 0x000000a0 },
{ 0x00000000, 0xaaaaaa2c, 0xffffff81, 0xaaaaaa2c },
{ 0x00000000, 0xffff7f85, 0xffffff82, 0xffff7f85 },
{ 0x00000000, 0xaaab2aaa, 0x00007fff, 0xaaab2aaa },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7fff8003 },
{ 0x00000000, 0xffffff84, 0xffffff83, 0xffffff84 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3333b331, 0x33333333, 0x3333b331 },
{ 0x00000000, 0xaaaa2aad, 0xaaaaaaaa, 0xaaaa2aad },
{ 0x00000000, 0xaaaa2aab, 0xffff8000, 0xaaaa2aab },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x7ffffffe },
{ 0x00000000, 0xffffff06, 0xffffff83, 0xffffff06 },
{ 0x00000000, 0xffffff04, 0xffffff82, 0xffffff04 },
{ 0x00000000, 0x333333b1, 0x0000007d, 0x333333b1 },
{ 0x00000000, 0x00007ffd, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x000000fe, 0x0000007f, 0x000000fe },
{ 0x00000000, 0x00007f83, 0xffffff83, 0x00007f83 },
{ 0x00000000, 0xffffffe1, 0xffffffe0, 0xffffffe1 },
{ 0x00000000, 0x80000004, 0x80000001, 0x80000004 },
{ 0x00000000, 0x2aaaaaab, 0x80000000, 0x2aaaaaab },
{ 0x00000000, 0x0000807d, 0x0000007d, 0x0000807d },
{ 0x00000000, 0x5554d559, 0xffff8003, 0x5554d559 },
{ 0x00000000, 0x00007ffc, 0x00007ffd, 0x00007ffc },
{ 0x00000000, 0x7fffff80, 0x7ffffffe, 0x7fffff80 },
{ 0x00000000, 0x00007fdd, 0x00007ffd, 0x00007fdd },
{ 0x00000000, 0x8000007c, 0x7ffffffd, 0x8000007c },
{ 0x00000000, 0x000000fc, 0x0000007f, 0x000000fc },
{ 0x00000000, 0x0000007d, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x0000007b, 0xfffffffd, 0x0000007b },
{ 0x00000000, 0x80007ffb, 0x7ffffffe, 0x80007ffb },
{ 0x00000000, 0x00000000, 0x00000002, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff8001, 0xffff807e },
{ 0x00000000, 0x00007ffc, 0xfffffffe, 0x00007ffc },
{ 0x00000000, 0x00000001, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x7fffff82, 0xffffff81, 0x7fffff82 },
{ 0x00000000, 0xffffff61, 0xffffff81, 0xffffff61 },
{ 0x00000000, 0xffffff80, 0xffffffff, 0xffffff80 },
{ 0x00000000, 0xcccccc4f, 0xcccccccc, 0xcccccc4f },
{ 0x00000000, 0x5554d556, 0x55555555, 0x5554d556 },
{ 0x00000000, 0x0000fffa, 0x00007ffd, 0x0000fffa },
{ 0x00000000, 0x00000000, 0x80000001, 0x00000000 },
{ 0x00000000, 0xfffffffe, 0xfffffffd, 0xfffffffe },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0x00007ffe },
{ 0x00000000, 0x333333b3, 0x0000007f, 0x333333b3 },
{ 0x00000000, 0x00000001, 0x00000002, 0x00000001 },
{ 0x00000000, 0xffffffff, 0xffffff81, 0xffffffff },
{ 0x00000000, 0x00008000, 0x00007ffd, 0x00008000 },
{ 0x00000000, 0xb3333332, 0x33333333, 0xb3333332 },
{ 0x00000000, 0xffff8080, 0xffff8002, 0xffff8080 },
{ 0x00000000, 0x00007ffa, 0xfffffffd, 0x00007ffa },
{ 0x00000000, 0x0000009f, 0x00000020, 0x0000009f },
{ 0x00000000, 0x00000002, 0xffff8003, 0x00000002 },
{ 0x00000000, 0x80000000, 0x80000001, 0x80000000 },
{ 0x00000000, 0x00000005, 0x00000002, 0x00000005 },
{ 0x00000000, 0x80007ffa, 0x7ffffffd, 0x80007ffa },
{ 0x00000000, 0xaaaaaa2c, 0xaaaaaaaa, 0xaaaaaa2c },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x00000001 },
{ 0x00000000, 0x00000001, 0x00007ffe, 0x00000001 },
{ 0x00000000, 0x7fff8002, 0x80000001, 0x7fff8002 },
{ 0x00000000, 0xffff7fff, 0xfffffffe, 0xffff7fff },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0xffffff7f },
{ 0x00000000, 0x77777777, 0xcccccccc, 0x77777777 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7fffffe3 },
{ 0x00000000, 0x0000007d, 0xfffffffe, 0x0000007d },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0x0000807c },
{ 0x00000000, 0x8000007f, 0x80000001, 0x8000007f },
{ 0x00000000, 0xffff7f82, 0xffff8001, 0xffff7f82 },
{ 0x00000000, 0x7fffff86, 0xffffff83, 0x7fffff86 },
{ 0x00000000, 0xcccccd4a, 0xcccccccc, 0xcccccd4a },
{ 0x00000000, 0xffffff63, 0xffffff83, 0xffffff63 },
{ 0x00000000, 0x7fff8002, 0x80000000, 0x7fff8002 },
{ 0x00000000, 0xffff7f81, 0xffff8000, 0xffff7f81 },
{ 0x00000000, 0x333333b1, 0x33333333, 0x333333b1 },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0xffff8081, 0xffff8001, 0xffff8081 },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaaa, 0xaaaaaaa8 },
{ 0x00000000, 0x80000000, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0x00000001, 0xfffffffe, 0x00000001 },
{ 0x00000000, 0xffffffe1, 0x00000001, 0xffffffe1 },
{ 0x00000000, 0xaaaaaaac, 0x00000001, 0xaaaaaaac },
{ 0x00000000, 0xaaaaaa2b, 0xffffff80, 0xaaaaaa2b },
{ 0x00000000, 0x00008000, 0x00007fff, 0x00008000 },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0xaaaaaa8a },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00007ffc },
{ 0x00000000, 0xcccccccb, 0xcccccccc, 0xcccccccb },
{ 0x00000000, 0x00007fff, 0x00000000, 0x00007fff },
{ 0x00000000, 0xffff7fff, 0xffff8000, 0xffff7fff },
{ 0x00000000, 0x0000801f, 0x00007fff, 0x0000801f },
{ 0x00000000, 0x00008001, 0x00007fff, 0x00008001 },
{ 0x00000000, 0x0000007e, 0x00000001, 0x0000007e },
{ 0x00000000, 0xffff0003, 0xffff8002, 0xffff0003 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x2aaaaaa9 },
{ 0x00000000, 0x4ccccccb, 0xcccccccc, 0x4ccccccb },
{ 0x00000000, 0xffff7fe2, 0xffffffe0, 0xffff7fe2 },
{ 0x00000000, 0xffff7fff, 0xfffffffd, 0xffff7fff },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0x00000021, 0x00000001, 0x00000021 },
{ 0x00000000, 0x00007f81, 0x00007fff, 0x00007f81 },
{ 0x00000000, 0xffffffff, 0xfffffffd, 0xffffffff },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0xcccccd4a },
{ 0x00000000, 0x8000007e, 0x7fffffff, 0x8000007e },
{ 0x00000000, 0xffffffff, 0x0000007d, 0xffffffff },
{ 0x00000000, 0xffffff80, 0xffffff81, 0xffffff80 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000002 },
{ 0x00000000, 0xffff7f86, 0xffff8003, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x00007ffd, 0x80007fff },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x2aaaaaac },
{ 0x00000000, 0xffff8000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0xcccccccf, 0x00000002, 0xcccccccf },
{ 0x00000000, 0x00000002, 0xffffff83, 0x00000002 },
{ 0x00000000, 0x80008000, 0x00007ffe, 0x80008000 },
{ 0x00000000, 0x8000007d, 0x0000007d, 0x8000007d },
{ 0x00000000, 0xffffffe2, 0x00000002, 0xffffffe2 },
{ 0x00000000, 0x4cccccce, 0x80000001, 0x4cccccce },
{ 0x00000000, 0x0000807a, 0x00007ffd, 0x0000807a },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x80000000, 0x80007fff },
{ 0x00000000, 0x80000000, 0x80000000, 0x80000000 },
{ 0x00000000, 0x0000001f, 0xffffffff, 0x0000001f },
{ 0x00000000, 0x7fffff83, 0xffffff83, 0x7fffff83 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0xffffff60 },
{ 0x00000000, 0x7fff8004, 0xffff8001, 0x7fff8004 },
{ 0x00000000, 0x7fff8002, 0xffff8003, 0x7fff8002 },
{ 0x00000000, 0x7fff8001, 0x7fffffff, 0x7fff8001 },
{ 0x00000000, 0x80000003, 0x00000002, 0x80000003 },
{ 0x00000000, 0xffff8080, 0xffff8003, 0xffff8080 },
{ 0x00000000, 0x22222222, 0xcccccccc, 0x22222222 },
{ 0x00000000, 0xffffff01, 0xffffff80, 0xffffff01 },
{ 0x00000000, 0x80007ffc, 0x00007ffd, 0x80007ffc },
{ 0x00000000, 0x80008001, 0x80000001, 0x80008001 },
{ 0x00000000, 0xfffffffe, 0x00007ffd, 0xfffffffe },
{ 0x00000000, 0x00000001, 0x0000007f, 0x00000001 },
{ 0x00000000, 0x0000007b, 0x0000007d, 0x0000007b },
{ 0x00000000, 0xfffffffe, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0xffffff03, 0xffffff81, 0xffffff03 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7fff8003 },
{ 0x00000000, 0x00000002, 0x80000001, 0x00000002 },
{ 0x00000000, 0x80000082, 0x0000007f, 0x80000082 },
{ 0x00000000, 0x00000000, 0xffffff81, 0x00000000 },
{ 0x00000000, 0xfffffffc, 0xfffffffd, 0xfffffffc },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0xfffffffe },
{ 0x00000000, 0xd5555558, 0x55555555, 0xd5555558 },
{ 0x00000000, 0xaaaaab2a, 0x0000007f, 0xaaaaab2a },
{ 0x00000000, 0xaaaa2aae, 0xffff8003, 0xaaaa2aae },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0x5555d553 },
{ 0x00000000, 0x333332b5, 0x33333333, 0x333332b5 },
{ 0x00000000, 0x80000003, 0x80000001, 0x80000003 },
{ 0x00000000, 0xffff8002, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffa1 },
{ 0x00000000, 0x80000080, 0x0000007f, 0x80000080 },
{ 0x00000000, 0x0000807c, 0x0000007f, 0x0000807c },
{ 0x00000000, 0x0000807b, 0x00007ffd, 0x0000807b },
{ 0x00000000, 0xcccccccc, 0xffffffff, 0xcccccccc },
{ 0x00000000, 0xccccccec, 0xcccccccc, 0xccccccec },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0x8000007a },
{ 0x00000000, 0xcccccc4e, 0xcccccccc, 0xcccccc4e },
{ 0x00000000, 0xfffffffb, 0xfffffffd, 0xfffffffb },
{ 0x00000000, 0xcccc4ccd, 0xcccccccc, 0xcccc4ccd },
{ 0x00000000, 0x80008000, 0x00007fff, 0x80008000 },
{ 0x00000000, 0x33333353, 0x33333333, 0x33333353 },
{ 0x00000000, 0xfffffffe, 0x0000007d, 0xfffffffe },
{ 0x00000000, 0xffffff61, 0xffffffe0, 0xffffff61 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0xffff0001 },
{ 0x00000000, 0x80000000, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffd, 0x7ffffffd, 0x80007ffd },
{ 0x00000000, 0x333333b2, 0x0000007e, 0x333333b2 },
{ 0x00000000, 0xcccc4cd0, 0xffff8003, 0xcccc4cd0 },
{ 0x00000000, 0xaaaaaaad, 0x00000002, 0xaaaaaaad },
{ 0x00000000, 0x00000000, 0x00000001, 0x00000000 },
{ 0x00000000, 0x88888889, 0x33333333, 0x88888889 },
{ 0x00000000, 0x80000004, 0x00000001, 0x80000004 },
{ 0x00000000, 0xffff807e, 0xffff8000, 0xffff807e },
{ 0x00000000, 0x555554d8, 0x55555555, 0x555554d8 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0x80007ffe },
{ 0x00000000, 0x7fffffe1, 0xffffffe0, 0x7fffffe1 },
{ 0x00000000, 0x7fff8004, 0xffff8003, 0x7fff8004 },
{ 0x00000000, 0xaaaaab28, 0xaaaaaaaa, 0xaaaaab28 },
{ 0x00000000, 0xffffff83, 0xffffff80, 0xffffff83 },
{ 0x00000000, 0x00000004, 0x80000001, 0x00000004 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0x00007ffd },
{ 0x00000000, 0xffffff81, 0xffffff80, 0xffffff81 },
{ 0x00000000, 0xcccccd4c, 0xcccccccc, 0xcccccd4c },
{ 0x00000000, 0x5554d557, 0x55555555, 0x5554d557 },
{ 0x00000000, 0x00000000, 0xffff8000, 0x00000000 },
{ 0x00000000, 0xffff8001, 0xffff8000, 0xffff8001 },
{ 0x00000000, 0x8000007c, 0x0000007d, 0x8000007c },
{ 0x00000000, 0xffff8022, 0xffff8002, 0xffff8022 },
{ 0x00000000, 0xffffffe2, 0xffffffe0, 0xffffffe2 },
{ 0x00000000, 0x7fff8003, 0xffff8003, 0x7fff8003 },
{ 0x00000000, 0x7fffff80, 0xffffff81, 0x7fffff80 },
{ 0x00000000, 0x0000801e, 0x00007ffe, 0x0000801e },
};
const Inputs kOutputs_Sub_RdIsRm_al_r0_r8_r0[] = {
{ 0x00000000, 0x2aaaaaa9, 0x7ffffffe, 0x2aaaaaa9 },
{ 0x00000000, 0x00000003, 0x00000001, 0x00000003 },
{ 0x00000000, 0x00000000, 0xffffff82, 0x00000000 },
{ 0x00000000, 0x00000003, 0xffff8003, 0x00000003 },
{ 0x00000000, 0xffffffff, 0x00000000, 0xffffffff },
{ 0x00000000, 0x0000807e, 0x00007fff, 0x0000807e },
{ 0x00000000, 0xffff7f85, 0xffff8002, 0xffff7f85 },
{ 0x00000000, 0x7fff8000, 0xffff8000, 0x7fff8000 },
{ 0x00000000, 0x000000a0, 0x00000020, 0x000000a0 },
{ 0x00000000, 0xaaaaaa2c, 0xffffff81, 0xaaaaaa2c },
{ 0x00000000, 0xffff7f85, 0xffffff82, 0xffff7f85 },
{ 0x00000000, 0xaaab2aaa, 0x00007fff, 0xaaab2aaa },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7fff8003 },
{ 0x00000000, 0xffffff84, 0xffffff83, 0xffffff84 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3333b331, 0x33333333, 0x3333b331 },
{ 0x00000000, 0xaaaa2aad, 0xaaaaaaaa, 0xaaaa2aad },
{ 0x00000000, 0xaaaa2aab, 0xffff8000, 0xaaaa2aab },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x7ffffffe },
{ 0x00000000, 0xffffff06, 0xffffff83, 0xffffff06 },
{ 0x00000000, 0xffffff04, 0xffffff82, 0xffffff04 },
{ 0x00000000, 0x333333b1, 0x0000007d, 0x333333b1 },
{ 0x00000000, 0x00007ffd, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x000000fe, 0x0000007f, 0x000000fe },
{ 0x00000000, 0x00007f83, 0xffffff83, 0x00007f83 },
{ 0x00000000, 0xffffffe1, 0xffffffe0, 0xffffffe1 },
{ 0x00000000, 0x80000004, 0x80000001, 0x80000004 },
{ 0x00000000, 0x2aaaaaab, 0x80000000, 0x2aaaaaab },
{ 0x00000000, 0x0000807d, 0x0000007d, 0x0000807d },
{ 0x00000000, 0x5554d559, 0xffff8003, 0x5554d559 },
{ 0x00000000, 0x00007ffc, 0x00007ffd, 0x00007ffc },
{ 0x00000000, 0x7fffff80, 0x7ffffffe, 0x7fffff80 },
{ 0x00000000, 0x00007fdd, 0x00007ffd, 0x00007fdd },
{ 0x00000000, 0x8000007c, 0x7ffffffd, 0x8000007c },
{ 0x00000000, 0x000000fc, 0x0000007f, 0x000000fc },
{ 0x00000000, 0x0000007d, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x0000007b, 0xfffffffd, 0x0000007b },
{ 0x00000000, 0x80007ffb, 0x7ffffffe, 0x80007ffb },
{ 0x00000000, 0x00000000, 0x00000002, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff8001, 0xffff807e },
{ 0x00000000, 0x00007ffc, 0xfffffffe, 0x00007ffc },
{ 0x00000000, 0x00000001, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x7fffff82, 0xffffff81, 0x7fffff82 },
{ 0x00000000, 0xffffff61, 0xffffff81, 0xffffff61 },
{ 0x00000000, 0xffffff80, 0xffffffff, 0xffffff80 },
{ 0x00000000, 0xcccccc4f, 0xcccccccc, 0xcccccc4f },
{ 0x00000000, 0x5554d556, 0x55555555, 0x5554d556 },
{ 0x00000000, 0x0000fffa, 0x00007ffd, 0x0000fffa },
{ 0x00000000, 0x00000000, 0x80000001, 0x00000000 },
{ 0x00000000, 0xfffffffe, 0xfffffffd, 0xfffffffe },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0x00007ffe },
{ 0x00000000, 0x333333b3, 0x0000007f, 0x333333b3 },
{ 0x00000000, 0x00000001, 0x00000002, 0x00000001 },
{ 0x00000000, 0xffffffff, 0xffffff81, 0xffffffff },
{ 0x00000000, 0x00008000, 0x00007ffd, 0x00008000 },
{ 0x00000000, 0xb3333332, 0x33333333, 0xb3333332 },
{ 0x00000000, 0xffff8080, 0xffff8002, 0xffff8080 },
{ 0x00000000, 0x00007ffa, 0xfffffffd, 0x00007ffa },
{ 0x00000000, 0x0000009f, 0x00000020, 0x0000009f },
{ 0x00000000, 0x00000002, 0xffff8003, 0x00000002 },
{ 0x00000000, 0x80000000, 0x80000001, 0x80000000 },
{ 0x00000000, 0x00000005, 0x00000002, 0x00000005 },
{ 0x00000000, 0x80007ffa, 0x7ffffffd, 0x80007ffa },
{ 0x00000000, 0xaaaaaa2c, 0xaaaaaaaa, 0xaaaaaa2c },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x00000001 },
{ 0x00000000, 0x00000001, 0x00007ffe, 0x00000001 },
{ 0x00000000, 0x7fff8002, 0x80000001, 0x7fff8002 },
{ 0x00000000, 0xffff7fff, 0xfffffffe, 0xffff7fff },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0xffffff7f },
{ 0x00000000, 0x77777777, 0xcccccccc, 0x77777777 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7fffffe3 },
{ 0x00000000, 0x0000007d, 0xfffffffe, 0x0000007d },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0x0000807c },
{ 0x00000000, 0x8000007f, 0x80000001, 0x8000007f },
{ 0x00000000, 0xffff7f82, 0xffff8001, 0xffff7f82 },
{ 0x00000000, 0x7fffff86, 0xffffff83, 0x7fffff86 },
{ 0x00000000, 0xcccccd4a, 0xcccccccc, 0xcccccd4a },
{ 0x00000000, 0xffffff63, 0xffffff83, 0xffffff63 },
{ 0x00000000, 0x7fff8002, 0x80000000, 0x7fff8002 },
{ 0x00000000, 0xffff7f81, 0xffff8000, 0xffff7f81 },
{ 0x00000000, 0x333333b1, 0x33333333, 0x333333b1 },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0xffff8081, 0xffff8001, 0xffff8081 },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaaa, 0xaaaaaaa8 },
{ 0x00000000, 0x80000000, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0x00000001, 0xfffffffe, 0x00000001 },
{ 0x00000000, 0xffffffe1, 0x00000001, 0xffffffe1 },
{ 0x00000000, 0xaaaaaaac, 0x00000001, 0xaaaaaaac },
{ 0x00000000, 0xaaaaaa2b, 0xffffff80, 0xaaaaaa2b },
{ 0x00000000, 0x00008000, 0x00007fff, 0x00008000 },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0xaaaaaa8a },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00007ffc },
{ 0x00000000, 0xcccccccb, 0xcccccccc, 0xcccccccb },
{ 0x00000000, 0x00007fff, 0x00000000, 0x00007fff },
{ 0x00000000, 0xffff7fff, 0xffff8000, 0xffff7fff },
{ 0x00000000, 0x0000801f, 0x00007fff, 0x0000801f },
{ 0x00000000, 0x00008001, 0x00007fff, 0x00008001 },
{ 0x00000000, 0x0000007e, 0x00000001, 0x0000007e },
{ 0x00000000, 0xffff0003, 0xffff8002, 0xffff0003 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x2aaaaaa9 },
{ 0x00000000, 0x4ccccccb, 0xcccccccc, 0x4ccccccb },
{ 0x00000000, 0xffff7fe2, 0xffffffe0, 0xffff7fe2 },
{ 0x00000000, 0xffff7fff, 0xfffffffd, 0xffff7fff },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0x00000021, 0x00000001, 0x00000021 },
{ 0x00000000, 0x00007f81, 0x00007fff, 0x00007f81 },
{ 0x00000000, 0xffffffff, 0xfffffffd, 0xffffffff },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0xcccccd4a },
{ 0x00000000, 0x8000007e, 0x7fffffff, 0x8000007e },
{ 0x00000000, 0xffffffff, 0x0000007d, 0xffffffff },
{ 0x00000000, 0xffffff80, 0xffffff81, 0xffffff80 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000002 },
{ 0x00000000, 0xffff7f86, 0xffff8003, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x00007ffd, 0x80007fff },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x2aaaaaac },
{ 0x00000000, 0xffff8000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0xcccccccf, 0x00000002, 0xcccccccf },
{ 0x00000000, 0x00000002, 0xffffff83, 0x00000002 },
{ 0x00000000, 0x80008000, 0x00007ffe, 0x80008000 },
{ 0x00000000, 0x8000007d, 0x0000007d, 0x8000007d },
{ 0x00000000, 0xffffffe2, 0x00000002, 0xffffffe2 },
{ 0x00000000, 0x4cccccce, 0x80000001, 0x4cccccce },
{ 0x00000000, 0x0000807a, 0x00007ffd, 0x0000807a },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x80000000, 0x80007fff },
{ 0x00000000, 0x80000000, 0x80000000, 0x80000000 },
{ 0x00000000, 0x0000001f, 0xffffffff, 0x0000001f },
{ 0x00000000, 0x7fffff83, 0xffffff83, 0x7fffff83 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0xffffff60 },
{ 0x00000000, 0x7fff8004, 0xffff8001, 0x7fff8004 },
{ 0x00000000, 0x7fff8002, 0xffff8003, 0x7fff8002 },
{ 0x00000000, 0x7fff8001, 0x7fffffff, 0x7fff8001 },
{ 0x00000000, 0x80000003, 0x00000002, 0x80000003 },
{ 0x00000000, 0xffff8080, 0xffff8003, 0xffff8080 },
{ 0x00000000, 0x22222222, 0xcccccccc, 0x22222222 },
{ 0x00000000, 0xffffff01, 0xffffff80, 0xffffff01 },
{ 0x00000000, 0x80007ffc, 0x00007ffd, 0x80007ffc },
{ 0x00000000, 0x80008001, 0x80000001, 0x80008001 },
{ 0x00000000, 0xfffffffe, 0x00007ffd, 0xfffffffe },
{ 0x00000000, 0x00000001, 0x0000007f, 0x00000001 },
{ 0x00000000, 0x0000007b, 0x0000007d, 0x0000007b },
{ 0x00000000, 0xfffffffe, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0xffffff03, 0xffffff81, 0xffffff03 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7fff8003 },
{ 0x00000000, 0x00000002, 0x80000001, 0x00000002 },
{ 0x00000000, 0x80000082, 0x0000007f, 0x80000082 },
{ 0x00000000, 0x00000000, 0xffffff81, 0x00000000 },
{ 0x00000000, 0xfffffffc, 0xfffffffd, 0xfffffffc },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0xfffffffe },
{ 0x00000000, 0xd5555558, 0x55555555, 0xd5555558 },
{ 0x00000000, 0xaaaaab2a, 0x0000007f, 0xaaaaab2a },
{ 0x00000000, 0xaaaa2aae, 0xffff8003, 0xaaaa2aae },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0x5555d553 },
{ 0x00000000, 0x333332b5, 0x33333333, 0x333332b5 },
{ 0x00000000, 0x80000003, 0x80000001, 0x80000003 },
{ 0x00000000, 0xffff8002, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffa1 },
{ 0x00000000, 0x80000080, 0x0000007f, 0x80000080 },
{ 0x00000000, 0x0000807c, 0x0000007f, 0x0000807c },
{ 0x00000000, 0x0000807b, 0x00007ffd, 0x0000807b },
{ 0x00000000, 0xcccccccc, 0xffffffff, 0xcccccccc },
{ 0x00000000, 0xccccccec, 0xcccccccc, 0xccccccec },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0x8000007a },
{ 0x00000000, 0xcccccc4e, 0xcccccccc, 0xcccccc4e },
{ 0x00000000, 0xfffffffb, 0xfffffffd, 0xfffffffb },
{ 0x00000000, 0xcccc4ccd, 0xcccccccc, 0xcccc4ccd },
{ 0x00000000, 0x80008000, 0x00007fff, 0x80008000 },
{ 0x00000000, 0x33333353, 0x33333333, 0x33333353 },
{ 0x00000000, 0xfffffffe, 0x0000007d, 0xfffffffe },
{ 0x00000000, 0xffffff61, 0xffffffe0, 0xffffff61 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0xffff0001 },
{ 0x00000000, 0x80000000, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffd, 0x7ffffffd, 0x80007ffd },
{ 0x00000000, 0x333333b2, 0x0000007e, 0x333333b2 },
{ 0x00000000, 0xcccc4cd0, 0xffff8003, 0xcccc4cd0 },
{ 0x00000000, 0xaaaaaaad, 0x00000002, 0xaaaaaaad },
{ 0x00000000, 0x00000000, 0x00000001, 0x00000000 },
{ 0x00000000, 0x88888889, 0x33333333, 0x88888889 },
{ 0x00000000, 0x80000004, 0x00000001, 0x80000004 },
{ 0x00000000, 0xffff807e, 0xffff8000, 0xffff807e },
{ 0x00000000, 0x555554d8, 0x55555555, 0x555554d8 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0x80007ffe },
{ 0x00000000, 0x7fffffe1, 0xffffffe0, 0x7fffffe1 },
{ 0x00000000, 0x7fff8004, 0xffff8003, 0x7fff8004 },
{ 0x00000000, 0xaaaaab28, 0xaaaaaaaa, 0xaaaaab28 },
{ 0x00000000, 0xffffff83, 0xffffff80, 0xffffff83 },
{ 0x00000000, 0x00000004, 0x80000001, 0x00000004 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0x00007ffd },
{ 0x00000000, 0xffffff81, 0xffffff80, 0xffffff81 },
{ 0x00000000, 0xcccccd4c, 0xcccccccc, 0xcccccd4c },
{ 0x00000000, 0x5554d557, 0x55555555, 0x5554d557 },
{ 0x00000000, 0x00000000, 0xffff8000, 0x00000000 },
{ 0x00000000, 0xffff8001, 0xffff8000, 0xffff8001 },
{ 0x00000000, 0x8000007c, 0x0000007d, 0x8000007c },
{ 0x00000000, 0xffff8022, 0xffff8002, 0xffff8022 },
{ 0x00000000, 0xffffffe2, 0xffffffe0, 0xffffffe2 },
{ 0x00000000, 0x7fff8003, 0xffff8003, 0x7fff8003 },
{ 0x00000000, 0x7fffff80, 0xffffff81, 0x7fffff80 },
{ 0x00000000, 0x0000801e, 0x00007ffe, 0x0000801e },
};
const Inputs kOutputs_Sub_RdIsRm_al_r2_r11_r2[] = {
{ 0x00000000, 0x2aaaaaa9, 0x7ffffffe, 0x2aaaaaa9 },
{ 0x00000000, 0x00000003, 0x00000001, 0x00000003 },
{ 0x00000000, 0x00000000, 0xffffff82, 0x00000000 },
{ 0x00000000, 0x00000003, 0xffff8003, 0x00000003 },
{ 0x00000000, 0xffffffff, 0x00000000, 0xffffffff },
{ 0x00000000, 0x0000807e, 0x00007fff, 0x0000807e },
{ 0x00000000, 0xffff7f85, 0xffff8002, 0xffff7f85 },
{ 0x00000000, 0x7fff8000, 0xffff8000, 0x7fff8000 },
{ 0x00000000, 0x000000a0, 0x00000020, 0x000000a0 },
{ 0x00000000, 0xaaaaaa2c, 0xffffff81, 0xaaaaaa2c },
{ 0x00000000, 0xffff7f85, 0xffffff82, 0xffff7f85 },
{ 0x00000000, 0xaaab2aaa, 0x00007fff, 0xaaab2aaa },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7fff8003 },
{ 0x00000000, 0xffffff84, 0xffffff83, 0xffffff84 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3333b331, 0x33333333, 0x3333b331 },
{ 0x00000000, 0xaaaa2aad, 0xaaaaaaaa, 0xaaaa2aad },
{ 0x00000000, 0xaaaa2aab, 0xffff8000, 0xaaaa2aab },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x7ffffffe },
{ 0x00000000, 0xffffff06, 0xffffff83, 0xffffff06 },
{ 0x00000000, 0xffffff04, 0xffffff82, 0xffffff04 },
{ 0x00000000, 0x333333b1, 0x0000007d, 0x333333b1 },
{ 0x00000000, 0x00007ffd, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x000000fe, 0x0000007f, 0x000000fe },
{ 0x00000000, 0x00007f83, 0xffffff83, 0x00007f83 },
{ 0x00000000, 0xffffffe1, 0xffffffe0, 0xffffffe1 },
{ 0x00000000, 0x80000004, 0x80000001, 0x80000004 },
{ 0x00000000, 0x2aaaaaab, 0x80000000, 0x2aaaaaab },
{ 0x00000000, 0x0000807d, 0x0000007d, 0x0000807d },
{ 0x00000000, 0x5554d559, 0xffff8003, 0x5554d559 },
{ 0x00000000, 0x00007ffc, 0x00007ffd, 0x00007ffc },
{ 0x00000000, 0x7fffff80, 0x7ffffffe, 0x7fffff80 },
{ 0x00000000, 0x00007fdd, 0x00007ffd, 0x00007fdd },
{ 0x00000000, 0x8000007c, 0x7ffffffd, 0x8000007c },
{ 0x00000000, 0x000000fc, 0x0000007f, 0x000000fc },
{ 0x00000000, 0x0000007d, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x0000007b, 0xfffffffd, 0x0000007b },
{ 0x00000000, 0x80007ffb, 0x7ffffffe, 0x80007ffb },
{ 0x00000000, 0x00000000, 0x00000002, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff8001, 0xffff807e },
{ 0x00000000, 0x00007ffc, 0xfffffffe, 0x00007ffc },
{ 0x00000000, 0x00000001, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x7fffff82, 0xffffff81, 0x7fffff82 },
{ 0x00000000, 0xffffff61, 0xffffff81, 0xffffff61 },
{ 0x00000000, 0xffffff80, 0xffffffff, 0xffffff80 },
{ 0x00000000, 0xcccccc4f, 0xcccccccc, 0xcccccc4f },
{ 0x00000000, 0x5554d556, 0x55555555, 0x5554d556 },
{ 0x00000000, 0x0000fffa, 0x00007ffd, 0x0000fffa },
{ 0x00000000, 0x00000000, 0x80000001, 0x00000000 },
{ 0x00000000, 0xfffffffe, 0xfffffffd, 0xfffffffe },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0x00007ffe },
{ 0x00000000, 0x333333b3, 0x0000007f, 0x333333b3 },
{ 0x00000000, 0x00000001, 0x00000002, 0x00000001 },
{ 0x00000000, 0xffffffff, 0xffffff81, 0xffffffff },
{ 0x00000000, 0x00008000, 0x00007ffd, 0x00008000 },
{ 0x00000000, 0xb3333332, 0x33333333, 0xb3333332 },
{ 0x00000000, 0xffff8080, 0xffff8002, 0xffff8080 },
{ 0x00000000, 0x00007ffa, 0xfffffffd, 0x00007ffa },
{ 0x00000000, 0x0000009f, 0x00000020, 0x0000009f },
{ 0x00000000, 0x00000002, 0xffff8003, 0x00000002 },
{ 0x00000000, 0x80000000, 0x80000001, 0x80000000 },
{ 0x00000000, 0x00000005, 0x00000002, 0x00000005 },
{ 0x00000000, 0x80007ffa, 0x7ffffffd, 0x80007ffa },
{ 0x00000000, 0xaaaaaa2c, 0xaaaaaaaa, 0xaaaaaa2c },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x00000001 },
{ 0x00000000, 0x00000001, 0x00007ffe, 0x00000001 },
{ 0x00000000, 0x7fff8002, 0x80000001, 0x7fff8002 },
{ 0x00000000, 0xffff7fff, 0xfffffffe, 0xffff7fff },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0xffffff7f },
{ 0x00000000, 0x77777777, 0xcccccccc, 0x77777777 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7fffffe3 },
{ 0x00000000, 0x0000007d, 0xfffffffe, 0x0000007d },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0x0000807c },
{ 0x00000000, 0x8000007f, 0x80000001, 0x8000007f },
{ 0x00000000, 0xffff7f82, 0xffff8001, 0xffff7f82 },
{ 0x00000000, 0x7fffff86, 0xffffff83, 0x7fffff86 },
{ 0x00000000, 0xcccccd4a, 0xcccccccc, 0xcccccd4a },
{ 0x00000000, 0xffffff63, 0xffffff83, 0xffffff63 },
{ 0x00000000, 0x7fff8002, 0x80000000, 0x7fff8002 },
{ 0x00000000, 0xffff7f81, 0xffff8000, 0xffff7f81 },
{ 0x00000000, 0x333333b1, 0x33333333, 0x333333b1 },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0xffff8081, 0xffff8001, 0xffff8081 },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaaa, 0xaaaaaaa8 },
{ 0x00000000, 0x80000000, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0x00000001, 0xfffffffe, 0x00000001 },
{ 0x00000000, 0xffffffe1, 0x00000001, 0xffffffe1 },
{ 0x00000000, 0xaaaaaaac, 0x00000001, 0xaaaaaaac },
{ 0x00000000, 0xaaaaaa2b, 0xffffff80, 0xaaaaaa2b },
{ 0x00000000, 0x00008000, 0x00007fff, 0x00008000 },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0xaaaaaa8a },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00007ffc },
{ 0x00000000, 0xcccccccb, 0xcccccccc, 0xcccccccb },
{ 0x00000000, 0x00007fff, 0x00000000, 0x00007fff },
{ 0x00000000, 0xffff7fff, 0xffff8000, 0xffff7fff },
{ 0x00000000, 0x0000801f, 0x00007fff, 0x0000801f },
{ 0x00000000, 0x00008001, 0x00007fff, 0x00008001 },
{ 0x00000000, 0x0000007e, 0x00000001, 0x0000007e },
{ 0x00000000, 0xffff0003, 0xffff8002, 0xffff0003 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x2aaaaaa9 },
{ 0x00000000, 0x4ccccccb, 0xcccccccc, 0x4ccccccb },
{ 0x00000000, 0xffff7fe2, 0xffffffe0, 0xffff7fe2 },
{ 0x00000000, 0xffff7fff, 0xfffffffd, 0xffff7fff },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0x00000021, 0x00000001, 0x00000021 },
{ 0x00000000, 0x00007f81, 0x00007fff, 0x00007f81 },
{ 0x00000000, 0xffffffff, 0xfffffffd, 0xffffffff },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0xcccccd4a },
{ 0x00000000, 0x8000007e, 0x7fffffff, 0x8000007e },
{ 0x00000000, 0xffffffff, 0x0000007d, 0xffffffff },
{ 0x00000000, 0xffffff80, 0xffffff81, 0xffffff80 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000002 },
{ 0x00000000, 0xffff7f86, 0xffff8003, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x00007ffd, 0x80007fff },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x2aaaaaac },
{ 0x00000000, 0xffff8000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0xcccccccf, 0x00000002, 0xcccccccf },
{ 0x00000000, 0x00000002, 0xffffff83, 0x00000002 },
{ 0x00000000, 0x80008000, 0x00007ffe, 0x80008000 },
{ 0x00000000, 0x8000007d, 0x0000007d, 0x8000007d },
{ 0x00000000, 0xffffffe2, 0x00000002, 0xffffffe2 },
{ 0x00000000, 0x4cccccce, 0x80000001, 0x4cccccce },
{ 0x00000000, 0x0000807a, 0x00007ffd, 0x0000807a },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x80000000, 0x80007fff },
{ 0x00000000, 0x80000000, 0x80000000, 0x80000000 },
{ 0x00000000, 0x0000001f, 0xffffffff, 0x0000001f },
{ 0x00000000, 0x7fffff83, 0xffffff83, 0x7fffff83 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0xffffff60 },
{ 0x00000000, 0x7fff8004, 0xffff8001, 0x7fff8004 },
{ 0x00000000, 0x7fff8002, 0xffff8003, 0x7fff8002 },
{ 0x00000000, 0x7fff8001, 0x7fffffff, 0x7fff8001 },
{ 0x00000000, 0x80000003, 0x00000002, 0x80000003 },
{ 0x00000000, 0xffff8080, 0xffff8003, 0xffff8080 },
{ 0x00000000, 0x22222222, 0xcccccccc, 0x22222222 },
{ 0x00000000, 0xffffff01, 0xffffff80, 0xffffff01 },
{ 0x00000000, 0x80007ffc, 0x00007ffd, 0x80007ffc },
{ 0x00000000, 0x80008001, 0x80000001, 0x80008001 },
{ 0x00000000, 0xfffffffe, 0x00007ffd, 0xfffffffe },
{ 0x00000000, 0x00000001, 0x0000007f, 0x00000001 },
{ 0x00000000, 0x0000007b, 0x0000007d, 0x0000007b },
{ 0x00000000, 0xfffffffe, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0xffffff03, 0xffffff81, 0xffffff03 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7fff8003 },
{ 0x00000000, 0x00000002, 0x80000001, 0x00000002 },
{ 0x00000000, 0x80000082, 0x0000007f, 0x80000082 },
{ 0x00000000, 0x00000000, 0xffffff81, 0x00000000 },
{ 0x00000000, 0xfffffffc, 0xfffffffd, 0xfffffffc },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0xfffffffe },
{ 0x00000000, 0xd5555558, 0x55555555, 0xd5555558 },
{ 0x00000000, 0xaaaaab2a, 0x0000007f, 0xaaaaab2a },
{ 0x00000000, 0xaaaa2aae, 0xffff8003, 0xaaaa2aae },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0x5555d553 },
{ 0x00000000, 0x333332b5, 0x33333333, 0x333332b5 },
{ 0x00000000, 0x80000003, 0x80000001, 0x80000003 },
{ 0x00000000, 0xffff8002, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffa1 },
{ 0x00000000, 0x80000080, 0x0000007f, 0x80000080 },
{ 0x00000000, 0x0000807c, 0x0000007f, 0x0000807c },
{ 0x00000000, 0x0000807b, 0x00007ffd, 0x0000807b },
{ 0x00000000, 0xcccccccc, 0xffffffff, 0xcccccccc },
{ 0x00000000, 0xccccccec, 0xcccccccc, 0xccccccec },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0x8000007a },
{ 0x00000000, 0xcccccc4e, 0xcccccccc, 0xcccccc4e },
{ 0x00000000, 0xfffffffb, 0xfffffffd, 0xfffffffb },
{ 0x00000000, 0xcccc4ccd, 0xcccccccc, 0xcccc4ccd },
{ 0x00000000, 0x80008000, 0x00007fff, 0x80008000 },
{ 0x00000000, 0x33333353, 0x33333333, 0x33333353 },
{ 0x00000000, 0xfffffffe, 0x0000007d, 0xfffffffe },
{ 0x00000000, 0xffffff61, 0xffffffe0, 0xffffff61 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0xffff0001 },
{ 0x00000000, 0x80000000, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffd, 0x7ffffffd, 0x80007ffd },
{ 0x00000000, 0x333333b2, 0x0000007e, 0x333333b2 },
{ 0x00000000, 0xcccc4cd0, 0xffff8003, 0xcccc4cd0 },
{ 0x00000000, 0xaaaaaaad, 0x00000002, 0xaaaaaaad },
{ 0x00000000, 0x00000000, 0x00000001, 0x00000000 },
{ 0x00000000, 0x88888889, 0x33333333, 0x88888889 },
{ 0x00000000, 0x80000004, 0x00000001, 0x80000004 },
{ 0x00000000, 0xffff807e, 0xffff8000, 0xffff807e },
{ 0x00000000, 0x555554d8, 0x55555555, 0x555554d8 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0x80007ffe },
{ 0x00000000, 0x7fffffe1, 0xffffffe0, 0x7fffffe1 },
{ 0x00000000, 0x7fff8004, 0xffff8003, 0x7fff8004 },
{ 0x00000000, 0xaaaaab28, 0xaaaaaaaa, 0xaaaaab28 },
{ 0x00000000, 0xffffff83, 0xffffff80, 0xffffff83 },
{ 0x00000000, 0x00000004, 0x80000001, 0x00000004 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0x00007ffd },
{ 0x00000000, 0xffffff81, 0xffffff80, 0xffffff81 },
{ 0x00000000, 0xcccccd4c, 0xcccccccc, 0xcccccd4c },
{ 0x00000000, 0x5554d557, 0x55555555, 0x5554d557 },
{ 0x00000000, 0x00000000, 0xffff8000, 0x00000000 },
{ 0x00000000, 0xffff8001, 0xffff8000, 0xffff8001 },
{ 0x00000000, 0x8000007c, 0x0000007d, 0x8000007c },
{ 0x00000000, 0xffff8022, 0xffff8002, 0xffff8022 },
{ 0x00000000, 0xffffffe2, 0xffffffe0, 0xffffffe2 },
{ 0x00000000, 0x7fff8003, 0xffff8003, 0x7fff8003 },
{ 0x00000000, 0x7fffff80, 0xffffff81, 0x7fffff80 },
{ 0x00000000, 0x0000801e, 0x00007ffe, 0x0000801e },
};
const Inputs kOutputs_Sub_RdIsRm_al_r9_r4_r9[] = {
{ 0x00000000, 0x2aaaaaa9, 0x7ffffffe, 0x2aaaaaa9 },
{ 0x00000000, 0x00000003, 0x00000001, 0x00000003 },
{ 0x00000000, 0x00000000, 0xffffff82, 0x00000000 },
{ 0x00000000, 0x00000003, 0xffff8003, 0x00000003 },
{ 0x00000000, 0xffffffff, 0x00000000, 0xffffffff },
{ 0x00000000, 0x0000807e, 0x00007fff, 0x0000807e },
{ 0x00000000, 0xffff7f85, 0xffff8002, 0xffff7f85 },
{ 0x00000000, 0x7fff8000, 0xffff8000, 0x7fff8000 },
{ 0x00000000, 0x000000a0, 0x00000020, 0x000000a0 },
{ 0x00000000, 0xaaaaaa2c, 0xffffff81, 0xaaaaaa2c },
{ 0x00000000, 0xffff7f85, 0xffffff82, 0xffff7f85 },
{ 0x00000000, 0xaaab2aaa, 0x00007fff, 0xaaab2aaa },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7fff8003 },
{ 0x00000000, 0xffffff84, 0xffffff83, 0xffffff84 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3333b331, 0x33333333, 0x3333b331 },
{ 0x00000000, 0xaaaa2aad, 0xaaaaaaaa, 0xaaaa2aad },
{ 0x00000000, 0xaaaa2aab, 0xffff8000, 0xaaaa2aab },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x7ffffffe },
{ 0x00000000, 0xffffff06, 0xffffff83, 0xffffff06 },
{ 0x00000000, 0xffffff04, 0xffffff82, 0xffffff04 },
{ 0x00000000, 0x333333b1, 0x0000007d, 0x333333b1 },
{ 0x00000000, 0x00007ffd, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x000000fe, 0x0000007f, 0x000000fe },
{ 0x00000000, 0x00007f83, 0xffffff83, 0x00007f83 },
{ 0x00000000, 0xffffffe1, 0xffffffe0, 0xffffffe1 },
{ 0x00000000, 0x80000004, 0x80000001, 0x80000004 },
{ 0x00000000, 0x2aaaaaab, 0x80000000, 0x2aaaaaab },
{ 0x00000000, 0x0000807d, 0x0000007d, 0x0000807d },
{ 0x00000000, 0x5554d559, 0xffff8003, 0x5554d559 },
{ 0x00000000, 0x00007ffc, 0x00007ffd, 0x00007ffc },
{ 0x00000000, 0x7fffff80, 0x7ffffffe, 0x7fffff80 },
{ 0x00000000, 0x00007fdd, 0x00007ffd, 0x00007fdd },
{ 0x00000000, 0x8000007c, 0x7ffffffd, 0x8000007c },
{ 0x00000000, 0x000000fc, 0x0000007f, 0x000000fc },
{ 0x00000000, 0x0000007d, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x0000007b, 0xfffffffd, 0x0000007b },
{ 0x00000000, 0x80007ffb, 0x7ffffffe, 0x80007ffb },
{ 0x00000000, 0x00000000, 0x00000002, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff8001, 0xffff807e },
{ 0x00000000, 0x00007ffc, 0xfffffffe, 0x00007ffc },
{ 0x00000000, 0x00000001, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x7fffff82, 0xffffff81, 0x7fffff82 },
{ 0x00000000, 0xffffff61, 0xffffff81, 0xffffff61 },
{ 0x00000000, 0xffffff80, 0xffffffff, 0xffffff80 },
{ 0x00000000, 0xcccccc4f, 0xcccccccc, 0xcccccc4f },
{ 0x00000000, 0x5554d556, 0x55555555, 0x5554d556 },
{ 0x00000000, 0x0000fffa, 0x00007ffd, 0x0000fffa },
{ 0x00000000, 0x00000000, 0x80000001, 0x00000000 },
{ 0x00000000, 0xfffffffe, 0xfffffffd, 0xfffffffe },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0x00007ffe },
{ 0x00000000, 0x333333b3, 0x0000007f, 0x333333b3 },
{ 0x00000000, 0x00000001, 0x00000002, 0x00000001 },
{ 0x00000000, 0xffffffff, 0xffffff81, 0xffffffff },
{ 0x00000000, 0x00008000, 0x00007ffd, 0x00008000 },
{ 0x00000000, 0xb3333332, 0x33333333, 0xb3333332 },
{ 0x00000000, 0xffff8080, 0xffff8002, 0xffff8080 },
{ 0x00000000, 0x00007ffa, 0xfffffffd, 0x00007ffa },
{ 0x00000000, 0x0000009f, 0x00000020, 0x0000009f },
{ 0x00000000, 0x00000002, 0xffff8003, 0x00000002 },
{ 0x00000000, 0x80000000, 0x80000001, 0x80000000 },
{ 0x00000000, 0x00000005, 0x00000002, 0x00000005 },
{ 0x00000000, 0x80007ffa, 0x7ffffffd, 0x80007ffa },
{ 0x00000000, 0xaaaaaa2c, 0xaaaaaaaa, 0xaaaaaa2c },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x00000001 },
{ 0x00000000, 0x00000001, 0x00007ffe, 0x00000001 },
{ 0x00000000, 0x7fff8002, 0x80000001, 0x7fff8002 },
{ 0x00000000, 0xffff7fff, 0xfffffffe, 0xffff7fff },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0xffffff7f },
{ 0x00000000, 0x77777777, 0xcccccccc, 0x77777777 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7fffffe3 },
{ 0x00000000, 0x0000007d, 0xfffffffe, 0x0000007d },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0x0000807c },
{ 0x00000000, 0x8000007f, 0x80000001, 0x8000007f },
{ 0x00000000, 0xffff7f82, 0xffff8001, 0xffff7f82 },
{ 0x00000000, 0x7fffff86, 0xffffff83, 0x7fffff86 },
{ 0x00000000, 0xcccccd4a, 0xcccccccc, 0xcccccd4a },
{ 0x00000000, 0xffffff63, 0xffffff83, 0xffffff63 },
{ 0x00000000, 0x7fff8002, 0x80000000, 0x7fff8002 },
{ 0x00000000, 0xffff7f81, 0xffff8000, 0xffff7f81 },
{ 0x00000000, 0x333333b1, 0x33333333, 0x333333b1 },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0xffff8081, 0xffff8001, 0xffff8081 },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaaa, 0xaaaaaaa8 },
{ 0x00000000, 0x80000000, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0x00000001, 0xfffffffe, 0x00000001 },
{ 0x00000000, 0xffffffe1, 0x00000001, 0xffffffe1 },
{ 0x00000000, 0xaaaaaaac, 0x00000001, 0xaaaaaaac },
{ 0x00000000, 0xaaaaaa2b, 0xffffff80, 0xaaaaaa2b },
{ 0x00000000, 0x00008000, 0x00007fff, 0x00008000 },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0xaaaaaa8a },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00007ffc },
{ 0x00000000, 0xcccccccb, 0xcccccccc, 0xcccccccb },
{ 0x00000000, 0x00007fff, 0x00000000, 0x00007fff },
{ 0x00000000, 0xffff7fff, 0xffff8000, 0xffff7fff },
{ 0x00000000, 0x0000801f, 0x00007fff, 0x0000801f },
{ 0x00000000, 0x00008001, 0x00007fff, 0x00008001 },
{ 0x00000000, 0x0000007e, 0x00000001, 0x0000007e },
{ 0x00000000, 0xffff0003, 0xffff8002, 0xffff0003 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x2aaaaaa9 },
{ 0x00000000, 0x4ccccccb, 0xcccccccc, 0x4ccccccb },
{ 0x00000000, 0xffff7fe2, 0xffffffe0, 0xffff7fe2 },
{ 0x00000000, 0xffff7fff, 0xfffffffd, 0xffff7fff },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0x00000021, 0x00000001, 0x00000021 },
{ 0x00000000, 0x00007f81, 0x00007fff, 0x00007f81 },
{ 0x00000000, 0xffffffff, 0xfffffffd, 0xffffffff },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0xcccccd4a },
{ 0x00000000, 0x8000007e, 0x7fffffff, 0x8000007e },
{ 0x00000000, 0xffffffff, 0x0000007d, 0xffffffff },
{ 0x00000000, 0xffffff80, 0xffffff81, 0xffffff80 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000002 },
{ 0x00000000, 0xffff7f86, 0xffff8003, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x00007ffd, 0x80007fff },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x2aaaaaac },
{ 0x00000000, 0xffff8000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0xcccccccf, 0x00000002, 0xcccccccf },
{ 0x00000000, 0x00000002, 0xffffff83, 0x00000002 },
{ 0x00000000, 0x80008000, 0x00007ffe, 0x80008000 },
{ 0x00000000, 0x8000007d, 0x0000007d, 0x8000007d },
{ 0x00000000, 0xffffffe2, 0x00000002, 0xffffffe2 },
{ 0x00000000, 0x4cccccce, 0x80000001, 0x4cccccce },
{ 0x00000000, 0x0000807a, 0x00007ffd, 0x0000807a },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x80000000, 0x80007fff },
{ 0x00000000, 0x80000000, 0x80000000, 0x80000000 },
{ 0x00000000, 0x0000001f, 0xffffffff, 0x0000001f },
{ 0x00000000, 0x7fffff83, 0xffffff83, 0x7fffff83 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0xffffff60 },
{ 0x00000000, 0x7fff8004, 0xffff8001, 0x7fff8004 },
{ 0x00000000, 0x7fff8002, 0xffff8003, 0x7fff8002 },
{ 0x00000000, 0x7fff8001, 0x7fffffff, 0x7fff8001 },
{ 0x00000000, 0x80000003, 0x00000002, 0x80000003 },
{ 0x00000000, 0xffff8080, 0xffff8003, 0xffff8080 },
{ 0x00000000, 0x22222222, 0xcccccccc, 0x22222222 },
{ 0x00000000, 0xffffff01, 0xffffff80, 0xffffff01 },
{ 0x00000000, 0x80007ffc, 0x00007ffd, 0x80007ffc },
{ 0x00000000, 0x80008001, 0x80000001, 0x80008001 },
{ 0x00000000, 0xfffffffe, 0x00007ffd, 0xfffffffe },
{ 0x00000000, 0x00000001, 0x0000007f, 0x00000001 },
{ 0x00000000, 0x0000007b, 0x0000007d, 0x0000007b },
{ 0x00000000, 0xfffffffe, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0xffffff03, 0xffffff81, 0xffffff03 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7fff8003 },
{ 0x00000000, 0x00000002, 0x80000001, 0x00000002 },
{ 0x00000000, 0x80000082, 0x0000007f, 0x80000082 },
{ 0x00000000, 0x00000000, 0xffffff81, 0x00000000 },
{ 0x00000000, 0xfffffffc, 0xfffffffd, 0xfffffffc },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0xfffffffe },
{ 0x00000000, 0xd5555558, 0x55555555, 0xd5555558 },
{ 0x00000000, 0xaaaaab2a, 0x0000007f, 0xaaaaab2a },
{ 0x00000000, 0xaaaa2aae, 0xffff8003, 0xaaaa2aae },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0x5555d553 },
{ 0x00000000, 0x333332b5, 0x33333333, 0x333332b5 },
{ 0x00000000, 0x80000003, 0x80000001, 0x80000003 },
{ 0x00000000, 0xffff8002, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffa1 },
{ 0x00000000, 0x80000080, 0x0000007f, 0x80000080 },
{ 0x00000000, 0x0000807c, 0x0000007f, 0x0000807c },
{ 0x00000000, 0x0000807b, 0x00007ffd, 0x0000807b },
{ 0x00000000, 0xcccccccc, 0xffffffff, 0xcccccccc },
{ 0x00000000, 0xccccccec, 0xcccccccc, 0xccccccec },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0x8000007a },
{ 0x00000000, 0xcccccc4e, 0xcccccccc, 0xcccccc4e },
{ 0x00000000, 0xfffffffb, 0xfffffffd, 0xfffffffb },
{ 0x00000000, 0xcccc4ccd, 0xcccccccc, 0xcccc4ccd },
{ 0x00000000, 0x80008000, 0x00007fff, 0x80008000 },
{ 0x00000000, 0x33333353, 0x33333333, 0x33333353 },
{ 0x00000000, 0xfffffffe, 0x0000007d, 0xfffffffe },
{ 0x00000000, 0xffffff61, 0xffffffe0, 0xffffff61 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0xffff0001 },
{ 0x00000000, 0x80000000, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffd, 0x7ffffffd, 0x80007ffd },
{ 0x00000000, 0x333333b2, 0x0000007e, 0x333333b2 },
{ 0x00000000, 0xcccc4cd0, 0xffff8003, 0xcccc4cd0 },
{ 0x00000000, 0xaaaaaaad, 0x00000002, 0xaaaaaaad },
{ 0x00000000, 0x00000000, 0x00000001, 0x00000000 },
{ 0x00000000, 0x88888889, 0x33333333, 0x88888889 },
{ 0x00000000, 0x80000004, 0x00000001, 0x80000004 },
{ 0x00000000, 0xffff807e, 0xffff8000, 0xffff807e },
{ 0x00000000, 0x555554d8, 0x55555555, 0x555554d8 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0x80007ffe },
{ 0x00000000, 0x7fffffe1, 0xffffffe0, 0x7fffffe1 },
{ 0x00000000, 0x7fff8004, 0xffff8003, 0x7fff8004 },
{ 0x00000000, 0xaaaaab28, 0xaaaaaaaa, 0xaaaaab28 },
{ 0x00000000, 0xffffff83, 0xffffff80, 0xffffff83 },
{ 0x00000000, 0x00000004, 0x80000001, 0x00000004 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0x00007ffd },
{ 0x00000000, 0xffffff81, 0xffffff80, 0xffffff81 },
{ 0x00000000, 0xcccccd4c, 0xcccccccc, 0xcccccd4c },
{ 0x00000000, 0x5554d557, 0x55555555, 0x5554d557 },
{ 0x00000000, 0x00000000, 0xffff8000, 0x00000000 },
{ 0x00000000, 0xffff8001, 0xffff8000, 0xffff8001 },
{ 0x00000000, 0x8000007c, 0x0000007d, 0x8000007c },
{ 0x00000000, 0xffff8022, 0xffff8002, 0xffff8022 },
{ 0x00000000, 0xffffffe2, 0xffffffe0, 0xffffffe2 },
{ 0x00000000, 0x7fff8003, 0xffff8003, 0x7fff8003 },
{ 0x00000000, 0x7fffff80, 0xffffff81, 0x7fffff80 },
{ 0x00000000, 0x0000801e, 0x00007ffe, 0x0000801e },
};
const Inputs kOutputs_Sub_RdIsRm_al_r14_r10_r14[] = {
{ 0x00000000, 0x2aaaaaa9, 0x7ffffffe, 0x2aaaaaa9 },
{ 0x00000000, 0x00000003, 0x00000001, 0x00000003 },
{ 0x00000000, 0x00000000, 0xffffff82, 0x00000000 },
{ 0x00000000, 0x00000003, 0xffff8003, 0x00000003 },
{ 0x00000000, 0xffffffff, 0x00000000, 0xffffffff },
{ 0x00000000, 0x0000807e, 0x00007fff, 0x0000807e },
{ 0x00000000, 0xffff7f85, 0xffff8002, 0xffff7f85 },
{ 0x00000000, 0x7fff8000, 0xffff8000, 0x7fff8000 },
{ 0x00000000, 0x000000a0, 0x00000020, 0x000000a0 },
{ 0x00000000, 0xaaaaaa2c, 0xffffff81, 0xaaaaaa2c },
{ 0x00000000, 0xffff7f85, 0xffffff82, 0xffff7f85 },
{ 0x00000000, 0xaaab2aaa, 0x00007fff, 0xaaab2aaa },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7fff8003 },
{ 0x00000000, 0xffffff84, 0xffffff83, 0xffffff84 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3333b331, 0x33333333, 0x3333b331 },
{ 0x00000000, 0xaaaa2aad, 0xaaaaaaaa, 0xaaaa2aad },
{ 0x00000000, 0xaaaa2aab, 0xffff8000, 0xaaaa2aab },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x7ffffffe },
{ 0x00000000, 0xffffff06, 0xffffff83, 0xffffff06 },
{ 0x00000000, 0xffffff04, 0xffffff82, 0xffffff04 },
{ 0x00000000, 0x333333b1, 0x0000007d, 0x333333b1 },
{ 0x00000000, 0x00007ffd, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x000000fe, 0x0000007f, 0x000000fe },
{ 0x00000000, 0x00007f83, 0xffffff83, 0x00007f83 },
{ 0x00000000, 0xffffffe1, 0xffffffe0, 0xffffffe1 },
{ 0x00000000, 0x80000004, 0x80000001, 0x80000004 },
{ 0x00000000, 0x2aaaaaab, 0x80000000, 0x2aaaaaab },
{ 0x00000000, 0x0000807d, 0x0000007d, 0x0000807d },
{ 0x00000000, 0x5554d559, 0xffff8003, 0x5554d559 },
{ 0x00000000, 0x00007ffc, 0x00007ffd, 0x00007ffc },
{ 0x00000000, 0x7fffff80, 0x7ffffffe, 0x7fffff80 },
{ 0x00000000, 0x00007fdd, 0x00007ffd, 0x00007fdd },
{ 0x00000000, 0x8000007c, 0x7ffffffd, 0x8000007c },
{ 0x00000000, 0x000000fc, 0x0000007f, 0x000000fc },
{ 0x00000000, 0x0000007d, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x0000007b, 0xfffffffd, 0x0000007b },
{ 0x00000000, 0x80007ffb, 0x7ffffffe, 0x80007ffb },
{ 0x00000000, 0x00000000, 0x00000002, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff8001, 0xffff807e },
{ 0x00000000, 0x00007ffc, 0xfffffffe, 0x00007ffc },
{ 0x00000000, 0x00000001, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x7fffff82, 0xffffff81, 0x7fffff82 },
{ 0x00000000, 0xffffff61, 0xffffff81, 0xffffff61 },
{ 0x00000000, 0xffffff80, 0xffffffff, 0xffffff80 },
{ 0x00000000, 0xcccccc4f, 0xcccccccc, 0xcccccc4f },
{ 0x00000000, 0x5554d556, 0x55555555, 0x5554d556 },
{ 0x00000000, 0x0000fffa, 0x00007ffd, 0x0000fffa },
{ 0x00000000, 0x00000000, 0x80000001, 0x00000000 },
{ 0x00000000, 0xfffffffe, 0xfffffffd, 0xfffffffe },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0x00007ffe },
{ 0x00000000, 0x333333b3, 0x0000007f, 0x333333b3 },
{ 0x00000000, 0x00000001, 0x00000002, 0x00000001 },
{ 0x00000000, 0xffffffff, 0xffffff81, 0xffffffff },
{ 0x00000000, 0x00008000, 0x00007ffd, 0x00008000 },
{ 0x00000000, 0xb3333332, 0x33333333, 0xb3333332 },
{ 0x00000000, 0xffff8080, 0xffff8002, 0xffff8080 },
{ 0x00000000, 0x00007ffa, 0xfffffffd, 0x00007ffa },
{ 0x00000000, 0x0000009f, 0x00000020, 0x0000009f },
{ 0x00000000, 0x00000002, 0xffff8003, 0x00000002 },
{ 0x00000000, 0x80000000, 0x80000001, 0x80000000 },
{ 0x00000000, 0x00000005, 0x00000002, 0x00000005 },
{ 0x00000000, 0x80007ffa, 0x7ffffffd, 0x80007ffa },
{ 0x00000000, 0xaaaaaa2c, 0xaaaaaaaa, 0xaaaaaa2c },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x00000001 },
{ 0x00000000, 0x00000001, 0x00007ffe, 0x00000001 },
{ 0x00000000, 0x7fff8002, 0x80000001, 0x7fff8002 },
{ 0x00000000, 0xffff7fff, 0xfffffffe, 0xffff7fff },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0xffffff7f },
{ 0x00000000, 0x77777777, 0xcccccccc, 0x77777777 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7fffffe3 },
{ 0x00000000, 0x0000007d, 0xfffffffe, 0x0000007d },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0x0000807c },
{ 0x00000000, 0x8000007f, 0x80000001, 0x8000007f },
{ 0x00000000, 0xffff7f82, 0xffff8001, 0xffff7f82 },
{ 0x00000000, 0x7fffff86, 0xffffff83, 0x7fffff86 },
{ 0x00000000, 0xcccccd4a, 0xcccccccc, 0xcccccd4a },
{ 0x00000000, 0xffffff63, 0xffffff83, 0xffffff63 },
{ 0x00000000, 0x7fff8002, 0x80000000, 0x7fff8002 },
{ 0x00000000, 0xffff7f81, 0xffff8000, 0xffff7f81 },
{ 0x00000000, 0x333333b1, 0x33333333, 0x333333b1 },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0xffff8081, 0xffff8001, 0xffff8081 },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaaa, 0xaaaaaaa8 },
{ 0x00000000, 0x80000000, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0x00000001, 0xfffffffe, 0x00000001 },
{ 0x00000000, 0xffffffe1, 0x00000001, 0xffffffe1 },
{ 0x00000000, 0xaaaaaaac, 0x00000001, 0xaaaaaaac },
{ 0x00000000, 0xaaaaaa2b, 0xffffff80, 0xaaaaaa2b },
{ 0x00000000, 0x00008000, 0x00007fff, 0x00008000 },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0xaaaaaa8a },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00007ffc },
{ 0x00000000, 0xcccccccb, 0xcccccccc, 0xcccccccb },
{ 0x00000000, 0x00007fff, 0x00000000, 0x00007fff },
{ 0x00000000, 0xffff7fff, 0xffff8000, 0xffff7fff },
{ 0x00000000, 0x0000801f, 0x00007fff, 0x0000801f },
{ 0x00000000, 0x00008001, 0x00007fff, 0x00008001 },
{ 0x00000000, 0x0000007e, 0x00000001, 0x0000007e },
{ 0x00000000, 0xffff0003, 0xffff8002, 0xffff0003 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x2aaaaaa9 },
{ 0x00000000, 0x4ccccccb, 0xcccccccc, 0x4ccccccb },
{ 0x00000000, 0xffff7fe2, 0xffffffe0, 0xffff7fe2 },
{ 0x00000000, 0xffff7fff, 0xfffffffd, 0xffff7fff },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0x00000021, 0x00000001, 0x00000021 },
{ 0x00000000, 0x00007f81, 0x00007fff, 0x00007f81 },
{ 0x00000000, 0xffffffff, 0xfffffffd, 0xffffffff },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0xcccccd4a },
{ 0x00000000, 0x8000007e, 0x7fffffff, 0x8000007e },
{ 0x00000000, 0xffffffff, 0x0000007d, 0xffffffff },
{ 0x00000000, 0xffffff80, 0xffffff81, 0xffffff80 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000002 },
{ 0x00000000, 0xffff7f86, 0xffff8003, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x00007ffd, 0x80007fff },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x2aaaaaac },
{ 0x00000000, 0xffff8000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0xcccccccf, 0x00000002, 0xcccccccf },
{ 0x00000000, 0x00000002, 0xffffff83, 0x00000002 },
{ 0x00000000, 0x80008000, 0x00007ffe, 0x80008000 },
{ 0x00000000, 0x8000007d, 0x0000007d, 0x8000007d },
{ 0x00000000, 0xffffffe2, 0x00000002, 0xffffffe2 },
{ 0x00000000, 0x4cccccce, 0x80000001, 0x4cccccce },
{ 0x00000000, 0x0000807a, 0x00007ffd, 0x0000807a },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x80000000, 0x80007fff },
{ 0x00000000, 0x80000000, 0x80000000, 0x80000000 },
{ 0x00000000, 0x0000001f, 0xffffffff, 0x0000001f },
{ 0x00000000, 0x7fffff83, 0xffffff83, 0x7fffff83 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0xffffff60 },
{ 0x00000000, 0x7fff8004, 0xffff8001, 0x7fff8004 },
{ 0x00000000, 0x7fff8002, 0xffff8003, 0x7fff8002 },
{ 0x00000000, 0x7fff8001, 0x7fffffff, 0x7fff8001 },
{ 0x00000000, 0x80000003, 0x00000002, 0x80000003 },
{ 0x00000000, 0xffff8080, 0xffff8003, 0xffff8080 },
{ 0x00000000, 0x22222222, 0xcccccccc, 0x22222222 },
{ 0x00000000, 0xffffff01, 0xffffff80, 0xffffff01 },
{ 0x00000000, 0x80007ffc, 0x00007ffd, 0x80007ffc },
{ 0x00000000, 0x80008001, 0x80000001, 0x80008001 },
{ 0x00000000, 0xfffffffe, 0x00007ffd, 0xfffffffe },
{ 0x00000000, 0x00000001, 0x0000007f, 0x00000001 },
{ 0x00000000, 0x0000007b, 0x0000007d, 0x0000007b },
{ 0x00000000, 0xfffffffe, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0xffffff03, 0xffffff81, 0xffffff03 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7fff8003 },
{ 0x00000000, 0x00000002, 0x80000001, 0x00000002 },
{ 0x00000000, 0x80000082, 0x0000007f, 0x80000082 },
{ 0x00000000, 0x00000000, 0xffffff81, 0x00000000 },
{ 0x00000000, 0xfffffffc, 0xfffffffd, 0xfffffffc },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0xfffffffe },
{ 0x00000000, 0xd5555558, 0x55555555, 0xd5555558 },
{ 0x00000000, 0xaaaaab2a, 0x0000007f, 0xaaaaab2a },
{ 0x00000000, 0xaaaa2aae, 0xffff8003, 0xaaaa2aae },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0x5555d553 },
{ 0x00000000, 0x333332b5, 0x33333333, 0x333332b5 },
{ 0x00000000, 0x80000003, 0x80000001, 0x80000003 },
{ 0x00000000, 0xffff8002, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffa1 },
{ 0x00000000, 0x80000080, 0x0000007f, 0x80000080 },
{ 0x00000000, 0x0000807c, 0x0000007f, 0x0000807c },
{ 0x00000000, 0x0000807b, 0x00007ffd, 0x0000807b },
{ 0x00000000, 0xcccccccc, 0xffffffff, 0xcccccccc },
{ 0x00000000, 0xccccccec, 0xcccccccc, 0xccccccec },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0x8000007a },
{ 0x00000000, 0xcccccc4e, 0xcccccccc, 0xcccccc4e },
{ 0x00000000, 0xfffffffb, 0xfffffffd, 0xfffffffb },
{ 0x00000000, 0xcccc4ccd, 0xcccccccc, 0xcccc4ccd },
{ 0x00000000, 0x80008000, 0x00007fff, 0x80008000 },
{ 0x00000000, 0x33333353, 0x33333333, 0x33333353 },
{ 0x00000000, 0xfffffffe, 0x0000007d, 0xfffffffe },
{ 0x00000000, 0xffffff61, 0xffffffe0, 0xffffff61 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0xffff0001 },
{ 0x00000000, 0x80000000, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffd, 0x7ffffffd, 0x80007ffd },
{ 0x00000000, 0x333333b2, 0x0000007e, 0x333333b2 },
{ 0x00000000, 0xcccc4cd0, 0xffff8003, 0xcccc4cd0 },
{ 0x00000000, 0xaaaaaaad, 0x00000002, 0xaaaaaaad },
{ 0x00000000, 0x00000000, 0x00000001, 0x00000000 },
{ 0x00000000, 0x88888889, 0x33333333, 0x88888889 },
{ 0x00000000, 0x80000004, 0x00000001, 0x80000004 },
{ 0x00000000, 0xffff807e, 0xffff8000, 0xffff807e },
{ 0x00000000, 0x555554d8, 0x55555555, 0x555554d8 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0x80007ffe },
{ 0x00000000, 0x7fffffe1, 0xffffffe0, 0x7fffffe1 },
{ 0x00000000, 0x7fff8004, 0xffff8003, 0x7fff8004 },
{ 0x00000000, 0xaaaaab28, 0xaaaaaaaa, 0xaaaaab28 },
{ 0x00000000, 0xffffff83, 0xffffff80, 0xffffff83 },
{ 0x00000000, 0x00000004, 0x80000001, 0x00000004 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0x00007ffd },
{ 0x00000000, 0xffffff81, 0xffffff80, 0xffffff81 },
{ 0x00000000, 0xcccccd4c, 0xcccccccc, 0xcccccd4c },
{ 0x00000000, 0x5554d557, 0x55555555, 0x5554d557 },
{ 0x00000000, 0x00000000, 0xffff8000, 0x00000000 },
{ 0x00000000, 0xffff8001, 0xffff8000, 0xffff8001 },
{ 0x00000000, 0x8000007c, 0x0000007d, 0x8000007c },
{ 0x00000000, 0xffff8022, 0xffff8002, 0xffff8022 },
{ 0x00000000, 0xffffffe2, 0xffffffe0, 0xffffffe2 },
{ 0x00000000, 0x7fff8003, 0xffff8003, 0x7fff8003 },
{ 0x00000000, 0x7fffff80, 0xffffff81, 0x7fffff80 },
{ 0x00000000, 0x0000801e, 0x00007ffe, 0x0000801e },
};
const Inputs kOutputs_Sub_RdIsRm_al_r7_r0_r7[] = {
{ 0x00000000, 0x2aaaaaa9, 0x7ffffffe, 0x2aaaaaa9 },
{ 0x00000000, 0x00000003, 0x00000001, 0x00000003 },
{ 0x00000000, 0x00000000, 0xffffff82, 0x00000000 },
{ 0x00000000, 0x00000003, 0xffff8003, 0x00000003 },
{ 0x00000000, 0xffffffff, 0x00000000, 0xffffffff },
{ 0x00000000, 0x0000807e, 0x00007fff, 0x0000807e },
{ 0x00000000, 0xffff7f85, 0xffff8002, 0xffff7f85 },
{ 0x00000000, 0x7fff8000, 0xffff8000, 0x7fff8000 },
{ 0x00000000, 0x000000a0, 0x00000020, 0x000000a0 },
{ 0x00000000, 0xaaaaaa2c, 0xffffff81, 0xaaaaaa2c },
{ 0x00000000, 0xffff7f85, 0xffffff82, 0xffff7f85 },
{ 0x00000000, 0xaaab2aaa, 0x00007fff, 0xaaab2aaa },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7fff8003 },
{ 0x00000000, 0xffffff84, 0xffffff83, 0xffffff84 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3333b331, 0x33333333, 0x3333b331 },
{ 0x00000000, 0xaaaa2aad, 0xaaaaaaaa, 0xaaaa2aad },
{ 0x00000000, 0xaaaa2aab, 0xffff8000, 0xaaaa2aab },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x7ffffffe },
{ 0x00000000, 0xffffff06, 0xffffff83, 0xffffff06 },
{ 0x00000000, 0xffffff04, 0xffffff82, 0xffffff04 },
{ 0x00000000, 0x333333b1, 0x0000007d, 0x333333b1 },
{ 0x00000000, 0x00007ffd, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x000000fe, 0x0000007f, 0x000000fe },
{ 0x00000000, 0x00007f83, 0xffffff83, 0x00007f83 },
{ 0x00000000, 0xffffffe1, 0xffffffe0, 0xffffffe1 },
{ 0x00000000, 0x80000004, 0x80000001, 0x80000004 },
{ 0x00000000, 0x2aaaaaab, 0x80000000, 0x2aaaaaab },
{ 0x00000000, 0x0000807d, 0x0000007d, 0x0000807d },
{ 0x00000000, 0x5554d559, 0xffff8003, 0x5554d559 },
{ 0x00000000, 0x00007ffc, 0x00007ffd, 0x00007ffc },
{ 0x00000000, 0x7fffff80, 0x7ffffffe, 0x7fffff80 },
{ 0x00000000, 0x00007fdd, 0x00007ffd, 0x00007fdd },
{ 0x00000000, 0x8000007c, 0x7ffffffd, 0x8000007c },
{ 0x00000000, 0x000000fc, 0x0000007f, 0x000000fc },
{ 0x00000000, 0x0000007d, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x0000007b, 0xfffffffd, 0x0000007b },
{ 0x00000000, 0x80007ffb, 0x7ffffffe, 0x80007ffb },
{ 0x00000000, 0x00000000, 0x00000002, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff8001, 0xffff807e },
{ 0x00000000, 0x00007ffc, 0xfffffffe, 0x00007ffc },
{ 0x00000000, 0x00000001, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x7fffff82, 0xffffff81, 0x7fffff82 },
{ 0x00000000, 0xffffff61, 0xffffff81, 0xffffff61 },
{ 0x00000000, 0xffffff80, 0xffffffff, 0xffffff80 },
{ 0x00000000, 0xcccccc4f, 0xcccccccc, 0xcccccc4f },
{ 0x00000000, 0x5554d556, 0x55555555, 0x5554d556 },
{ 0x00000000, 0x0000fffa, 0x00007ffd, 0x0000fffa },
{ 0x00000000, 0x00000000, 0x80000001, 0x00000000 },
{ 0x00000000, 0xfffffffe, 0xfffffffd, 0xfffffffe },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0x00007ffe },
{ 0x00000000, 0x333333b3, 0x0000007f, 0x333333b3 },
{ 0x00000000, 0x00000001, 0x00000002, 0x00000001 },
{ 0x00000000, 0xffffffff, 0xffffff81, 0xffffffff },
{ 0x00000000, 0x00008000, 0x00007ffd, 0x00008000 },
{ 0x00000000, 0xb3333332, 0x33333333, 0xb3333332 },
{ 0x00000000, 0xffff8080, 0xffff8002, 0xffff8080 },
{ 0x00000000, 0x00007ffa, 0xfffffffd, 0x00007ffa },
{ 0x00000000, 0x0000009f, 0x00000020, 0x0000009f },
{ 0x00000000, 0x00000002, 0xffff8003, 0x00000002 },
{ 0x00000000, 0x80000000, 0x80000001, 0x80000000 },
{ 0x00000000, 0x00000005, 0x00000002, 0x00000005 },
{ 0x00000000, 0x80007ffa, 0x7ffffffd, 0x80007ffa },
{ 0x00000000, 0xaaaaaa2c, 0xaaaaaaaa, 0xaaaaaa2c },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x00000001 },
{ 0x00000000, 0x00000001, 0x00007ffe, 0x00000001 },
{ 0x00000000, 0x7fff8002, 0x80000001, 0x7fff8002 },
{ 0x00000000, 0xffff7fff, 0xfffffffe, 0xffff7fff },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0xffffff7f },
{ 0x00000000, 0x77777777, 0xcccccccc, 0x77777777 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7fffffe3 },
{ 0x00000000, 0x0000007d, 0xfffffffe, 0x0000007d },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0x0000807c },
{ 0x00000000, 0x8000007f, 0x80000001, 0x8000007f },
{ 0x00000000, 0xffff7f82, 0xffff8001, 0xffff7f82 },
{ 0x00000000, 0x7fffff86, 0xffffff83, 0x7fffff86 },
{ 0x00000000, 0xcccccd4a, 0xcccccccc, 0xcccccd4a },
{ 0x00000000, 0xffffff63, 0xffffff83, 0xffffff63 },
{ 0x00000000, 0x7fff8002, 0x80000000, 0x7fff8002 },
{ 0x00000000, 0xffff7f81, 0xffff8000, 0xffff7f81 },
{ 0x00000000, 0x333333b1, 0x33333333, 0x333333b1 },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0xffff8081, 0xffff8001, 0xffff8081 },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaaa, 0xaaaaaaa8 },
{ 0x00000000, 0x80000000, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0x00000001, 0xfffffffe, 0x00000001 },
{ 0x00000000, 0xffffffe1, 0x00000001, 0xffffffe1 },
{ 0x00000000, 0xaaaaaaac, 0x00000001, 0xaaaaaaac },
{ 0x00000000, 0xaaaaaa2b, 0xffffff80, 0xaaaaaa2b },
{ 0x00000000, 0x00008000, 0x00007fff, 0x00008000 },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0xaaaaaa8a },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00007ffc },
{ 0x00000000, 0xcccccccb, 0xcccccccc, 0xcccccccb },
{ 0x00000000, 0x00007fff, 0x00000000, 0x00007fff },
{ 0x00000000, 0xffff7fff, 0xffff8000, 0xffff7fff },
{ 0x00000000, 0x0000801f, 0x00007fff, 0x0000801f },
{ 0x00000000, 0x00008001, 0x00007fff, 0x00008001 },
{ 0x00000000, 0x0000007e, 0x00000001, 0x0000007e },
{ 0x00000000, 0xffff0003, 0xffff8002, 0xffff0003 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x2aaaaaa9 },
{ 0x00000000, 0x4ccccccb, 0xcccccccc, 0x4ccccccb },
{ 0x00000000, 0xffff7fe2, 0xffffffe0, 0xffff7fe2 },
{ 0x00000000, 0xffff7fff, 0xfffffffd, 0xffff7fff },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0x00000021, 0x00000001, 0x00000021 },
{ 0x00000000, 0x00007f81, 0x00007fff, 0x00007f81 },
{ 0x00000000, 0xffffffff, 0xfffffffd, 0xffffffff },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0xcccccd4a },
{ 0x00000000, 0x8000007e, 0x7fffffff, 0x8000007e },
{ 0x00000000, 0xffffffff, 0x0000007d, 0xffffffff },
{ 0x00000000, 0xffffff80, 0xffffff81, 0xffffff80 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000002 },
{ 0x00000000, 0xffff7f86, 0xffff8003, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x00007ffd, 0x80007fff },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x2aaaaaac },
{ 0x00000000, 0xffff8000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0xcccccccf, 0x00000002, 0xcccccccf },
{ 0x00000000, 0x00000002, 0xffffff83, 0x00000002 },
{ 0x00000000, 0x80008000, 0x00007ffe, 0x80008000 },
{ 0x00000000, 0x8000007d, 0x0000007d, 0x8000007d },
{ 0x00000000, 0xffffffe2, 0x00000002, 0xffffffe2 },
{ 0x00000000, 0x4cccccce, 0x80000001, 0x4cccccce },
{ 0x00000000, 0x0000807a, 0x00007ffd, 0x0000807a },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x80000000, 0x80007fff },
{ 0x00000000, 0x80000000, 0x80000000, 0x80000000 },
{ 0x00000000, 0x0000001f, 0xffffffff, 0x0000001f },
{ 0x00000000, 0x7fffff83, 0xffffff83, 0x7fffff83 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0xffffff60 },
{ 0x00000000, 0x7fff8004, 0xffff8001, 0x7fff8004 },
{ 0x00000000, 0x7fff8002, 0xffff8003, 0x7fff8002 },
{ 0x00000000, 0x7fff8001, 0x7fffffff, 0x7fff8001 },
{ 0x00000000, 0x80000003, 0x00000002, 0x80000003 },
{ 0x00000000, 0xffff8080, 0xffff8003, 0xffff8080 },
{ 0x00000000, 0x22222222, 0xcccccccc, 0x22222222 },
{ 0x00000000, 0xffffff01, 0xffffff80, 0xffffff01 },
{ 0x00000000, 0x80007ffc, 0x00007ffd, 0x80007ffc },
{ 0x00000000, 0x80008001, 0x80000001, 0x80008001 },
{ 0x00000000, 0xfffffffe, 0x00007ffd, 0xfffffffe },
{ 0x00000000, 0x00000001, 0x0000007f, 0x00000001 },
{ 0x00000000, 0x0000007b, 0x0000007d, 0x0000007b },
{ 0x00000000, 0xfffffffe, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0xffffff03, 0xffffff81, 0xffffff03 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7fff8003 },
{ 0x00000000, 0x00000002, 0x80000001, 0x00000002 },
{ 0x00000000, 0x80000082, 0x0000007f, 0x80000082 },
{ 0x00000000, 0x00000000, 0xffffff81, 0x00000000 },
{ 0x00000000, 0xfffffffc, 0xfffffffd, 0xfffffffc },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0xfffffffe },
{ 0x00000000, 0xd5555558, 0x55555555, 0xd5555558 },
{ 0x00000000, 0xaaaaab2a, 0x0000007f, 0xaaaaab2a },
{ 0x00000000, 0xaaaa2aae, 0xffff8003, 0xaaaa2aae },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0x5555d553 },
{ 0x00000000, 0x333332b5, 0x33333333, 0x333332b5 },
{ 0x00000000, 0x80000003, 0x80000001, 0x80000003 },
{ 0x00000000, 0xffff8002, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffa1 },
{ 0x00000000, 0x80000080, 0x0000007f, 0x80000080 },
{ 0x00000000, 0x0000807c, 0x0000007f, 0x0000807c },
{ 0x00000000, 0x0000807b, 0x00007ffd, 0x0000807b },
{ 0x00000000, 0xcccccccc, 0xffffffff, 0xcccccccc },
{ 0x00000000, 0xccccccec, 0xcccccccc, 0xccccccec },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0x8000007a },
{ 0x00000000, 0xcccccc4e, 0xcccccccc, 0xcccccc4e },
{ 0x00000000, 0xfffffffb, 0xfffffffd, 0xfffffffb },
{ 0x00000000, 0xcccc4ccd, 0xcccccccc, 0xcccc4ccd },
{ 0x00000000, 0x80008000, 0x00007fff, 0x80008000 },
{ 0x00000000, 0x33333353, 0x33333333, 0x33333353 },
{ 0x00000000, 0xfffffffe, 0x0000007d, 0xfffffffe },
{ 0x00000000, 0xffffff61, 0xffffffe0, 0xffffff61 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0xffff0001 },
{ 0x00000000, 0x80000000, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffd, 0x7ffffffd, 0x80007ffd },
{ 0x00000000, 0x333333b2, 0x0000007e, 0x333333b2 },
{ 0x00000000, 0xcccc4cd0, 0xffff8003, 0xcccc4cd0 },
{ 0x00000000, 0xaaaaaaad, 0x00000002, 0xaaaaaaad },
{ 0x00000000, 0x00000000, 0x00000001, 0x00000000 },
{ 0x00000000, 0x88888889, 0x33333333, 0x88888889 },
{ 0x00000000, 0x80000004, 0x00000001, 0x80000004 },
{ 0x00000000, 0xffff807e, 0xffff8000, 0xffff807e },
{ 0x00000000, 0x555554d8, 0x55555555, 0x555554d8 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0x80007ffe },
{ 0x00000000, 0x7fffffe1, 0xffffffe0, 0x7fffffe1 },
{ 0x00000000, 0x7fff8004, 0xffff8003, 0x7fff8004 },
{ 0x00000000, 0xaaaaab28, 0xaaaaaaaa, 0xaaaaab28 },
{ 0x00000000, 0xffffff83, 0xffffff80, 0xffffff83 },
{ 0x00000000, 0x00000004, 0x80000001, 0x00000004 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0x00007ffd },
{ 0x00000000, 0xffffff81, 0xffffff80, 0xffffff81 },
{ 0x00000000, 0xcccccd4c, 0xcccccccc, 0xcccccd4c },
{ 0x00000000, 0x5554d557, 0x55555555, 0x5554d557 },
{ 0x00000000, 0x00000000, 0xffff8000, 0x00000000 },
{ 0x00000000, 0xffff8001, 0xffff8000, 0xffff8001 },
{ 0x00000000, 0x8000007c, 0x0000007d, 0x8000007c },
{ 0x00000000, 0xffff8022, 0xffff8002, 0xffff8022 },
{ 0x00000000, 0xffffffe2, 0xffffffe0, 0xffffffe2 },
{ 0x00000000, 0x7fff8003, 0xffff8003, 0x7fff8003 },
{ 0x00000000, 0x7fffff80, 0xffffff81, 0x7fffff80 },
{ 0x00000000, 0x0000801e, 0x00007ffe, 0x0000801e },
};
const Inputs kOutputs_Sub_RdIsRm_al_r4_r9_r4[] = {
{ 0x00000000, 0x2aaaaaa9, 0x7ffffffe, 0x2aaaaaa9 },
{ 0x00000000, 0x00000003, 0x00000001, 0x00000003 },
{ 0x00000000, 0x00000000, 0xffffff82, 0x00000000 },
{ 0x00000000, 0x00000003, 0xffff8003, 0x00000003 },
{ 0x00000000, 0xffffffff, 0x00000000, 0xffffffff },
{ 0x00000000, 0x0000807e, 0x00007fff, 0x0000807e },
{ 0x00000000, 0xffff7f85, 0xffff8002, 0xffff7f85 },
{ 0x00000000, 0x7fff8000, 0xffff8000, 0x7fff8000 },
{ 0x00000000, 0x000000a0, 0x00000020, 0x000000a0 },
{ 0x00000000, 0xaaaaaa2c, 0xffffff81, 0xaaaaaa2c },
{ 0x00000000, 0xffff7f85, 0xffffff82, 0xffff7f85 },
{ 0x00000000, 0xaaab2aaa, 0x00007fff, 0xaaab2aaa },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7fff8003 },
{ 0x00000000, 0xffffff84, 0xffffff83, 0xffffff84 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3333b331, 0x33333333, 0x3333b331 },
{ 0x00000000, 0xaaaa2aad, 0xaaaaaaaa, 0xaaaa2aad },
{ 0x00000000, 0xaaaa2aab, 0xffff8000, 0xaaaa2aab },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x7ffffffe },
{ 0x00000000, 0xffffff06, 0xffffff83, 0xffffff06 },
{ 0x00000000, 0xffffff04, 0xffffff82, 0xffffff04 },
{ 0x00000000, 0x333333b1, 0x0000007d, 0x333333b1 },
{ 0x00000000, 0x00007ffd, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x000000fe, 0x0000007f, 0x000000fe },
{ 0x00000000, 0x00007f83, 0xffffff83, 0x00007f83 },
{ 0x00000000, 0xffffffe1, 0xffffffe0, 0xffffffe1 },
{ 0x00000000, 0x80000004, 0x80000001, 0x80000004 },
{ 0x00000000, 0x2aaaaaab, 0x80000000, 0x2aaaaaab },
{ 0x00000000, 0x0000807d, 0x0000007d, 0x0000807d },
{ 0x00000000, 0x5554d559, 0xffff8003, 0x5554d559 },
{ 0x00000000, 0x00007ffc, 0x00007ffd, 0x00007ffc },
{ 0x00000000, 0x7fffff80, 0x7ffffffe, 0x7fffff80 },
{ 0x00000000, 0x00007fdd, 0x00007ffd, 0x00007fdd },
{ 0x00000000, 0x8000007c, 0x7ffffffd, 0x8000007c },
{ 0x00000000, 0x000000fc, 0x0000007f, 0x000000fc },
{ 0x00000000, 0x0000007d, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x0000007b, 0xfffffffd, 0x0000007b },
{ 0x00000000, 0x80007ffb, 0x7ffffffe, 0x80007ffb },
{ 0x00000000, 0x00000000, 0x00000002, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff8001, 0xffff807e },
{ 0x00000000, 0x00007ffc, 0xfffffffe, 0x00007ffc },
{ 0x00000000, 0x00000001, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x7fffff82, 0xffffff81, 0x7fffff82 },
{ 0x00000000, 0xffffff61, 0xffffff81, 0xffffff61 },
{ 0x00000000, 0xffffff80, 0xffffffff, 0xffffff80 },
{ 0x00000000, 0xcccccc4f, 0xcccccccc, 0xcccccc4f },
{ 0x00000000, 0x5554d556, 0x55555555, 0x5554d556 },
{ 0x00000000, 0x0000fffa, 0x00007ffd, 0x0000fffa },
{ 0x00000000, 0x00000000, 0x80000001, 0x00000000 },
{ 0x00000000, 0xfffffffe, 0xfffffffd, 0xfffffffe },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0x00007ffe },
{ 0x00000000, 0x333333b3, 0x0000007f, 0x333333b3 },
{ 0x00000000, 0x00000001, 0x00000002, 0x00000001 },
{ 0x00000000, 0xffffffff, 0xffffff81, 0xffffffff },
{ 0x00000000, 0x00008000, 0x00007ffd, 0x00008000 },
{ 0x00000000, 0xb3333332, 0x33333333, 0xb3333332 },
{ 0x00000000, 0xffff8080, 0xffff8002, 0xffff8080 },
{ 0x00000000, 0x00007ffa, 0xfffffffd, 0x00007ffa },
{ 0x00000000, 0x0000009f, 0x00000020, 0x0000009f },
{ 0x00000000, 0x00000002, 0xffff8003, 0x00000002 },
{ 0x00000000, 0x80000000, 0x80000001, 0x80000000 },
{ 0x00000000, 0x00000005, 0x00000002, 0x00000005 },
{ 0x00000000, 0x80007ffa, 0x7ffffffd, 0x80007ffa },
{ 0x00000000, 0xaaaaaa2c, 0xaaaaaaaa, 0xaaaaaa2c },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x00000001 },
{ 0x00000000, 0x00000001, 0x00007ffe, 0x00000001 },
{ 0x00000000, 0x7fff8002, 0x80000001, 0x7fff8002 },
{ 0x00000000, 0xffff7fff, 0xfffffffe, 0xffff7fff },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0xffffff7f },
{ 0x00000000, 0x77777777, 0xcccccccc, 0x77777777 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7fffffe3 },
{ 0x00000000, 0x0000007d, 0xfffffffe, 0x0000007d },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0x0000807c },
{ 0x00000000, 0x8000007f, 0x80000001, 0x8000007f },
{ 0x00000000, 0xffff7f82, 0xffff8001, 0xffff7f82 },
{ 0x00000000, 0x7fffff86, 0xffffff83, 0x7fffff86 },
{ 0x00000000, 0xcccccd4a, 0xcccccccc, 0xcccccd4a },
{ 0x00000000, 0xffffff63, 0xffffff83, 0xffffff63 },
{ 0x00000000, 0x7fff8002, 0x80000000, 0x7fff8002 },
{ 0x00000000, 0xffff7f81, 0xffff8000, 0xffff7f81 },
{ 0x00000000, 0x333333b1, 0x33333333, 0x333333b1 },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0xffff8081, 0xffff8001, 0xffff8081 },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaaa, 0xaaaaaaa8 },
{ 0x00000000, 0x80000000, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0x00000001, 0xfffffffe, 0x00000001 },
{ 0x00000000, 0xffffffe1, 0x00000001, 0xffffffe1 },
{ 0x00000000, 0xaaaaaaac, 0x00000001, 0xaaaaaaac },
{ 0x00000000, 0xaaaaaa2b, 0xffffff80, 0xaaaaaa2b },
{ 0x00000000, 0x00008000, 0x00007fff, 0x00008000 },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0xaaaaaa8a },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00007ffc },
{ 0x00000000, 0xcccccccb, 0xcccccccc, 0xcccccccb },
{ 0x00000000, 0x00007fff, 0x00000000, 0x00007fff },
{ 0x00000000, 0xffff7fff, 0xffff8000, 0xffff7fff },
{ 0x00000000, 0x0000801f, 0x00007fff, 0x0000801f },
{ 0x00000000, 0x00008001, 0x00007fff, 0x00008001 },
{ 0x00000000, 0x0000007e, 0x00000001, 0x0000007e },
{ 0x00000000, 0xffff0003, 0xffff8002, 0xffff0003 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x2aaaaaa9 },
{ 0x00000000, 0x4ccccccb, 0xcccccccc, 0x4ccccccb },
{ 0x00000000, 0xffff7fe2, 0xffffffe0, 0xffff7fe2 },
{ 0x00000000, 0xffff7fff, 0xfffffffd, 0xffff7fff },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0x00000021, 0x00000001, 0x00000021 },
{ 0x00000000, 0x00007f81, 0x00007fff, 0x00007f81 },
{ 0x00000000, 0xffffffff, 0xfffffffd, 0xffffffff },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0xcccccd4a },
{ 0x00000000, 0x8000007e, 0x7fffffff, 0x8000007e },
{ 0x00000000, 0xffffffff, 0x0000007d, 0xffffffff },
{ 0x00000000, 0xffffff80, 0xffffff81, 0xffffff80 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000002 },
{ 0x00000000, 0xffff7f86, 0xffff8003, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x00007ffd, 0x80007fff },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x2aaaaaac },
{ 0x00000000, 0xffff8000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0xcccccccf, 0x00000002, 0xcccccccf },
{ 0x00000000, 0x00000002, 0xffffff83, 0x00000002 },
{ 0x00000000, 0x80008000, 0x00007ffe, 0x80008000 },
{ 0x00000000, 0x8000007d, 0x0000007d, 0x8000007d },
{ 0x00000000, 0xffffffe2, 0x00000002, 0xffffffe2 },
{ 0x00000000, 0x4cccccce, 0x80000001, 0x4cccccce },
{ 0x00000000, 0x0000807a, 0x00007ffd, 0x0000807a },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x80000000, 0x80007fff },
{ 0x00000000, 0x80000000, 0x80000000, 0x80000000 },
{ 0x00000000, 0x0000001f, 0xffffffff, 0x0000001f },
{ 0x00000000, 0x7fffff83, 0xffffff83, 0x7fffff83 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0xffffff60 },
{ 0x00000000, 0x7fff8004, 0xffff8001, 0x7fff8004 },
{ 0x00000000, 0x7fff8002, 0xffff8003, 0x7fff8002 },
{ 0x00000000, 0x7fff8001, 0x7fffffff, 0x7fff8001 },
{ 0x00000000, 0x80000003, 0x00000002, 0x80000003 },
{ 0x00000000, 0xffff8080, 0xffff8003, 0xffff8080 },
{ 0x00000000, 0x22222222, 0xcccccccc, 0x22222222 },
{ 0x00000000, 0xffffff01, 0xffffff80, 0xffffff01 },
{ 0x00000000, 0x80007ffc, 0x00007ffd, 0x80007ffc },
{ 0x00000000, 0x80008001, 0x80000001, 0x80008001 },
{ 0x00000000, 0xfffffffe, 0x00007ffd, 0xfffffffe },
{ 0x00000000, 0x00000001, 0x0000007f, 0x00000001 },
{ 0x00000000, 0x0000007b, 0x0000007d, 0x0000007b },
{ 0x00000000, 0xfffffffe, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0xffffff03, 0xffffff81, 0xffffff03 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7fff8003 },
{ 0x00000000, 0x00000002, 0x80000001, 0x00000002 },
{ 0x00000000, 0x80000082, 0x0000007f, 0x80000082 },
{ 0x00000000, 0x00000000, 0xffffff81, 0x00000000 },
{ 0x00000000, 0xfffffffc, 0xfffffffd, 0xfffffffc },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0xfffffffe },
{ 0x00000000, 0xd5555558, 0x55555555, 0xd5555558 },
{ 0x00000000, 0xaaaaab2a, 0x0000007f, 0xaaaaab2a },
{ 0x00000000, 0xaaaa2aae, 0xffff8003, 0xaaaa2aae },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0x5555d553 },
{ 0x00000000, 0x333332b5, 0x33333333, 0x333332b5 },
{ 0x00000000, 0x80000003, 0x80000001, 0x80000003 },
{ 0x00000000, 0xffff8002, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffa1 },
{ 0x00000000, 0x80000080, 0x0000007f, 0x80000080 },
{ 0x00000000, 0x0000807c, 0x0000007f, 0x0000807c },
{ 0x00000000, 0x0000807b, 0x00007ffd, 0x0000807b },
{ 0x00000000, 0xcccccccc, 0xffffffff, 0xcccccccc },
{ 0x00000000, 0xccccccec, 0xcccccccc, 0xccccccec },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0x8000007a },
{ 0x00000000, 0xcccccc4e, 0xcccccccc, 0xcccccc4e },
{ 0x00000000, 0xfffffffb, 0xfffffffd, 0xfffffffb },
{ 0x00000000, 0xcccc4ccd, 0xcccccccc, 0xcccc4ccd },
{ 0x00000000, 0x80008000, 0x00007fff, 0x80008000 },
{ 0x00000000, 0x33333353, 0x33333333, 0x33333353 },
{ 0x00000000, 0xfffffffe, 0x0000007d, 0xfffffffe },
{ 0x00000000, 0xffffff61, 0xffffffe0, 0xffffff61 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0xffff0001 },
{ 0x00000000, 0x80000000, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffd, 0x7ffffffd, 0x80007ffd },
{ 0x00000000, 0x333333b2, 0x0000007e, 0x333333b2 },
{ 0x00000000, 0xcccc4cd0, 0xffff8003, 0xcccc4cd0 },
{ 0x00000000, 0xaaaaaaad, 0x00000002, 0xaaaaaaad },
{ 0x00000000, 0x00000000, 0x00000001, 0x00000000 },
{ 0x00000000, 0x88888889, 0x33333333, 0x88888889 },
{ 0x00000000, 0x80000004, 0x00000001, 0x80000004 },
{ 0x00000000, 0xffff807e, 0xffff8000, 0xffff807e },
{ 0x00000000, 0x555554d8, 0x55555555, 0x555554d8 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0x80007ffe },
{ 0x00000000, 0x7fffffe1, 0xffffffe0, 0x7fffffe1 },
{ 0x00000000, 0x7fff8004, 0xffff8003, 0x7fff8004 },
{ 0x00000000, 0xaaaaab28, 0xaaaaaaaa, 0xaaaaab28 },
{ 0x00000000, 0xffffff83, 0xffffff80, 0xffffff83 },
{ 0x00000000, 0x00000004, 0x80000001, 0x00000004 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0x00007ffd },
{ 0x00000000, 0xffffff81, 0xffffff80, 0xffffff81 },
{ 0x00000000, 0xcccccd4c, 0xcccccccc, 0xcccccd4c },
{ 0x00000000, 0x5554d557, 0x55555555, 0x5554d557 },
{ 0x00000000, 0x00000000, 0xffff8000, 0x00000000 },
{ 0x00000000, 0xffff8001, 0xffff8000, 0xffff8001 },
{ 0x00000000, 0x8000007c, 0x0000007d, 0x8000007c },
{ 0x00000000, 0xffff8022, 0xffff8002, 0xffff8022 },
{ 0x00000000, 0xffffffe2, 0xffffffe0, 0xffffffe2 },
{ 0x00000000, 0x7fff8003, 0xffff8003, 0x7fff8003 },
{ 0x00000000, 0x7fffff80, 0xffffff81, 0x7fffff80 },
{ 0x00000000, 0x0000801e, 0x00007ffe, 0x0000801e },
};
const Inputs kOutputs_Sub_RdIsRm_al_r6_r10_r6[] = {
{ 0x00000000, 0x2aaaaaa9, 0x7ffffffe, 0x2aaaaaa9 },
{ 0x00000000, 0x00000003, 0x00000001, 0x00000003 },
{ 0x00000000, 0x00000000, 0xffffff82, 0x00000000 },
{ 0x00000000, 0x00000003, 0xffff8003, 0x00000003 },
{ 0x00000000, 0xffffffff, 0x00000000, 0xffffffff },
{ 0x00000000, 0x0000807e, 0x00007fff, 0x0000807e },
{ 0x00000000, 0xffff7f85, 0xffff8002, 0xffff7f85 },
{ 0x00000000, 0x7fff8000, 0xffff8000, 0x7fff8000 },
{ 0x00000000, 0x000000a0, 0x00000020, 0x000000a0 },
{ 0x00000000, 0xaaaaaa2c, 0xffffff81, 0xaaaaaa2c },
{ 0x00000000, 0xffff7f85, 0xffffff82, 0xffff7f85 },
{ 0x00000000, 0xaaab2aaa, 0x00007fff, 0xaaab2aaa },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7fff8003 },
{ 0x00000000, 0xffffff84, 0xffffff83, 0xffffff84 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3333b331, 0x33333333, 0x3333b331 },
{ 0x00000000, 0xaaaa2aad, 0xaaaaaaaa, 0xaaaa2aad },
{ 0x00000000, 0xaaaa2aab, 0xffff8000, 0xaaaa2aab },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x7ffffffe },
{ 0x00000000, 0xffffff06, 0xffffff83, 0xffffff06 },
{ 0x00000000, 0xffffff04, 0xffffff82, 0xffffff04 },
{ 0x00000000, 0x333333b1, 0x0000007d, 0x333333b1 },
{ 0x00000000, 0x00007ffd, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x000000fe, 0x0000007f, 0x000000fe },
{ 0x00000000, 0x00007f83, 0xffffff83, 0x00007f83 },
{ 0x00000000, 0xffffffe1, 0xffffffe0, 0xffffffe1 },
{ 0x00000000, 0x80000004, 0x80000001, 0x80000004 },
{ 0x00000000, 0x2aaaaaab, 0x80000000, 0x2aaaaaab },
{ 0x00000000, 0x0000807d, 0x0000007d, 0x0000807d },
{ 0x00000000, 0x5554d559, 0xffff8003, 0x5554d559 },
{ 0x00000000, 0x00007ffc, 0x00007ffd, 0x00007ffc },
{ 0x00000000, 0x7fffff80, 0x7ffffffe, 0x7fffff80 },
{ 0x00000000, 0x00007fdd, 0x00007ffd, 0x00007fdd },
{ 0x00000000, 0x8000007c, 0x7ffffffd, 0x8000007c },
{ 0x00000000, 0x000000fc, 0x0000007f, 0x000000fc },
{ 0x00000000, 0x0000007d, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x0000007b, 0xfffffffd, 0x0000007b },
{ 0x00000000, 0x80007ffb, 0x7ffffffe, 0x80007ffb },
{ 0x00000000, 0x00000000, 0x00000002, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff8001, 0xffff807e },
{ 0x00000000, 0x00007ffc, 0xfffffffe, 0x00007ffc },
{ 0x00000000, 0x00000001, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x7fffff82, 0xffffff81, 0x7fffff82 },
{ 0x00000000, 0xffffff61, 0xffffff81, 0xffffff61 },
{ 0x00000000, 0xffffff80, 0xffffffff, 0xffffff80 },
{ 0x00000000, 0xcccccc4f, 0xcccccccc, 0xcccccc4f },
{ 0x00000000, 0x5554d556, 0x55555555, 0x5554d556 },
{ 0x00000000, 0x0000fffa, 0x00007ffd, 0x0000fffa },
{ 0x00000000, 0x00000000, 0x80000001, 0x00000000 },
{ 0x00000000, 0xfffffffe, 0xfffffffd, 0xfffffffe },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0x00007ffe },
{ 0x00000000, 0x333333b3, 0x0000007f, 0x333333b3 },
{ 0x00000000, 0x00000001, 0x00000002, 0x00000001 },
{ 0x00000000, 0xffffffff, 0xffffff81, 0xffffffff },
{ 0x00000000, 0x00008000, 0x00007ffd, 0x00008000 },
{ 0x00000000, 0xb3333332, 0x33333333, 0xb3333332 },
{ 0x00000000, 0xffff8080, 0xffff8002, 0xffff8080 },
{ 0x00000000, 0x00007ffa, 0xfffffffd, 0x00007ffa },
{ 0x00000000, 0x0000009f, 0x00000020, 0x0000009f },
{ 0x00000000, 0x00000002, 0xffff8003, 0x00000002 },
{ 0x00000000, 0x80000000, 0x80000001, 0x80000000 },
{ 0x00000000, 0x00000005, 0x00000002, 0x00000005 },
{ 0x00000000, 0x80007ffa, 0x7ffffffd, 0x80007ffa },
{ 0x00000000, 0xaaaaaa2c, 0xaaaaaaaa, 0xaaaaaa2c },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x00000001 },
{ 0x00000000, 0x00000001, 0x00007ffe, 0x00000001 },
{ 0x00000000, 0x7fff8002, 0x80000001, 0x7fff8002 },
{ 0x00000000, 0xffff7fff, 0xfffffffe, 0xffff7fff },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0xffffff7f },
{ 0x00000000, 0x77777777, 0xcccccccc, 0x77777777 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7fffffe3 },
{ 0x00000000, 0x0000007d, 0xfffffffe, 0x0000007d },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0x0000807c },
{ 0x00000000, 0x8000007f, 0x80000001, 0x8000007f },
{ 0x00000000, 0xffff7f82, 0xffff8001, 0xffff7f82 },
{ 0x00000000, 0x7fffff86, 0xffffff83, 0x7fffff86 },
{ 0x00000000, 0xcccccd4a, 0xcccccccc, 0xcccccd4a },
{ 0x00000000, 0xffffff63, 0xffffff83, 0xffffff63 },
{ 0x00000000, 0x7fff8002, 0x80000000, 0x7fff8002 },
{ 0x00000000, 0xffff7f81, 0xffff8000, 0xffff7f81 },
{ 0x00000000, 0x333333b1, 0x33333333, 0x333333b1 },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0xffff8081, 0xffff8001, 0xffff8081 },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaaa, 0xaaaaaaa8 },
{ 0x00000000, 0x80000000, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0x00000001, 0xfffffffe, 0x00000001 },
{ 0x00000000, 0xffffffe1, 0x00000001, 0xffffffe1 },
{ 0x00000000, 0xaaaaaaac, 0x00000001, 0xaaaaaaac },
{ 0x00000000, 0xaaaaaa2b, 0xffffff80, 0xaaaaaa2b },
{ 0x00000000, 0x00008000, 0x00007fff, 0x00008000 },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0xaaaaaa8a },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00007ffc },
{ 0x00000000, 0xcccccccb, 0xcccccccc, 0xcccccccb },
{ 0x00000000, 0x00007fff, 0x00000000, 0x00007fff },
{ 0x00000000, 0xffff7fff, 0xffff8000, 0xffff7fff },
{ 0x00000000, 0x0000801f, 0x00007fff, 0x0000801f },
{ 0x00000000, 0x00008001, 0x00007fff, 0x00008001 },
{ 0x00000000, 0x0000007e, 0x00000001, 0x0000007e },
{ 0x00000000, 0xffff0003, 0xffff8002, 0xffff0003 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x2aaaaaa9 },
{ 0x00000000, 0x4ccccccb, 0xcccccccc, 0x4ccccccb },
{ 0x00000000, 0xffff7fe2, 0xffffffe0, 0xffff7fe2 },
{ 0x00000000, 0xffff7fff, 0xfffffffd, 0xffff7fff },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0x00000021, 0x00000001, 0x00000021 },
{ 0x00000000, 0x00007f81, 0x00007fff, 0x00007f81 },
{ 0x00000000, 0xffffffff, 0xfffffffd, 0xffffffff },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0xcccccd4a },
{ 0x00000000, 0x8000007e, 0x7fffffff, 0x8000007e },
{ 0x00000000, 0xffffffff, 0x0000007d, 0xffffffff },
{ 0x00000000, 0xffffff80, 0xffffff81, 0xffffff80 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000002 },
{ 0x00000000, 0xffff7f86, 0xffff8003, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x00007ffd, 0x80007fff },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x2aaaaaac },
{ 0x00000000, 0xffff8000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0xcccccccf, 0x00000002, 0xcccccccf },
{ 0x00000000, 0x00000002, 0xffffff83, 0x00000002 },
{ 0x00000000, 0x80008000, 0x00007ffe, 0x80008000 },
{ 0x00000000, 0x8000007d, 0x0000007d, 0x8000007d },
{ 0x00000000, 0xffffffe2, 0x00000002, 0xffffffe2 },
{ 0x00000000, 0x4cccccce, 0x80000001, 0x4cccccce },
{ 0x00000000, 0x0000807a, 0x00007ffd, 0x0000807a },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x80000000, 0x80007fff },
{ 0x00000000, 0x80000000, 0x80000000, 0x80000000 },
{ 0x00000000, 0x0000001f, 0xffffffff, 0x0000001f },
{ 0x00000000, 0x7fffff83, 0xffffff83, 0x7fffff83 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0xffffff60 },
{ 0x00000000, 0x7fff8004, 0xffff8001, 0x7fff8004 },
{ 0x00000000, 0x7fff8002, 0xffff8003, 0x7fff8002 },
{ 0x00000000, 0x7fff8001, 0x7fffffff, 0x7fff8001 },
{ 0x00000000, 0x80000003, 0x00000002, 0x80000003 },
{ 0x00000000, 0xffff8080, 0xffff8003, 0xffff8080 },
{ 0x00000000, 0x22222222, 0xcccccccc, 0x22222222 },
{ 0x00000000, 0xffffff01, 0xffffff80, 0xffffff01 },
{ 0x00000000, 0x80007ffc, 0x00007ffd, 0x80007ffc },
{ 0x00000000, 0x80008001, 0x80000001, 0x80008001 },
{ 0x00000000, 0xfffffffe, 0x00007ffd, 0xfffffffe },
{ 0x00000000, 0x00000001, 0x0000007f, 0x00000001 },
{ 0x00000000, 0x0000007b, 0x0000007d, 0x0000007b },
{ 0x00000000, 0xfffffffe, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0xffffff03, 0xffffff81, 0xffffff03 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7fff8003 },
{ 0x00000000, 0x00000002, 0x80000001, 0x00000002 },
{ 0x00000000, 0x80000082, 0x0000007f, 0x80000082 },
{ 0x00000000, 0x00000000, 0xffffff81, 0x00000000 },
{ 0x00000000, 0xfffffffc, 0xfffffffd, 0xfffffffc },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0xfffffffe },
{ 0x00000000, 0xd5555558, 0x55555555, 0xd5555558 },
{ 0x00000000, 0xaaaaab2a, 0x0000007f, 0xaaaaab2a },
{ 0x00000000, 0xaaaa2aae, 0xffff8003, 0xaaaa2aae },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0x5555d553 },
{ 0x00000000, 0x333332b5, 0x33333333, 0x333332b5 },
{ 0x00000000, 0x80000003, 0x80000001, 0x80000003 },
{ 0x00000000, 0xffff8002, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffa1 },
{ 0x00000000, 0x80000080, 0x0000007f, 0x80000080 },
{ 0x00000000, 0x0000807c, 0x0000007f, 0x0000807c },
{ 0x00000000, 0x0000807b, 0x00007ffd, 0x0000807b },
{ 0x00000000, 0xcccccccc, 0xffffffff, 0xcccccccc },
{ 0x00000000, 0xccccccec, 0xcccccccc, 0xccccccec },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0x8000007a },
{ 0x00000000, 0xcccccc4e, 0xcccccccc, 0xcccccc4e },
{ 0x00000000, 0xfffffffb, 0xfffffffd, 0xfffffffb },
{ 0x00000000, 0xcccc4ccd, 0xcccccccc, 0xcccc4ccd },
{ 0x00000000, 0x80008000, 0x00007fff, 0x80008000 },
{ 0x00000000, 0x33333353, 0x33333333, 0x33333353 },
{ 0x00000000, 0xfffffffe, 0x0000007d, 0xfffffffe },
{ 0x00000000, 0xffffff61, 0xffffffe0, 0xffffff61 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0xffff0001 },
{ 0x00000000, 0x80000000, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffd, 0x7ffffffd, 0x80007ffd },
{ 0x00000000, 0x333333b2, 0x0000007e, 0x333333b2 },
{ 0x00000000, 0xcccc4cd0, 0xffff8003, 0xcccc4cd0 },
{ 0x00000000, 0xaaaaaaad, 0x00000002, 0xaaaaaaad },
{ 0x00000000, 0x00000000, 0x00000001, 0x00000000 },
{ 0x00000000, 0x88888889, 0x33333333, 0x88888889 },
{ 0x00000000, 0x80000004, 0x00000001, 0x80000004 },
{ 0x00000000, 0xffff807e, 0xffff8000, 0xffff807e },
{ 0x00000000, 0x555554d8, 0x55555555, 0x555554d8 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0x80007ffe },
{ 0x00000000, 0x7fffffe1, 0xffffffe0, 0x7fffffe1 },
{ 0x00000000, 0x7fff8004, 0xffff8003, 0x7fff8004 },
{ 0x00000000, 0xaaaaab28, 0xaaaaaaaa, 0xaaaaab28 },
{ 0x00000000, 0xffffff83, 0xffffff80, 0xffffff83 },
{ 0x00000000, 0x00000004, 0x80000001, 0x00000004 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0x00007ffd },
{ 0x00000000, 0xffffff81, 0xffffff80, 0xffffff81 },
{ 0x00000000, 0xcccccd4c, 0xcccccccc, 0xcccccd4c },
{ 0x00000000, 0x5554d557, 0x55555555, 0x5554d557 },
{ 0x00000000, 0x00000000, 0xffff8000, 0x00000000 },
{ 0x00000000, 0xffff8001, 0xffff8000, 0xffff8001 },
{ 0x00000000, 0x8000007c, 0x0000007d, 0x8000007c },
{ 0x00000000, 0xffff8022, 0xffff8002, 0xffff8022 },
{ 0x00000000, 0xffffffe2, 0xffffffe0, 0xffffffe2 },
{ 0x00000000, 0x7fff8003, 0xffff8003, 0x7fff8003 },
{ 0x00000000, 0x7fffff80, 0xffffff81, 0x7fffff80 },
{ 0x00000000, 0x0000801e, 0x00007ffe, 0x0000801e },
};
const Inputs kOutputs_Sub_RdIsRm_al_r7_r6_r7[] = {
{ 0x00000000, 0x2aaaaaa9, 0x7ffffffe, 0x2aaaaaa9 },
{ 0x00000000, 0x00000003, 0x00000001, 0x00000003 },
{ 0x00000000, 0x00000000, 0xffffff82, 0x00000000 },
{ 0x00000000, 0x00000003, 0xffff8003, 0x00000003 },
{ 0x00000000, 0xffffffff, 0x00000000, 0xffffffff },
{ 0x00000000, 0x0000807e, 0x00007fff, 0x0000807e },
{ 0x00000000, 0xffff7f85, 0xffff8002, 0xffff7f85 },
{ 0x00000000, 0x7fff8000, 0xffff8000, 0x7fff8000 },
{ 0x00000000, 0x000000a0, 0x00000020, 0x000000a0 },
{ 0x00000000, 0xaaaaaa2c, 0xffffff81, 0xaaaaaa2c },
{ 0x00000000, 0xffff7f85, 0xffffff82, 0xffff7f85 },
{ 0x00000000, 0xaaab2aaa, 0x00007fff, 0xaaab2aaa },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7fff8003 },
{ 0x00000000, 0xffffff84, 0xffffff83, 0xffffff84 },
{ 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3333b331, 0x33333333, 0x3333b331 },
{ 0x00000000, 0xaaaa2aad, 0xaaaaaaaa, 0xaaaa2aad },
{ 0x00000000, 0xaaaa2aab, 0xffff8000, 0xaaaa2aab },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x7ffffffe },
{ 0x00000000, 0xffffff06, 0xffffff83, 0xffffff06 },
{ 0x00000000, 0xffffff04, 0xffffff82, 0xffffff04 },
{ 0x00000000, 0x333333b1, 0x0000007d, 0x333333b1 },
{ 0x00000000, 0x00007ffd, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x000000fe, 0x0000007f, 0x000000fe },
{ 0x00000000, 0x00007f83, 0xffffff83, 0x00007f83 },
{ 0x00000000, 0xffffffe1, 0xffffffe0, 0xffffffe1 },
{ 0x00000000, 0x80000004, 0x80000001, 0x80000004 },
{ 0x00000000, 0x2aaaaaab, 0x80000000, 0x2aaaaaab },
{ 0x00000000, 0x0000807d, 0x0000007d, 0x0000807d },
{ 0x00000000, 0x5554d559, 0xffff8003, 0x5554d559 },
{ 0x00000000, 0x00007ffc, 0x00007ffd, 0x00007ffc },
{ 0x00000000, 0x7fffff80, 0x7ffffffe, 0x7fffff80 },
{ 0x00000000, 0x00007fdd, 0x00007ffd, 0x00007fdd },
{ 0x00000000, 0x8000007c, 0x7ffffffd, 0x8000007c },
{ 0x00000000, 0x000000fc, 0x0000007f, 0x000000fc },
{ 0x00000000, 0x0000007d, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x0000007b, 0xfffffffd, 0x0000007b },
{ 0x00000000, 0x80007ffb, 0x7ffffffe, 0x80007ffb },
{ 0x00000000, 0x00000000, 0x00000002, 0x00000000 },
{ 0x00000000, 0xffff807e, 0xffff8001, 0xffff807e },
{ 0x00000000, 0x00007ffc, 0xfffffffe, 0x00007ffc },
{ 0x00000000, 0x00000001, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x7fffff82, 0xffffff81, 0x7fffff82 },
{ 0x00000000, 0xffffff61, 0xffffff81, 0xffffff61 },
{ 0x00000000, 0xffffff80, 0xffffffff, 0xffffff80 },
{ 0x00000000, 0xcccccc4f, 0xcccccccc, 0xcccccc4f },
{ 0x00000000, 0x5554d556, 0x55555555, 0x5554d556 },
{ 0x00000000, 0x0000fffa, 0x00007ffd, 0x0000fffa },
{ 0x00000000, 0x00000000, 0x80000001, 0x00000000 },
{ 0x00000000, 0xfffffffe, 0xfffffffd, 0xfffffffe },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0x00007ffe },
{ 0x00000000, 0x333333b3, 0x0000007f, 0x333333b3 },
{ 0x00000000, 0x00000001, 0x00000002, 0x00000001 },
{ 0x00000000, 0xffffffff, 0xffffff81, 0xffffffff },
{ 0x00000000, 0x00008000, 0x00007ffd, 0x00008000 },
{ 0x00000000, 0xb3333332, 0x33333333, 0xb3333332 },
{ 0x00000000, 0xffff8080, 0xffff8002, 0xffff8080 },
{ 0x00000000, 0x00007ffa, 0xfffffffd, 0x00007ffa },
{ 0x00000000, 0x0000009f, 0x00000020, 0x0000009f },
{ 0x00000000, 0x00000002, 0xffff8003, 0x00000002 },
{ 0x00000000, 0x80000000, 0x80000001, 0x80000000 },
{ 0x00000000, 0x00000005, 0x00000002, 0x00000005 },
{ 0x00000000, 0x80007ffa, 0x7ffffffd, 0x80007ffa },
{ 0x00000000, 0xaaaaaa2c, 0xaaaaaaaa, 0xaaaaaa2c },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x00000001 },
{ 0x00000000, 0x00000001, 0x00007ffe, 0x00000001 },
{ 0x00000000, 0x7fff8002, 0x80000001, 0x7fff8002 },
{ 0x00000000, 0xffff7fff, 0xfffffffe, 0xffff7fff },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0xffffff7f },
{ 0x00000000, 0x77777777, 0xcccccccc, 0x77777777 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7fffffe3 },
{ 0x00000000, 0x0000007d, 0xfffffffe, 0x0000007d },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0x0000807c },
{ 0x00000000, 0x8000007f, 0x80000001, 0x8000007f },
{ 0x00000000, 0xffff7f82, 0xffff8001, 0xffff7f82 },
{ 0x00000000, 0x7fffff86, 0xffffff83, 0x7fffff86 },
{ 0x00000000, 0xcccccd4a, 0xcccccccc, 0xcccccd4a },
{ 0x00000000, 0xffffff63, 0xffffff83, 0xffffff63 },
{ 0x00000000, 0x7fff8002, 0x80000000, 0x7fff8002 },
{ 0x00000000, 0xffff7f81, 0xffff8000, 0xffff7f81 },
{ 0x00000000, 0x333333b1, 0x33333333, 0x333333b1 },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0xffff8081, 0xffff8001, 0xffff8081 },
{ 0x00000000, 0xaaaaaaa8, 0xaaaaaaaa, 0xaaaaaaa8 },
{ 0x00000000, 0x80000000, 0x7fffffff, 0x80000000 },
{ 0x00000000, 0x00000001, 0xfffffffe, 0x00000001 },
{ 0x00000000, 0xffffffe1, 0x00000001, 0xffffffe1 },
{ 0x00000000, 0xaaaaaaac, 0x00000001, 0xaaaaaaac },
{ 0x00000000, 0xaaaaaa2b, 0xffffff80, 0xaaaaaa2b },
{ 0x00000000, 0x00008000, 0x00007fff, 0x00008000 },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0xaaaaaa8a },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00007ffc },
{ 0x00000000, 0xcccccccb, 0xcccccccc, 0xcccccccb },
{ 0x00000000, 0x00007fff, 0x00000000, 0x00007fff },
{ 0x00000000, 0xffff7fff, 0xffff8000, 0xffff7fff },
{ 0x00000000, 0x0000801f, 0x00007fff, 0x0000801f },
{ 0x00000000, 0x00008001, 0x00007fff, 0x00008001 },
{ 0x00000000, 0x0000007e, 0x00000001, 0x0000007e },
{ 0x00000000, 0xffff0003, 0xffff8002, 0xffff0003 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x2aaaaaa9 },
{ 0x00000000, 0x4ccccccb, 0xcccccccc, 0x4ccccccb },
{ 0x00000000, 0xffff7fe2, 0xffffffe0, 0xffff7fe2 },
{ 0x00000000, 0xffff7fff, 0xfffffffd, 0xffff7fff },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0x00000021, 0x00000001, 0x00000021 },
{ 0x00000000, 0x00007f81, 0x00007fff, 0x00007f81 },
{ 0x00000000, 0xffffffff, 0xfffffffd, 0xffffffff },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0xcccccd4a },
{ 0x00000000, 0x8000007e, 0x7fffffff, 0x8000007e },
{ 0x00000000, 0xffffffff, 0x0000007d, 0xffffffff },
{ 0x00000000, 0xffffff80, 0xffffff81, 0xffffff80 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000002 },
{ 0x00000000, 0xffff7f86, 0xffff8003, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x00007ffd, 0x80007fff },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x2aaaaaac },
{ 0x00000000, 0xffff8000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0xcccccccf, 0x00000002, 0xcccccccf },
{ 0x00000000, 0x00000002, 0xffffff83, 0x00000002 },
{ 0x00000000, 0x80008000, 0x00007ffe, 0x80008000 },
{ 0x00000000, 0x8000007d, 0x0000007d, 0x8000007d },
{ 0x00000000, 0xffffffe2, 0x00000002, 0xffffffe2 },
{ 0x00000000, 0x4cccccce, 0x80000001, 0x4cccccce },
{ 0x00000000, 0x0000807a, 0x00007ffd, 0x0000807a },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0xffff7f86 },
{ 0x00000000, 0x80007fff, 0x80000000, 0x80007fff },
{ 0x00000000, 0x80000000, 0x80000000, 0x80000000 },
{ 0x00000000, 0x0000001f, 0xffffffff, 0x0000001f },
{ 0x00000000, 0x7fffff83, 0xffffff83, 0x7fffff83 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0xffffff60 },
{ 0x00000000, 0x7fff8004, 0xffff8001, 0x7fff8004 },
{ 0x00000000, 0x7fff8002, 0xffff8003, 0x7fff8002 },
{ 0x00000000, 0x7fff8001, 0x7fffffff, 0x7fff8001 },
{ 0x00000000, 0x80000003, 0x00000002, 0x80000003 },
{ 0x00000000, 0xffff8080, 0xffff8003, 0xffff8080 },
{ 0x00000000, 0x22222222, 0xcccccccc, 0x22222222 },
{ 0x00000000, 0xffffff01, 0xffffff80, 0xffffff01 },
{ 0x00000000, 0x80007ffc, 0x00007ffd, 0x80007ffc },
{ 0x00000000, 0x80008001, 0x80000001, 0x80008001 },
{ 0x00000000, 0xfffffffe, 0x00007ffd, 0xfffffffe },
{ 0x00000000, 0x00000001, 0x0000007f, 0x00000001 },
{ 0x00000000, 0x0000007b, 0x0000007d, 0x0000007b },
{ 0x00000000, 0xfffffffe, 0x7fffffff, 0xfffffffe },
{ 0x00000000, 0xffffff03, 0xffffff81, 0xffffff03 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7fff8003 },
{ 0x00000000, 0x00000002, 0x80000001, 0x00000002 },
{ 0x00000000, 0x80000082, 0x0000007f, 0x80000082 },
{ 0x00000000, 0x00000000, 0xffffff81, 0x00000000 },
{ 0x00000000, 0xfffffffc, 0xfffffffd, 0xfffffffc },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0xfffffffe },
{ 0x00000000, 0xd5555558, 0x55555555, 0xd5555558 },
{ 0x00000000, 0xaaaaab2a, 0x0000007f, 0xaaaaab2a },
{ 0x00000000, 0xaaaa2aae, 0xffff8003, 0xaaaa2aae },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0x5555d553 },
{ 0x00000000, 0x333332b5, 0x33333333, 0x333332b5 },
{ 0x00000000, 0x80000003, 0x80000001, 0x80000003 },
{ 0x00000000, 0xffff8002, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffa1 },
{ 0x00000000, 0x80000080, 0x0000007f, 0x80000080 },
{ 0x00000000, 0x0000807c, 0x0000007f, 0x0000807c },
{ 0x00000000, 0x0000807b, 0x00007ffd, 0x0000807b },
{ 0x00000000, 0xcccccccc, 0xffffffff, 0xcccccccc },
{ 0x00000000, 0xccccccec, 0xcccccccc, 0xccccccec },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0x8000007a },
{ 0x00000000, 0xcccccc4e, 0xcccccccc, 0xcccccc4e },
{ 0x00000000, 0xfffffffb, 0xfffffffd, 0xfffffffb },
{ 0x00000000, 0xcccc4ccd, 0xcccccccc, 0xcccc4ccd },
{ 0x00000000, 0x80008000, 0x00007fff, 0x80008000 },
{ 0x00000000, 0x33333353, 0x33333333, 0x33333353 },
{ 0x00000000, 0xfffffffe, 0x0000007d, 0xfffffffe },
{ 0x00000000, 0xffffff61, 0xffffffe0, 0xffffff61 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0xffff0001 },
{ 0x00000000, 0x80000000, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffd, 0x7ffffffd, 0x80007ffd },
{ 0x00000000, 0x333333b2, 0x0000007e, 0x333333b2 },
{ 0x00000000, 0xcccc4cd0, 0xffff8003, 0xcccc4cd0 },
{ 0x00000000, 0xaaaaaaad, 0x00000002, 0xaaaaaaad },
{ 0x00000000, 0x00000000, 0x00000001, 0x00000000 },
{ 0x00000000, 0x88888889, 0x33333333, 0x88888889 },
{ 0x00000000, 0x80000004, 0x00000001, 0x80000004 },
{ 0x00000000, 0xffff807e, 0xffff8000, 0xffff807e },
{ 0x00000000, 0x555554d8, 0x55555555, 0x555554d8 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0x80007ffe },
{ 0x00000000, 0x7fffffe1, 0xffffffe0, 0x7fffffe1 },
{ 0x00000000, 0x7fff8004, 0xffff8003, 0x7fff8004 },
{ 0x00000000, 0xaaaaab28, 0xaaaaaaaa, 0xaaaaab28 },
{ 0x00000000, 0xffffff83, 0xffffff80, 0xffffff83 },
{ 0x00000000, 0x00000004, 0x80000001, 0x00000004 },
{ 0x00000000, 0x00007ffd, 0x00007ffd, 0x00007ffd },
{ 0x00000000, 0xffffff81, 0xffffff80, 0xffffff81 },
{ 0x00000000, 0xcccccd4c, 0xcccccccc, 0xcccccd4c },
{ 0x00000000, 0x5554d557, 0x55555555, 0x5554d557 },
{ 0x00000000, 0x00000000, 0xffff8000, 0x00000000 },
{ 0x00000000, 0xffff8001, 0xffff8000, 0xffff8001 },
{ 0x00000000, 0x8000007c, 0x0000007d, 0x8000007c },
{ 0x00000000, 0xffff8022, 0xffff8002, 0xffff8022 },
{ 0x00000000, 0xffffffe2, 0xffffffe0, 0xffffffe2 },
{ 0x00000000, 0x7fff8003, 0xffff8003, 0x7fff8003 },
{ 0x00000000, 0x7fffff80, 0xffffff81, 0x7fffff80 },
{ 0x00000000, 0x0000801e, 0x00007ffe, 0x0000801e },
};
const Inputs kOutputs_Sub_RdIsNotRnIsNotRm_al_r3_r9_r10[] = {
{ 0x00000000, 0x00000001, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x00008000, 0x00000002, 0xffff8002 },
{ 0x00000000, 0x80000001, 0x80000001, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff83, 0x00000002 },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x8000007f, 0x80000001, 0xffffff82 },
{ 0x00000000, 0x00007f80, 0x00007fff, 0x0000007f },
{ 0x00000000, 0x8000007f, 0x0000007d, 0x7ffffffe },
{ 0x00000000, 0x0000801e, 0x00000020, 0xffff8002 },
{ 0x00000000, 0x55555554, 0x55555555, 0x00000001 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0x2aaaaaa8, 0x7ffffffd, 0x55555555 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7ffffffe },
{ 0x00000000, 0x00007f80, 0xffffff83, 0xffff8003 },
{ 0x00000000, 0x0000005f, 0xffffffe0, 0xffffff81 },
{ 0x00000000, 0xffff7f83, 0xffff8001, 0x0000007e },
{ 0x00000000, 0x0000005e, 0x0000007e, 0x00000020 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0x7fffff85, 0xffffff82, 0x7ffffffd },
{ 0x00000000, 0x4ccccccd, 0xcccccccc, 0x7fffffff },
{ 0x00000000, 0x80000002, 0x80000001, 0xffffffff },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffe0 },
{ 0x00000000, 0xffffff84, 0xffffff81, 0xfffffffd },
{ 0x00000000, 0x00000000, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3332b334, 0xffff8000, 0xcccccccc },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0xffffff82 },
{ 0x00000000, 0x0000807a, 0x0000007d, 0xffff8003 },
{ 0x00000000, 0xffffff03, 0xffffff81, 0x0000007e },
{ 0x00000000, 0x7fffffff, 0x7ffffffd, 0xfffffffe },
{ 0x00000000, 0x80000080, 0x80000001, 0xffffff81 },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x80007ffc, 0x7fffffff, 0xffff8003 },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0x33333333 },
{ 0x00000000, 0xffff0002, 0xffff8000, 0x00007ffe },
{ 0x00000000, 0xffff7fe0, 0xffff8000, 0x00000020 },
{ 0x00000000, 0x0000801f, 0x00007fff, 0xffffffe0 },
{ 0x00000000, 0xffff8002, 0x00000000, 0x00007ffe },
{ 0x00000000, 0x33333332, 0x33333333, 0x00000001 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0x00007ffd },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x80000001 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x80000020, 0x00000020, 0x80000000 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x7ffffffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0xffffff83 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x00000001, 0x00007fff, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x7ffffffe },
{ 0x00000000, 0x0000801d, 0x00007ffd, 0xffffffe0 },
{ 0x00000000, 0x0000005d, 0xffffffe0, 0xffffff83 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7ffffffd },
{ 0x00000000, 0x7fff8002, 0xffff8002, 0x80000000 },
{ 0x00000000, 0x7fffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffe, 0x80000001, 0xffff8003 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x0000001d, 0xfffffffd, 0xffffffe0 },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xffff8004, 0xffff8003, 0xffffffff },
{ 0x00000000, 0x00007f82, 0xffffff82, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000000 },
{ 0x00000000, 0x00000001, 0xffffff82, 0xffffff81 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x80007fff, 0x00007ffe, 0x7fffffff },
{ 0x00000000, 0x555554d7, 0xffffff81, 0xaaaaaaaa },
{ 0x00000000, 0x0000007c, 0x0000007e, 0x00000002 },
{ 0x00000000, 0x000000fe, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x5555d554, 0x00007ffe, 0xaaaaaaaa },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0x00000081, 0x00000001, 0xffffff80 },
{ 0x00000000, 0xd5555554, 0x55555555, 0x80000001 },
{ 0x00000000, 0xffffff82, 0x00000000, 0x0000007e },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0xcccccccf, 0xcccccccc, 0xfffffffd },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7ffffffd },
{ 0x00000000, 0x7fff7fff, 0xffff8000, 0x80000001 },
{ 0x00000000, 0x00000002, 0xffff8003, 0xffff8001 },
{ 0x00000000, 0x80007ffd, 0x00007ffd, 0x80000000 },
{ 0x00000000, 0x3333b333, 0x00007fff, 0xcccccccc },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xd5555553, 0x7ffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f84, 0xffff8003, 0x0000007f },
{ 0x00000000, 0x00000001, 0xfffffffe, 0xfffffffd },
{ 0x00000000, 0xaaaaaaa9, 0xfffffffe, 0x55555555 },
{ 0x00000000, 0x00000000, 0xfffffffe, 0xfffffffe },
{ 0x00000000, 0xffff8000, 0xffffffff, 0x00007fff },
{ 0x00000000, 0xffff8081, 0x0000007e, 0x00007ffd },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x0000807c, 0x00007ffd, 0xffffff81 },
{ 0x00000000, 0x00000023, 0x00000020, 0xfffffffd },
{ 0x00000000, 0x000000fa, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0xd5555557, 0x55555555, 0x7ffffffe },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00000002 },
{ 0x00000000, 0x7fff8002, 0x7fffffff, 0x00007ffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x333333b0, 0x33333333, 0xffffff83 },
{ 0x00000000, 0x99999999, 0xcccccccc, 0x33333333 },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0x00000001 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x8000007b, 0x7ffffffe, 0xffffff83 },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x80008001, 0x00007fff, 0x7ffffffe },
{ 0x00000000, 0x5555d554, 0x55555555, 0xffff8001 },
{ 0x00000000, 0x00000080, 0x00000000, 0xffffff80 },
{ 0x00000000, 0x00007ffd, 0x00007fff, 0x00000002 },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0xffff7fe3, 0xffff8003, 0x00000020 },
{ 0x00000000, 0x7fff8003, 0xffff8002, 0x7fffffff },
{ 0x00000000, 0x55555555, 0x55555555, 0x00000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x7fff8003, 0x80000001, 0x00007ffe },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0x00000020 },
{ 0x00000000, 0xfffffffc, 0xfffffffe, 0x00000002 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x5555d555, 0x00007fff, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x80000080, 0x80000000, 0xffffff80 },
{ 0x00000000, 0x55555558, 0x55555555, 0xfffffffd },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0x00007f80, 0xffffff82, 0xffff8002 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0xffff8000 },
{ 0x00000000, 0xffff8083, 0xffff8003, 0xffffff80 },
{ 0x00000000, 0x00000040, 0x00000020, 0xffffffe0 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x80000004, 0x00000002, 0x7ffffffe },
{ 0x00000000, 0x000000fe, 0x0000007f, 0xffffff81 },
{ 0x00000000, 0x80000002, 0x00000001, 0x7fffffff },
{ 0x00000000, 0xcccccccd, 0x00000000, 0x33333333 },
{ 0x00000000, 0x333332b7, 0xffffff83, 0xcccccccc },
{ 0x00000000, 0xffff8023, 0x00000020, 0x00007ffd },
{ 0x00000000, 0xcccccccc, 0xcccccccc, 0x00000000 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0x00007fff },
{ 0x00000000, 0xcccc4cce, 0xcccccccc, 0x00007ffe },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0xffff8000 },
{ 0x00000000, 0xffffffe3, 0xffffffe0, 0xfffffffd },
{ 0x00000000, 0x33333336, 0x33333333, 0xfffffffd },
{ 0x00000000, 0x7fff8001, 0xffff8002, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffffff83, 0xffffff83 },
{ 0x00000000, 0xffff7fe2, 0xffff8002, 0x00000020 },
{ 0x00000000, 0x7fffff80, 0x7fffffff, 0x0000007f },
{ 0x00000000, 0xcccd4ccc, 0xcccccccc, 0xffff8000 },
{ 0x00000000, 0x7fff7fff, 0x7ffffffe, 0x00007fff },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x7ffffffd },
{ 0x00000000, 0x00007ffb, 0xfffffffd, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x00000002, 0x7fffffff },
{ 0x00000000, 0xffffffde, 0xfffffffe, 0x00000020 },
{ 0x00000000, 0xffff8080, 0x0000007e, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x0000007d, 0x0000007f, 0x00000002 },
{ 0x00000000, 0x00000003, 0x80000000, 0x7ffffffd },
{ 0x00000000, 0x80007ffe, 0x00007fff, 0x80000001 },
{ 0x00000000, 0xd5555556, 0x80000000, 0xaaaaaaaa },
{ 0x00000000, 0xaaab2aa9, 0xaaaaaaaa, 0xffff8001 },
{ 0x00000000, 0x00007fdd, 0xffffffe0, 0xffff8003 },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0xffffff80, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0xaaaaaaaa },
{ 0x00000000, 0xfffffffe, 0x7ffffffe, 0x80000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x0000807b, 0x0000007d, 0xffff8002 },
{ 0x00000000, 0x00000081, 0x00000002, 0xffffff81 },
{ 0x00000000, 0x80000000, 0xfffffffd, 0x7ffffffd },
{ 0x00000000, 0x000000a0, 0x00000020, 0xffffff80 },
{ 0x00000000, 0x8000001f, 0x7fffffff, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffff8002, 0x0000007f },
{ 0x00000000, 0x80007ffd, 0x7fffffff, 0xffff8002 },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xffffff62, 0xffffffe0, 0x0000007e },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0x0000807f, 0x0000007f, 0xffff8000 },
{ 0x00000000, 0x7fffff84, 0x80000001, 0x0000007d },
{ 0x00000000, 0xffff8082, 0x0000007f, 0x00007ffd },
{ 0x00000000, 0x0000005e, 0xffffffe0, 0xffffff82 },
{ 0x00000000, 0x0000807c, 0x0000007e, 0xffff8002 },
{ 0x00000000, 0x555554d6, 0x55555555, 0x0000007f },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x7ffffffe },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0xcccc4ccf, 0xffff8002, 0x33333333 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xaaab2aa9, 0x00007ffe, 0x55555555 },
{ 0x00000000, 0x0000001e, 0x00000020, 0x00000002 },
{ 0x00000000, 0xffff8004, 0xffff8002, 0xfffffffe },
{ 0x00000000, 0x80007fff, 0x80000001, 0xffff8002 },
{ 0x00000000, 0xcccccd4b, 0x0000007e, 0x33333333 },
};
const Inputs kOutputs_Sub_RdIsNotRnIsNotRm_al_r7_r12_r5[] = {
{ 0x00000000, 0x00000001, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x00008000, 0x00000002, 0xffff8002 },
{ 0x00000000, 0x80000001, 0x80000001, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff83, 0x00000002 },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x8000007f, 0x80000001, 0xffffff82 },
{ 0x00000000, 0x00007f80, 0x00007fff, 0x0000007f },
{ 0x00000000, 0x8000007f, 0x0000007d, 0x7ffffffe },
{ 0x00000000, 0x0000801e, 0x00000020, 0xffff8002 },
{ 0x00000000, 0x55555554, 0x55555555, 0x00000001 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0x2aaaaaa8, 0x7ffffffd, 0x55555555 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7ffffffe },
{ 0x00000000, 0x00007f80, 0xffffff83, 0xffff8003 },
{ 0x00000000, 0x0000005f, 0xffffffe0, 0xffffff81 },
{ 0x00000000, 0xffff7f83, 0xffff8001, 0x0000007e },
{ 0x00000000, 0x0000005e, 0x0000007e, 0x00000020 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0x7fffff85, 0xffffff82, 0x7ffffffd },
{ 0x00000000, 0x4ccccccd, 0xcccccccc, 0x7fffffff },
{ 0x00000000, 0x80000002, 0x80000001, 0xffffffff },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffe0 },
{ 0x00000000, 0xffffff84, 0xffffff81, 0xfffffffd },
{ 0x00000000, 0x00000000, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3332b334, 0xffff8000, 0xcccccccc },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0xffffff82 },
{ 0x00000000, 0x0000807a, 0x0000007d, 0xffff8003 },
{ 0x00000000, 0xffffff03, 0xffffff81, 0x0000007e },
{ 0x00000000, 0x7fffffff, 0x7ffffffd, 0xfffffffe },
{ 0x00000000, 0x80000080, 0x80000001, 0xffffff81 },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x80007ffc, 0x7fffffff, 0xffff8003 },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0x33333333 },
{ 0x00000000, 0xffff0002, 0xffff8000, 0x00007ffe },
{ 0x00000000, 0xffff7fe0, 0xffff8000, 0x00000020 },
{ 0x00000000, 0x0000801f, 0x00007fff, 0xffffffe0 },
{ 0x00000000, 0xffff8002, 0x00000000, 0x00007ffe },
{ 0x00000000, 0x33333332, 0x33333333, 0x00000001 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0x00007ffd },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x80000001 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x80000020, 0x00000020, 0x80000000 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x7ffffffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0xffffff83 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x00000001, 0x00007fff, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x7ffffffe },
{ 0x00000000, 0x0000801d, 0x00007ffd, 0xffffffe0 },
{ 0x00000000, 0x0000005d, 0xffffffe0, 0xffffff83 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7ffffffd },
{ 0x00000000, 0x7fff8002, 0xffff8002, 0x80000000 },
{ 0x00000000, 0x7fffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffe, 0x80000001, 0xffff8003 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x0000001d, 0xfffffffd, 0xffffffe0 },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xffff8004, 0xffff8003, 0xffffffff },
{ 0x00000000, 0x00007f82, 0xffffff82, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000000 },
{ 0x00000000, 0x00000001, 0xffffff82, 0xffffff81 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x80007fff, 0x00007ffe, 0x7fffffff },
{ 0x00000000, 0x555554d7, 0xffffff81, 0xaaaaaaaa },
{ 0x00000000, 0x0000007c, 0x0000007e, 0x00000002 },
{ 0x00000000, 0x000000fe, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x5555d554, 0x00007ffe, 0xaaaaaaaa },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0x00000081, 0x00000001, 0xffffff80 },
{ 0x00000000, 0xd5555554, 0x55555555, 0x80000001 },
{ 0x00000000, 0xffffff82, 0x00000000, 0x0000007e },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0xcccccccf, 0xcccccccc, 0xfffffffd },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7ffffffd },
{ 0x00000000, 0x7fff7fff, 0xffff8000, 0x80000001 },
{ 0x00000000, 0x00000002, 0xffff8003, 0xffff8001 },
{ 0x00000000, 0x80007ffd, 0x00007ffd, 0x80000000 },
{ 0x00000000, 0x3333b333, 0x00007fff, 0xcccccccc },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xd5555553, 0x7ffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f84, 0xffff8003, 0x0000007f },
{ 0x00000000, 0x00000001, 0xfffffffe, 0xfffffffd },
{ 0x00000000, 0xaaaaaaa9, 0xfffffffe, 0x55555555 },
{ 0x00000000, 0x00000000, 0xfffffffe, 0xfffffffe },
{ 0x00000000, 0xffff8000, 0xffffffff, 0x00007fff },
{ 0x00000000, 0xffff8081, 0x0000007e, 0x00007ffd },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x0000807c, 0x00007ffd, 0xffffff81 },
{ 0x00000000, 0x00000023, 0x00000020, 0xfffffffd },
{ 0x00000000, 0x000000fa, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0xd5555557, 0x55555555, 0x7ffffffe },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00000002 },
{ 0x00000000, 0x7fff8002, 0x7fffffff, 0x00007ffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x333333b0, 0x33333333, 0xffffff83 },
{ 0x00000000, 0x99999999, 0xcccccccc, 0x33333333 },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0x00000001 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x8000007b, 0x7ffffffe, 0xffffff83 },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x80008001, 0x00007fff, 0x7ffffffe },
{ 0x00000000, 0x5555d554, 0x55555555, 0xffff8001 },
{ 0x00000000, 0x00000080, 0x00000000, 0xffffff80 },
{ 0x00000000, 0x00007ffd, 0x00007fff, 0x00000002 },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0xffff7fe3, 0xffff8003, 0x00000020 },
{ 0x00000000, 0x7fff8003, 0xffff8002, 0x7fffffff },
{ 0x00000000, 0x55555555, 0x55555555, 0x00000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x7fff8003, 0x80000001, 0x00007ffe },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0x00000020 },
{ 0x00000000, 0xfffffffc, 0xfffffffe, 0x00000002 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x5555d555, 0x00007fff, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x80000080, 0x80000000, 0xffffff80 },
{ 0x00000000, 0x55555558, 0x55555555, 0xfffffffd },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0x00007f80, 0xffffff82, 0xffff8002 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0xffff8000 },
{ 0x00000000, 0xffff8083, 0xffff8003, 0xffffff80 },
{ 0x00000000, 0x00000040, 0x00000020, 0xffffffe0 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x80000004, 0x00000002, 0x7ffffffe },
{ 0x00000000, 0x000000fe, 0x0000007f, 0xffffff81 },
{ 0x00000000, 0x80000002, 0x00000001, 0x7fffffff },
{ 0x00000000, 0xcccccccd, 0x00000000, 0x33333333 },
{ 0x00000000, 0x333332b7, 0xffffff83, 0xcccccccc },
{ 0x00000000, 0xffff8023, 0x00000020, 0x00007ffd },
{ 0x00000000, 0xcccccccc, 0xcccccccc, 0x00000000 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0x00007fff },
{ 0x00000000, 0xcccc4cce, 0xcccccccc, 0x00007ffe },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0xffff8000 },
{ 0x00000000, 0xffffffe3, 0xffffffe0, 0xfffffffd },
{ 0x00000000, 0x33333336, 0x33333333, 0xfffffffd },
{ 0x00000000, 0x7fff8001, 0xffff8002, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffffff83, 0xffffff83 },
{ 0x00000000, 0xffff7fe2, 0xffff8002, 0x00000020 },
{ 0x00000000, 0x7fffff80, 0x7fffffff, 0x0000007f },
{ 0x00000000, 0xcccd4ccc, 0xcccccccc, 0xffff8000 },
{ 0x00000000, 0x7fff7fff, 0x7ffffffe, 0x00007fff },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x7ffffffd },
{ 0x00000000, 0x00007ffb, 0xfffffffd, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x00000002, 0x7fffffff },
{ 0x00000000, 0xffffffde, 0xfffffffe, 0x00000020 },
{ 0x00000000, 0xffff8080, 0x0000007e, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x0000007d, 0x0000007f, 0x00000002 },
{ 0x00000000, 0x00000003, 0x80000000, 0x7ffffffd },
{ 0x00000000, 0x80007ffe, 0x00007fff, 0x80000001 },
{ 0x00000000, 0xd5555556, 0x80000000, 0xaaaaaaaa },
{ 0x00000000, 0xaaab2aa9, 0xaaaaaaaa, 0xffff8001 },
{ 0x00000000, 0x00007fdd, 0xffffffe0, 0xffff8003 },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0xffffff80, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0xaaaaaaaa },
{ 0x00000000, 0xfffffffe, 0x7ffffffe, 0x80000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x0000807b, 0x0000007d, 0xffff8002 },
{ 0x00000000, 0x00000081, 0x00000002, 0xffffff81 },
{ 0x00000000, 0x80000000, 0xfffffffd, 0x7ffffffd },
{ 0x00000000, 0x000000a0, 0x00000020, 0xffffff80 },
{ 0x00000000, 0x8000001f, 0x7fffffff, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffff8002, 0x0000007f },
{ 0x00000000, 0x80007ffd, 0x7fffffff, 0xffff8002 },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xffffff62, 0xffffffe0, 0x0000007e },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0x0000807f, 0x0000007f, 0xffff8000 },
{ 0x00000000, 0x7fffff84, 0x80000001, 0x0000007d },
{ 0x00000000, 0xffff8082, 0x0000007f, 0x00007ffd },
{ 0x00000000, 0x0000005e, 0xffffffe0, 0xffffff82 },
{ 0x00000000, 0x0000807c, 0x0000007e, 0xffff8002 },
{ 0x00000000, 0x555554d6, 0x55555555, 0x0000007f },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x7ffffffe },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0xcccc4ccf, 0xffff8002, 0x33333333 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xaaab2aa9, 0x00007ffe, 0x55555555 },
{ 0x00000000, 0x0000001e, 0x00000020, 0x00000002 },
{ 0x00000000, 0xffff8004, 0xffff8002, 0xfffffffe },
{ 0x00000000, 0x80007fff, 0x80000001, 0xffff8002 },
{ 0x00000000, 0xcccccd4b, 0x0000007e, 0x33333333 },
};
const Inputs kOutputs_Sub_RdIsNotRnIsNotRm_al_r8_r5_r6[] = {
{ 0x00000000, 0x00000001, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x00008000, 0x00000002, 0xffff8002 },
{ 0x00000000, 0x80000001, 0x80000001, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff83, 0x00000002 },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x8000007f, 0x80000001, 0xffffff82 },
{ 0x00000000, 0x00007f80, 0x00007fff, 0x0000007f },
{ 0x00000000, 0x8000007f, 0x0000007d, 0x7ffffffe },
{ 0x00000000, 0x0000801e, 0x00000020, 0xffff8002 },
{ 0x00000000, 0x55555554, 0x55555555, 0x00000001 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0x2aaaaaa8, 0x7ffffffd, 0x55555555 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7ffffffe },
{ 0x00000000, 0x00007f80, 0xffffff83, 0xffff8003 },
{ 0x00000000, 0x0000005f, 0xffffffe0, 0xffffff81 },
{ 0x00000000, 0xffff7f83, 0xffff8001, 0x0000007e },
{ 0x00000000, 0x0000005e, 0x0000007e, 0x00000020 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0x7fffff85, 0xffffff82, 0x7ffffffd },
{ 0x00000000, 0x4ccccccd, 0xcccccccc, 0x7fffffff },
{ 0x00000000, 0x80000002, 0x80000001, 0xffffffff },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffe0 },
{ 0x00000000, 0xffffff84, 0xffffff81, 0xfffffffd },
{ 0x00000000, 0x00000000, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3332b334, 0xffff8000, 0xcccccccc },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0xffffff82 },
{ 0x00000000, 0x0000807a, 0x0000007d, 0xffff8003 },
{ 0x00000000, 0xffffff03, 0xffffff81, 0x0000007e },
{ 0x00000000, 0x7fffffff, 0x7ffffffd, 0xfffffffe },
{ 0x00000000, 0x80000080, 0x80000001, 0xffffff81 },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x80007ffc, 0x7fffffff, 0xffff8003 },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0x33333333 },
{ 0x00000000, 0xffff0002, 0xffff8000, 0x00007ffe },
{ 0x00000000, 0xffff7fe0, 0xffff8000, 0x00000020 },
{ 0x00000000, 0x0000801f, 0x00007fff, 0xffffffe0 },
{ 0x00000000, 0xffff8002, 0x00000000, 0x00007ffe },
{ 0x00000000, 0x33333332, 0x33333333, 0x00000001 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0x00007ffd },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x80000001 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x80000020, 0x00000020, 0x80000000 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x7ffffffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0xffffff83 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x00000001, 0x00007fff, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x7ffffffe },
{ 0x00000000, 0x0000801d, 0x00007ffd, 0xffffffe0 },
{ 0x00000000, 0x0000005d, 0xffffffe0, 0xffffff83 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7ffffffd },
{ 0x00000000, 0x7fff8002, 0xffff8002, 0x80000000 },
{ 0x00000000, 0x7fffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffe, 0x80000001, 0xffff8003 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x0000001d, 0xfffffffd, 0xffffffe0 },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xffff8004, 0xffff8003, 0xffffffff },
{ 0x00000000, 0x00007f82, 0xffffff82, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000000 },
{ 0x00000000, 0x00000001, 0xffffff82, 0xffffff81 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x80007fff, 0x00007ffe, 0x7fffffff },
{ 0x00000000, 0x555554d7, 0xffffff81, 0xaaaaaaaa },
{ 0x00000000, 0x0000007c, 0x0000007e, 0x00000002 },
{ 0x00000000, 0x000000fe, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x5555d554, 0x00007ffe, 0xaaaaaaaa },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0x00000081, 0x00000001, 0xffffff80 },
{ 0x00000000, 0xd5555554, 0x55555555, 0x80000001 },
{ 0x00000000, 0xffffff82, 0x00000000, 0x0000007e },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0xcccccccf, 0xcccccccc, 0xfffffffd },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7ffffffd },
{ 0x00000000, 0x7fff7fff, 0xffff8000, 0x80000001 },
{ 0x00000000, 0x00000002, 0xffff8003, 0xffff8001 },
{ 0x00000000, 0x80007ffd, 0x00007ffd, 0x80000000 },
{ 0x00000000, 0x3333b333, 0x00007fff, 0xcccccccc },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xd5555553, 0x7ffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f84, 0xffff8003, 0x0000007f },
{ 0x00000000, 0x00000001, 0xfffffffe, 0xfffffffd },
{ 0x00000000, 0xaaaaaaa9, 0xfffffffe, 0x55555555 },
{ 0x00000000, 0x00000000, 0xfffffffe, 0xfffffffe },
{ 0x00000000, 0xffff8000, 0xffffffff, 0x00007fff },
{ 0x00000000, 0xffff8081, 0x0000007e, 0x00007ffd },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x0000807c, 0x00007ffd, 0xffffff81 },
{ 0x00000000, 0x00000023, 0x00000020, 0xfffffffd },
{ 0x00000000, 0x000000fa, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0xd5555557, 0x55555555, 0x7ffffffe },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00000002 },
{ 0x00000000, 0x7fff8002, 0x7fffffff, 0x00007ffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x333333b0, 0x33333333, 0xffffff83 },
{ 0x00000000, 0x99999999, 0xcccccccc, 0x33333333 },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0x00000001 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x8000007b, 0x7ffffffe, 0xffffff83 },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x80008001, 0x00007fff, 0x7ffffffe },
{ 0x00000000, 0x5555d554, 0x55555555, 0xffff8001 },
{ 0x00000000, 0x00000080, 0x00000000, 0xffffff80 },
{ 0x00000000, 0x00007ffd, 0x00007fff, 0x00000002 },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0xffff7fe3, 0xffff8003, 0x00000020 },
{ 0x00000000, 0x7fff8003, 0xffff8002, 0x7fffffff },
{ 0x00000000, 0x55555555, 0x55555555, 0x00000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x7fff8003, 0x80000001, 0x00007ffe },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0x00000020 },
{ 0x00000000, 0xfffffffc, 0xfffffffe, 0x00000002 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x5555d555, 0x00007fff, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x80000080, 0x80000000, 0xffffff80 },
{ 0x00000000, 0x55555558, 0x55555555, 0xfffffffd },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0x00007f80, 0xffffff82, 0xffff8002 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0xffff8000 },
{ 0x00000000, 0xffff8083, 0xffff8003, 0xffffff80 },
{ 0x00000000, 0x00000040, 0x00000020, 0xffffffe0 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x80000004, 0x00000002, 0x7ffffffe },
{ 0x00000000, 0x000000fe, 0x0000007f, 0xffffff81 },
{ 0x00000000, 0x80000002, 0x00000001, 0x7fffffff },
{ 0x00000000, 0xcccccccd, 0x00000000, 0x33333333 },
{ 0x00000000, 0x333332b7, 0xffffff83, 0xcccccccc },
{ 0x00000000, 0xffff8023, 0x00000020, 0x00007ffd },
{ 0x00000000, 0xcccccccc, 0xcccccccc, 0x00000000 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0x00007fff },
{ 0x00000000, 0xcccc4cce, 0xcccccccc, 0x00007ffe },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0xffff8000 },
{ 0x00000000, 0xffffffe3, 0xffffffe0, 0xfffffffd },
{ 0x00000000, 0x33333336, 0x33333333, 0xfffffffd },
{ 0x00000000, 0x7fff8001, 0xffff8002, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffffff83, 0xffffff83 },
{ 0x00000000, 0xffff7fe2, 0xffff8002, 0x00000020 },
{ 0x00000000, 0x7fffff80, 0x7fffffff, 0x0000007f },
{ 0x00000000, 0xcccd4ccc, 0xcccccccc, 0xffff8000 },
{ 0x00000000, 0x7fff7fff, 0x7ffffffe, 0x00007fff },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x7ffffffd },
{ 0x00000000, 0x00007ffb, 0xfffffffd, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x00000002, 0x7fffffff },
{ 0x00000000, 0xffffffde, 0xfffffffe, 0x00000020 },
{ 0x00000000, 0xffff8080, 0x0000007e, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x0000007d, 0x0000007f, 0x00000002 },
{ 0x00000000, 0x00000003, 0x80000000, 0x7ffffffd },
{ 0x00000000, 0x80007ffe, 0x00007fff, 0x80000001 },
{ 0x00000000, 0xd5555556, 0x80000000, 0xaaaaaaaa },
{ 0x00000000, 0xaaab2aa9, 0xaaaaaaaa, 0xffff8001 },
{ 0x00000000, 0x00007fdd, 0xffffffe0, 0xffff8003 },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0xffffff80, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0xaaaaaaaa },
{ 0x00000000, 0xfffffffe, 0x7ffffffe, 0x80000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x0000807b, 0x0000007d, 0xffff8002 },
{ 0x00000000, 0x00000081, 0x00000002, 0xffffff81 },
{ 0x00000000, 0x80000000, 0xfffffffd, 0x7ffffffd },
{ 0x00000000, 0x000000a0, 0x00000020, 0xffffff80 },
{ 0x00000000, 0x8000001f, 0x7fffffff, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffff8002, 0x0000007f },
{ 0x00000000, 0x80007ffd, 0x7fffffff, 0xffff8002 },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xffffff62, 0xffffffe0, 0x0000007e },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0x0000807f, 0x0000007f, 0xffff8000 },
{ 0x00000000, 0x7fffff84, 0x80000001, 0x0000007d },
{ 0x00000000, 0xffff8082, 0x0000007f, 0x00007ffd },
{ 0x00000000, 0x0000005e, 0xffffffe0, 0xffffff82 },
{ 0x00000000, 0x0000807c, 0x0000007e, 0xffff8002 },
{ 0x00000000, 0x555554d6, 0x55555555, 0x0000007f },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x7ffffffe },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0xcccc4ccf, 0xffff8002, 0x33333333 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xaaab2aa9, 0x00007ffe, 0x55555555 },
{ 0x00000000, 0x0000001e, 0x00000020, 0x00000002 },
{ 0x00000000, 0xffff8004, 0xffff8002, 0xfffffffe },
{ 0x00000000, 0x80007fff, 0x80000001, 0xffff8002 },
{ 0x00000000, 0xcccccd4b, 0x0000007e, 0x33333333 },
};
const Inputs kOutputs_Sub_RdIsNotRnIsNotRm_al_r0_r6_r0[] = {
{ 0x00000000, 0x00000001, 0x0000007e, 0x00000001 },
{ 0x00000000, 0x00008000, 0x00000002, 0x00008000 },
{ 0x00000000, 0x80000001, 0x80000001, 0x80000001 },
{ 0x00000000, 0xffffff81, 0xffffff83, 0xffffff81 },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0xffffffde },
{ 0x00000000, 0x8000007f, 0x80000001, 0x8000007f },
{ 0x00000000, 0x00007f80, 0x00007fff, 0x00007f80 },
{ 0x00000000, 0x8000007f, 0x0000007d, 0x8000007f },
{ 0x00000000, 0x0000801e, 0x00000020, 0x0000801e },
{ 0x00000000, 0x55555554, 0x55555555, 0x55555554 },
{ 0x00000000, 0x33333333, 0x33333333, 0x33333333 },
{ 0x00000000, 0x2aaaaaa8, 0x7ffffffd, 0x2aaaaaa8 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7fff8003 },
{ 0x00000000, 0x00007f80, 0xffffff83, 0x00007f80 },
{ 0x00000000, 0x0000005f, 0xffffffe0, 0x0000005f },
{ 0x00000000, 0xffff7f83, 0xffff8001, 0xffff7f83 },
{ 0x00000000, 0x0000005e, 0x0000007e, 0x0000005e },
{ 0x00000000, 0x55555553, 0xfffffffd, 0x55555553 },
{ 0x00000000, 0x7fffff85, 0xffffff82, 0x7fffff85 },
{ 0x00000000, 0x4ccccccd, 0xcccccccc, 0x4ccccccd },
{ 0x00000000, 0x80000002, 0x80000001, 0x80000002 },
{ 0x00000000, 0x80000022, 0x00000020, 0x80000022 },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffa1 },
{ 0x00000000, 0xffffff84, 0xffffff81, 0xffffff84 },
{ 0x00000000, 0x00000000, 0xffffffff, 0x00000000 },
{ 0x00000000, 0x3332b334, 0xffff8000, 0x3332b334 },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0x0000807c },
{ 0x00000000, 0x0000807a, 0x0000007d, 0x0000807a },
{ 0x00000000, 0xffffff03, 0xffffff81, 0xffffff03 },
{ 0x00000000, 0x7fffffff, 0x7ffffffd, 0x7fffffff },
{ 0x00000000, 0x80000080, 0x80000001, 0x80000080 },
{ 0x00000000, 0x00008000, 0x00007ffd, 0x00008000 },
{ 0x00000000, 0x80007ffc, 0x7fffffff, 0x80007ffc },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0xcccccd4a },
{ 0x00000000, 0xffff0002, 0xffff8000, 0xffff0002 },
{ 0x00000000, 0xffff7fe0, 0xffff8000, 0xffff7fe0 },
{ 0x00000000, 0x0000801f, 0x00007fff, 0x0000801f },
{ 0x00000000, 0xffff8002, 0x00000000, 0xffff8002 },
{ 0x00000000, 0x33333332, 0x33333333, 0x33333332 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0xffffff60 },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0xffff7f86 },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x7ffffffe },
{ 0x00000000, 0x333332b5, 0xffffff81, 0x333332b5 },
{ 0x00000000, 0x0000807e, 0x0000007f, 0x0000807e },
{ 0x00000000, 0x80000020, 0x00000020, 0x80000020 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0x0000807f },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x00000001 },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0xfffffffe },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0x8000007a },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffff8021 },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0xffff7f83 },
{ 0x00000000, 0x00000001, 0x00007fff, 0x00000001 },
{ 0x00000000, 0x00008000, 0x00000000, 0x00008000 },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x2aaaaaac },
{ 0x00000000, 0x0000801d, 0x00007ffd, 0x0000801d },
{ 0x00000000, 0x0000005d, 0xffffffe0, 0x0000005d },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7fffffe3 },
{ 0x00000000, 0x7fff8002, 0xffff8002, 0x7fff8002 },
{ 0x00000000, 0x7fffffff, 0xffffffff, 0x7fffffff },
{ 0x00000000, 0x80007ffe, 0x80000001, 0x80007ffe },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xaaaaab29 },
{ 0x00000000, 0x0000001d, 0xfffffffd, 0x0000001d },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0xffff7f82 },
{ 0x00000000, 0xffff8004, 0xffff8003, 0xffff8004 },
{ 0x00000000, 0x00007f82, 0xffffff82, 0x00007f82 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000002 },
{ 0x00000000, 0x00000001, 0xffffff82, 0x00000001 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0xcccc4ccf },
{ 0x00000000, 0x80007fff, 0x00007ffe, 0x80007fff },
{ 0x00000000, 0x555554d7, 0xffffff81, 0x555554d7 },
{ 0x00000000, 0x0000007c, 0x0000007e, 0x0000007c },
{ 0x00000000, 0x000000fe, 0x0000007e, 0x000000fe },
{ 0x00000000, 0x5555d554, 0x00007ffe, 0x5555d554 },
{ 0x00000000, 0x5555d552, 0x55555555, 0x5555d552 },
{ 0x00000000, 0x00000081, 0x00000001, 0x00000081 },
{ 0x00000000, 0xd5555554, 0x55555555, 0xd5555554 },
{ 0x00000000, 0xffffff82, 0x00000000, 0xffffff82 },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0xaaaaaaaa },
{ 0x00000000, 0x333332b5, 0xffffff81, 0x333332b5 },
{ 0x00000000, 0xcccccccf, 0xcccccccc, 0xcccccccf },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7fff8003 },
{ 0x00000000, 0x7fff7fff, 0xffff8000, 0x7fff7fff },
{ 0x00000000, 0x00000002, 0xffff8003, 0x00000002 },
{ 0x00000000, 0x80007ffd, 0x00007ffd, 0x80007ffd },
{ 0x00000000, 0x3333b333, 0x00007fff, 0x3333b333 },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0xffff7f82 },
{ 0x00000000, 0xd5555553, 0x7ffffffd, 0xd5555553 },
{ 0x00000000, 0xffff7f84, 0xffff8003, 0xffff7f84 },
{ 0x00000000, 0x00000001, 0xfffffffe, 0x00000001 },
{ 0x00000000, 0xaaaaaaa9, 0xfffffffe, 0xaaaaaaa9 },
{ 0x00000000, 0x00000000, 0xfffffffe, 0x00000000 },
{ 0x00000000, 0xffff8000, 0xffffffff, 0xffff8000 },
{ 0x00000000, 0xffff8081, 0x0000007e, 0xffff8081 },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0xffffffde },
{ 0x00000000, 0x0000807c, 0x00007ffd, 0x0000807c },
{ 0x00000000, 0x00000023, 0x00000020, 0x00000023 },
{ 0x00000000, 0x000000fa, 0x0000007d, 0x000000fa },
{ 0x00000000, 0xd5555557, 0x55555555, 0xd5555557 },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00007ffc },
{ 0x00000000, 0x7fff8002, 0x7fffffff, 0x7fff8002 },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0xfffffffe },
{ 0x00000000, 0x333333b0, 0x33333333, 0x333333b0 },
{ 0x00000000, 0x99999999, 0xcccccccc, 0x99999999 },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0xffffff7f },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0xcccc4ccf },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7fffffff },
{ 0x00000000, 0x8000007b, 0x7ffffffe, 0x8000007b },
{ 0x00000000, 0x0000807e, 0x0000007f, 0x0000807e },
{ 0x00000000, 0x0000807f, 0x00007fff, 0x0000807f },
{ 0x00000000, 0x80008001, 0x00007fff, 0x80008001 },
{ 0x00000000, 0x5555d554, 0x55555555, 0x5555d554 },
{ 0x00000000, 0x00000080, 0x00000000, 0x00000080 },
{ 0x00000000, 0x00007ffd, 0x00007fff, 0x00007ffd },
{ 0x00000000, 0x5555d552, 0x55555555, 0x5555d552 },
{ 0x00000000, 0xffff7fe3, 0xffff8003, 0xffff7fe3 },
{ 0x00000000, 0x7fff8003, 0xffff8002, 0x7fff8003 },
{ 0x00000000, 0x55555555, 0x55555555, 0x55555555 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0x0000807d },
{ 0x00000000, 0x7fff8003, 0x80000001, 0x7fff8003 },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0xaaaaaa8a },
{ 0x00000000, 0xfffffffc, 0xfffffffe, 0xfffffffc },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xfffffffe },
{ 0x00000000, 0x5555d555, 0x00007fff, 0x5555d555 },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0xffff7f83 },
{ 0x00000000, 0x80000080, 0x80000000, 0x80000080 },
{ 0x00000000, 0x55555558, 0x55555555, 0x55555558 },
{ 0x00000000, 0xffff8002, 0xffffffff, 0xffff8002 },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0x0000007e },
{ 0x00000000, 0x00007f80, 0xffffff82, 0x00007f80 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0x80007ffe },
{ 0x00000000, 0xffff8083, 0xffff8003, 0xffff8083 },
{ 0x00000000, 0x00000040, 0x00000020, 0x00000040 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffff8021 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xfffffffe },
{ 0x00000000, 0x80000004, 0x00000002, 0x80000004 },
{ 0x00000000, 0x000000fe, 0x0000007f, 0x000000fe },
{ 0x00000000, 0x80000002, 0x00000001, 0x80000002 },
{ 0x00000000, 0xcccccccd, 0x00000000, 0xcccccccd },
{ 0x00000000, 0x333332b7, 0xffffff83, 0x333332b7 },
{ 0x00000000, 0xffff8023, 0x00000020, 0xffff8023 },
{ 0x00000000, 0xcccccccc, 0xcccccccc, 0xcccccccc },
{ 0x00000000, 0xffff0001, 0xffff8000, 0xffff0001 },
{ 0x00000000, 0xcccc4cce, 0xcccccccc, 0xcccc4cce },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7fffffff },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xaaaaab29 },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0x00007ffe },
{ 0x00000000, 0xffffffe3, 0xffffffe0, 0xffffffe3 },
{ 0x00000000, 0x33333336, 0x33333333, 0x33333336 },
{ 0x00000000, 0x7fff8001, 0xffff8002, 0x7fff8001 },
{ 0x00000000, 0x00000000, 0xffffff83, 0x00000000 },
{ 0x00000000, 0xffff7fe2, 0xffff8002, 0xffff7fe2 },
{ 0x00000000, 0x7fffff80, 0x7fffffff, 0x7fffff80 },
{ 0x00000000, 0xcccd4ccc, 0xcccccccc, 0xcccd4ccc },
{ 0x00000000, 0x7fff7fff, 0x7ffffffe, 0x7fff7fff },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x00000000 },
{ 0x00000000, 0x00007ffb, 0xfffffffd, 0x00007ffb },
{ 0x00000000, 0x80000003, 0x00000002, 0x80000003 },
{ 0x00000000, 0xffffffde, 0xfffffffe, 0xffffffde },
{ 0x00000000, 0xffff8080, 0x0000007e, 0xffff8080 },
{ 0x00000000, 0x00008000, 0x00007ffd, 0x00008000 },
{ 0x00000000, 0x0000007d, 0x0000007f, 0x0000007d },
{ 0x00000000, 0x00000003, 0x80000000, 0x00000003 },
{ 0x00000000, 0x80007ffe, 0x00007fff, 0x80007ffe },
{ 0x00000000, 0xd5555556, 0x80000000, 0xd5555556 },
{ 0x00000000, 0xaaab2aa9, 0xaaaaaaaa, 0xaaab2aa9 },
{ 0x00000000, 0x00007fdd, 0xffffffe0, 0x00007fdd },
{ 0x00000000, 0xffff8002, 0xffffffff, 0xffff8002 },
{ 0x00000000, 0xffffff80, 0xffffff81, 0xffffff80 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x2aaaaaa9 },
{ 0x00000000, 0x00000000, 0xffff8000, 0x00000000 },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0x5555d553 },
{ 0x00000000, 0xfffffffe, 0x7ffffffe, 0xfffffffe },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0x0000807d },
{ 0x00000000, 0x0000807b, 0x0000007d, 0x0000807b },
{ 0x00000000, 0x00000081, 0x00000002, 0x00000081 },
{ 0x00000000, 0x80000000, 0xfffffffd, 0x80000000 },
{ 0x00000000, 0x000000a0, 0x00000020, 0x000000a0 },
{ 0x00000000, 0x8000001f, 0x7fffffff, 0x8000001f },
{ 0x00000000, 0xffff7f83, 0xffff8002, 0xffff7f83 },
{ 0x00000000, 0x80007ffd, 0x7fffffff, 0x80007ffd },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0xffffffdd },
{ 0x00000000, 0xffffff62, 0xffffffe0, 0xffffff62 },
{ 0x00000000, 0x80000022, 0x00000020, 0x80000022 },
{ 0x00000000, 0x0000807f, 0x0000007f, 0x0000807f },
{ 0x00000000, 0x7fffff84, 0x80000001, 0x7fffff84 },
{ 0x00000000, 0xffff8082, 0x0000007f, 0xffff8082 },
{ 0x00000000, 0x0000005e, 0xffffffe0, 0x0000005e },
{ 0x00000000, 0x0000807c, 0x0000007e, 0x0000807c },
{ 0x00000000, 0x555554d6, 0x55555555, 0x555554d6 },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x00000001 },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0x0000007e },
{ 0x00000000, 0xcccc4ccf, 0xffff8002, 0xcccc4ccf },
{ 0x00000000, 0x55555553, 0xfffffffd, 0x55555553 },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0xffffffdd },
{ 0x00000000, 0xaaab2aa9, 0x00007ffe, 0xaaab2aa9 },
{ 0x00000000, 0x0000001e, 0x00000020, 0x0000001e },
{ 0x00000000, 0xffff8004, 0xffff8002, 0xffff8004 },
{ 0x00000000, 0x80007fff, 0x80000001, 0x80007fff },
{ 0x00000000, 0xcccccd4b, 0x0000007e, 0xcccccd4b },
};
const Inputs kOutputs_Sub_RdIsNotRnIsNotRm_al_r11_r7_r8[] = {
{ 0x00000000, 0x00000001, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x00008000, 0x00000002, 0xffff8002 },
{ 0x00000000, 0x80000001, 0x80000001, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff83, 0x00000002 },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x8000007f, 0x80000001, 0xffffff82 },
{ 0x00000000, 0x00007f80, 0x00007fff, 0x0000007f },
{ 0x00000000, 0x8000007f, 0x0000007d, 0x7ffffffe },
{ 0x00000000, 0x0000801e, 0x00000020, 0xffff8002 },
{ 0x00000000, 0x55555554, 0x55555555, 0x00000001 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0x2aaaaaa8, 0x7ffffffd, 0x55555555 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7ffffffe },
{ 0x00000000, 0x00007f80, 0xffffff83, 0xffff8003 },
{ 0x00000000, 0x0000005f, 0xffffffe0, 0xffffff81 },
{ 0x00000000, 0xffff7f83, 0xffff8001, 0x0000007e },
{ 0x00000000, 0x0000005e, 0x0000007e, 0x00000020 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0x7fffff85, 0xffffff82, 0x7ffffffd },
{ 0x00000000, 0x4ccccccd, 0xcccccccc, 0x7fffffff },
{ 0x00000000, 0x80000002, 0x80000001, 0xffffffff },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffe0 },
{ 0x00000000, 0xffffff84, 0xffffff81, 0xfffffffd },
{ 0x00000000, 0x00000000, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3332b334, 0xffff8000, 0xcccccccc },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0xffffff82 },
{ 0x00000000, 0x0000807a, 0x0000007d, 0xffff8003 },
{ 0x00000000, 0xffffff03, 0xffffff81, 0x0000007e },
{ 0x00000000, 0x7fffffff, 0x7ffffffd, 0xfffffffe },
{ 0x00000000, 0x80000080, 0x80000001, 0xffffff81 },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x80007ffc, 0x7fffffff, 0xffff8003 },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0x33333333 },
{ 0x00000000, 0xffff0002, 0xffff8000, 0x00007ffe },
{ 0x00000000, 0xffff7fe0, 0xffff8000, 0x00000020 },
{ 0x00000000, 0x0000801f, 0x00007fff, 0xffffffe0 },
{ 0x00000000, 0xffff8002, 0x00000000, 0x00007ffe },
{ 0x00000000, 0x33333332, 0x33333333, 0x00000001 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0x00007ffd },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x80000001 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x80000020, 0x00000020, 0x80000000 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x7ffffffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0xffffff83 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x00000001, 0x00007fff, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x7ffffffe },
{ 0x00000000, 0x0000801d, 0x00007ffd, 0xffffffe0 },
{ 0x00000000, 0x0000005d, 0xffffffe0, 0xffffff83 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7ffffffd },
{ 0x00000000, 0x7fff8002, 0xffff8002, 0x80000000 },
{ 0x00000000, 0x7fffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffe, 0x80000001, 0xffff8003 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x0000001d, 0xfffffffd, 0xffffffe0 },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xffff8004, 0xffff8003, 0xffffffff },
{ 0x00000000, 0x00007f82, 0xffffff82, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000000 },
{ 0x00000000, 0x00000001, 0xffffff82, 0xffffff81 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x80007fff, 0x00007ffe, 0x7fffffff },
{ 0x00000000, 0x555554d7, 0xffffff81, 0xaaaaaaaa },
{ 0x00000000, 0x0000007c, 0x0000007e, 0x00000002 },
{ 0x00000000, 0x000000fe, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x5555d554, 0x00007ffe, 0xaaaaaaaa },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0x00000081, 0x00000001, 0xffffff80 },
{ 0x00000000, 0xd5555554, 0x55555555, 0x80000001 },
{ 0x00000000, 0xffffff82, 0x00000000, 0x0000007e },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0xcccccccf, 0xcccccccc, 0xfffffffd },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7ffffffd },
{ 0x00000000, 0x7fff7fff, 0xffff8000, 0x80000001 },
{ 0x00000000, 0x00000002, 0xffff8003, 0xffff8001 },
{ 0x00000000, 0x80007ffd, 0x00007ffd, 0x80000000 },
{ 0x00000000, 0x3333b333, 0x00007fff, 0xcccccccc },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xd5555553, 0x7ffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f84, 0xffff8003, 0x0000007f },
{ 0x00000000, 0x00000001, 0xfffffffe, 0xfffffffd },
{ 0x00000000, 0xaaaaaaa9, 0xfffffffe, 0x55555555 },
{ 0x00000000, 0x00000000, 0xfffffffe, 0xfffffffe },
{ 0x00000000, 0xffff8000, 0xffffffff, 0x00007fff },
{ 0x00000000, 0xffff8081, 0x0000007e, 0x00007ffd },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x0000807c, 0x00007ffd, 0xffffff81 },
{ 0x00000000, 0x00000023, 0x00000020, 0xfffffffd },
{ 0x00000000, 0x000000fa, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0xd5555557, 0x55555555, 0x7ffffffe },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00000002 },
{ 0x00000000, 0x7fff8002, 0x7fffffff, 0x00007ffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x333333b0, 0x33333333, 0xffffff83 },
{ 0x00000000, 0x99999999, 0xcccccccc, 0x33333333 },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0x00000001 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x8000007b, 0x7ffffffe, 0xffffff83 },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x80008001, 0x00007fff, 0x7ffffffe },
{ 0x00000000, 0x5555d554, 0x55555555, 0xffff8001 },
{ 0x00000000, 0x00000080, 0x00000000, 0xffffff80 },
{ 0x00000000, 0x00007ffd, 0x00007fff, 0x00000002 },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0xffff7fe3, 0xffff8003, 0x00000020 },
{ 0x00000000, 0x7fff8003, 0xffff8002, 0x7fffffff },
{ 0x00000000, 0x55555555, 0x55555555, 0x00000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x7fff8003, 0x80000001, 0x00007ffe },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0x00000020 },
{ 0x00000000, 0xfffffffc, 0xfffffffe, 0x00000002 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x5555d555, 0x00007fff, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x80000080, 0x80000000, 0xffffff80 },
{ 0x00000000, 0x55555558, 0x55555555, 0xfffffffd },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0x00007f80, 0xffffff82, 0xffff8002 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0xffff8000 },
{ 0x00000000, 0xffff8083, 0xffff8003, 0xffffff80 },
{ 0x00000000, 0x00000040, 0x00000020, 0xffffffe0 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x80000004, 0x00000002, 0x7ffffffe },
{ 0x00000000, 0x000000fe, 0x0000007f, 0xffffff81 },
{ 0x00000000, 0x80000002, 0x00000001, 0x7fffffff },
{ 0x00000000, 0xcccccccd, 0x00000000, 0x33333333 },
{ 0x00000000, 0x333332b7, 0xffffff83, 0xcccccccc },
{ 0x00000000, 0xffff8023, 0x00000020, 0x00007ffd },
{ 0x00000000, 0xcccccccc, 0xcccccccc, 0x00000000 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0x00007fff },
{ 0x00000000, 0xcccc4cce, 0xcccccccc, 0x00007ffe },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0xffff8000 },
{ 0x00000000, 0xffffffe3, 0xffffffe0, 0xfffffffd },
{ 0x00000000, 0x33333336, 0x33333333, 0xfffffffd },
{ 0x00000000, 0x7fff8001, 0xffff8002, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffffff83, 0xffffff83 },
{ 0x00000000, 0xffff7fe2, 0xffff8002, 0x00000020 },
{ 0x00000000, 0x7fffff80, 0x7fffffff, 0x0000007f },
{ 0x00000000, 0xcccd4ccc, 0xcccccccc, 0xffff8000 },
{ 0x00000000, 0x7fff7fff, 0x7ffffffe, 0x00007fff },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x7ffffffd },
{ 0x00000000, 0x00007ffb, 0xfffffffd, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x00000002, 0x7fffffff },
{ 0x00000000, 0xffffffde, 0xfffffffe, 0x00000020 },
{ 0x00000000, 0xffff8080, 0x0000007e, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x0000007d, 0x0000007f, 0x00000002 },
{ 0x00000000, 0x00000003, 0x80000000, 0x7ffffffd },
{ 0x00000000, 0x80007ffe, 0x00007fff, 0x80000001 },
{ 0x00000000, 0xd5555556, 0x80000000, 0xaaaaaaaa },
{ 0x00000000, 0xaaab2aa9, 0xaaaaaaaa, 0xffff8001 },
{ 0x00000000, 0x00007fdd, 0xffffffe0, 0xffff8003 },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0xffffff80, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0xaaaaaaaa },
{ 0x00000000, 0xfffffffe, 0x7ffffffe, 0x80000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x0000807b, 0x0000007d, 0xffff8002 },
{ 0x00000000, 0x00000081, 0x00000002, 0xffffff81 },
{ 0x00000000, 0x80000000, 0xfffffffd, 0x7ffffffd },
{ 0x00000000, 0x000000a0, 0x00000020, 0xffffff80 },
{ 0x00000000, 0x8000001f, 0x7fffffff, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffff8002, 0x0000007f },
{ 0x00000000, 0x80007ffd, 0x7fffffff, 0xffff8002 },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xffffff62, 0xffffffe0, 0x0000007e },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0x0000807f, 0x0000007f, 0xffff8000 },
{ 0x00000000, 0x7fffff84, 0x80000001, 0x0000007d },
{ 0x00000000, 0xffff8082, 0x0000007f, 0x00007ffd },
{ 0x00000000, 0x0000005e, 0xffffffe0, 0xffffff82 },
{ 0x00000000, 0x0000807c, 0x0000007e, 0xffff8002 },
{ 0x00000000, 0x555554d6, 0x55555555, 0x0000007f },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x7ffffffe },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0xcccc4ccf, 0xffff8002, 0x33333333 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xaaab2aa9, 0x00007ffe, 0x55555555 },
{ 0x00000000, 0x0000001e, 0x00000020, 0x00000002 },
{ 0x00000000, 0xffff8004, 0xffff8002, 0xfffffffe },
{ 0x00000000, 0x80007fff, 0x80000001, 0xffff8002 },
{ 0x00000000, 0xcccccd4b, 0x0000007e, 0x33333333 },
};
const Inputs kOutputs_Sub_RdIsNotRnIsNotRm_al_r12_r2_r3[] = {
{ 0x00000000, 0x00000001, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x00008000, 0x00000002, 0xffff8002 },
{ 0x00000000, 0x80000001, 0x80000001, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff83, 0x00000002 },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x8000007f, 0x80000001, 0xffffff82 },
{ 0x00000000, 0x00007f80, 0x00007fff, 0x0000007f },
{ 0x00000000, 0x8000007f, 0x0000007d, 0x7ffffffe },
{ 0x00000000, 0x0000801e, 0x00000020, 0xffff8002 },
{ 0x00000000, 0x55555554, 0x55555555, 0x00000001 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0x2aaaaaa8, 0x7ffffffd, 0x55555555 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7ffffffe },
{ 0x00000000, 0x00007f80, 0xffffff83, 0xffff8003 },
{ 0x00000000, 0x0000005f, 0xffffffe0, 0xffffff81 },
{ 0x00000000, 0xffff7f83, 0xffff8001, 0x0000007e },
{ 0x00000000, 0x0000005e, 0x0000007e, 0x00000020 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0x7fffff85, 0xffffff82, 0x7ffffffd },
{ 0x00000000, 0x4ccccccd, 0xcccccccc, 0x7fffffff },
{ 0x00000000, 0x80000002, 0x80000001, 0xffffffff },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffe0 },
{ 0x00000000, 0xffffff84, 0xffffff81, 0xfffffffd },
{ 0x00000000, 0x00000000, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3332b334, 0xffff8000, 0xcccccccc },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0xffffff82 },
{ 0x00000000, 0x0000807a, 0x0000007d, 0xffff8003 },
{ 0x00000000, 0xffffff03, 0xffffff81, 0x0000007e },
{ 0x00000000, 0x7fffffff, 0x7ffffffd, 0xfffffffe },
{ 0x00000000, 0x80000080, 0x80000001, 0xffffff81 },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x80007ffc, 0x7fffffff, 0xffff8003 },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0x33333333 },
{ 0x00000000, 0xffff0002, 0xffff8000, 0x00007ffe },
{ 0x00000000, 0xffff7fe0, 0xffff8000, 0x00000020 },
{ 0x00000000, 0x0000801f, 0x00007fff, 0xffffffe0 },
{ 0x00000000, 0xffff8002, 0x00000000, 0x00007ffe },
{ 0x00000000, 0x33333332, 0x33333333, 0x00000001 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0x00007ffd },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x80000001 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x80000020, 0x00000020, 0x80000000 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x7ffffffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0xffffff83 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x00000001, 0x00007fff, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x7ffffffe },
{ 0x00000000, 0x0000801d, 0x00007ffd, 0xffffffe0 },
{ 0x00000000, 0x0000005d, 0xffffffe0, 0xffffff83 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7ffffffd },
{ 0x00000000, 0x7fff8002, 0xffff8002, 0x80000000 },
{ 0x00000000, 0x7fffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffe, 0x80000001, 0xffff8003 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x0000001d, 0xfffffffd, 0xffffffe0 },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xffff8004, 0xffff8003, 0xffffffff },
{ 0x00000000, 0x00007f82, 0xffffff82, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000000 },
{ 0x00000000, 0x00000001, 0xffffff82, 0xffffff81 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x80007fff, 0x00007ffe, 0x7fffffff },
{ 0x00000000, 0x555554d7, 0xffffff81, 0xaaaaaaaa },
{ 0x00000000, 0x0000007c, 0x0000007e, 0x00000002 },
{ 0x00000000, 0x000000fe, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x5555d554, 0x00007ffe, 0xaaaaaaaa },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0x00000081, 0x00000001, 0xffffff80 },
{ 0x00000000, 0xd5555554, 0x55555555, 0x80000001 },
{ 0x00000000, 0xffffff82, 0x00000000, 0x0000007e },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0xcccccccf, 0xcccccccc, 0xfffffffd },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7ffffffd },
{ 0x00000000, 0x7fff7fff, 0xffff8000, 0x80000001 },
{ 0x00000000, 0x00000002, 0xffff8003, 0xffff8001 },
{ 0x00000000, 0x80007ffd, 0x00007ffd, 0x80000000 },
{ 0x00000000, 0x3333b333, 0x00007fff, 0xcccccccc },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xd5555553, 0x7ffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f84, 0xffff8003, 0x0000007f },
{ 0x00000000, 0x00000001, 0xfffffffe, 0xfffffffd },
{ 0x00000000, 0xaaaaaaa9, 0xfffffffe, 0x55555555 },
{ 0x00000000, 0x00000000, 0xfffffffe, 0xfffffffe },
{ 0x00000000, 0xffff8000, 0xffffffff, 0x00007fff },
{ 0x00000000, 0xffff8081, 0x0000007e, 0x00007ffd },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x0000807c, 0x00007ffd, 0xffffff81 },
{ 0x00000000, 0x00000023, 0x00000020, 0xfffffffd },
{ 0x00000000, 0x000000fa, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0xd5555557, 0x55555555, 0x7ffffffe },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00000002 },
{ 0x00000000, 0x7fff8002, 0x7fffffff, 0x00007ffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x333333b0, 0x33333333, 0xffffff83 },
{ 0x00000000, 0x99999999, 0xcccccccc, 0x33333333 },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0x00000001 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x8000007b, 0x7ffffffe, 0xffffff83 },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x80008001, 0x00007fff, 0x7ffffffe },
{ 0x00000000, 0x5555d554, 0x55555555, 0xffff8001 },
{ 0x00000000, 0x00000080, 0x00000000, 0xffffff80 },
{ 0x00000000, 0x00007ffd, 0x00007fff, 0x00000002 },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0xffff7fe3, 0xffff8003, 0x00000020 },
{ 0x00000000, 0x7fff8003, 0xffff8002, 0x7fffffff },
{ 0x00000000, 0x55555555, 0x55555555, 0x00000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x7fff8003, 0x80000001, 0x00007ffe },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0x00000020 },
{ 0x00000000, 0xfffffffc, 0xfffffffe, 0x00000002 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x5555d555, 0x00007fff, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x80000080, 0x80000000, 0xffffff80 },
{ 0x00000000, 0x55555558, 0x55555555, 0xfffffffd },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0x00007f80, 0xffffff82, 0xffff8002 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0xffff8000 },
{ 0x00000000, 0xffff8083, 0xffff8003, 0xffffff80 },
{ 0x00000000, 0x00000040, 0x00000020, 0xffffffe0 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x80000004, 0x00000002, 0x7ffffffe },
{ 0x00000000, 0x000000fe, 0x0000007f, 0xffffff81 },
{ 0x00000000, 0x80000002, 0x00000001, 0x7fffffff },
{ 0x00000000, 0xcccccccd, 0x00000000, 0x33333333 },
{ 0x00000000, 0x333332b7, 0xffffff83, 0xcccccccc },
{ 0x00000000, 0xffff8023, 0x00000020, 0x00007ffd },
{ 0x00000000, 0xcccccccc, 0xcccccccc, 0x00000000 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0x00007fff },
{ 0x00000000, 0xcccc4cce, 0xcccccccc, 0x00007ffe },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0xffff8000 },
{ 0x00000000, 0xffffffe3, 0xffffffe0, 0xfffffffd },
{ 0x00000000, 0x33333336, 0x33333333, 0xfffffffd },
{ 0x00000000, 0x7fff8001, 0xffff8002, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffffff83, 0xffffff83 },
{ 0x00000000, 0xffff7fe2, 0xffff8002, 0x00000020 },
{ 0x00000000, 0x7fffff80, 0x7fffffff, 0x0000007f },
{ 0x00000000, 0xcccd4ccc, 0xcccccccc, 0xffff8000 },
{ 0x00000000, 0x7fff7fff, 0x7ffffffe, 0x00007fff },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x7ffffffd },
{ 0x00000000, 0x00007ffb, 0xfffffffd, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x00000002, 0x7fffffff },
{ 0x00000000, 0xffffffde, 0xfffffffe, 0x00000020 },
{ 0x00000000, 0xffff8080, 0x0000007e, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x0000007d, 0x0000007f, 0x00000002 },
{ 0x00000000, 0x00000003, 0x80000000, 0x7ffffffd },
{ 0x00000000, 0x80007ffe, 0x00007fff, 0x80000001 },
{ 0x00000000, 0xd5555556, 0x80000000, 0xaaaaaaaa },
{ 0x00000000, 0xaaab2aa9, 0xaaaaaaaa, 0xffff8001 },
{ 0x00000000, 0x00007fdd, 0xffffffe0, 0xffff8003 },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0xffffff80, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0xaaaaaaaa },
{ 0x00000000, 0xfffffffe, 0x7ffffffe, 0x80000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x0000807b, 0x0000007d, 0xffff8002 },
{ 0x00000000, 0x00000081, 0x00000002, 0xffffff81 },
{ 0x00000000, 0x80000000, 0xfffffffd, 0x7ffffffd },
{ 0x00000000, 0x000000a0, 0x00000020, 0xffffff80 },
{ 0x00000000, 0x8000001f, 0x7fffffff, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffff8002, 0x0000007f },
{ 0x00000000, 0x80007ffd, 0x7fffffff, 0xffff8002 },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xffffff62, 0xffffffe0, 0x0000007e },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0x0000807f, 0x0000007f, 0xffff8000 },
{ 0x00000000, 0x7fffff84, 0x80000001, 0x0000007d },
{ 0x00000000, 0xffff8082, 0x0000007f, 0x00007ffd },
{ 0x00000000, 0x0000005e, 0xffffffe0, 0xffffff82 },
{ 0x00000000, 0x0000807c, 0x0000007e, 0xffff8002 },
{ 0x00000000, 0x555554d6, 0x55555555, 0x0000007f },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x7ffffffe },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0xcccc4ccf, 0xffff8002, 0x33333333 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xaaab2aa9, 0x00007ffe, 0x55555555 },
{ 0x00000000, 0x0000001e, 0x00000020, 0x00000002 },
{ 0x00000000, 0xffff8004, 0xffff8002, 0xfffffffe },
{ 0x00000000, 0x80007fff, 0x80000001, 0xffff8002 },
{ 0x00000000, 0xcccccd4b, 0x0000007e, 0x33333333 },
};
const Inputs kOutputs_Sub_RdIsNotRnIsNotRm_al_r7_r4_r10[] = {
{ 0x00000000, 0x00000001, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x00008000, 0x00000002, 0xffff8002 },
{ 0x00000000, 0x80000001, 0x80000001, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff83, 0x00000002 },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x8000007f, 0x80000001, 0xffffff82 },
{ 0x00000000, 0x00007f80, 0x00007fff, 0x0000007f },
{ 0x00000000, 0x8000007f, 0x0000007d, 0x7ffffffe },
{ 0x00000000, 0x0000801e, 0x00000020, 0xffff8002 },
{ 0x00000000, 0x55555554, 0x55555555, 0x00000001 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0x2aaaaaa8, 0x7ffffffd, 0x55555555 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7ffffffe },
{ 0x00000000, 0x00007f80, 0xffffff83, 0xffff8003 },
{ 0x00000000, 0x0000005f, 0xffffffe0, 0xffffff81 },
{ 0x00000000, 0xffff7f83, 0xffff8001, 0x0000007e },
{ 0x00000000, 0x0000005e, 0x0000007e, 0x00000020 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0x7fffff85, 0xffffff82, 0x7ffffffd },
{ 0x00000000, 0x4ccccccd, 0xcccccccc, 0x7fffffff },
{ 0x00000000, 0x80000002, 0x80000001, 0xffffffff },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffe0 },
{ 0x00000000, 0xffffff84, 0xffffff81, 0xfffffffd },
{ 0x00000000, 0x00000000, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3332b334, 0xffff8000, 0xcccccccc },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0xffffff82 },
{ 0x00000000, 0x0000807a, 0x0000007d, 0xffff8003 },
{ 0x00000000, 0xffffff03, 0xffffff81, 0x0000007e },
{ 0x00000000, 0x7fffffff, 0x7ffffffd, 0xfffffffe },
{ 0x00000000, 0x80000080, 0x80000001, 0xffffff81 },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x80007ffc, 0x7fffffff, 0xffff8003 },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0x33333333 },
{ 0x00000000, 0xffff0002, 0xffff8000, 0x00007ffe },
{ 0x00000000, 0xffff7fe0, 0xffff8000, 0x00000020 },
{ 0x00000000, 0x0000801f, 0x00007fff, 0xffffffe0 },
{ 0x00000000, 0xffff8002, 0x00000000, 0x00007ffe },
{ 0x00000000, 0x33333332, 0x33333333, 0x00000001 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0x00007ffd },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x80000001 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x80000020, 0x00000020, 0x80000000 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x7ffffffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0xffffff83 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x00000001, 0x00007fff, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x7ffffffe },
{ 0x00000000, 0x0000801d, 0x00007ffd, 0xffffffe0 },
{ 0x00000000, 0x0000005d, 0xffffffe0, 0xffffff83 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7ffffffd },
{ 0x00000000, 0x7fff8002, 0xffff8002, 0x80000000 },
{ 0x00000000, 0x7fffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffe, 0x80000001, 0xffff8003 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x0000001d, 0xfffffffd, 0xffffffe0 },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xffff8004, 0xffff8003, 0xffffffff },
{ 0x00000000, 0x00007f82, 0xffffff82, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000000 },
{ 0x00000000, 0x00000001, 0xffffff82, 0xffffff81 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x80007fff, 0x00007ffe, 0x7fffffff },
{ 0x00000000, 0x555554d7, 0xffffff81, 0xaaaaaaaa },
{ 0x00000000, 0x0000007c, 0x0000007e, 0x00000002 },
{ 0x00000000, 0x000000fe, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x5555d554, 0x00007ffe, 0xaaaaaaaa },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0x00000081, 0x00000001, 0xffffff80 },
{ 0x00000000, 0xd5555554, 0x55555555, 0x80000001 },
{ 0x00000000, 0xffffff82, 0x00000000, 0x0000007e },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0xcccccccf, 0xcccccccc, 0xfffffffd },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7ffffffd },
{ 0x00000000, 0x7fff7fff, 0xffff8000, 0x80000001 },
{ 0x00000000, 0x00000002, 0xffff8003, 0xffff8001 },
{ 0x00000000, 0x80007ffd, 0x00007ffd, 0x80000000 },
{ 0x00000000, 0x3333b333, 0x00007fff, 0xcccccccc },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xd5555553, 0x7ffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f84, 0xffff8003, 0x0000007f },
{ 0x00000000, 0x00000001, 0xfffffffe, 0xfffffffd },
{ 0x00000000, 0xaaaaaaa9, 0xfffffffe, 0x55555555 },
{ 0x00000000, 0x00000000, 0xfffffffe, 0xfffffffe },
{ 0x00000000, 0xffff8000, 0xffffffff, 0x00007fff },
{ 0x00000000, 0xffff8081, 0x0000007e, 0x00007ffd },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x0000807c, 0x00007ffd, 0xffffff81 },
{ 0x00000000, 0x00000023, 0x00000020, 0xfffffffd },
{ 0x00000000, 0x000000fa, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0xd5555557, 0x55555555, 0x7ffffffe },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00000002 },
{ 0x00000000, 0x7fff8002, 0x7fffffff, 0x00007ffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x333333b0, 0x33333333, 0xffffff83 },
{ 0x00000000, 0x99999999, 0xcccccccc, 0x33333333 },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0x00000001 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x8000007b, 0x7ffffffe, 0xffffff83 },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x80008001, 0x00007fff, 0x7ffffffe },
{ 0x00000000, 0x5555d554, 0x55555555, 0xffff8001 },
{ 0x00000000, 0x00000080, 0x00000000, 0xffffff80 },
{ 0x00000000, 0x00007ffd, 0x00007fff, 0x00000002 },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0xffff7fe3, 0xffff8003, 0x00000020 },
{ 0x00000000, 0x7fff8003, 0xffff8002, 0x7fffffff },
{ 0x00000000, 0x55555555, 0x55555555, 0x00000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x7fff8003, 0x80000001, 0x00007ffe },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0x00000020 },
{ 0x00000000, 0xfffffffc, 0xfffffffe, 0x00000002 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x5555d555, 0x00007fff, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x80000080, 0x80000000, 0xffffff80 },
{ 0x00000000, 0x55555558, 0x55555555, 0xfffffffd },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0x00007f80, 0xffffff82, 0xffff8002 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0xffff8000 },
{ 0x00000000, 0xffff8083, 0xffff8003, 0xffffff80 },
{ 0x00000000, 0x00000040, 0x00000020, 0xffffffe0 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x80000004, 0x00000002, 0x7ffffffe },
{ 0x00000000, 0x000000fe, 0x0000007f, 0xffffff81 },
{ 0x00000000, 0x80000002, 0x00000001, 0x7fffffff },
{ 0x00000000, 0xcccccccd, 0x00000000, 0x33333333 },
{ 0x00000000, 0x333332b7, 0xffffff83, 0xcccccccc },
{ 0x00000000, 0xffff8023, 0x00000020, 0x00007ffd },
{ 0x00000000, 0xcccccccc, 0xcccccccc, 0x00000000 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0x00007fff },
{ 0x00000000, 0xcccc4cce, 0xcccccccc, 0x00007ffe },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0xffff8000 },
{ 0x00000000, 0xffffffe3, 0xffffffe0, 0xfffffffd },
{ 0x00000000, 0x33333336, 0x33333333, 0xfffffffd },
{ 0x00000000, 0x7fff8001, 0xffff8002, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffffff83, 0xffffff83 },
{ 0x00000000, 0xffff7fe2, 0xffff8002, 0x00000020 },
{ 0x00000000, 0x7fffff80, 0x7fffffff, 0x0000007f },
{ 0x00000000, 0xcccd4ccc, 0xcccccccc, 0xffff8000 },
{ 0x00000000, 0x7fff7fff, 0x7ffffffe, 0x00007fff },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x7ffffffd },
{ 0x00000000, 0x00007ffb, 0xfffffffd, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x00000002, 0x7fffffff },
{ 0x00000000, 0xffffffde, 0xfffffffe, 0x00000020 },
{ 0x00000000, 0xffff8080, 0x0000007e, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x0000007d, 0x0000007f, 0x00000002 },
{ 0x00000000, 0x00000003, 0x80000000, 0x7ffffffd },
{ 0x00000000, 0x80007ffe, 0x00007fff, 0x80000001 },
{ 0x00000000, 0xd5555556, 0x80000000, 0xaaaaaaaa },
{ 0x00000000, 0xaaab2aa9, 0xaaaaaaaa, 0xffff8001 },
{ 0x00000000, 0x00007fdd, 0xffffffe0, 0xffff8003 },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0xffffff80, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0xaaaaaaaa },
{ 0x00000000, 0xfffffffe, 0x7ffffffe, 0x80000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x0000807b, 0x0000007d, 0xffff8002 },
{ 0x00000000, 0x00000081, 0x00000002, 0xffffff81 },
{ 0x00000000, 0x80000000, 0xfffffffd, 0x7ffffffd },
{ 0x00000000, 0x000000a0, 0x00000020, 0xffffff80 },
{ 0x00000000, 0x8000001f, 0x7fffffff, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffff8002, 0x0000007f },
{ 0x00000000, 0x80007ffd, 0x7fffffff, 0xffff8002 },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xffffff62, 0xffffffe0, 0x0000007e },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0x0000807f, 0x0000007f, 0xffff8000 },
{ 0x00000000, 0x7fffff84, 0x80000001, 0x0000007d },
{ 0x00000000, 0xffff8082, 0x0000007f, 0x00007ffd },
{ 0x00000000, 0x0000005e, 0xffffffe0, 0xffffff82 },
{ 0x00000000, 0x0000807c, 0x0000007e, 0xffff8002 },
{ 0x00000000, 0x555554d6, 0x55555555, 0x0000007f },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x7ffffffe },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0xcccc4ccf, 0xffff8002, 0x33333333 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xaaab2aa9, 0x00007ffe, 0x55555555 },
{ 0x00000000, 0x0000001e, 0x00000020, 0x00000002 },
{ 0x00000000, 0xffff8004, 0xffff8002, 0xfffffffe },
{ 0x00000000, 0x80007fff, 0x80000001, 0xffff8002 },
{ 0x00000000, 0xcccccd4b, 0x0000007e, 0x33333333 },
};
const Inputs kOutputs_Sub_RdIsNotRnIsNotRm_al_r9_r6_r1[] = {
{ 0x00000000, 0x00000001, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x00008000, 0x00000002, 0xffff8002 },
{ 0x00000000, 0x80000001, 0x80000001, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff83, 0x00000002 },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x8000007f, 0x80000001, 0xffffff82 },
{ 0x00000000, 0x00007f80, 0x00007fff, 0x0000007f },
{ 0x00000000, 0x8000007f, 0x0000007d, 0x7ffffffe },
{ 0x00000000, 0x0000801e, 0x00000020, 0xffff8002 },
{ 0x00000000, 0x55555554, 0x55555555, 0x00000001 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0x2aaaaaa8, 0x7ffffffd, 0x55555555 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7ffffffe },
{ 0x00000000, 0x00007f80, 0xffffff83, 0xffff8003 },
{ 0x00000000, 0x0000005f, 0xffffffe0, 0xffffff81 },
{ 0x00000000, 0xffff7f83, 0xffff8001, 0x0000007e },
{ 0x00000000, 0x0000005e, 0x0000007e, 0x00000020 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0x7fffff85, 0xffffff82, 0x7ffffffd },
{ 0x00000000, 0x4ccccccd, 0xcccccccc, 0x7fffffff },
{ 0x00000000, 0x80000002, 0x80000001, 0xffffffff },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffe0 },
{ 0x00000000, 0xffffff84, 0xffffff81, 0xfffffffd },
{ 0x00000000, 0x00000000, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3332b334, 0xffff8000, 0xcccccccc },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0xffffff82 },
{ 0x00000000, 0x0000807a, 0x0000007d, 0xffff8003 },
{ 0x00000000, 0xffffff03, 0xffffff81, 0x0000007e },
{ 0x00000000, 0x7fffffff, 0x7ffffffd, 0xfffffffe },
{ 0x00000000, 0x80000080, 0x80000001, 0xffffff81 },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x80007ffc, 0x7fffffff, 0xffff8003 },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0x33333333 },
{ 0x00000000, 0xffff0002, 0xffff8000, 0x00007ffe },
{ 0x00000000, 0xffff7fe0, 0xffff8000, 0x00000020 },
{ 0x00000000, 0x0000801f, 0x00007fff, 0xffffffe0 },
{ 0x00000000, 0xffff8002, 0x00000000, 0x00007ffe },
{ 0x00000000, 0x33333332, 0x33333333, 0x00000001 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0x00007ffd },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x80000001 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x80000020, 0x00000020, 0x80000000 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x7ffffffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0xffffff83 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x00000001, 0x00007fff, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x7ffffffe },
{ 0x00000000, 0x0000801d, 0x00007ffd, 0xffffffe0 },
{ 0x00000000, 0x0000005d, 0xffffffe0, 0xffffff83 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7ffffffd },
{ 0x00000000, 0x7fff8002, 0xffff8002, 0x80000000 },
{ 0x00000000, 0x7fffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffe, 0x80000001, 0xffff8003 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x0000001d, 0xfffffffd, 0xffffffe0 },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xffff8004, 0xffff8003, 0xffffffff },
{ 0x00000000, 0x00007f82, 0xffffff82, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000000 },
{ 0x00000000, 0x00000001, 0xffffff82, 0xffffff81 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x80007fff, 0x00007ffe, 0x7fffffff },
{ 0x00000000, 0x555554d7, 0xffffff81, 0xaaaaaaaa },
{ 0x00000000, 0x0000007c, 0x0000007e, 0x00000002 },
{ 0x00000000, 0x000000fe, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x5555d554, 0x00007ffe, 0xaaaaaaaa },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0x00000081, 0x00000001, 0xffffff80 },
{ 0x00000000, 0xd5555554, 0x55555555, 0x80000001 },
{ 0x00000000, 0xffffff82, 0x00000000, 0x0000007e },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0xcccccccf, 0xcccccccc, 0xfffffffd },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7ffffffd },
{ 0x00000000, 0x7fff7fff, 0xffff8000, 0x80000001 },
{ 0x00000000, 0x00000002, 0xffff8003, 0xffff8001 },
{ 0x00000000, 0x80007ffd, 0x00007ffd, 0x80000000 },
{ 0x00000000, 0x3333b333, 0x00007fff, 0xcccccccc },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xd5555553, 0x7ffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f84, 0xffff8003, 0x0000007f },
{ 0x00000000, 0x00000001, 0xfffffffe, 0xfffffffd },
{ 0x00000000, 0xaaaaaaa9, 0xfffffffe, 0x55555555 },
{ 0x00000000, 0x00000000, 0xfffffffe, 0xfffffffe },
{ 0x00000000, 0xffff8000, 0xffffffff, 0x00007fff },
{ 0x00000000, 0xffff8081, 0x0000007e, 0x00007ffd },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x0000807c, 0x00007ffd, 0xffffff81 },
{ 0x00000000, 0x00000023, 0x00000020, 0xfffffffd },
{ 0x00000000, 0x000000fa, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0xd5555557, 0x55555555, 0x7ffffffe },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00000002 },
{ 0x00000000, 0x7fff8002, 0x7fffffff, 0x00007ffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x333333b0, 0x33333333, 0xffffff83 },
{ 0x00000000, 0x99999999, 0xcccccccc, 0x33333333 },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0x00000001 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x8000007b, 0x7ffffffe, 0xffffff83 },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x80008001, 0x00007fff, 0x7ffffffe },
{ 0x00000000, 0x5555d554, 0x55555555, 0xffff8001 },
{ 0x00000000, 0x00000080, 0x00000000, 0xffffff80 },
{ 0x00000000, 0x00007ffd, 0x00007fff, 0x00000002 },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0xffff7fe3, 0xffff8003, 0x00000020 },
{ 0x00000000, 0x7fff8003, 0xffff8002, 0x7fffffff },
{ 0x00000000, 0x55555555, 0x55555555, 0x00000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x7fff8003, 0x80000001, 0x00007ffe },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0x00000020 },
{ 0x00000000, 0xfffffffc, 0xfffffffe, 0x00000002 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x5555d555, 0x00007fff, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x80000080, 0x80000000, 0xffffff80 },
{ 0x00000000, 0x55555558, 0x55555555, 0xfffffffd },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0x00007f80, 0xffffff82, 0xffff8002 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0xffff8000 },
{ 0x00000000, 0xffff8083, 0xffff8003, 0xffffff80 },
{ 0x00000000, 0x00000040, 0x00000020, 0xffffffe0 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x80000004, 0x00000002, 0x7ffffffe },
{ 0x00000000, 0x000000fe, 0x0000007f, 0xffffff81 },
{ 0x00000000, 0x80000002, 0x00000001, 0x7fffffff },
{ 0x00000000, 0xcccccccd, 0x00000000, 0x33333333 },
{ 0x00000000, 0x333332b7, 0xffffff83, 0xcccccccc },
{ 0x00000000, 0xffff8023, 0x00000020, 0x00007ffd },
{ 0x00000000, 0xcccccccc, 0xcccccccc, 0x00000000 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0x00007fff },
{ 0x00000000, 0xcccc4cce, 0xcccccccc, 0x00007ffe },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0xffff8000 },
{ 0x00000000, 0xffffffe3, 0xffffffe0, 0xfffffffd },
{ 0x00000000, 0x33333336, 0x33333333, 0xfffffffd },
{ 0x00000000, 0x7fff8001, 0xffff8002, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffffff83, 0xffffff83 },
{ 0x00000000, 0xffff7fe2, 0xffff8002, 0x00000020 },
{ 0x00000000, 0x7fffff80, 0x7fffffff, 0x0000007f },
{ 0x00000000, 0xcccd4ccc, 0xcccccccc, 0xffff8000 },
{ 0x00000000, 0x7fff7fff, 0x7ffffffe, 0x00007fff },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x7ffffffd },
{ 0x00000000, 0x00007ffb, 0xfffffffd, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x00000002, 0x7fffffff },
{ 0x00000000, 0xffffffde, 0xfffffffe, 0x00000020 },
{ 0x00000000, 0xffff8080, 0x0000007e, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x0000007d, 0x0000007f, 0x00000002 },
{ 0x00000000, 0x00000003, 0x80000000, 0x7ffffffd },
{ 0x00000000, 0x80007ffe, 0x00007fff, 0x80000001 },
{ 0x00000000, 0xd5555556, 0x80000000, 0xaaaaaaaa },
{ 0x00000000, 0xaaab2aa9, 0xaaaaaaaa, 0xffff8001 },
{ 0x00000000, 0x00007fdd, 0xffffffe0, 0xffff8003 },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0xffffff80, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0xaaaaaaaa },
{ 0x00000000, 0xfffffffe, 0x7ffffffe, 0x80000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x0000807b, 0x0000007d, 0xffff8002 },
{ 0x00000000, 0x00000081, 0x00000002, 0xffffff81 },
{ 0x00000000, 0x80000000, 0xfffffffd, 0x7ffffffd },
{ 0x00000000, 0x000000a0, 0x00000020, 0xffffff80 },
{ 0x00000000, 0x8000001f, 0x7fffffff, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffff8002, 0x0000007f },
{ 0x00000000, 0x80007ffd, 0x7fffffff, 0xffff8002 },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xffffff62, 0xffffffe0, 0x0000007e },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0x0000807f, 0x0000007f, 0xffff8000 },
{ 0x00000000, 0x7fffff84, 0x80000001, 0x0000007d },
{ 0x00000000, 0xffff8082, 0x0000007f, 0x00007ffd },
{ 0x00000000, 0x0000005e, 0xffffffe0, 0xffffff82 },
{ 0x00000000, 0x0000807c, 0x0000007e, 0xffff8002 },
{ 0x00000000, 0x555554d6, 0x55555555, 0x0000007f },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x7ffffffe },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0xcccc4ccf, 0xffff8002, 0x33333333 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xaaab2aa9, 0x00007ffe, 0x55555555 },
{ 0x00000000, 0x0000001e, 0x00000020, 0x00000002 },
{ 0x00000000, 0xffff8004, 0xffff8002, 0xfffffffe },
{ 0x00000000, 0x80007fff, 0x80000001, 0xffff8002 },
{ 0x00000000, 0xcccccd4b, 0x0000007e, 0x33333333 },
};
const Inputs kOutputs_Sub_RdIsNotRnIsNotRm_al_r10_r14_r3[] = {
{ 0x00000000, 0x00000001, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x00008000, 0x00000002, 0xffff8002 },
{ 0x00000000, 0x80000001, 0x80000001, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff83, 0x00000002 },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x8000007f, 0x80000001, 0xffffff82 },
{ 0x00000000, 0x00007f80, 0x00007fff, 0x0000007f },
{ 0x00000000, 0x8000007f, 0x0000007d, 0x7ffffffe },
{ 0x00000000, 0x0000801e, 0x00000020, 0xffff8002 },
{ 0x00000000, 0x55555554, 0x55555555, 0x00000001 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0x2aaaaaa8, 0x7ffffffd, 0x55555555 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7ffffffe },
{ 0x00000000, 0x00007f80, 0xffffff83, 0xffff8003 },
{ 0x00000000, 0x0000005f, 0xffffffe0, 0xffffff81 },
{ 0x00000000, 0xffff7f83, 0xffff8001, 0x0000007e },
{ 0x00000000, 0x0000005e, 0x0000007e, 0x00000020 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0x7fffff85, 0xffffff82, 0x7ffffffd },
{ 0x00000000, 0x4ccccccd, 0xcccccccc, 0x7fffffff },
{ 0x00000000, 0x80000002, 0x80000001, 0xffffffff },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffe0 },
{ 0x00000000, 0xffffff84, 0xffffff81, 0xfffffffd },
{ 0x00000000, 0x00000000, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3332b334, 0xffff8000, 0xcccccccc },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0xffffff82 },
{ 0x00000000, 0x0000807a, 0x0000007d, 0xffff8003 },
{ 0x00000000, 0xffffff03, 0xffffff81, 0x0000007e },
{ 0x00000000, 0x7fffffff, 0x7ffffffd, 0xfffffffe },
{ 0x00000000, 0x80000080, 0x80000001, 0xffffff81 },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x80007ffc, 0x7fffffff, 0xffff8003 },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0x33333333 },
{ 0x00000000, 0xffff0002, 0xffff8000, 0x00007ffe },
{ 0x00000000, 0xffff7fe0, 0xffff8000, 0x00000020 },
{ 0x00000000, 0x0000801f, 0x00007fff, 0xffffffe0 },
{ 0x00000000, 0xffff8002, 0x00000000, 0x00007ffe },
{ 0x00000000, 0x33333332, 0x33333333, 0x00000001 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0x00007ffd },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x80000001 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x80000020, 0x00000020, 0x80000000 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x7ffffffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0xffffff83 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x00000001, 0x00007fff, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x7ffffffe },
{ 0x00000000, 0x0000801d, 0x00007ffd, 0xffffffe0 },
{ 0x00000000, 0x0000005d, 0xffffffe0, 0xffffff83 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7ffffffd },
{ 0x00000000, 0x7fff8002, 0xffff8002, 0x80000000 },
{ 0x00000000, 0x7fffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffe, 0x80000001, 0xffff8003 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x0000001d, 0xfffffffd, 0xffffffe0 },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xffff8004, 0xffff8003, 0xffffffff },
{ 0x00000000, 0x00007f82, 0xffffff82, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000000 },
{ 0x00000000, 0x00000001, 0xffffff82, 0xffffff81 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x80007fff, 0x00007ffe, 0x7fffffff },
{ 0x00000000, 0x555554d7, 0xffffff81, 0xaaaaaaaa },
{ 0x00000000, 0x0000007c, 0x0000007e, 0x00000002 },
{ 0x00000000, 0x000000fe, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x5555d554, 0x00007ffe, 0xaaaaaaaa },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0x00000081, 0x00000001, 0xffffff80 },
{ 0x00000000, 0xd5555554, 0x55555555, 0x80000001 },
{ 0x00000000, 0xffffff82, 0x00000000, 0x0000007e },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0xcccccccf, 0xcccccccc, 0xfffffffd },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7ffffffd },
{ 0x00000000, 0x7fff7fff, 0xffff8000, 0x80000001 },
{ 0x00000000, 0x00000002, 0xffff8003, 0xffff8001 },
{ 0x00000000, 0x80007ffd, 0x00007ffd, 0x80000000 },
{ 0x00000000, 0x3333b333, 0x00007fff, 0xcccccccc },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xd5555553, 0x7ffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f84, 0xffff8003, 0x0000007f },
{ 0x00000000, 0x00000001, 0xfffffffe, 0xfffffffd },
{ 0x00000000, 0xaaaaaaa9, 0xfffffffe, 0x55555555 },
{ 0x00000000, 0x00000000, 0xfffffffe, 0xfffffffe },
{ 0x00000000, 0xffff8000, 0xffffffff, 0x00007fff },
{ 0x00000000, 0xffff8081, 0x0000007e, 0x00007ffd },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x0000807c, 0x00007ffd, 0xffffff81 },
{ 0x00000000, 0x00000023, 0x00000020, 0xfffffffd },
{ 0x00000000, 0x000000fa, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0xd5555557, 0x55555555, 0x7ffffffe },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00000002 },
{ 0x00000000, 0x7fff8002, 0x7fffffff, 0x00007ffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x333333b0, 0x33333333, 0xffffff83 },
{ 0x00000000, 0x99999999, 0xcccccccc, 0x33333333 },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0x00000001 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x8000007b, 0x7ffffffe, 0xffffff83 },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x80008001, 0x00007fff, 0x7ffffffe },
{ 0x00000000, 0x5555d554, 0x55555555, 0xffff8001 },
{ 0x00000000, 0x00000080, 0x00000000, 0xffffff80 },
{ 0x00000000, 0x00007ffd, 0x00007fff, 0x00000002 },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0xffff7fe3, 0xffff8003, 0x00000020 },
{ 0x00000000, 0x7fff8003, 0xffff8002, 0x7fffffff },
{ 0x00000000, 0x55555555, 0x55555555, 0x00000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x7fff8003, 0x80000001, 0x00007ffe },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0x00000020 },
{ 0x00000000, 0xfffffffc, 0xfffffffe, 0x00000002 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x5555d555, 0x00007fff, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x80000080, 0x80000000, 0xffffff80 },
{ 0x00000000, 0x55555558, 0x55555555, 0xfffffffd },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0x00007f80, 0xffffff82, 0xffff8002 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0xffff8000 },
{ 0x00000000, 0xffff8083, 0xffff8003, 0xffffff80 },
{ 0x00000000, 0x00000040, 0x00000020, 0xffffffe0 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x80000004, 0x00000002, 0x7ffffffe },
{ 0x00000000, 0x000000fe, 0x0000007f, 0xffffff81 },
{ 0x00000000, 0x80000002, 0x00000001, 0x7fffffff },
{ 0x00000000, 0xcccccccd, 0x00000000, 0x33333333 },
{ 0x00000000, 0x333332b7, 0xffffff83, 0xcccccccc },
{ 0x00000000, 0xffff8023, 0x00000020, 0x00007ffd },
{ 0x00000000, 0xcccccccc, 0xcccccccc, 0x00000000 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0x00007fff },
{ 0x00000000, 0xcccc4cce, 0xcccccccc, 0x00007ffe },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0xffff8000 },
{ 0x00000000, 0xffffffe3, 0xffffffe0, 0xfffffffd },
{ 0x00000000, 0x33333336, 0x33333333, 0xfffffffd },
{ 0x00000000, 0x7fff8001, 0xffff8002, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffffff83, 0xffffff83 },
{ 0x00000000, 0xffff7fe2, 0xffff8002, 0x00000020 },
{ 0x00000000, 0x7fffff80, 0x7fffffff, 0x0000007f },
{ 0x00000000, 0xcccd4ccc, 0xcccccccc, 0xffff8000 },
{ 0x00000000, 0x7fff7fff, 0x7ffffffe, 0x00007fff },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x7ffffffd },
{ 0x00000000, 0x00007ffb, 0xfffffffd, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x00000002, 0x7fffffff },
{ 0x00000000, 0xffffffde, 0xfffffffe, 0x00000020 },
{ 0x00000000, 0xffff8080, 0x0000007e, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x0000007d, 0x0000007f, 0x00000002 },
{ 0x00000000, 0x00000003, 0x80000000, 0x7ffffffd },
{ 0x00000000, 0x80007ffe, 0x00007fff, 0x80000001 },
{ 0x00000000, 0xd5555556, 0x80000000, 0xaaaaaaaa },
{ 0x00000000, 0xaaab2aa9, 0xaaaaaaaa, 0xffff8001 },
{ 0x00000000, 0x00007fdd, 0xffffffe0, 0xffff8003 },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0xffffff80, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0xaaaaaaaa },
{ 0x00000000, 0xfffffffe, 0x7ffffffe, 0x80000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x0000807b, 0x0000007d, 0xffff8002 },
{ 0x00000000, 0x00000081, 0x00000002, 0xffffff81 },
{ 0x00000000, 0x80000000, 0xfffffffd, 0x7ffffffd },
{ 0x00000000, 0x000000a0, 0x00000020, 0xffffff80 },
{ 0x00000000, 0x8000001f, 0x7fffffff, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffff8002, 0x0000007f },
{ 0x00000000, 0x80007ffd, 0x7fffffff, 0xffff8002 },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xffffff62, 0xffffffe0, 0x0000007e },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0x0000807f, 0x0000007f, 0xffff8000 },
{ 0x00000000, 0x7fffff84, 0x80000001, 0x0000007d },
{ 0x00000000, 0xffff8082, 0x0000007f, 0x00007ffd },
{ 0x00000000, 0x0000005e, 0xffffffe0, 0xffffff82 },
{ 0x00000000, 0x0000807c, 0x0000007e, 0xffff8002 },
{ 0x00000000, 0x555554d6, 0x55555555, 0x0000007f },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x7ffffffe },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0xcccc4ccf, 0xffff8002, 0x33333333 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xaaab2aa9, 0x00007ffe, 0x55555555 },
{ 0x00000000, 0x0000001e, 0x00000020, 0x00000002 },
{ 0x00000000, 0xffff8004, 0xffff8002, 0xfffffffe },
{ 0x00000000, 0x80007fff, 0x80000001, 0xffff8002 },
{ 0x00000000, 0xcccccd4b, 0x0000007e, 0x33333333 },
};
const Inputs kOutputs_Sub_RdIsNotRnIsNotRm_al_r14_r3_r6[] = {
{ 0x00000000, 0x00000001, 0x0000007e, 0x0000007d },
{ 0x00000000, 0x00008000, 0x00000002, 0xffff8002 },
{ 0x00000000, 0x80000001, 0x80000001, 0x00000000 },
{ 0x00000000, 0xffffff81, 0xffffff83, 0x00000002 },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x8000007f, 0x80000001, 0xffffff82 },
{ 0x00000000, 0x00007f80, 0x00007fff, 0x0000007f },
{ 0x00000000, 0x8000007f, 0x0000007d, 0x7ffffffe },
{ 0x00000000, 0x0000801e, 0x00000020, 0xffff8002 },
{ 0x00000000, 0x55555554, 0x55555555, 0x00000001 },
{ 0x00000000, 0x33333333, 0x33333333, 0x00000000 },
{ 0x00000000, 0x2aaaaaa8, 0x7ffffffd, 0x55555555 },
{ 0x00000000, 0x7fff8003, 0xffff8001, 0x7ffffffe },
{ 0x00000000, 0x00007f80, 0xffffff83, 0xffff8003 },
{ 0x00000000, 0x0000005f, 0xffffffe0, 0xffffff81 },
{ 0x00000000, 0xffff7f83, 0xffff8001, 0x0000007e },
{ 0x00000000, 0x0000005e, 0x0000007e, 0x00000020 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0x7fffff85, 0xffffff82, 0x7ffffffd },
{ 0x00000000, 0x4ccccccd, 0xcccccccc, 0x7fffffff },
{ 0x00000000, 0x80000002, 0x80000001, 0xffffffff },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0xffffffa1, 0xffffff81, 0xffffffe0 },
{ 0x00000000, 0xffffff84, 0xffffff81, 0xfffffffd },
{ 0x00000000, 0x00000000, 0xffffffff, 0xffffffff },
{ 0x00000000, 0x3332b334, 0xffff8000, 0xcccccccc },
{ 0x00000000, 0x0000807c, 0x00007ffe, 0xffffff82 },
{ 0x00000000, 0x0000807a, 0x0000007d, 0xffff8003 },
{ 0x00000000, 0xffffff03, 0xffffff81, 0x0000007e },
{ 0x00000000, 0x7fffffff, 0x7ffffffd, 0xfffffffe },
{ 0x00000000, 0x80000080, 0x80000001, 0xffffff81 },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x80007ffc, 0x7fffffff, 0xffff8003 },
{ 0x00000000, 0xcccccd4a, 0x0000007d, 0x33333333 },
{ 0x00000000, 0xffff0002, 0xffff8000, 0x00007ffe },
{ 0x00000000, 0xffff7fe0, 0xffff8000, 0x00000020 },
{ 0x00000000, 0x0000801f, 0x00007fff, 0xffffffe0 },
{ 0x00000000, 0xffff8002, 0x00000000, 0x00007ffe },
{ 0x00000000, 0x33333332, 0x33333333, 0x00000001 },
{ 0x00000000, 0xffffff60, 0xffffff80, 0x00000020 },
{ 0x00000000, 0xffff7f86, 0xffffff83, 0x00007ffd },
{ 0x00000000, 0x7ffffffe, 0xffffffff, 0x80000001 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x80000020, 0x00000020, 0x80000000 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x00000001, 0x7ffffffe, 0x7ffffffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x8000007a, 0x7ffffffd, 0xffffff83 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x00000001, 0x00007fff, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00000000, 0xffff8000 },
{ 0x00000000, 0x2aaaaaac, 0xaaaaaaaa, 0x7ffffffe },
{ 0x00000000, 0x0000801d, 0x00007ffd, 0xffffffe0 },
{ 0x00000000, 0x0000005d, 0xffffffe0, 0xffffff83 },
{ 0x00000000, 0x7fffffe3, 0xffffffe0, 0x7ffffffd },
{ 0x00000000, 0x7fff8002, 0xffff8002, 0x80000000 },
{ 0x00000000, 0x7fffffff, 0xffffffff, 0x80000000 },
{ 0x00000000, 0x80007ffe, 0x80000001, 0xffff8003 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x0000001d, 0xfffffffd, 0xffffffe0 },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xffff8004, 0xffff8003, 0xffffffff },
{ 0x00000000, 0x00007f82, 0xffffff82, 0xffff8000 },
{ 0x00000000, 0x80000002, 0x00000002, 0x80000000 },
{ 0x00000000, 0x00000001, 0xffffff82, 0xffffff81 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x80007fff, 0x00007ffe, 0x7fffffff },
{ 0x00000000, 0x555554d7, 0xffffff81, 0xaaaaaaaa },
{ 0x00000000, 0x0000007c, 0x0000007e, 0x00000002 },
{ 0x00000000, 0x000000fe, 0x0000007e, 0xffffff80 },
{ 0x00000000, 0x5555d554, 0x00007ffe, 0xaaaaaaaa },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0x00000081, 0x00000001, 0xffffff80 },
{ 0x00000000, 0xd5555554, 0x55555555, 0x80000001 },
{ 0x00000000, 0xffffff82, 0x00000000, 0x0000007e },
{ 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, 0x00000000 },
{ 0x00000000, 0x333332b5, 0xffffff81, 0xcccccccc },
{ 0x00000000, 0xcccccccf, 0xcccccccc, 0xfffffffd },
{ 0x00000000, 0x7fff8003, 0xffff8000, 0x7ffffffd },
{ 0x00000000, 0x7fff7fff, 0xffff8000, 0x80000001 },
{ 0x00000000, 0x00000002, 0xffff8003, 0xffff8001 },
{ 0x00000000, 0x80007ffd, 0x00007ffd, 0x80000000 },
{ 0x00000000, 0x3333b333, 0x00007fff, 0xcccccccc },
{ 0x00000000, 0xffff7f82, 0xffffff80, 0x00007ffe },
{ 0x00000000, 0xd5555553, 0x7ffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f84, 0xffff8003, 0x0000007f },
{ 0x00000000, 0x00000001, 0xfffffffe, 0xfffffffd },
{ 0x00000000, 0xaaaaaaa9, 0xfffffffe, 0x55555555 },
{ 0x00000000, 0x00000000, 0xfffffffe, 0xfffffffe },
{ 0x00000000, 0xffff8000, 0xffffffff, 0x00007fff },
{ 0x00000000, 0xffff8081, 0x0000007e, 0x00007ffd },
{ 0x00000000, 0xffffffde, 0xffffffe0, 0x00000002 },
{ 0x00000000, 0x0000807c, 0x00007ffd, 0xffffff81 },
{ 0x00000000, 0x00000023, 0x00000020, 0xfffffffd },
{ 0x00000000, 0x000000fa, 0x0000007d, 0xffffff83 },
{ 0x00000000, 0xd5555557, 0x55555555, 0x7ffffffe },
{ 0x00000000, 0x00007ffc, 0x00007ffe, 0x00000002 },
{ 0x00000000, 0x7fff8002, 0x7fffffff, 0x00007ffd },
{ 0x00000000, 0xfffffffe, 0xffffffff, 0x00000001 },
{ 0x00000000, 0x333333b0, 0x33333333, 0xffffff83 },
{ 0x00000000, 0x99999999, 0xcccccccc, 0x33333333 },
{ 0x00000000, 0xffffff7f, 0xffffff80, 0x00000001 },
{ 0x00000000, 0xcccc4ccf, 0xcccccccc, 0x00007ffd },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x8000007b, 0x7ffffffe, 0xffffff83 },
{ 0x00000000, 0x0000807e, 0x0000007f, 0xffff8001 },
{ 0x00000000, 0x0000807f, 0x00007fff, 0xffffff80 },
{ 0x00000000, 0x80008001, 0x00007fff, 0x7ffffffe },
{ 0x00000000, 0x5555d554, 0x55555555, 0xffff8001 },
{ 0x00000000, 0x00000080, 0x00000000, 0xffffff80 },
{ 0x00000000, 0x00007ffd, 0x00007fff, 0x00000002 },
{ 0x00000000, 0x5555d552, 0x55555555, 0xffff8003 },
{ 0x00000000, 0xffff7fe3, 0xffff8003, 0x00000020 },
{ 0x00000000, 0x7fff8003, 0xffff8002, 0x7fffffff },
{ 0x00000000, 0x55555555, 0x55555555, 0x00000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x7fff8003, 0x80000001, 0x00007ffe },
{ 0x00000000, 0xaaaaaa8a, 0xaaaaaaaa, 0x00000020 },
{ 0x00000000, 0xfffffffc, 0xfffffffe, 0x00000002 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x5555d555, 0x00007fff, 0xaaaaaaaa },
{ 0x00000000, 0xffff7f83, 0xffffff80, 0x00007ffd },
{ 0x00000000, 0x80000080, 0x80000000, 0xffffff80 },
{ 0x00000000, 0x55555558, 0x55555555, 0xfffffffd },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0x00007f80, 0xffffff82, 0xffff8002 },
{ 0x00000000, 0x80007ffe, 0x7ffffffe, 0xffff8000 },
{ 0x00000000, 0xffff8083, 0xffff8003, 0xffffff80 },
{ 0x00000000, 0x00000040, 0x00000020, 0xffffffe0 },
{ 0x00000000, 0xffff8021, 0xffff8001, 0xffffffe0 },
{ 0x00000000, 0xfffffffe, 0xffff8000, 0xffff8002 },
{ 0x00000000, 0x80000004, 0x00000002, 0x7ffffffe },
{ 0x00000000, 0x000000fe, 0x0000007f, 0xffffff81 },
{ 0x00000000, 0x80000002, 0x00000001, 0x7fffffff },
{ 0x00000000, 0xcccccccd, 0x00000000, 0x33333333 },
{ 0x00000000, 0x333332b7, 0xffffff83, 0xcccccccc },
{ 0x00000000, 0xffff8023, 0x00000020, 0x00007ffd },
{ 0x00000000, 0xcccccccc, 0xcccccccc, 0x00000000 },
{ 0x00000000, 0xffff0001, 0xffff8000, 0x00007fff },
{ 0x00000000, 0xcccc4cce, 0xcccccccc, 0x00007ffe },
{ 0x00000000, 0x7fffffff, 0xfffffffd, 0x7ffffffe },
{ 0x00000000, 0x55555555, 0xaaaaaaaa, 0x55555555 },
{ 0x00000000, 0xaaaaab29, 0xaaaaaaaa, 0xffffff81 },
{ 0x00000000, 0x00007ffe, 0xfffffffe, 0xffff8000 },
{ 0x00000000, 0xffffffe3, 0xffffffe0, 0xfffffffd },
{ 0x00000000, 0x33333336, 0x33333333, 0xfffffffd },
{ 0x00000000, 0x7fff8001, 0xffff8002, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffffff83, 0xffffff83 },
{ 0x00000000, 0xffff7fe2, 0xffff8002, 0x00000020 },
{ 0x00000000, 0x7fffff80, 0x7fffffff, 0x0000007f },
{ 0x00000000, 0xcccd4ccc, 0xcccccccc, 0xffff8000 },
{ 0x00000000, 0x7fff7fff, 0x7ffffffe, 0x00007fff },
{ 0x00000000, 0x00000000, 0x7ffffffd, 0x7ffffffd },
{ 0x00000000, 0x00007ffb, 0xfffffffd, 0xffff8002 },
{ 0x00000000, 0x80000003, 0x00000002, 0x7fffffff },
{ 0x00000000, 0xffffffde, 0xfffffffe, 0x00000020 },
{ 0x00000000, 0xffff8080, 0x0000007e, 0x00007ffe },
{ 0x00000000, 0x00008000, 0x00007ffd, 0xfffffffd },
{ 0x00000000, 0x0000007d, 0x0000007f, 0x00000002 },
{ 0x00000000, 0x00000003, 0x80000000, 0x7ffffffd },
{ 0x00000000, 0x80007ffe, 0x00007fff, 0x80000001 },
{ 0x00000000, 0xd5555556, 0x80000000, 0xaaaaaaaa },
{ 0x00000000, 0xaaab2aa9, 0xaaaaaaaa, 0xffff8001 },
{ 0x00000000, 0x00007fdd, 0xffffffe0, 0xffff8003 },
{ 0x00000000, 0xffff8002, 0xffffffff, 0x00007ffd },
{ 0x00000000, 0xffffff80, 0xffffff81, 0x00000001 },
{ 0x00000000, 0x2aaaaaa9, 0xaaaaaaaa, 0x80000001 },
{ 0x00000000, 0x00000000, 0xffff8000, 0xffff8000 },
{ 0x00000000, 0x5555d553, 0x00007ffd, 0xaaaaaaaa },
{ 0x00000000, 0xfffffffe, 0x7ffffffe, 0x80000000 },
{ 0x00000000, 0x0000807d, 0x00007ffe, 0xffffff81 },
{ 0x00000000, 0x0000807b, 0x0000007d, 0xffff8002 },
{ 0x00000000, 0x00000081, 0x00000002, 0xffffff81 },
{ 0x00000000, 0x80000000, 0xfffffffd, 0x7ffffffd },
{ 0x00000000, 0x000000a0, 0x00000020, 0xffffff80 },
{ 0x00000000, 0x8000001f, 0x7fffffff, 0xffffffe0 },
{ 0x00000000, 0xffff7f83, 0xffff8002, 0x0000007f },
{ 0x00000000, 0x80007ffd, 0x7fffffff, 0xffff8002 },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xffffff62, 0xffffffe0, 0x0000007e },
{ 0x00000000, 0x80000022, 0x00000020, 0x7ffffffe },
{ 0x00000000, 0x0000807f, 0x0000007f, 0xffff8000 },
{ 0x00000000, 0x7fffff84, 0x80000001, 0x0000007d },
{ 0x00000000, 0xffff8082, 0x0000007f, 0x00007ffd },
{ 0x00000000, 0x0000005e, 0xffffffe0, 0xffffff82 },
{ 0x00000000, 0x0000807c, 0x0000007e, 0xffff8002 },
{ 0x00000000, 0x555554d6, 0x55555555, 0x0000007f },
{ 0x00000000, 0x00000001, 0x7fffffff, 0x7ffffffe },
{ 0x00000000, 0x0000007e, 0xfffffffe, 0xffffff80 },
{ 0x00000000, 0xcccc4ccf, 0xffff8002, 0x33333333 },
{ 0x00000000, 0x55555553, 0xfffffffd, 0xaaaaaaaa },
{ 0x00000000, 0xffffffdd, 0xfffffffd, 0x00000020 },
{ 0x00000000, 0xaaab2aa9, 0x00007ffe, 0x55555555 },
{ 0x00000000, 0x0000001e, 0x00000020, 0x00000002 },
{ 0x00000000, 0xffff8004, 0xffff8002, 0xfffffffe },
{ 0x00000000, 0x80007fff, 0x80000001, 0xffff8002 },
{ 0x00000000, 0xcccccd4b, 0x0000007e, 0x33333333 },
};
const TestResult kReferenceSub[] = {
{
ARRAY_SIZE(kOutputs_Sub_Condition_eq_r0_r0_r0),
kOutputs_Sub_Condition_eq_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_ne_r0_r0_r0),
kOutputs_Sub_Condition_ne_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_cs_r0_r0_r0),
kOutputs_Sub_Condition_cs_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_cc_r0_r0_r0),
kOutputs_Sub_Condition_cc_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_mi_r0_r0_r0),
kOutputs_Sub_Condition_mi_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_pl_r0_r0_r0),
kOutputs_Sub_Condition_pl_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_vs_r0_r0_r0),
kOutputs_Sub_Condition_vs_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_vc_r0_r0_r0),
kOutputs_Sub_Condition_vc_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_hi_r0_r0_r0),
kOutputs_Sub_Condition_hi_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_ls_r0_r0_r0),
kOutputs_Sub_Condition_ls_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_ge_r0_r0_r0),
kOutputs_Sub_Condition_ge_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_lt_r0_r0_r0),
kOutputs_Sub_Condition_lt_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_gt_r0_r0_r0),
kOutputs_Sub_Condition_gt_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_le_r0_r0_r0),
kOutputs_Sub_Condition_le_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_Condition_al_r0_r0_r0),
kOutputs_Sub_Condition_al_r0_r0_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRn_al_r3_r3_r4),
kOutputs_Sub_RdIsRn_al_r3_r3_r4,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRn_al_r2_r2_r12),
kOutputs_Sub_RdIsRn_al_r2_r2_r12,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRn_al_r8_r8_r5),
kOutputs_Sub_RdIsRn_al_r8_r8_r5,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRn_al_r14_r14_r0),
kOutputs_Sub_RdIsRn_al_r14_r14_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRn_al_r11_r11_r10),
kOutputs_Sub_RdIsRn_al_r11_r11_r10,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRn_al_r12_r12_r10),
kOutputs_Sub_RdIsRn_al_r12_r12_r10,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRn_al_r4_r4_r8),
kOutputs_Sub_RdIsRn_al_r4_r4_r8,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRn_al_r5_r5_r14),
kOutputs_Sub_RdIsRn_al_r5_r5_r14,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRn_al_r0_r0_r6),
kOutputs_Sub_RdIsRn_al_r0_r0_r6,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRn_al_r12_r12_r1),
kOutputs_Sub_RdIsRn_al_r12_r12_r1,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRm_al_r6_r11_r6),
kOutputs_Sub_RdIsRm_al_r6_r11_r6,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRm_al_r11_r9_r11),
kOutputs_Sub_RdIsRm_al_r11_r9_r11,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRm_al_r0_r8_r0),
kOutputs_Sub_RdIsRm_al_r0_r8_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRm_al_r2_r11_r2),
kOutputs_Sub_RdIsRm_al_r2_r11_r2,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRm_al_r9_r4_r9),
kOutputs_Sub_RdIsRm_al_r9_r4_r9,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRm_al_r14_r10_r14),
kOutputs_Sub_RdIsRm_al_r14_r10_r14,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRm_al_r7_r0_r7),
kOutputs_Sub_RdIsRm_al_r7_r0_r7,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRm_al_r4_r9_r4),
kOutputs_Sub_RdIsRm_al_r4_r9_r4,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRm_al_r6_r10_r6),
kOutputs_Sub_RdIsRm_al_r6_r10_r6,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsRm_al_r7_r6_r7),
kOutputs_Sub_RdIsRm_al_r7_r6_r7,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsNotRnIsNotRm_al_r3_r9_r10),
kOutputs_Sub_RdIsNotRnIsNotRm_al_r3_r9_r10,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsNotRnIsNotRm_al_r7_r12_r5),
kOutputs_Sub_RdIsNotRnIsNotRm_al_r7_r12_r5,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsNotRnIsNotRm_al_r8_r5_r6),
kOutputs_Sub_RdIsNotRnIsNotRm_al_r8_r5_r6,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsNotRnIsNotRm_al_r0_r6_r0),
kOutputs_Sub_RdIsNotRnIsNotRm_al_r0_r6_r0,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsNotRnIsNotRm_al_r11_r7_r8),
kOutputs_Sub_RdIsNotRnIsNotRm_al_r11_r7_r8,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsNotRnIsNotRm_al_r12_r2_r3),
kOutputs_Sub_RdIsNotRnIsNotRm_al_r12_r2_r3,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsNotRnIsNotRm_al_r7_r4_r10),
kOutputs_Sub_RdIsNotRnIsNotRm_al_r7_r4_r10,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsNotRnIsNotRm_al_r9_r6_r1),
kOutputs_Sub_RdIsNotRnIsNotRm_al_r9_r6_r1,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsNotRnIsNotRm_al_r10_r14_r3),
kOutputs_Sub_RdIsNotRnIsNotRm_al_r10_r14_r3,
},
{
ARRAY_SIZE(kOutputs_Sub_RdIsNotRnIsNotRm_al_r14_r3_r6),
kOutputs_Sub_RdIsNotRnIsNotRm_al_r14_r3_r6,
},
};
#endif // VIXL_SIMULATOR_COND_RD_RN_OPERAND_RM_SUB_A32_H_
| 160,110 |
1,444 |
package mage.cards.d;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.effects.common.RegenerateSourceEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Zone;
/**
*
* @author nigelzor
*/
public final class DiabolicMachine extends CardImpl {
public DiabolicMachine(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{7}");
this.subtype.add(SubType.CONSTRUCT);
this.power = new MageInt(4);
this.toughness = new MageInt(4);
// {3}: Regenerate Diabolic Machine.
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new GenericManaCost(3)));
}
private DiabolicMachine(final DiabolicMachine card) {
super(card);
}
@Override
public DiabolicMachine copy() {
return new DiabolicMachine(this);
}
}
| 401 |
2,338 | //===- MIRYamlMapping.cpp - Describe mapping between MIR and YAML ---------===//
//
// 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 implements the mapping between various MIR data structures and
// their corresponding YAML representation.
//
//===----------------------------------------------------------------------===//
#include "llvm/CodeGen/MIRYamlMapping.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FormatVariadic.h"
using namespace llvm;
using namespace llvm::yaml;
FrameIndex::FrameIndex(int FI, const llvm::MachineFrameInfo &MFI) {
IsFixed = MFI.isFixedObjectIndex(FI);
if (IsFixed)
FI -= MFI.getObjectIndexBegin();
this->FI = FI;
}
// Returns the value and if the frame index is fixed or not.
Expected<int> FrameIndex::getFI(const llvm::MachineFrameInfo &MFI) const {
int FI = this->FI;
if (IsFixed) {
if (unsigned(FI) >= MFI.getNumFixedObjects())
return make_error<StringError>(
formatv("invalid fixed frame index {0}", FI).str(),
inconvertibleErrorCode());
FI += MFI.getObjectIndexBegin();
}
if (unsigned(FI + MFI.getNumFixedObjects()) >= MFI.getNumObjects())
return make_error<StringError>(formatv("invalid frame index {0}", FI).str(),
inconvertibleErrorCode());
return FI;
}
| 535 |
4,415 | # ******************************************************************************
# Copyright 2014-2018 Intel Corporation
#
# 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.
# ******************************************************************************
"""
Convolution layer tests
"""
from builtins import zip
import numpy as np
from neon import NervanaObject
from neon.layers import Sequential, Conv, MergeSum, SkipNode, Activation
from neon.initializers.initializer import Gaussian, IdentityInit
from neon.transforms import Rectlin
from utils import allclose_with_out
try:
from neon.backends.nervanamkl import NervanaMKL
except ImportError:
# stub out the class
class NervanaMKL(object):
pass
init1 = Gaussian(scale=0.01)
relu = Rectlin()
batch_size = 64
def conv_params(fsize, nfm, stride=1, relu=True):
return dict(fshape=(fsize, fsize, nfm), strides=stride, padding=(1 if fsize > 1 else 0),
activation=(Rectlin() if relu else None),
init=init1,
batch_norm=True)
def id_params(nfm):
return dict(fshape=(1, 1, nfm), strides=2, padding=0, activation=None, init=IdentityInit())
def identity_skip(nfm, stride=1):
mainpath = [Conv(**conv_params(3, nfm, stride=stride)),
Conv(**conv_params(3, nfm, relu=False))]
sidepath = [SkipNode() if stride == 1 else Conv(**id_params(nfm))]
module = [MergeSum([mainpath, sidepath]),
Activation(Rectlin())]
return module
def projection_skip(nfm, stride=1):
mainpath = [Conv(**conv_params(3, nfm, stride=stride)),
Conv(**conv_params(3, nfm, relu=False))]
sidepath = [SkipNode() if stride == 1 else Conv(**conv_params(1, nfm, stride, relu=False))]
module = [MergeSum([mainpath, sidepath]),
Activation(Rectlin())]
return module
def module_factory_copy(ref_module, modfunc, nfm, stride=1, name="i"):
mm = modfunc(nfm, stride)
for branch_copy, branch_ref in zip(mm[0].layers, ref_module[0].layers):
for ll, lr in zip(branch_copy.layers, branch_ref.layers):
if ll.has_params:
ll.set_params(lr.get_params_serialize())
return (mm[0].layers[0].layers, mm[0].layers[1].layers)
def test_skip_noupsample(backend_default):
be = NervanaObject.be
be.bsz = 64
mergesum_test_config(be, modfunc=identity_skip, use_stride=1)
def test_skip_upsample(backend_default):
be = NervanaObject.be
be.bsz = 64
mergesum_test_config(be, modfunc=identity_skip, use_stride=2)
def test_proj_upsample(backend_default):
be = NervanaObject.be
be.bsz = 64
mergesum_test_config(be, modfunc=projection_skip, use_stride=2)
def mergesum_test_config(be, modfunc, use_stride=1):
l1 = Conv(**conv_params(3, 16))
neon_layer = modfunc(16, use_stride)
inshape = (16, 32, 32)
insize = np.prod(inshape)
inpa = np.random.random((insize, batch_size))
neon_seq = Sequential([l1] + neon_layer)
neon_seq.configure(inshape)
inp = be.array(inpa)
neon_seq.allocate()
# neon_layer.layers[0].prev_layer = True
neon_seq.allocate_deltas()
neon_out = neon_seq.fprop(inp).get()
# Now make the reference pathways:
p1, p2 = module_factory_copy(neon_layer, modfunc, 16, use_stride)
l11 = Conv(**conv_params(3, 16))
l12 = Conv(**conv_params(3, 16))
for ll in (l11, l12):
for lcopy, lref in zip(ll, l1):
if lcopy.has_params:
lcopy.set_params(lref.get_params_serialize())
path1 = Sequential([l11] + p1)
path2 = Sequential([l12] + p2)
for ll in (path1, path2):
ll.configure(inshape)
ll.allocate()
ll.allocate_deltas()
o1 = path1.fprop(inp)
o2 = path2.fprop(inp)
# convert mkl buffer to cpu for following cpu execution
be.convert_data(o1, False)
be.convert_data(o2, False)
neon_out_ref = be.empty_like(o1)
neon_out_ref[:] = be.maximum(o1 + o2, 0)
# need to have bsum false for this test to be valid
assert allclose_with_out(neon_out_ref.get(), neon_out, rtol=0)
erra = np.random.random(neon_out.shape)
err = be.array(erra)
ebr = neon_seq.layers[-1].bprop(err)
ebr = neon_seq.layers[-2].bprop(ebr)
trunk_neon = ebr.get()
err = be.array(erra)
err[:] = be.greater(neon_out_ref, 0) * err
pstart = len(l1)
eb1 = err
for l in reversed(path1.layers[pstart:]):
eb1 = l.bprop(eb1)
eb2 = err
for l in reversed(path2.layers[pstart:]):
eb2 = l.bprop(eb2)
be.convert_data(eb1, False)
be.convert_data(eb2, False)
err_ref = be.empty_like(eb1)
err_ref[:] = eb1 + eb2
assert allclose_with_out(err_ref.get(), trunk_neon, rtol=0)
if __name__ == '__main__':
test_skip_noupsample()
| 2,198 |
491 | <reponame>EmreOzkose/k2
#!/usr/bin/env python3
#
# Copyright 2020 Xiaomi Corp. (authors: <NAME>)
#
# See ../../../LICENSE for clarification regarding multiple authors
#
# 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.
# To run this single test, use
#
# ctest --verbose -R create_sparse_test_py
import unittest
import k2
import torch
class TestCreaseSparse(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.devices = [torch.device('cpu')]
if torch.cuda.is_available() and k2.with_cuda:
cls.devices.append(torch.device('cuda', 0))
if torch.cuda.device_count() > 1:
torch.cuda.set_device(1)
cls.devices.append(torch.device('cuda', 1))
def test_create_sparse(self):
s = '''
0 1 10 0.1
0 1 11 0.2
1 2 20 0.3
2 3 21 0.4
2 3 24 0.5
3 4 -1 0.6
4
'''
for device in self.devices:
fsa = k2.Fsa.from_str(s).to(device)
fsa.phones = torch.tensor([10, 11, 20, 21, 24, -1],
dtype=torch.int32,
device=device)
fsa.seqframes = torch.tensor([0, 0, 1, 2, 2, 3],
dtype=torch.int32,
device=device)
fsa.requires_grad_(True)
tensor = k2.create_sparse(rows=fsa.seqframes,
cols=fsa.phones,
values=fsa.scores,
size=(6, 25),
min_col_index=0)
assert tensor.device == device
assert tensor.is_sparse
assert torch.allclose(tensor._indices()[0],
fsa.seqframes[:-1].to(torch.int64))
assert torch.allclose(tensor._indices()[1],
fsa.phones[:-1].to(torch.int64))
assert torch.allclose(tensor._values(), fsa.scores[:-1])
assert tensor.requires_grad == fsa.requires_grad
assert tensor.dtype == fsa.scores.dtype
if __name__ == '__main__':
unittest.main()
| 1,446 |
521 | <reponame>James992927108/uEFI_Edk2_Practice<filename>AppPkg/Applications/Sockets/OobTx/OobTx.c
/** @file
Windows version of the OOB Transmit application
Copyright (c) 2011-2012, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <OobTx.h>
UINT8 mBuffer[8192];
UINT8 mOob[512];
/**
Transmit out-of-band messages to the remote system.
@param [in] ArgC Argument count
@param [in] ArgV Argument value array
@retval 0 Successfully operation
**/
int
OobTx (
IN int ArgC,
IN char **ArgV
)
{
UINT32 BytesSent;
ssize_t BytesTransmitted;
UINT32 Index;
struct sockaddr_in LocalPort;
UINT32 OobInLine;
UINT16 PortNumber;
UINT32 RemoteAddress[4];
struct sockaddr_in RemotePort;
int RetVal;
UINT32 TransmittedAfter;
UINT32 TransmittedBefore;
UINT32 TransmittedOob;
SOCKET s;
//
// Create the socket
//
s = socket ( AF_INET, SOCK_STREAM, IPPROTO_TCP );
if ( -1 == s ) {
RetVal = GET_ERRNO;
printf ( "ERROR - socket error, errno: %d\r\n", RetVal );
}
else {
//
// Use for/break; instead of goto
//
for ( ; ; ) {
//
// Validate the arguments
//
if (( 2 > ArgC )
|| ( 4 != sscanf ( ArgV[1],
"%d.%d.%d.%d",
&RemoteAddress[0],
&RemoteAddress[1],
&RemoteAddress[2],
&RemoteAddress[3]))
|| ( 224 < RemoteAddress[0])
|| ( 255 < RemoteAddress[1])
|| ( 255 < RemoteAddress[2])
|| ( 255 < RemoteAddress[3])
|| (( 0 == RemoteAddress[0])
&& ( 0 == RemoteAddress[1])
&& ( 0 == RemoteAddress[2])
&& ( 0 == RemoteAddress[3]))) {
printf ( "%s <remote IP address> [optional: enables in-line OOB]\r\n", ArgV[0]);
RetVal = EINVAL;
break;
}
//
// Bind the socket to a local port
//
memset ( &LocalPort, 0, sizeof ( LocalPort ));
SIN_LEN ( LocalPort ) = sizeof ( LocalPort );
SIN_FAMILY ( LocalPort ) = AF_INET;
SIN_ADDR ( LocalPort ) = 0;
SIN_PORT ( LocalPort ) = 0;
RetVal = bind ( s,
(struct sockaddr *)&LocalPort,
sizeof ( LocalPort ));
if ( -1 == RetVal ) {
RetVal = GET_ERRNO;
printf ( "ERROR - bind error, errno: %d\r\n", RetVal );
break;
}
//
// Specify the remote port
//
PortNumber = OOB_RX_PORT;
memset ( &RemotePort, 0, sizeof ( RemotePort ));
SIN_LEN ( RemotePort ) = sizeof ( RemotePort );
SIN_FAMILY ( RemotePort ) = AF_INET;
SIN_ADDR ( RemotePort ) = ( RemoteAddress[3] << 24 )
| ( RemoteAddress[2] << 16 )
| ( RemoteAddress[1] << 8 )
| RemoteAddress[0];
SIN_PORT ( RemotePort ) = htons ( PortNumber );
//
// Connect to the remote server
//
RetVal = connect ( s, (struct sockaddr *)&RemotePort, sizeof ( RemotePort ));
if ( -1 == RetVal ) {
RetVal = GET_ERRNO;
printf ( "ERROR - connect error, errno: %d\r\n", RetVal );
break;
}
//
// Select the OOB processing
//
OobInLine = ( 2 < ArgC );
RetVal = setsockopt ( s,
SOL_SOCKET,
SO_OOBINLINE,
(char *)&OobInLine,
sizeof ( OobInLine ));
if ( -1 == RetVal ) {
RetVal = GET_ERRNO;
printf ( "ERROR - setsockopt OOBINLINE error, errno: %d\r\n", RetVal );
break;
}
printf ( "%s\r\n", ( 0 != OobInLine ) ? "OOB messages are in-line"
: "OOB messages move to the head of the queue" );
//
// Initialize the messages
//
memset ( &mBuffer[0], 0, sizeof ( mBuffer ));
memset ( &mOob[0], 0x11, sizeof ( mOob ));
//
// Send the data before the out-of-band message
//
TransmittedBefore = 0;
for ( Index = 0; TX_MSGS_BEFORE > Index; Index++ ) {
BytesSent = 0;
do {
BytesTransmitted = send ( s,
&mBuffer[BytesSent],
sizeof ( mBuffer ) - BytesSent,
0 );
if ( -1 == BytesTransmitted ) {
RetVal = GET_ERRNO;
printf ( "ERROR - send before error, errno: %d\r\n", RetVal );
break;
}
BytesSent += (UINT32)BytesTransmitted;
RetVal = 0;
} while ( sizeof ( mBuffer ) > BytesSent );
if ( 0 != RetVal ) {
break;
}
TransmittedBefore += BytesSent;
}
if ( 0 != RetVal ) {
break;
}
//
// Send the out-of-band message
//
BytesSent = 0;
do {
BytesTransmitted = send ( s,
&mOob[BytesSent],
sizeof ( mOob ) - BytesSent,
MSG_OOB );
if ( -1 == BytesTransmitted ) {
RetVal = GET_ERRNO;
printf ( "ERROR - send OOB error, errno: %d\r\n", RetVal );
break;
}
BytesSent += (UINT32)BytesTransmitted;
RetVal = 0;
} while ( sizeof ( mOob ) > BytesSent );
if ( 0 != RetVal ) {
break;
}
TransmittedOob = BytesSent;
//
// Send the data after the out-of-band message
//
TransmittedAfter = 0;
for ( Index = 0; TX_MSGS_AFTER > Index; Index++ ) {
BytesSent = 0;
do {
BytesTransmitted = send ( s,
&mBuffer[BytesSent],
sizeof ( mBuffer ) - BytesSent,
0 );
if ( -1 == BytesTransmitted ) {
RetVal = GET_ERRNO;
printf ( "ERROR - send after error, errno: %d\r\n", RetVal );
break;
}
BytesSent += (UINT32)BytesTransmitted;
RetVal = 0;
} while ( sizeof ( mBuffer ) > BytesSent );
if ( 0 != RetVal ) {
break;
}
TransmittedAfter += BytesSent;
}
//
// Test completed successfully
//
if ( 0 == RetVal ) {
printf ( "Bytes before OOB: %8d\r\n", TransmittedBefore );
printf ( "Out-of-band bytes: %8d\r\n", TransmittedOob );
printf ( "Bytes after OOB: %8d\r\n", TransmittedAfter );
printf ( " --------\r\n" );
printf ( "Total Bytes: %8d\r\n", TransmittedBefore
+ TransmittedOob
+ TransmittedAfter );
}
break;
}
//
// Close the socket
//
CLOSE_SOCKET ( s );
}
//
// Return the operation status
//
return RetVal;
}
| 3,880 |
313 | /*
TEST_HEADER
id = $Id$
summary = deregister thread without registering it first
language = c
link = myfmt.o testlib.o
OUTPUT_SPEC
abort = true
END_HEADER
*/
#include "testlib.h"
#include "mpscamc.h"
#include "myfmt.h"
static void test(void *stack_pointer)
{
mps_arena_t arena;
mps_thr_t thread = (mps_thr_t)1;
cdie(mps_arena_create(&arena, mps_arena_class_vm(), mmqaArenaSIZE), "create arena");
/*
cdie(mps_thread_reg(&thread, arena), "register thread");
*/
mps_thread_dereg(thread);
comment("Deregistered thread.");
mps_arena_destroy(arena);
comment("Destroyed arena.");
}
int main(void)
{
run_test(test);
return 0;
}
| 259 |
1,199 | <reponame>mikiec84/code-for-blog
// Same as futex-basic-process.c, but using threads.
//
// Main differences:
// 1. No need for shared memory calls (shmget, etc.), since threads share the
// address space we can use a simple pointer.
// 2. Use the _PRIVATE versions of system calls since these can be more
// efficient within a single process.
//
// <NAME> [http://eli.thegreenplace.net]
// This code is in the public domain.
#include <errno.h>
#include <linux/futex.h>
#include <pthread.h>
#include <sched.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/shm.h>
#include <sys/syscall.h>
#include <sys/time.h>
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
// The C runtime doesn't provide a wrapper for the futex(2) syscall, so we roll
// our own.
int futex(int* uaddr, int futex_op, int val, const struct timespec* timeout,
int* uaddr2, int val3) {
return syscall(SYS_futex, uaddr, futex_op, val, timeout, uaddr2, val3);
}
// Waits for the futex at futex_addr to have the value val, ignoring spurious
// wakeups. This function only returns when the condition is fulfilled; the only
// other way out is aborting with an error.
void wait_on_futex_value(int* futex_addr, int val) {
while (1) {
int futex_rc = futex(futex_addr, FUTEX_WAIT_PRIVATE, val, NULL, NULL, 0);
if (futex_rc == -1) {
if (errno != EAGAIN) {
perror("futex");
exit(1);
}
} else if (futex_rc == 0) {
if (*futex_addr == val) {
// This is a real wakeup.
return;
}
} else {
abort();
}
}
}
// A blocking wrapper for waking a futex. Only returns when a waiter has been
// woken up.
void wake_futex_blocking(int* futex_addr) {
while (1) {
int futex_rc = futex(futex_addr, FUTEX_WAKE_PRIVATE, 1, NULL, NULL, 0);
if (futex_rc == -1) {
perror("futex wake");
exit(1);
} else if (futex_rc > 0) {
return;
}
}
}
void* threadfunc(void* p) {
int* shared_data = (int*)p;
printf("child waiting for A\n");
wait_on_futex_value(shared_data, 0xA);
printf("child writing B\n");
// Write 0xB to the shared data and wake up parent.
*shared_data = 0xB;
wake_futex_blocking(shared_data);
return NULL;
}
int main(int argc, char** argv) {
int futex_var = 0;
int* shared_data = &futex_var;
pthread_t childt;
pthread_create(&childt, NULL, threadfunc, (void*)shared_data);
// Parent thread.
printf("parent writing A\n");
// Write 0xA to the shared data and wake up child.
*shared_data = 0xA;
wake_futex_blocking(shared_data);
printf("parent waiting for B\n");
wait_on_futex_value(shared_data, 0xB);
pthread_join(childt, NULL);
}
| 1,098 |
1,159 | #ifndef TYPE_TRAITS
#define TYPE_TRAITS
#include <istream>
#include <ostream>
#include <string>
#include <optional>
namespace Type
{
template<typename T>
concept istreamable = requires(std::istream &stream, T p) { stream >> p; };
template<typename T>
concept ostreamable = requires(std::ostream &stream, T p) { stream << p; };
template <typename T, typename Enable = void>
struct isoptional : std::false_type
{};
template <typename T>
struct isoptional<std::optional<T>> : std::true_type
{};
}
#endif
| 183 |
427 | // REQUIRES: powerpc-registered-target
// RUN: %clang_cc1 -faltivec -target-feature +power8-vector \
// RUN: -triple powerpc64-unknown-unknown -emit-llvm %s -o - | FileCheck %s
// RUN: %clang_cc1 -faltivec -target-feature +power8-vector \
// RUN: -triple powerpc64le-unknown-unknown -emit-llvm %s -o - \
// RUN: | FileCheck %s -check-prefix=CHECK-LE
// RUN: not %clang_cc1 -faltivec -triple powerpc-unknown-unknown \
// RUN: -emit-llvm %s -o - 2>&1 | FileCheck %s -check-prefix=CHECK-PPC
#include <altivec.h>
// CHECK-PPC: error: __int128 is not supported on this target
vector signed __int128 vlll = { -1 };
// CHECK-PPC: error: __int128 is not supported on this target
vector unsigned __int128 vulll = { 1 };
signed long long param_sll;
// CHECK-PPC: error: __int128 is not supported on this target
signed __int128 param_lll;
// CHECK-PPC: error: __int128 is not supported on this target
unsigned __int128 param_ulll;
// CHECK-PPC: error: __int128 is not supported on this target
vector signed __int128 res_vlll;
// CHECK-PPC: error: __int128 is not supported on this target
vector unsigned __int128 res_vulll;
// CHECK-LABEL: define void @test1
void test1() {
/* vec_add */
res_vlll = vec_add(vlll, vlll);
// CHECK: add <1 x i128>
// CHECK-LE: add <1 x i128>
// CHECK-PPC: error: call to 'vec_add' is ambiguous
res_vulll = vec_add(vulll, vulll);
// CHECK: add <1 x i128>
// CHECK-LE: add <1 x i128>
// CHECK-PPC: error: call to 'vec_add' is ambiguous
/* vec_vadduqm */
res_vlll = vec_vadduqm(vlll, vlll);
// CHECK: add <1 x i128>
// CHECK-LE: add <1 x i128>
// CHECK-PPC: error: assigning to '__vector __int128' (vector of 1 '__int128' value) from incompatible type 'int'
res_vulll = vec_vadduqm(vulll, vulll);
// CHECK: add <1 x i128>
// CHECK-LE: add <1 x i128>
// CHECK-PPC: error: assigning to '__vector unsigned __int128' (vector of 1 'unsigned __int128' value) from incompatible type 'int'
/* vec_vaddeuqm */
res_vlll = vec_vaddeuqm(vlll, vlll, vlll);
// CHECK: @llvm.ppc.altivec.vaddeuqm
// CHECK-LE: @llvm.ppc.altivec.vaddeuqm
// CHECK-PPC: error: assigning to '__vector __int128' (vector of 1 '__int128' value) from incompatible type 'int'
res_vulll = vec_vaddeuqm(vulll, vulll, vulll);
// CHECK: @llvm.ppc.altivec.vaddeuqm
// CHECK-LE: @llvm.ppc.altivec.vaddeuqm
// CHECK-PPC: error: assigning to '__vector unsigned __int128' (vector of 1 'unsigned __int128' value) from incompatible type 'int'
/* vec_addc */
res_vlll = vec_addc(vlll, vlll);
// CHECK: @llvm.ppc.altivec.vaddcuq
// CHECK-LE: @llvm.ppc.altivec.vaddcuq
// KCHECK-PPC: error: call to 'vec_addc' is ambiguous
res_vulll = vec_addc(vulll, vulll);
// CHECK: @llvm.ppc.altivec.vaddcuq
// CHECK-LE: @llvm.ppc.altivec.vaddcuq
// KCHECK-PPC: error: call to 'vec_addc' is ambiguous
/* vec_vaddcuq */
res_vlll = vec_vaddcuq(vlll, vlll);
// CHECK: @llvm.ppc.altivec.vaddcuq
// CHECK-LE: @llvm.ppc.altivec.vaddcuq
// CHECK-PPC: error: assigning to '__vector __int128' (vector of 1 '__int128' value) from incompatible type 'int'
res_vulll = vec_vaddcuq(vulll, vulll);
// CHECK: @llvm.ppc.altivec.vaddcuq
// CHECK-LE: @llvm.ppc.altivec.vaddcuq
// CHECK-PPC: error: assigning to '__vector unsigned __int128' (vector of 1 'unsigned __int128' value) from incompatible type 'int'
/* vec_vaddecuq */
res_vlll = vec_vaddecuq(vlll, vlll, vlll);
// CHECK: @llvm.ppc.altivec.vaddecuq
// CHECK-LE: @llvm.ppc.altivec.vaddecuq
// CHECK-PPC: error: assigning to '__vector __int128' (vector of 1 '__int128' value) from incompatible type 'int'
res_vulll = vec_vaddecuq(vulll, vulll, vulll);
// CHECK: @llvm.ppc.altivec.vaddecuq
// CHECK-LE: @llvm.ppc.altivec.vaddecuq
// CHECK-PPC: error: assigning to '__vector unsigned __int128' (vector of 1 'unsigned __int128' value) from incompatible type 'int'
/* vec_sub */
res_vlll = vec_sub(vlll, vlll);
// CHECK: sub <1 x i128>
// CHECK-LE: sub <1 x i128>
// CHECK-PPC: error: call to 'vec_sub' is ambiguous
res_vulll = vec_sub(vulll, vulll);
// CHECK: sub <1 x i128>
// CHECK-LE: sub <1 x i128>
// CHECK-PPC: error: call to 'vec_sub' is ambiguous
/* vec_vsubuqm */
res_vlll = vec_vsubuqm(vlll, vlll);
// CHECK: sub <1 x i128>
// CHECK-LE: sub <1 x i128>
// CHECK-PPC: error: assigning to '__vector __int128' (vector of 1 '__int128' value) from incompatible type 'int'
res_vulll = vec_vsubuqm(vulll, vulll);
// CHECK: sub <1 x i128>
// CHECK-LE: sub <1 x i128>
// CHECK-PPC: error: assigning to '__vector unsigned __int128' (vector of 1 'unsigned __int128' value) from incompatible type 'int'
/* vec_vsubeuqm */
res_vlll = vec_vsubeuqm(vlll, vlll, vlll);
// CHECK: @llvm.ppc.altivec.vsubeuqm
// CHECK-LE: @llvm.ppc.altivec.vsubeuqm
// CHECK-PPC: error: assigning to '__vector __int128' (vector of 1 '__int128' value) from incompatible type 'int'
/* vec_sube */
res_vlll = vec_sube(vlll, vlll, vlll);
// CHECK: @llvm.ppc.altivec.vsubeuqm
// CHECK-LE: @llvm.ppc.altivec.vsubeuqm
// CHECK-PPC: error: call to 'vec_sube' is ambiguous
res_vulll = vec_sube(vulll, vulll, vulll);
// CHECK: @llvm.ppc.altivec.vsubeuqm
// CHECK-LE: @llvm.ppc.altivec.vsubeuqm
// CHECK-PPC: error: call to 'vec_sube' is ambiguous
res_vlll = vec_sube(vlll, vlll, vlll);
// CHECK: @llvm.ppc.altivec.vsubeuqm
// CHECK-LE: @llvm.ppc.altivec.vsubeuqm
// CHECK-PPC: error: call to 'vec_sube' is ambiguous
res_vulll = vec_vsubeuqm(vulll, vulll, vulll);
// CHECK: @llvm.ppc.altivec.vsubeuqm
// CHECK-LE: @llvm.ppc.altivec.vsubeuqm
// CHECK-PPC: error: assigning to '__vector unsigned __int128' (vector of 1 'unsigned __int128' value) from incompatible type 'int'
res_vulll = vec_sube(vulll, vulll, vulll);
// CHECK: @llvm.ppc.altivec.vsubeuqm
// CHECK-LE: @llvm.ppc.altivec.vsubeuqm
// CHECK-PPC: error: call to 'vec_sube' is ambiguous
/* vec_subc */
res_vlll = vec_subc(vlll, vlll);
// CHECK: @llvm.ppc.altivec.vsubcuq
// CHECK-LE: @llvm.ppc.altivec.vsubcuq
// KCHECK-PPC: error: call to 'vec_subc' is ambiguous
res_vulll = vec_subc(vulll, vulll);
// CHECK: @llvm.ppc.altivec.vsubcuq
// CHECK-LE: @llvm.ppc.altivec.vsubcuq
// KCHECK-PPC: error: call to 'vec_subc' is ambiguous
/* vec_vsubcuq */
res_vlll = vec_vsubcuq(vlll, vlll);
// CHECK: @llvm.ppc.altivec.vsubcuq
// CHECK-LE: @llvm.ppc.altivec.vsubcuq
// CHECK-PPC: error: assigning to '__vector __int128' (vector of 1 '__int128' value) from incompatible type 'int'
res_vulll = vec_vsubcuq(vulll, vulll);
// CHECK: @llvm.ppc.altivec.vsubcuq
// CHECK-LE: @llvm.ppc.altivec.vsubcuq
// CHECK-PPC: error: assigning to '__vector unsigned __int128' (vector of 1 'unsigned __int128' value) from incompatible type 'int'
/* vec_vsubecuq */
res_vlll = vec_vsubecuq(vlll, vlll, vlll);
// CHECK: @llvm.ppc.altivec.vsubecuq
// CHECK-LE: @llvm.ppc.altivec.vsubecuq
// CHECK-PPC: error: assigning to '__vector __int128' (vector of 1 '__int128' value) from incompatible type 'int'
res_vulll = vec_vsubecuq(vulll, vulll, vulll);
// CHECK: @llvm.ppc.altivec.vsubecuq
// CHECK-LE: @llvm.ppc.altivec.vsubecuq
// CHECK-PPC: error: assigning to '__vector unsigned __int128' (vector of 1 'unsigned __int128' value) from incompatible type 'int'
res_vlll = vec_subec(vlll, vlll, vlll);
// CHECK: @llvm.ppc.altivec.vsubecuq
// CHECK-LE: @llvm.ppc.altivec.vsubecuq
// CHECK-PPC: error: assigning to '__vector __int128' (vector of 1 '__int128' value) from incompatible type 'int'
res_vulll = vec_subec(vulll, vulll, vulll);
// CHECK: @llvm.ppc.altivec.vsubecuq
// CHECK-LE: @llvm.ppc.altivec.vsubecuq
// CHECK-PPC: error: assigning to '__vector unsigned __int128' (vector of 1 'unsigned __int128' value) from incompatible type 'int'
res_vulll = vec_revb(vulll);
// CHECK: store <16 x i8> <i8 15, i8 14, i8 13, i8 12, i8 11, i8 10, i8 9, i8 8, i8 7, i8 6, i8 5, i8 4, i8 3, i8 2, i8 1, i8 0>, <16 x i8>* {{%.+}}, align 16
// CHECK: call <4 x i32> @llvm.ppc.altivec.vperm(<4 x i32> {{%.+}}, <4 x i32> {{%.+}}, <16 x i8> {{%.+}})
// CHECK-LE: store <16 x i8> <i8 15, i8 14, i8 13, i8 12, i8 11, i8 10, i8 9, i8 8, i8 7, i8 6, i8 5, i8 4, i8 3, i8 2, i8 1, i8 0>, <16 x i8>* {{%.+}}, align 16
// CHECK-LE: store <16 x i8> <i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1>, <16 x i8>* {{%.+}}, align 16
// CHECK-LE: xor <16 x i8>
// CHECK-LE: call <4 x i32> @llvm.ppc.altivec.vperm(<4 x i32> {{%.+}}, <4 x i32> {{%.+}}, <16 x i8> {{%.+}})
// CHECK_PPC: error: call to 'vec_revb' is ambiguous
/* vec_xl */
res_vlll = vec_xl(param_sll, ¶m_lll);
// CHECK: load <1 x i128>, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-LE: load <1 x i128>, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-PPC: error: call to 'vec_xl' is ambiguous
res_vulll = vec_xl(param_sll, ¶m_ulll);
// CHECK: load <1 x i128>, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-LE: load <1 x i128>, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-PPC: error: call to 'vec_xl' is ambiguous
/* vec_xst */
vec_xst(vlll, param_sll, ¶m_lll);
// CHECK: store <1 x i128> %{{[0-9]+}}, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-LE: store <1 x i128> %{{[0-9]+}}, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-PPC: error: call to 'vec_xst' is ambiguous
vec_xst(vulll, param_sll, ¶m_ulll);
// CHECK: store <1 x i128> %{{[0-9]+}}, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-LE: store <1 x i128> %{{[0-9]+}}, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-PPC: error: call to 'vec_xst' is ambiguous
/* vec_xl_be */
res_vlll = vec_xl_be(param_sll, ¶m_lll);
// CHECK: load <1 x i128>, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-LE: load <1 x i128>, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-PPC: error: call to 'vec_xl' is ambiguous
res_vulll = vec_xl_be(param_sll, ¶m_ulll);
// CHECK: load <1 x i128>, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-LE: load <1 x i128>, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-PPC: error: call to 'vec_xl' is ambiguous
/* vec_xst_be */
vec_xst_be(vlll, param_sll, ¶m_lll);
// CHECK: store <1 x i128> %{{[0-9]+}}, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-LE: store <1 x i128> %{{[0-9]+}}, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-PPC: error: call to 'vec_xst' is ambiguous
vec_xst_be(vulll, param_sll, ¶m_ulll);
// CHECK: store <1 x i128> %{{[0-9]+}}, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-LE: store <1 x i128> %{{[0-9]+}}, <1 x i128>* %{{[0-9]+}}, align 16
// CHECK-PPC: error: call to 'vec_xst' is ambiguous
}
| 4,841 |
311 | package datadog.trace.instrumentation.akkahttp;
import akka.http.scaladsl.model.Uri;
import datadog.trace.bootstrap.instrumentation.api.URIRawDataAdapter;
import scala.Option;
final class UriAdapter extends URIRawDataAdapter {
private final Uri uri;
UriAdapter(Uri uri) {
this.uri = uri;
}
@Override
public String scheme() {
return uri.scheme();
}
@Override
public String host() {
return uri.authority().host().address();
}
@Override
public int port() {
return uri.authority().port();
}
@Override
protected String innerRawPath() {
return uri.path().toString();
}
@Override
public String fragment() {
return getOrElseNull(uri.fragment());
}
@Override
protected String innerRawQuery() {
return getOrElseNull(uri.rawQueryString());
}
private static String getOrElseNull(Option<String> optional) {
if (optional.nonEmpty()) {
return optional.get();
}
return null;
}
}
| 340 |
528 | <filename>src/template/decodef.c
static uint _t2(rev_decode_block, Scalar, DIMS)(zfp_stream* zfp, Scalar* fblock);
/* private functions ------------------------------------------------------- */
/* decode contiguous floating-point block using lossy algorithm */
static uint
_t2(decode_block, Scalar, DIMS)(zfp_stream* zfp, Scalar* fblock)
{
uint bits = 1;
/* test if block has nonzero values */
if (stream_read_bit(zfp->stream)) {
cache_align_(Int iblock[BLOCK_SIZE]);
int emax, maxprec;
/* decode common exponent */
bits += EBITS;
emax = (int)stream_read_bits(zfp->stream, EBITS) - EBIAS;
maxprec = precision(emax, zfp->maxprec, zfp->minexp, DIMS);
/* decode integer block */
bits += _t2(decode_block, Int, DIMS)(zfp->stream, zfp->minbits - bits, zfp->maxbits - bits, maxprec, iblock);
/* perform inverse block-floating-point transform */
_t1(inv_cast, Scalar)(iblock, fblock, BLOCK_SIZE, emax);
}
else {
/* set all values to zero */
uint i;
for (i = 0; i < BLOCK_SIZE; i++)
*fblock++ = 0;
if (zfp->minbits > bits) {
stream_skip(zfp->stream, zfp->minbits - bits);
bits = zfp->minbits;
}
}
return bits;
}
/* public functions -------------------------------------------------------- */
/* decode contiguous floating-point block */
size_t
_t2(zfp_decode_block, Scalar, DIMS)(zfp_stream* zfp, Scalar* fblock)
{
return REVERSIBLE(zfp) ? _t2(rev_decode_block, Scalar, DIMS)(zfp, fblock) : _t2(decode_block, Scalar, DIMS)(zfp, fblock);
}
| 593 |
496 | <filename>test-app/app/src/main/java/com/tns/tests/MyTestBaseClass1.java
package com.tns.tests;
class MyTestBaseClass1 {
public int getValue1() {
return 1;
}
}
| 77 |
690 | <filename>tests/test_regions.py
import sublime
import time, os, shutil
from collections import OrderedDict
from unittesting import DeferrableTestCase
JavaScriptEnhancements = __import__('JavaScript Enhancements')
util = JavaScriptEnhancements.src.libs.util
PACKAGE_PATH = JavaScriptEnhancements.src.libs.global_vars.PACKAGE_PATH
def plugin_ready():
return os.path.exists(os.path.join(PACKAGE_PATH, "node_modules", ".bin"))
timeout = 30
project_path = os.path.join(PACKAGE_PATH, 'tests', 'test_project')
sublime_project_path = os.path.join(PACKAGE_PATH, 'tests', 'test_project', 'test_project.sublime-project')
error_regions = [
sublime.Region(111, 112)
]
warning_regions = [
sublime.Region(104, 105)
]
unused_regions = [
sublime.Region(58, 73)
]
class TestRegions(DeferrableTestCase):
def setUp(self):
global sublime_project_path
util.open_project_folder(sublime_project_path)
def tearDown(self):
self.window.run_command("close")
self.window.run_command("close")
def test_regions(self):
global project_path
start_time = time.time()
while not plugin_ready():
if time.time() - start_time <= timeout:
yield 200
else:
raise TimeoutError("plugin is not ready in " + str(timeout) + " seconds")
yield 1000
self.window = sublime.active_window()
view = self.window.open_file(os.path.join(project_path, 'index.js'))
yield 10000
self.assertListEqual(error_regions, view.get_regions('javascript_enhancements_flow_error'))
self.assertListEqual(warning_regions, view.get_regions('javascript_enhancements_flow_warning'))
self.assertListEqual(unused_regions, view.get_regions('javascript_enhancements_unused_variable'))
| 616 |
519 | <reponame>KishkinJ10/graphicsfuzz
/*
* Copyright 2018 The GraphicsFuzz Project Authors
*
* 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
*
* https://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.
*/
package com.graphicsfuzz.glesworker;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.utils.Disposable;
import com.graphicsfuzz.repackaged.org.apache.http.impl.client.CloseableHttpClient;
import com.graphicsfuzz.repackaged.org.apache.http.impl.client.HttpClients;
import com.graphicsfuzz.repackaged.org.apache.thrift.TException;
import com.graphicsfuzz.repackaged.org.apache.thrift.protocol.TBinaryProtocol;
import com.graphicsfuzz.repackaged.org.apache.thrift.protocol.TProtocol;
import com.graphicsfuzz.repackaged.org.apache.thrift.transport.THttpClient;
import com.graphicsfuzz.repackaged.org.apache.thrift.transport.TTransport;
import com.graphicsfuzz.server.thrift.FuzzerService;
import com.graphicsfuzz.server.thrift.GetWorkerNameResult;
import com.graphicsfuzz.server.thrift.Job;
public class JobGetter implements Disposable {
private static final String REQUEST_PATH = "/request";
private CloseableHttpClient httpClient;
private TTransport transport;
public FuzzerService.Iface fuzzerServiceProxy;
public String worker;
// The latest job that has been gotten.
private Job latestJob;
// Used to ensure mutual exclusion when replying to jobs.
private Object replyMutex;
public JobGetter(String url) throws TException {
Gdx.app.log("JobGetter", "Creating JobGetter");
httpClient = HttpClients.createDefault();
transport = new THttpClient(url + REQUEST_PATH, httpClient);
transport.open();
TProtocol protocol = new TBinaryProtocol(transport);
fuzzerServiceProxy = new FuzzerService.Client(protocol);
this.latestJob = null;
this.replyMutex = new Object();
Gdx.app.log("JobGetter", "JobGetter created");
}
public boolean setWorkerName(String worker, String platformInfo) throws TException {
GetWorkerNameResult getWorkerNameResult = fuzzerServiceProxy.getWorkerName(
platformInfo,
worker);
if (getWorkerNameResult.isSetWorkerName()) {
this.worker = getWorkerNameResult.getWorkerName();
Gdx.app.log("JobGetter", "Worker name set: " + this.worker);
return true;
} else {
Gdx.app.log("JobGetter", "Failed to set worker name");
return false;
}
}
public Job getJob() throws TException {
Job job = fuzzerServiceProxy.getJob(worker);
Gdx.app.log("JobGetter", "Got a job.");
synchronized (replyMutex) {
checkJobNotSet();
latestJob = job;
}
return job;
}
public void clearJob() {
checkJobIsSet();
latestJob = null;
}
/**
* Tries to send a reply for the given job. If a reply has already been sent, the call is a
* no-op. Return value indicates whether a reply was sent.
* @param job The job to be replied to
* @throws TException Thrift exception might be thrown
* @return true if and only if a reply was sent.
*/
public boolean replyJob(Job job) throws TException {
synchronized (replyMutex) {
if (latestJob == null) {
// A reply has already been sent for the job.
Gdx.app.log("JobGetter", "jobDone(): " +
"A reply has already been sent for the job");
return false;
}
if (job.isSetImageJob()) {
// TODO: Hugues: We should have a dedicated Thrift struct for
// job replies, to avoid to have to reset the fragment source.
job.getImageJob().setFragmentSource("");
}
Gdx.app.log("JobGetter", "Sending jobDone.");
fuzzerServiceProxy.jobDone(worker, job);
// We have sent a reply, so nullify latestJob.
latestJob = null;
return true;
}
}
@Override
public void dispose() {
}
private void checkJobNotSet() {
if (latestJob != null) {
throw new RuntimeException("Job should not be set at this time.");
}
}
private void checkJobIsSet() {
if (latestJob == null) {
throw new RuntimeException("Job should be set at this time.");
}
}
}
| 1,566 |
359 | from __future__ import absolute_import, division, print_function, unicode_literals
file_handles = {}
class UploadDownloadFilesBase(object):
def __init__(self, args):
self.args = args
pass
def upload(self, **kwargs):
pass
def download(self, **kwargs):
pass
def registerUploadDownloadFiles(name, obj):
global file_handles
file_handles[name] = obj
def getFileHandles():
return file_handles
| 169 |
711 | package com.java110.goods.api;
import com.alibaba.fastjson.JSONObject;
import com.java110.dto.storeCart.StoreCartDto;
import com.java110.dto.storeOrder.StoreOrderDto;
import com.java110.dto.storeOrderAddress.StoreOrderAddressDto;
import com.java110.dto.storeOrderCart.StoreOrderCartDto;
import com.java110.dto.storeOrderCartEvent.StoreOrderCartEventDto;
import com.java110.goods.bmo.storeCart.IDeleteStoreCartBMO;
import com.java110.goods.bmo.storeCart.IGetStoreCartBMO;
import com.java110.goods.bmo.storeCart.ISaveStoreCartBMO;
import com.java110.goods.bmo.storeCart.IUpdateStoreCartBMO;
import com.java110.goods.bmo.storeOrder.IDeleteStoreOrderBMO;
import com.java110.goods.bmo.storeOrder.IGetStoreOrderBMO;
import com.java110.goods.bmo.storeOrder.ISaveStoreOrderBMO;
import com.java110.goods.bmo.storeOrder.IUpdateStoreOrderBMO;
import com.java110.goods.bmo.storeOrderAddress.IDeleteStoreOrderAddressBMO;
import com.java110.goods.bmo.storeOrderAddress.IGetStoreOrderAddressBMO;
import com.java110.goods.bmo.storeOrderAddress.ISaveStoreOrderAddressBMO;
import com.java110.goods.bmo.storeOrderAddress.IUpdateStoreOrderAddressBMO;
import com.java110.goods.bmo.storeOrderCart.IDeleteStoreOrderCartBMO;
import com.java110.goods.bmo.storeOrderCart.IGetStoreOrderCartBMO;
import com.java110.goods.bmo.storeOrderCart.ISaveStoreOrderCartBMO;
import com.java110.goods.bmo.storeOrderCart.IUpdateStoreOrderCartBMO;
import com.java110.goods.bmo.storeOrderCartEvent.IGetStoreOrderCartEventBMO;
import com.java110.po.storeCart.StoreCartPo;
import com.java110.po.storeOrder.StoreOrderPo;
import com.java110.po.storeOrderAddress.StoreOrderAddressPo;
import com.java110.po.storeOrderCart.StoreOrderCartPo;
import com.java110.utils.util.Assert;
import com.java110.utils.util.BeanConvertUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
/**
* 商户订单
* add by wuxw 2020-11-15
*/
@RestController
@RequestMapping(value = "/storeOrder")
public class StoreOrderApi {
@Autowired
private ISaveStoreCartBMO saveStoreCartBMOImpl;
@Autowired
private IUpdateStoreCartBMO updateStoreCartBMOImpl;
@Autowired
private IDeleteStoreCartBMO deleteStoreCartBMOImpl;
@Autowired
private IGetStoreCartBMO getStoreCartBMOImpl;
@Autowired
private ISaveStoreOrderBMO saveStoreOrderBMOImpl;
@Autowired
private IUpdateStoreOrderBMO updateStoreOrderBMOImpl;
@Autowired
private IDeleteStoreOrderBMO deleteStoreOrderBMOImpl;
@Autowired
private IGetStoreOrderBMO getStoreOrderBMOImpl;
@Autowired
private ISaveStoreOrderCartBMO saveStoreOrderCartBMOImpl;
@Autowired
private IUpdateStoreOrderCartBMO updateStoreOrderCartBMOImpl;
@Autowired
private IDeleteStoreOrderCartBMO deleteStoreOrderCartBMOImpl;
@Autowired
private IGetStoreOrderCartBMO getStoreOrderCartBMOImpl;
@Autowired
private ISaveStoreOrderAddressBMO saveStoreOrderAddressBMOImpl;
@Autowired
private IUpdateStoreOrderAddressBMO updateStoreOrderAddressBMOImpl;
@Autowired
private IDeleteStoreOrderAddressBMO deleteStoreOrderAddressBMOImpl;
@Autowired
private IGetStoreOrderAddressBMO getStoreOrderAddressBMOImpl;
@Autowired
private IGetStoreOrderCartEventBMO getStoreOrderCartEventBMOImpl;
/**
* 微信保存消息模板
*
* @param reqJson
* @return
* @serviceCode /storeOrder/saveStoreOrder
* @path /app/storeOrder/saveStoreOrder
*/
@RequestMapping(value = "/saveStoreOrder", method = RequestMethod.POST)
public ResponseEntity<String> saveStoreOrder(@RequestBody JSONObject reqJson) {
Assert.hasKeyAndValue(reqJson, "personId", "请求报文中未包含personId");
Assert.hasKeyAndValue(reqJson, "personName", "请求报文中未包含personName");
Assert.hasKeyAndValue(reqJson, "addressId", "请求报文中未包含收货人信息");
Assert.hasKey(reqJson, "goodsList", "未包含商品信息");
StoreOrderPo storeOrderPo = BeanConvertUtil.covertBean(reqJson, StoreOrderPo.class);
return saveStoreOrderBMOImpl.save(storeOrderPo, reqJson.getJSONArray("goodsList"),
reqJson.getString("addressId"));
}
/**
* 微信修改消息模板
*
* @param reqJson
* @return
* @serviceCode /storeOrder/updateStoreOrder
* @path /app/storeOrder/updateStoreOrder
*/
@RequestMapping(value = "/updateStoreOrder", method = RequestMethod.POST)
public ResponseEntity<String> updateStoreOrder(@RequestBody JSONObject reqJson) {
Assert.hasKeyAndValue(reqJson, "orderId", "请求报文中未包含orderId");
StoreOrderPo storeOrderPo = BeanConvertUtil.covertBean(reqJson, StoreOrderPo.class);
return updateStoreOrderBMOImpl.update(storeOrderPo);
}
/**
* 微信删除消息模板
*
* @param reqJson
* @return
* @serviceCode /storeOrder/deleteStoreOrder
* @path /app/storeOrder/deleteStoreOrder
*/
@RequestMapping(value = "/deleteStoreOrder", method = RequestMethod.POST)
public ResponseEntity<String> deleteStoreOrder(@RequestBody JSONObject reqJson) {
Assert.hasKeyAndValue(reqJson, "communityId", "小区ID不能为空");
Assert.hasKeyAndValue(reqJson, "orderId", "orderId不能为空");
StoreOrderPo storeOrderPo = BeanConvertUtil.covertBean(reqJson, StoreOrderPo.class);
return deleteStoreOrderBMOImpl.delete(storeOrderPo);
}
/**
* 微信删除消息模板
*
* @return
* @serviceCode /storeOrder/queryStoreOrder
* @path /app/storeOrder/queryStoreOrder
*/
@RequestMapping(value = "/queryStoreOrder", method = RequestMethod.GET)
public ResponseEntity<String> queryStoreOrder(
@RequestParam(value = "page") int page,
@RequestParam(value = "row") int row) {
StoreOrderDto storeOrderDto = new StoreOrderDto();
storeOrderDto.setPage(page);
storeOrderDto.setRow(row);
return getStoreOrderBMOImpl.get(storeOrderDto);
}
/**
* 微信保存消息模板
*
* @param reqJson
* @return
* @serviceCode /storeOrder/saveStoreCart
* @path /app/storeOrder/saveStoreCart
*/
@RequestMapping(value = "/saveStoreCart", method = RequestMethod.POST)
public ResponseEntity<String> saveStoreCart(@RequestBody JSONObject reqJson) {
Assert.hasKeyAndValue(reqJson, "productId", "请求报文中未包含productId");
Assert.hasKeyAndValue(reqJson, "valueId", "请求报文中未包含valueId");
Assert.hasKeyAndValue(reqJson, "personId", "请求报文中未包含personId");
Assert.hasKeyAndValue(reqJson, "cartNum", "请求报文中未包含cartNum");
StoreCartPo storeCartPo = BeanConvertUtil.covertBean(reqJson, StoreCartPo.class);
return saveStoreCartBMOImpl.save(storeCartPo);
}
/**
* 微信修改消息模板
*
* @param reqJson
* @return
* @serviceCode /storeOrder/updateStoreCart
* @path /app/storeOrder/updateStoreCart
*/
@RequestMapping(value = "/updateStoreCart", method = RequestMethod.POST)
public ResponseEntity<String> updateStoreCart(@RequestBody JSONObject reqJson) {
Assert.hasKeyAndValue(reqJson, "productId", "请求报文中未包含productId");
Assert.hasKeyAndValue(reqJson, "valueId", "请求报文中未包含valueId");
Assert.hasKeyAndValue(reqJson, "personId", "请求报文中未包含personId");
Assert.hasKeyAndValue(reqJson, "cartNum", "请求报文中未包含cartNum");
Assert.hasKeyAndValue(reqJson, "cartId", "cartId不能为空");
StoreCartPo storeCartPo = BeanConvertUtil.covertBean(reqJson, StoreCartPo.class);
return updateStoreCartBMOImpl.update(storeCartPo);
}
/**
* 微信删除消息模板
*
* @param reqJson
* @return
* @serviceCode /storeOrder/deleteStoreCart
* @path /app/storeOrder/deleteStoreCart
*/
@RequestMapping(value = "/deleteStoreCart", method = RequestMethod.POST)
public ResponseEntity<String> deleteStoreCart(@RequestBody JSONObject reqJson) {
Assert.hasKeyAndValue(reqJson, "communityId", "小区ID不能为空");
Assert.hasKeyAndValue(reqJson, "cartId", "cartId不能为空");
StoreCartPo storeCartPo = BeanConvertUtil.covertBean(reqJson, StoreCartPo.class);
return deleteStoreCartBMOImpl.delete(storeCartPo);
}
/**
* 微信删除消息模板
*
* @return
* @serviceCode /storeOrder/queryStoreCart
* @path /app/storeOrder/queryStoreCart
*/
@RequestMapping(value = "/queryStoreCart", method = RequestMethod.GET)
public ResponseEntity<String> queryStoreCart(@RequestParam(value = "personId", required = false) String personId,
@RequestParam(value = "page") int page,
@RequestParam(value = "row") int row) {
StoreCartDto storeCartDto = new StoreCartDto();
storeCartDto.setPage(page);
storeCartDto.setRow(row);
storeCartDto.setPersonId(personId);
return getStoreCartBMOImpl.get(storeCartDto);
}
/**
* 微信保存消息模板
*
* @param reqJson
* @return
* @serviceCode /storeOrder/saveStoreOrderCart
* @path /app/storeOrder/saveStoreOrderCart
*/
@RequestMapping(value = "/saveStoreOrderCart", method = RequestMethod.POST)
public ResponseEntity<String> saveStoreOrderCart(@RequestBody JSONObject reqJson) {
Assert.hasKeyAndValue(reqJson, "orderId", "请求报文中未包含orderId");
Assert.hasKeyAndValue(reqJson, "productId", "请求报文中未包含productId");
Assert.hasKeyAndValue(reqJson, "valueId", "请求报文中未包含valueId");
Assert.hasKeyAndValue(reqJson, "storeId", "请求报文中未包含storeId");
StoreOrderCartPo storeOrderCartPo = BeanConvertUtil.covertBean(reqJson, StoreOrderCartPo.class);
return saveStoreOrderCartBMOImpl.save(storeOrderCartPo);
}
/**
* 微信修改消息模板
*
* @param reqJson
* @return
* @serviceCode /storeOrder/updateStoreOrderCart
* @path /app/storeOrder/updateStoreOrderCart
*/
@RequestMapping(value = "/updateStoreOrderCart", method = RequestMethod.POST)
public ResponseEntity<String> updateStoreOrderCart(@RequestBody JSONObject reqJson) {
Assert.hasKeyAndValue(reqJson, "orderId", "请求报文中未包含orderId");
Assert.hasKeyAndValue(reqJson, "productId", "请求报文中未包含productId");
Assert.hasKeyAndValue(reqJson, "valueId", "请求报文中未包含valueId");
Assert.hasKeyAndValue(reqJson, "storeId", "请求报文中未包含storeId");
Assert.hasKeyAndValue(reqJson, "cartId", "cartId不能为空");
StoreOrderCartPo storeOrderCartPo = BeanConvertUtil.covertBean(reqJson, StoreOrderCartPo.class);
return updateStoreOrderCartBMOImpl.update(storeOrderCartPo);
}
/**
* 发货接口
*
* @param reqJson
* @return
* @serviceCode /storeOrder/sendStoreOrderCart
* @path /app/storeOrder/sendStoreOrderCart
*/
@RequestMapping(value = "/sendStoreOrderCart", method = RequestMethod.POST)
public ResponseEntity<String> sendStoreOrderCart(
@RequestHeader(value = "user-id",required = false) String userId,
@RequestBody JSONObject reqJson) {
Assert.hasKeyAndValue(reqJson, "orderId", "请求报文中未包含orderId");
Assert.hasKeyAndValue(reqJson, "cartId", "cartId不能为空");
StoreOrderCartPo storeOrderCartPo = BeanConvertUtil.covertBean(reqJson, StoreOrderCartPo.class);
return updateStoreOrderCartBMOImpl.sendOrderCart(storeOrderCartPo,userId);
}
/**
* 微信删除消息模板
*
* @param reqJson
* @return
* @serviceCode /storeOrder/deleteStoreOrderCart
* @path /app/storeOrder/deleteStoreOrderCart
*/
@RequestMapping(value = "/deleteStoreOrderCart", method = RequestMethod.POST)
public ResponseEntity<String> deleteStoreOrderCart(@RequestBody JSONObject reqJson) {
Assert.hasKeyAndValue(reqJson, "communityId", "小区ID不能为空");
Assert.hasKeyAndValue(reqJson, "cartId", "cartId不能为空");
StoreOrderCartPo storeOrderCartPo = BeanConvertUtil.covertBean(reqJson, StoreOrderCartPo.class);
return deleteStoreOrderCartBMOImpl.delete(storeOrderCartPo);
}
/**
* 微信删除消息模板
*
* @return
* @serviceCode /storeOrder/queryStoreOrderCart
* @path /app/storeOrder/queryStoreOrderCart
*/
@RequestMapping(value = "/queryStoreOrderCart", method = RequestMethod.GET)
public ResponseEntity<String> queryStoreOrderCart(
@RequestHeader(value = "store-id", required = false) String storeId,
@RequestParam(value = "personId", required = false) String personId,
@RequestParam(value = "state", required = false) String state,
@RequestParam(value = "cartId", required = false) String cartId,
@RequestParam(value = "page") int page,
@RequestParam(value = "row") int row) {
StoreOrderCartDto storeOrderCartDto = new StoreOrderCartDto();
storeOrderCartDto.setPage(page);
storeOrderCartDto.setRow(row);
storeOrderCartDto.setStoreId(storeId);
storeOrderCartDto.setPersonId(personId);
storeOrderCartDto.setState(state);
storeOrderCartDto.setCartId(cartId);
return getStoreOrderCartBMOImpl.get(storeOrderCartDto);
}
/**
* 微信保存消息模板
*
* @param reqJson
* @return
* @serviceCode /storeOrder/saveStoreOrderAddress
* @path /app/storeOrder/saveStoreOrderAddress
*/
@RequestMapping(value = "/saveStoreOrderAddress", method = RequestMethod.POST)
public ResponseEntity<String> saveStoreOrderAddress(@RequestBody JSONObject reqJson) {
Assert.hasKeyAndValue(reqJson, "orderId", "请求报文中未包含orderId");
Assert.hasKeyAndValue(reqJson, "areaCode", "请求报文中未包含areaCode");
Assert.hasKeyAndValue(reqJson, "tel", "请求报文中未包含tel");
Assert.hasKeyAndValue(reqJson, "address", "请求报文中未包含address");
Assert.hasKeyAndValue(reqJson, "username", "请求报文中未包含username");
StoreOrderAddressPo storeOrderAddressPo = BeanConvertUtil.covertBean(reqJson, StoreOrderAddressPo.class);
return saveStoreOrderAddressBMOImpl.save(storeOrderAddressPo);
}
/**
* 微信修改消息模板
*
* @param reqJson
* @return
* @serviceCode /storeOrder/updateStoreOrderAddress
* @path /app/storeOrder/updateStoreOrderAddress
*/
@RequestMapping(value = "/updateStoreOrderAddress", method = RequestMethod.POST)
public ResponseEntity<String> updateStoreOrderAddress(@RequestBody JSONObject reqJson) {
Assert.hasKeyAndValue(reqJson, "orderId", "请求报文中未包含orderId");
Assert.hasKeyAndValue(reqJson, "areaCode", "请求报文中未包含areaCode");
Assert.hasKeyAndValue(reqJson, "tel", "请求报文中未包含tel");
Assert.hasKeyAndValue(reqJson, "address", "请求报文中未包含address");
Assert.hasKeyAndValue(reqJson, "username", "请求报文中未包含username");
Assert.hasKeyAndValue(reqJson, "oaId", "oaId不能为空");
StoreOrderAddressPo storeOrderAddressPo = BeanConvertUtil.covertBean(reqJson, StoreOrderAddressPo.class);
return updateStoreOrderAddressBMOImpl.update(storeOrderAddressPo);
}
/**
* 微信删除消息模板
*
* @param reqJson
* @return
* @serviceCode /storeOrder/deleteStoreOrderAddress
* @path /app/storeOrder/deleteStoreOrderAddress
*/
@RequestMapping(value = "/deleteStoreOrderAddress", method = RequestMethod.POST)
public ResponseEntity<String> deleteStoreOrderAddress(@RequestBody JSONObject reqJson) {
Assert.hasKeyAndValue(reqJson, "communityId", "小区ID不能为空");
Assert.hasKeyAndValue(reqJson, "oaId", "oaId不能为空");
StoreOrderAddressPo storeOrderAddressPo = BeanConvertUtil.covertBean(reqJson, StoreOrderAddressPo.class);
return deleteStoreOrderAddressBMOImpl.delete(storeOrderAddressPo);
}
/**
* 微信删除消息模板
*
* @param orderId 订单ID
* @return
* @serviceCode /storeOrder/queryStoreOrderAddress
* @path /app/storeOrder/queryStoreOrderAddress
*/
@RequestMapping(value = "/queryStoreOrderAddress", method = RequestMethod.GET)
public ResponseEntity<String> queryStoreOrderAddress(@RequestParam(value = "orderId") String orderId,
@RequestParam(value = "page") int page,
@RequestParam(value = "row") int row) {
StoreOrderAddressDto storeOrderAddressDto = new StoreOrderAddressDto();
storeOrderAddressDto.setPage(page);
storeOrderAddressDto.setRow(row);
storeOrderAddressDto.setOrderId(orderId);
return getStoreOrderAddressBMOImpl.get(storeOrderAddressDto);
}
/**
* 微信删除消息模板
*
* @param cartId 购物车ID
* @return
* @serviceCode /storeOrder/queryStoreOrderCartEvent
* @path /app/storeOrder/queryStoreOrderCartEvent
*/
@RequestMapping(value = "/queryStoreOrderCartEvent", method = RequestMethod.GET)
public ResponseEntity<String> queryStoreOrderCartEvent(@RequestParam(value = "cartId") String cartId,
@RequestParam(value = "orderId") String orderId,
@RequestParam(value = "page") int page,
@RequestParam(value = "row") int row) {
StoreOrderCartEventDto storeOrderCartEventDto = new StoreOrderCartEventDto();
storeOrderCartEventDto.setPage(page);
storeOrderCartEventDto.setRow(row);
storeOrderCartEventDto.setCartId(cartId);
storeOrderCartEventDto.setOrderId(orderId);
return getStoreOrderCartEventBMOImpl.get(storeOrderCartEventDto);
}
}
| 8,036 |
337 | <filename>src/polycubed/src/extiface_xdp.h<gh_stars>100-1000
/*
* Copyright 2017 The Polycube Authors
*
* 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.
*/
#pragma once
#include "extiface.h"
#include "port_xdp.h"
#include <api/BPF.h>
#include <spdlog/spdlog.h>
#include <arpa/inet.h>
#include <ifaddrs.h>
#include <linux/if_link.h>
#include <netdb.h>
#include <spdlog/spdlog.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include <list>
#include <set>
namespace polycube {
namespace polycubed {
class PortXDP;
class ExtIfaceXDP : public ExtIface {
public:
ExtIfaceXDP(const std::string &iface, int attach_flags = 0);
virtual ~ExtIfaceXDP();
protected:
int load_ingress();
// XDP egress programs can't rely on the TC_EGRESS hook to be executed.
// This version of update_indexes() also connects the egress programs chain to
// the peer of the interface (if present).
void update_indexes() override;
private:
virtual std::string get_ingress_code() const;
virtual std::string get_egress_code() const;
virtual bpf_prog_type get_program_type() const;
static const std::string XDP_PROG_CODE;
int attach_flags_;
};
} // namespace polycubed
} // namespace polycube
| 594 |
414 | <filename>convlab2/policy/policy.py
"""Policy Interface"""
from convlab2.util.module import Module
class Policy(Module):
"""Base class for policy model."""
def predict(self, state):
"""Predict the next agent action given dialog state.
update state['system_action'] with predict system action
Args:
state (tuple or dict):
when the DST and Policy module are separated, the type of state is tuple.
else when they are aggregated together, the type of state is dict (dialog act).
Returns:
action (list of list):
The next dialog action.
"""
return []
| 273 |
533 | # _*_ coding: utf-8 _*_
"""
Created by Allen7D on 2020/5/27.
"""
from sqlalchemy import Column, Integer, String, ForeignKey
from app.core.db import BaseModel as Model
__author__ = 'Allen7D'
class Product2Property(Model):
__tablename__ = 'product_property'
id = Column(Integer, primary_key=True, autoincrement=True)
product_id = Column(Integer, ForeignKey('product.id'), nullable=False, comment='外键, 商品id')
name = Column(String(30), comment='详情属性名称')
detail = Column(String(255), nullable=False, comment='详情属性')
def keys(self):
self.hide('id')
return self.fields
| 248 |
371 | <reponame>wuchunfu/EngineX
package com.baoying.enginex.executor.node.service;
import com.baoying.enginex.executor.engine.model.EngineNode;
import java.util.Map;
/**
* 引擎节点执行
*/
public interface EngineNodeService {
/**
* 获取节点所需的指标
* @param engineNode
* @param inputParam
*/
void getNodeField(EngineNode engineNode, Map<String, Object> inputParam);
/**
* 执行节点逻辑
* @param engineNode
* @param inputParam
* @param outMap
*/
void runNode(EngineNode engineNode, Map<String, Object> inputParam, Map<String, Object> outMap);
}
| 270 |
679 | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.
*
*************************************************************/
package com.sun.star.wizards.reportbuilder.layout;
import com.sun.star.awt.Rectangle;
import com.sun.star.report.XGroup;
import com.sun.star.report.XSection;
import com.sun.star.wizards.common.Resource;
import com.sun.star.wizards.report.IReportDefinitionReadAccess;
import com.sun.star.wizards.ui.*;
/**
*
* @author ll93751
*/
public class InBlocksLabelsLeft extends ColumnarTwoColumns
{
public InBlocksLabelsLeft(IReportDefinitionReadAccess _xDefinitionAccess, Resource _aResource)
{
super(_xDefinitionAccess, _aResource);
}
public String getName()
{
return "InBlocksLabelsLeftLayoutOfData";
}
public String getLocalizedName()
{
return getResource().getResText(UIConsts.RID_REPORT + 84);
}
protected void insertDetailFields()
{
copyDetailProperties();
final String[] aFieldTitleNames = getFieldTitleNames();
if (aFieldTitleNames == null)
{
return;
}
final String[] aFieldNames = getFieldNames();
if (aFieldNames == null)
{
return;
}
// int nGroups = getReportDefinition().getGroups().getCount();
final XSection xSection = getReportDefinition().getDetail();
Rectangle aRectLabelFields = new Rectangle();
final int nUsablePageWidth = getPageWidth() - getLeftPageIndent() - getRightPageIndent() - getLeftGroupIndent(getCountOfGroups());
final int nLabelWidth = getMaxLabelWidth(); // 3000;
int nFieldWidth = 3000;
final int nFactor = nUsablePageWidth / (nLabelWidth + nFieldWidth);
int nDeltaTotal = 0;
int nDelta = 0;
if (nFactor > 0)
{
nDeltaTotal = nUsablePageWidth - (nFactor * (nLabelWidth + nFieldWidth));
nDelta = nDeltaTotal / nFactor;
}
int i = 0;
int nCount = aFieldTitleNames.length;
// int x = 0;
aRectLabelFields.Y = 0;
aRectLabelFields.X = getLeftPageIndent() + getLeftGroupIndent(getCountOfGroups());
SectionObject aSOLabel = getDesignTemplate().getDetailLabel();
aSOLabel.setFontToBold();
SectionObject aSOTextField = getDesignTemplate().getDetailTextField();
int nLastHeight = 0;
while (nCount > 0)
{
final String sLabel = aFieldTitleNames[i];
// nLabelWidth = 3000;
aRectLabelFields = insertLabel(xSection, sLabel, aRectLabelFields, nLabelWidth, aSOLabel);
final String sFieldName = convertToFieldName(aFieldNames[i]);
nFieldWidth = 3000 + nDelta;
aRectLabelFields = insertFormattedField(xSection, sFieldName, aRectLabelFields, nFieldWidth, aSOTextField);
nLastHeight = Math.max(aRectLabelFields.Height, nLastHeight);
final int nNextX = aRectLabelFields.X + nLabelWidth + nFieldWidth;
if (nNextX > (getPageWidth() - getRightPageIndent()))
{
// TODO: label height is fix
aRectLabelFields.Y += Math.max(aSOTextField.getHeight(LayoutConstants.FormattedFieldHeight), nLastHeight);
nLastHeight = 0;
aRectLabelFields.X = getLeftPageIndent() + getLeftGroupIndent(getCountOfGroups());
}
++i;
--nCount;
}
aRectLabelFields.Y += Math.max(aSOLabel.getHeight(LayoutConstants.EmptyLineHeight), nLastHeight); // one empty line
xSection.setHeight(aRectLabelFields.Y);
doNotBreakInTable(xSection);
}
protected void insertDetailFieldTitles(int lastGroupPostion)
{
// we won't extra field titles
}
}
| 1,779 |
839 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.
*/
package org.apache.cxf.jca.cxf.handlers;
import java.lang.reflect.Method;
import java.util.HashSet;
import java.util.Set;
import javax.resource.spi.ResourceAdapterInternalException;
import javax.security.auth.Subject;
import org.apache.cxf.jca.cxf.CXFInvocationHandler;
import org.apache.cxf.jca.cxf.CXFInvocationHandlerData;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
public class InvocationHandlerFactoryTest extends HandlerTestBase {
private CXFInvocationHandler handler;
private Subject testSubject;
public InvocationHandlerFactoryTest() {
super();
}
@Before
public void setUp() {
super.setUp();
testSubject = new Subject();
try {
InvocationHandlerFactory factory = new InvocationHandlerFactory(mockBus, mci);
handler = factory.createHandlers(target, testSubject);
} catch (ResourceAdapterInternalException e) {
fail();
}
}
@Test
public void testCreateHandlerChain() throws ResourceAdapterInternalException {
CXFInvocationHandler first = handler;
CXFInvocationHandler last = null;
assertNotNull("handler must not be null", handler);
int count = 0;
Set<Class<?>> allHandlerTypes = new HashSet<>();
while (handler != null) {
assertSame("managed connection must be set", mci, handler.getData().getManagedConnection());
assertSame("bus must be set", mockBus, handler.getData().getBus());
assertSame("subject must be set", testSubject, handler.getData().getSubject());
assertSame("target must be set", target, handler.getData().getTarget());
allHandlerTypes.add(handler.getClass());
last = handler;
handler = handler.getNext();
count++;
}
assertNotNull(last);
assertEquals("must create correct number of handlers", count, 4);
assertTrue("first handler must a ProxyInvocationHandler", first instanceof ProxyInvocationHandler);
assertTrue("last handler must be an InvokingInvocationHandler",
last instanceof InvokingInvocationHandler);
Class<?>[] types
= {ProxyInvocationHandler.class,
ObjectMethodInvocationHandler.class,
InvokingInvocationHandler.class,
SecurityTestHandler.class};
for (int i = 0; i < types.length; i++) {
assertTrue("handler chain must contain type: " + types[i], allHandlerTypes.contains(types[i]));
}
}
@Test
public void testOrderedHandlerChain() throws Exception {
assertEquals(ProxyInvocationHandler.class, handler.getClass());
assertEquals(ObjectMethodInvocationHandler.class, handler.getNext().getClass());
assertEquals(SecurityTestHandler.class, handler.getNext().getNext().getClass());
}
public static class SecurityTestHandler extends CXFInvocationHandlerBase {
public SecurityTestHandler(CXFInvocationHandlerData data) {
super(data);
}
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
return invokeNext(proxy, method, args);
}
}
} | 1,490 |
504 | {
"warehouse": "presto",
"defaultDatabase": "memory",
"defaultSchema": "df_integration_test",
"assertionSchema": "df_integration_test_assertions"
}
| 58 |
575 | // Copyright 2019 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_LOGIN_UI_LOGIN_SCREEN_EXTENSION_UI_WEB_DIALOG_VIEW_H_
#define CHROME_BROWSER_ASH_LOGIN_UI_LOGIN_SCREEN_EXTENSION_UI_WEB_DIALOG_VIEW_H_
#include <memory>
#include <string>
#include "ash/public/cpp/system_tray_observer.h"
#include "base/macros.h"
#include "ui/views/controls/webview/web_dialog_view.h"
#include "ui/views/metadata/metadata_header_macros.h"
#include "ui/web_dialogs/web_dialog_web_contents_delegate.h"
namespace content {
class BrowserContext;
class WebContents;
} // namespace content
namespace chromeos {
namespace login_screen_extension_ui {
class DialogDelegate;
// A WebDialogView used by chrome.loginScreenUi API calls. It hides the close
// button if `DialogDelegate::CanCloseDialog()` is false.
class WebDialogView : public views::WebDialogView,
public ash::SystemTrayObserver {
public:
METADATA_HEADER(WebDialogView);
explicit WebDialogView(
content::BrowserContext* context,
DialogDelegate* delegate,
std::unique_ptr<ui::WebDialogWebContentsDelegate::WebContentsHandler>
handler);
WebDialogView(const WebDialogView&) = delete;
WebDialogView& operator=(const WebDialogView&) = delete;
~WebDialogView() override;
// views::WebDialogView
bool TakeFocus(content::WebContents* source, bool reverse) override;
// ash::SystemTrayObserver
void OnFocusLeavingSystemTray(bool reverse) override;
private:
DialogDelegate* delegate_ = nullptr;
};
} // namespace login_screen_extension_ui
} // namespace chromeos
#endif // CHROME_BROWSER_ASH_LOGIN_UI_LOGIN_SCREEN_EXTENSION_UI_WEB_DIALOG_VIEW_H_
| 635 |
357 | /*
* Copyright © 2012-2015 VMware, Inc. 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.
*/
/*
* Module Name: VMDNS
*
* Filename: vmdnsdefines.h
*
* Abstract:
*
* Common macros
*/
#ifndef __VMDNSDEFINES_H__
#define __VMDNSDEFINES_H__
#ifdef __cplusplus
extern "C" {
#endif
#ifdef _WIN32
#define BOOLEAN BOOL
#define PBOOLEAN PBOOL
#define PCVOID const PVOID
#define ssize_t SSIZE_T
#endif
#define VMDNS_MIN(a, b) ((a) < (b) ? (a) : (b))
#define VMDNS_MAX(a, b) ((a) > (b) ? (a) : (b))
#ifndef _WIN32
#define VMDNS_SF_INIT( fieldName, fieldValue ) fieldName = fieldValue
#else
#define VMDNS_SF_INIT( fieldName, fieldValue ) fieldValue
#endif
#define VMDNS_SAFE_FREE_STRINGA(PTR) \
do { \
if ((PTR)) { \
VmDnsFreeStringA(PTR); \
(PTR) = NULL; \
} \
} while(0)
#define VMDNS_SAFE_FREE_MEMORY(PTR) \
do { \
if ((PTR)) { \
VmDnsFreeMemory(PTR); \
(PTR) = NULL; \
} \
} while(0)
#define VMDNS_SAFE_FREE_MUTEX(mutex) \
do { \
if ((mutex)) { \
VmDnsFreeMutex(mutex); \
(mutex) = NULL; \
} \
} while(0)
#define VMDNS_SAFE_FREE_CONDITION(cond) \
do { \
if ((cond)) { \
VmDnsFreeCondition(cond); \
(cond) = NULL; \
} \
} while(0)
#define VMDNS_LOCK_MUTEX(bInLock, mutex) \
do { \
if (!(bInLock)) \
{ \
VmDnsLockMutex(mutex); \
(bInLock) = TRUE; \
} \
} while (0)
#define VMDNS_UNLOCK_MUTEX(bInLock, mutex) \
do { \
if ((bInLock)) \
{ \
VmDnsUnlockMutex(mutex); \
(bInLock) = FALSE; \
} \
} while (0)
#define BAIL_ON_VMDNS_ERROR(dwError) \
if (dwError) \
{ \
VmDnsLog( VMDNS_LOG_LEVEL_DEBUG, "[%s,%s,%d,%u]",__FILE__, __FUNCTION__, __LINE__, dwError); \
goto error; \
}
#define BAIL_AND_LOG_ON_VMDNS_ERROR(dwError, level) \
if (dwError) \
{ \
VmDnsLog( level, "[%s,%s,%d,%u]",__FILE__, __FUNCTION__, __LINE__, dwError); \
goto error; \
}
#define BAIL_AND_LOG_MESSAGE_ON_VMDNS_ERROR(dwError, level, message) \
if (dwError) \
{ \
VmDnsLog( level, "[%s,%s,%d,%u] %s",__FILE__, __FUNCTION__, __LINE__, dwError, message); \
goto error; \
}
#define BAIL_ON_VMDNS_ERROR_IF(condition) \
if (condition) \
{ \
VmDnsLog( VMDNS_LOG_LEVEL_DEBUG, "[%s,%s,%d,%u]",__FILE__, __FUNCTION__, __LINE__, dwError); \
goto error; \
}
#define BAIL_ON_VMDNS_INVALID_POINTER(p, errCode) \
if (p == NULL) { \
errCode = ERROR_INVALID_PARAMETER; \
BAIL_ON_VMDNS_ERROR(errCode); \
}
#define BAIL_ON_INVALID_ACCESSINFO(pAccessInfo, errCode) \
if (pAccessInfo == NULL || VmDnsIsFailedAccessInfo(pAccessInfo)) { \
errCode = ERROR_ACCESS_DENIED; \
BAIL_ON_VMDNS_ERROR(errCode); \
}
#ifndef IsNullOrEmptyString
#define IsNullOrEmptyString(str) (!(str) || !*(str))
#endif
#define BAIL_ON_VMDNS_EMPTY_STRING(p, errCode) \
if (IsNullOrEmptyString(p)) { \
errCode = ERROR_INVALID_PARAMETER; \
BAIL_ON_VMDNS_ERROR(errCode); \
}
#ifndef VMDNS_SAFE_STRING
#define VMDNS_SAFE_STRING(str) ((str) ? (str) : "")
#endif
#ifndef VMDNS_SAFE_SPACE_STRING
#define VMDNS_SAFE_SPACE_STRING(str) ((str) ? (str) : " ")
#endif
#define VMDNS_OFFSET_TO_POINTER(Pointer, Offset) \
((char*)(Pointer) + Offset)
#define VMDNS_FIELD_OFFSET(Type, Field) offsetof(Type, Field)
#define VMDNS_FIELD_SIZE(Type, Field) \
(sizeof(((Type*)(0))->Field))
#define VMDNS_STRUCT_FROM_FIELD(Pointer, Type, Field) \
((Type*)VMDNS_OFFSET_TO_POINTER(Pointer, -((ssize_t)VMDNS_FIELD_OFFSET(Type, Field))))
// Logging
#define MAX_LOG_MESSAGE_LEN 4096
#define VMDNS_PATH_MAX 512
#define VMDNS_ASCII_LOWER(c) ( (c) >= 'a' && (c) <= 'z' )
#define VMDNS_ASCII_UPPER(c) ( (c) >= 'A' && (c) <= 'Z' )
#define VMDNS_ASCII_DIGIT(c) ( (c) >= '0' && (c) <= '9' )
#define VMDNS_PASSWD_SP_CHAR(c) ( (c) == '@' || \
(c) == '#' || \
(c) == '$' || \
(c) == '%' || \
(c) == '^' || \
(c) == '&' || \
(c) == '*' )
#define VMDNS_MAX_HOSTNAME_LEN 100
#ifdef _WIN32
#define VMDNS_PATH_SEPARATOR_STR "\\"
#define VMDNS_ADDR_INFO_NEXT( ai ) ai->ai_next
#define VMDNS_ADDR_INFO_FLAGS( ai ) ai->ai_flags
#define VMDNS_ADDR_INFO_ADDR( ai ) ai->ai_addr
#else
#define VMDNS_PATH_SEPARATOR_STR "/"
#define VMDNS_ADDR_INFO_NEXT( ifa ) ifa->ifa_next
#define VMDNS_ADDR_INFO_FLAGS( ifa ) ifa->ifa_flags
#define VMDNS_ADDR_INFO_ADDR( ifa ) ifa->ifa_addr
#endif
#ifndef _WIN32
#define InterlockedExchange __sync_lock_test_and_set
#endif
#define VMDNS_DEFAULT_REFRESH_INTERVAL 3600
#define VMDNS_DEFAULT_RETRY_INTERVAL 600
#define VMDNS_DEFAULT_EXPIRE 86400
#define VMDNS_DEFAULT_TTL 3600
#define VMDNS_DEFAULT_LDAP_PORT 389
#define VMDNS_DEFAULT_KDC_PORT 88
/* Time */
#define NSECS_PER_MSEC 1000000
#define MSECS_PER_SEC 1000
#ifdef __cplusplus
}
#endif
#endif /* __VMDNSDEFINES_H__ */
| 4,466 |
1,511 | <filename>tests/cluecode/data/ics/netperf/netsh.h
/*
Copyright (C) 1993,1995 Hewlett-Packard Company
*/
| 47 |
1,056 | <filename>ide/css.prep/src/org/netbeans/modules/css/prep/editor/CPCssIndexModel.java
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.
*/
package org.netbeans.modules.css.prep.editor;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import org.netbeans.modules.css.indexing.api.CssIndexModel;
import org.netbeans.modules.css.indexing.api.CssIndexModelFactory;
import org.netbeans.modules.css.lib.api.CssParserResult;
import org.netbeans.modules.css.prep.editor.model.CPModel;
import org.netbeans.modules.css.prep.editor.model.CPElement;
import org.netbeans.modules.css.prep.editor.model.CPElementHandle;
import org.netbeans.modules.css.prep.editor.model.CPElementType;
import org.netbeans.modules.parsing.spi.indexing.support.IndexDocument;
import org.netbeans.modules.parsing.spi.indexing.support.IndexResult;
import org.openide.filesystems.FileObject;
import org.openide.util.lookup.ServiceProvider;
/**
*
* @author marekfukala
*/
public class CPCssIndexModel extends CssIndexModel {
private static final String MIXINS_INDEX_KEY = "cp_mixins"; //NOI18N
private static final String VARIABLES_INDEX_KEY = "cp_variables"; //NOI18N
private static final Collection<String> INDEX_KEYS = Arrays.asList(new String[]{MIXINS_INDEX_KEY, VARIABLES_INDEX_KEY});
private static final String VALUE_SEPARATOR = ",";
private static final String ITEMS_SEPARATOR = "/";
private Collection<CPElementHandle> mixins, variables;
public CPCssIndexModel(Collection<CPElementHandle> mixins, Collection<CPElementHandle> variableNames) {
this.mixins = mixins;
this.variables = variableNames;
}
public Collection<CPElementHandle> getVariables() {
return variables;
}
public Collection<CPElementHandle> getMixins() {
return mixins;
}
@Override
public void storeToIndex(IndexDocument document) {
storeItems(mixins, document, MIXINS_INDEX_KEY);
storeItems(variables, document, VARIABLES_INDEX_KEY);
}
private void storeItems(Collection<? extends CPElementHandle> items, IndexDocument document, String key) {
Iterator<? extends CPElementHandle> i = items.iterator();
StringBuilder sb = new StringBuilder();
while (i.hasNext()) {
CPElementHandle handle = i.next();
sb.append(handle.getName());
sb.append(ITEMS_SEPARATOR);
sb.append(handle.getType().getIndexCode());
sb.append(ITEMS_SEPARATOR);
sb.append(encodeElementId(handle.getElementId()));
if (i.hasNext()) {
sb.append(VALUE_SEPARATOR); //NOI18N
}
}
document.addPair(key, sb.toString(), false, true);
}
@ServiceProvider(service = CssIndexModelFactory.class)
public static final class Factory extends CssIndexModelFactory{
@Override
public CPCssIndexModel getModel(CssParserResult result) {
CPModel model = CPModel.getModel(result);
Collection<CPElement> mixins = model.getMixins();
Collection<CPElement> vars = model.getVariables();
return new CPCssIndexModel(
CPElement.toHandles(mixins),
CPElement.toHandles(vars));
}
@Override
public CPCssIndexModel loadFromIndex(IndexResult result) {
String mixins = result.getValue(MIXINS_INDEX_KEY);
String variables = result.getValue(VARIABLES_INDEX_KEY);
return new CPCssIndexModel(
parseItems(mixins, result.getFile()),
parseItems(variables, result.getFile()));
}
@Override
public Collection<String> getIndexKeys() {
return INDEX_KEYS;
}
private Collection<CPElementHandle> parseItems(String value, FileObject file) {
if(value == null || value.isEmpty()) {
return Collections.emptyList();
}
String[] items = value.split(VALUE_SEPARATOR);
Collection<CPElementHandle> handles = new ArrayList<>(items.length);
for(String item : items) {
String[] split = item.split(ITEMS_SEPARATOR);
String name = split[0];
String typeIndexCode = split[1];
String elementId = decodeElementId(split[2]);
CPElementType type = CPElementType.forIndexCode(typeIndexCode);
CPElementHandle handle = new CPElementHandle(file, name, type, elementId);
handles.add(handle);
}
return handles;
}
}
/* test */ static String encodeElementId(String string) {
return string.replace('/', '%');
}
/* test */ static String decodeElementId(String string) {
return string.replace('%', '/');
}
}
| 2,333 |
493 | /* ========================= eCAL LICENSE =================================
*
* Copyright (C) 2016 - 2019 Continental Corporation
*
* 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.
*
* ========================= eCAL LICENSE =================================
*/
#include <rec_client_core/job_config.h>
#include <EcalParser/EcalParser.h>
#include <ecal_utils/filesystem.h>
namespace eCAL
{
namespace rec
{
//////////////////////////////
// Constructor & Destructor
//////////////////////////////
JobConfig::JobConfig()
: job_id_(0)
, max_file_size_mb_(50)
{}
JobConfig::~JobConfig()
{}
//////////////////////////////
// Getter & Setter
//////////////////////////////
void JobConfig::SetJobId (int64_t job_id) { job_id_ = job_id; }
int64_t JobConfig::GetJobId () const { return job_id_; }
void JobConfig::GenerateNewJobId()
{
// The system clock gives us a nice timestamp that may however lack precision on some systems
auto system_clock_now = std::chrono::system_clock::now();
int64_t system_clock_nsecs = std::chrono::duration_cast<std::chrono::nanoseconds>(system_clock_now.time_since_epoch()).count();
// The steady clock gives us a (hopefully) monotonic timestamp. But it will start over when rebooting.
auto steady_clock_now = std::chrono::steady_clock::now();
int64_t steady_clock_nsecs = std::chrono::duration_cast<std::chrono::nanoseconds>(steady_clock_now.time_since_epoch()).count();
// A static counter will just increase when creating new IDs
static uint32_t counter = 0;
counter++;
job_id_ = (((int64_t)counter) << 32) | (int64_t(0xFFFFF000) & system_clock_nsecs) | (int64_t(0x00000FFF) & steady_clock_nsecs);
}
void JobConfig::SetMeasRootDir (const std::string& meas_root_dir) { meas_root_dir_ = meas_root_dir; }
std::string JobConfig::GetMeasRootDir () const { return meas_root_dir_; }
void JobConfig::SetMeasName (const std::string& meas_name) { meas_name_ = meas_name; }
std::string JobConfig::GetMeasName () const { return meas_name_; }
void JobConfig::SetMaxFileSize (int64_t max_file_size_mb) { max_file_size_mb_ = max_file_size_mb; }
int64_t JobConfig::GetMaxFileSize () const { return max_file_size_mb_; }
void JobConfig::SetDescription (const std::string& description) { description_ = description; }
std::string JobConfig::GetDescription () const { return description_; }
//////////////////////////////
// Evaluation
//////////////////////////////
JobConfig JobConfig::CreateEvaluatedJobConfig(bool eval_target_functions, std::chrono::system_clock::time_point time) const
{
JobConfig evaluated_config(*this);
evaluated_config.SetMeasRootDir(EcalParser::Evaluate(evaluated_config.GetMeasRootDir(), eval_target_functions, time));
evaluated_config.SetMeasName (EcalParser::Evaluate(evaluated_config.GetMeasName(), eval_target_functions, time));
evaluated_config.SetDescription(EcalParser::Evaluate(evaluated_config.GetDescription(), eval_target_functions, time));
return evaluated_config;
}
std::string JobConfig::GetCompleteMeasurementPath() const
{
std::string joined_meas_path = GetMeasRootDir();
if ((!joined_meas_path.empty() && (joined_meas_path[joined_meas_path.size() - 1] != '\\') && (joined_meas_path[joined_meas_path.size() - 1] != '/'))
&& (!GetMeasName().empty() && (GetMeasName()[0] != '\\') && (GetMeasName()[0] != '/')))
{
joined_meas_path += "/";
}
joined_meas_path += GetMeasName();
return EcalUtils::Filesystem::AbsolutePath(joined_meas_path);
}
}
} | 1,746 |
370 | from bluepy.btle import Scanner, DefaultDelegate
class ScanDelegate(DefaultDelegate):
def __init__(self):
DefaultDelegate.__init__(self)
def handleDiscovery(self, dev, isNewDev, isNewData):
pass
# if isNewDev:
# print("Discovered device", dev.addr)
# elif isNewData:
# print("Received new data from", dev.addr)
def list_muses():
scanner = Scanner().withDelegate(ScanDelegate())
devices = scanner.scan(10.0)
muses = list()
for dev in devices:
#print("Device %s (%s), RSSI=%d dB" % (dev.addr, dev.addrType, dev.rssi))
for (adtype, desc, value) in dev.getScanData():
if desc == "Complete Local Name" and "muse" in value.lower():
muse_dict = {'address' : dev.addr, 'name' : value}
muses.append(muse_dict)
print("Found %s" % (value))
return muses
if __name__ == "__main__":
print(list_muses())
| 429 |
1,194 | <filename>hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/rest/server/interceptor/validation/address/AddressValidatingInterceptorTest.java<gh_stars>1000+
package ca.uhn.fhir.rest.server.interceptor.validation.address;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.rest.api.server.RequestDetails;
import ca.uhn.fhir.rest.server.interceptor.validation.address.impl.LoquateAddressValidator;
import org.checkerframework.checker.units.qual.A;
import org.hl7.fhir.instance.model.api.IBase;
import org.hl7.fhir.r4.model.Address;
import org.hl7.fhir.r4.model.Extension;
import org.hl7.fhir.r4.model.Person;
import org.hl7.fhir.r4.model.StringType;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;
import javax.annotation.Nonnull;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Properties;
import static ca.uhn.fhir.rest.server.interceptor.validation.address.AddressValidatingInterceptor.ADDRESS_VALIDATION_DISABLED_HEADER;
import static ca.uhn.fhir.rest.server.interceptor.validation.address.AddressValidatingInterceptor.PROPERTY_EXTENSION_URL;
import static ca.uhn.fhir.rest.server.interceptor.validation.address.AddressValidatingInterceptor.PROPERTY_VALIDATOR_CLASS;
import static ca.uhn.fhir.rest.server.interceptor.validation.address.IAddressValidator.ADDRESS_VALIDATION_EXTENSION_URL;
import static ca.uhn.fhir.rest.server.interceptor.validation.address.impl.BaseRestfulValidator.PROPERTY_SERVICE_KEY;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.reset;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
class AddressValidatingInterceptorTest {
private static FhirContext ourCtx = FhirContext.forR4();
private AddressValidatingInterceptor myInterceptor;
private IAddressValidator myValidator;
private RequestDetails myRequestDetails;
@Test
@Disabled
public void testValidationCallAgainstLiveLoquateEndpoint() {
Properties config = new Properties();
config.setProperty(PROPERTY_VALIDATOR_CLASS, LoquateAddressValidator.class.getCanonicalName());
config.setProperty(PROPERTY_SERVICE_KEY, "<KEY>"); // Replace with a real key when testing
AddressValidatingInterceptor interceptor = new AddressValidatingInterceptor(config);
Address address = new Address();
address.setUse(Address.AddressUse.WORK);
address.addLine("100 Somewhere");
address.setCity("Burloak");
address.setPostalCode("A0A0A0");
address.setCountry("Canada");
interceptor.validateAddress(address, ourCtx);
assertTrue(address.hasExtension());
assertEquals("true", address.getExtensionFirstRep().getValueAsPrimitive().getValueAsString());
assertEquals("E",
address.getExtensionByUrl(IAddressValidator.ADDRESS_QUALITY_EXTENSION_URL).getValueAsPrimitive().getValueAsString());
assertEquals("100 Somewhere, Burloak", address.getText());
assertEquals(1, address.getLine().size());
assertEquals("100 Somewhere", address.getLine().get(0).getValueAsString());
assertEquals("Burloak", address.getCity());
assertEquals("A0A0A0", address.getPostalCode());
assertEquals("Canada", address.getCountry());
}
@Test
void start() throws Exception {
AddressValidatingInterceptor interceptor = new AddressValidatingInterceptor(new Properties());
assertNull(interceptor.getAddressValidator());
Properties props = new Properties();
props.setProperty(PROPERTY_VALIDATOR_CLASS, "RandomService");
try {
new AddressValidatingInterceptor(props);
fail();
} catch (Exception e) {
// expected
}
props.setProperty(PROPERTY_VALIDATOR_CLASS, TestAddressValidator.class.getName());
interceptor = new AddressValidatingInterceptor(props);
assertNotNull(interceptor.getAddressValidator());
}
@Test
public void testEmptyRequest() {
try {
myInterceptor.handleRequest(null, null);
} catch (Exception ex) {
fail();
}
try {
myInterceptor.setAddressValidator(null);
myInterceptor.handleRequest(null, null);
} catch (Exception ex) {
fail();
}
}
@BeforeEach
void setup() {
myValidator = mock(IAddressValidator.class);
when(myValidator.isValid(any(), any())).thenReturn(mock(AddressValidationResult.class));
myRequestDetails = mock(RequestDetails.class);
when(myRequestDetails.getFhirContext()).thenReturn(ourCtx);
Properties properties = getProperties();
myInterceptor = new AddressValidatingInterceptor(properties);
myInterceptor.setAddressValidator(myValidator);
}
@Nonnull
private Properties getProperties() {
Properties properties = new Properties();
properties.setProperty(PROPERTY_VALIDATOR_CLASS, TestAddressValidator.class.getName());
return properties;
}
@Test
public void testDisablingValidationViaHeader() {
when(myRequestDetails.getHeaders(eq(ADDRESS_VALIDATION_DISABLED_HEADER))).thenReturn(Arrays.asList(new String[]{"True"}));
Person p = new Person();
AddressValidatingInterceptor spy = Mockito.spy(myInterceptor);
spy.resourcePreCreate(myRequestDetails, p);
Mockito.verify(spy, times(0)).validateAddress(any(), any());
}
@Test
public void testValidationServiceError() {
myValidator = mock(IAddressValidator.class);
when(myValidator.isValid(any(), any())).thenThrow(new RuntimeException());
myInterceptor.setAddressValidator(myValidator);
Address address = new Address();
myInterceptor.validateAddress(address, ourCtx);
Extension ext = assertValidationErrorExtension(address);
assertTrue(ext.hasExtension());
assertEquals("error", ext.getExtensionFirstRep().getUrl());
}
@Test
public void testValidationWithCustomUrl() {
myInterceptor.getProperties().setProperty(PROPERTY_EXTENSION_URL, "MY_URL");
Address address = new Address();
address.setCity("City");
address.addLine("Line");
AddressValidationResult res = new AddressValidationResult();
res.setValidatedAddressString("City, Line");
res.setValidatedAddress(address);
when(myValidator.isValid(any(), any())).thenReturn(res);
Address addressToValidate = new Address();
myInterceptor.validateAddress(addressToValidate, ourCtx);
assertNotNull(res.toString());
assertTrue(addressToValidate.hasExtension());
assertNotNull(addressToValidate.getExtensionByUrl("MY_URL"));
assertFalse(address.hasExtension());
assertEquals(address.getCity(), addressToValidate.getCity());
assertTrue(address.getLine().get(0).equalsDeep(addressToValidate.getLine().get(0)));
}
@Test
void validate() {
Address address = new Address();
address.addLine("Line");
address.setCity("City");
myInterceptor.validateAddress(address, ourCtx);
assertValidationErrorValue(address, "true");
}
private Extension assertValidationErrorExtension(Address theAddress) {
assertTrue(theAddress.hasExtension());
assertEquals(1, theAddress.getExtension().size());
assertEquals(IAddressValidator.ADDRESS_VALIDATION_EXTENSION_URL, theAddress.getExtensionFirstRep().getUrl());
return theAddress.getExtensionFirstRep();
}
private void assertValidationErrorValue(Address theAddress, String theValidationResult) {
Extension ext = assertValidationErrorExtension(theAddress);
assertEquals(theValidationResult, ext.getValueAsPrimitive().getValueAsString());
}
@Test
void validateOnCreate() {
Address address = new Address();
address.addLine("Line");
address.setCity("City");
Person person = new Person();
person.addAddress(address);
myInterceptor.resourcePreCreate(myRequestDetails, person);
assertValidationErrorValue(person.getAddressFirstRep(), "true");
}
@Test
void validateOnUpdate() {
Address validAddress = new Address();
validAddress.addLine("Line");
validAddress.setCity("City");
validAddress.addExtension(IAddressValidator.ADDRESS_VALIDATION_EXTENSION_URL, new StringType("false"));
Address notValidatedAddress = new Address();
notValidatedAddress.addLine("Line 2");
notValidatedAddress.setCity("City 2");
Person person = new Person();
person.addAddress(validAddress);
person.addAddress(notValidatedAddress);
myInterceptor.resourcePreUpdate(myRequestDetails, null, person);
verify(myValidator, times(1)).isValid(any(), any());
assertValidationErrorValue(person.getAddress().get(0), "false");
assertValidationErrorValue(person.getAddress().get(1), "true");
}
@Test
void validateOnValidInvalid() {
Address address = new Address();
address.addLine("Line");
address.setCity("City");
Person person = new Person();
person.addAddress(address);
AddressValidationResult validationResult = new AddressValidationResult();
validationResult.setValid(true);
when(myValidator.isValid(eq(address), any())).thenReturn(validationResult);
myInterceptor.resourcePreUpdate(myRequestDetails, null, person);
assertValidationErrorValue(person.getAddress().get(0), "false");
when(myValidator.isValid(eq(address), any())).thenThrow(new RuntimeException());
myInterceptor.resourcePreUpdate(myRequestDetails, null, person);
Extension ext = assertValidationErrorExtension(address);
assertNotNull(ext);
assertNull(ext.getValue());
assertTrue(ext.hasExtension());
}
public static class TestAddressValidator implements IAddressValidator {
@Override
public AddressValidationResult isValid(IBase theAddress, FhirContext theFhirContext) throws AddressValidationException {
return null;
}
}
}
| 3,249 |
349 | <gh_stars>100-1000
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2020-2021 Inviwo Foundation
* 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.
*
* 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 OWNER 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 <modules/basegl/datastructures/linesettings.h>
namespace inviwo {
LineSettings::LineSettings(const LineSettingsInterface* other)
: lineWidth(other->getWidth())
, antialiasing(other->getAntialiasingWidth())
, miterLimit(other->getMiterLimit())
, roundCaps(other->getRoundCaps())
, pseudoLighting(other->getPseudoLighting())
, roundDepthProfile(other->getRoundDepthProfile())
, stippling(&other->getStippling()) {}
float LineSettings::getWidth() const { return lineWidth; }
float LineSettings::getAntialiasingWidth() const { return antialiasing; }
float LineSettings::getMiterLimit() const { return miterLimit; }
bool LineSettings::getRoundCaps() const { return roundCaps; }
bool LineSettings::getPseudoLighting() const { return pseudoLighting; }
bool LineSettings::getRoundDepthProfile() const { return roundDepthProfile; }
const StipplingSettingsInterface& LineSettings::getStippling() const { return stippling; }
} // namespace inviwo
| 720 |
1,253 | {
"http://hsivonen.iki.fi/test/moz/en-UK.html": [
{
"firstColumn": 1,
"firstLine": 7,
"lastColumn": 16,
"lastLine": 7,
"message": "Bad value \u201cen-UK\u201d for attribute \u201clang\u201d on element \u201cp\u201d: Bad region subtag."
}
],
"http://hsivonen.iki.fi/test/moz/unescaped-ampersand.html": [
{
"firstColumn": 4,
"firstLine": 7,
"lastColumn": 4,
"lastLine": 7,
"message": "\u201c&\u201d did not start a character reference. (\u201c&\u201d probably should have been escaped as \u201c&\u201d.)"
}
],
"http://simon.html5.org/test/validator/character-encoding/legacy-decl.html": [],
"http://simon.html5.org/test/validator/character-encoding/non-ascii-past-512.html": [
{
"firstColumn": 512,
"firstLine": 1,
"lastColumn": 512,
"lastLine": 1,
"message": "No explicit character encoding declaration has been seen yet (assumed \u201cwindows-1252\u201d) but the document contains non-ASCII."
}
],
"http://simon.html5.org/test/validator/character-encoding/non-ascii.html": [
{
"firstColumn": 23,
"firstLine": 1,
"lastColumn": 23,
"lastLine": 1,
"message": "No explicit character encoding declaration has been seen yet (assumed \u201cwindows-1252\u201d) but the document contains non-ASCII."
}
],
"http://simon.html5.org/test/validator/content-model/label/belts-and-braces.html": [],
"http://simon.html5.org/test/validator/content-model/label/input-in-label-with-for.html": [
{
"firstColumn": 126,
"firstLine": 1,
"lastColumn": 132,
"lastLine": 1,
"message": "Any \u201cinput\u201d descendant of a \u201clabel\u201d element with a \u201cfor\u201d attribute must have an ID value that matches that \u201cfor\u201d attribute."
}
],
"http://simon.html5.org/test/validator/content-model/label/two-inputs-in-label.html": [
{
"firstColumn": 104,
"firstLine": 1,
"lastColumn": 110,
"lastLine": 1,
"message": "The \u201clabel\u201d element may contain at most one \u201cinput\u201d, \u201cbutton\u201d, \u201cselect\u201d, or \u201ctextarea\u201d descendant."
}
]
}
| 989 |
310 | {
"name": "Animate",
"description": "A vector animation suite.",
"url": "https://en.wikipedia.org/wiki/Adobe_Animate"
} | 45 |
460 | <gh_stars>100-1000
// Boost.Bimap
//
// Copyright (c) 2006-2007 <NAME>
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
/// \file container_adaptor/list_adaptor.hpp
/// \brief Container adaptor to easily build a std::list signature compatible container.
#ifndef BOOST_BIMAP_CONTAINER_ADAPTOR_LIST_ADAPTOR_HPP
#define BOOST_BIMAP_CONTAINER_ADAPTOR_LIST_ADAPTOR_HPP
#if defined(_MSC_VER) && (_MSC_VER>=1200)
#pragma once
#endif
#include <boost/config.hpp>
#include <boost/bimap/container_adaptor/sequence_container_adaptor.hpp>
#include <boost/bimap/container_adaptor/detail/comparison_adaptor.hpp>
#include <boost/mpl/aux_/na.hpp>
#include <boost/mpl/vector.hpp>
#include <boost/call_traits.hpp>
#include <functional>
namespace boost {
namespace bimaps {
namespace container_adaptor {
/// \brief Container adaptor to easily build a std::list signature compatible container.
template
<
class Base,
class Iterator,
class ConstIterator,
class ReverseIterator,
class ConstReverseIterator,
class IteratorToBaseConverter = ::boost::mpl::na,
class IteratorFromBaseConverter = ::boost::mpl::na,
class ReverseIteratorFromBaseConverter = ::boost::mpl::na,
class ValueToBaseConverter = ::boost::mpl::na,
class ValueFromBaseConverter = ::boost::mpl::na,
class FunctorsFromDerivedClasses = mpl::vector<>
>
class list_adaptor :
public ::boost::bimaps::container_adaptor::sequence_container_adaptor
<
Base, Iterator, ConstIterator, ReverseIterator, ConstReverseIterator,
IteratorToBaseConverter, IteratorFromBaseConverter,
ReverseIteratorFromBaseConverter,
ValueToBaseConverter, ValueFromBaseConverter,
FunctorsFromDerivedClasses
>
{
typedef ::boost::bimaps::container_adaptor::sequence_container_adaptor
<
Base, Iterator, ConstIterator, ReverseIterator, ConstReverseIterator,
IteratorToBaseConverter, IteratorFromBaseConverter,
ReverseIteratorFromBaseConverter,
ValueToBaseConverter, ValueFromBaseConverter,
FunctorsFromDerivedClasses
> base_;
// Access -----------------------------------------------------------------
public:
explicit list_adaptor(Base & c) :
base_(c) {}
protected:
typedef list_adaptor list_adaptor_;
// Interface -------------------------------------------------------------
public:
void splice(Iterator position, list_adaptor & x)
{
this->base().splice(
this->template functor<BOOST_DEDUCED_TYPENAME base_::iterator_to_base>()
(position),
x.base()
);
}
void splice(Iterator position, list_adaptor & x, Iterator i)
{
this->base().splice(
this->template functor<BOOST_DEDUCED_TYPENAME base_::iterator_to_base>()
(position),
x.base(),
this->template functor<BOOST_DEDUCED_TYPENAME base_::iterator_to_base>()(i)
);
}
void splice(Iterator position, list_adaptor & x,
Iterator first, Iterator last)
{
this->base().splice(
this->template functor<BOOST_DEDUCED_TYPENAME base_::iterator_to_base>()
(position),
x.base(),
this->template functor<BOOST_DEDUCED_TYPENAME base_::iterator_to_base>()(first),
this->template functor<BOOST_DEDUCED_TYPENAME base_::iterator_to_base>()(last)
);
}
void remove(
BOOST_DEDUCED_TYPENAME ::boost::call_traits<
BOOST_DEDUCED_TYPENAME base_::value_type
>::param_type value
)
{
this->base().remove(
this->template functor<BOOST_DEDUCED_TYPENAME base_::value_to_base>()(value)
);
}
template< class Predicate >
void remove_if(Predicate pred)
{
this->base().remove_if(
::boost::bimaps::container_adaptor::detail::unary_check_adaptor
<
Predicate,
BOOST_DEDUCED_TYPENAME Base::value_type,
BOOST_DEDUCED_TYPENAME base_::value_from_base
>( pred, this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>() )
);
}
void unique()
{
this->base().unique(
::boost::bimaps::container_adaptor::detail::comparison_adaptor
<
std::equal_to<BOOST_DEDUCED_TYPENAME base_::value_type>,
BOOST_DEDUCED_TYPENAME Base::value_type,
BOOST_DEDUCED_TYPENAME base_::value_from_base
>(
std::equal_to<BOOST_DEDUCED_TYPENAME base_::value_type>(),
this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()
)
);
}
template< class BinaryPredicate >
void unique(BinaryPredicate binary_pred)
{
this->base().unique(
::boost::bimaps::container_adaptor::detail::comparison_adaptor
<
BinaryPredicate,
BOOST_DEDUCED_TYPENAME Base::value_type,
BOOST_DEDUCED_TYPENAME base_::value_from_base
>( binary_pred,
this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>() )
);
}
void merge(list_adaptor & x)
{
this->base().merge(x.base(),
::boost::bimaps::container_adaptor::detail::comparison_adaptor
<
std::less<BOOST_DEDUCED_TYPENAME base_::value_type>,
BOOST_DEDUCED_TYPENAME Base::value_type,
BOOST_DEDUCED_TYPENAME base_::value_from_base
>(
std::less<BOOST_DEDUCED_TYPENAME base_::value_type>(),
this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()
)
);
}
template< class Compare >
void merge(list_adaptor & x, Compare comp)
{
this->base().merge(x.base(),
::boost::bimaps::container_adaptor::detail::comparison_adaptor
<
Compare,
BOOST_DEDUCED_TYPENAME Base::value_type,
BOOST_DEDUCED_TYPENAME base_::value_from_base
>( comp, this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>() )
);
}
void sort()
{
this->base().sort(
::boost::bimaps::container_adaptor::detail::comparison_adaptor
<
std::less<BOOST_DEDUCED_TYPENAME base_::value_type>,
BOOST_DEDUCED_TYPENAME Base::value_type,
BOOST_DEDUCED_TYPENAME base_::value_from_base
>(
std::less<BOOST_DEDUCED_TYPENAME base_::value_type>(),
this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()
)
);
}
template< class Compare >
void sort(Compare comp)
{
this->base().sort(
::boost::bimaps::container_adaptor::detail::comparison_adaptor
<
Compare,
BOOST_DEDUCED_TYPENAME Base::value_type,
BOOST_DEDUCED_TYPENAME base_::value_from_base
>( comp, this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>() )
);
}
void reverse()
{
this->base().reverse();
}
};
} // namespace container_adaptor
} // namespace bimaps
} // namespace boost
#endif // BOOST_BIMAP_CONTAINER_ADAPTOR_SET_ADAPTOR_HPP
| 3,932 |
1,056 | <filename>ide/spellchecker/src/org/netbeans/modules/spellchecker/hints/DictionaryBasedHint.java<gh_stars>1000+
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.
*/
package org.netbeans.modules.spellchecker.hints;
import javax.swing.text.BadLocationException;
import javax.swing.text.Document;
import javax.swing.text.Position;
import javax.swing.text.StyledDocument;
import org.netbeans.spi.editor.hints.ChangeInfo;
import org.netbeans.spi.editor.hints.EnhancedFix;
import org.openide.ErrorManager;
import org.openide.text.NbDocument;
import org.openide.util.NbBundle;
/**
*
* @author <NAME>
*/
public final class DictionaryBasedHint implements EnhancedFix {
private String original;
private Document doc;
private String proposal;
private Position[] span;
private String sortText;
public DictionaryBasedHint(String original, String proposal, Document doc, Position[] span, String sortText) {
this.original = original;
this.doc = doc;
this.proposal = proposal;
this.span = span;
this.sortText = sortText;
}
public String getText() {
return NbBundle.getMessage(DictionaryBasedHint.class, "FIX_ChangeWord", original, proposal);
}
public ChangeInfo implement() {
try {
NbDocument.runAtomicAsUser((StyledDocument) doc, new Runnable() {
public void run() {
try {
doc.remove(span[0].getOffset(), span[1].getOffset() - span[0].getOffset());
doc.insertString(span[0].getOffset(), proposal, null);
} catch (BadLocationException e) {
ErrorManager.getDefault().notify(e);
}
}
});
} catch (BadLocationException e) {
ErrorManager.getDefault().notify(e);
}
return null;
}
public CharSequence getSortText() {
return sortText;
}
}
| 1,003 |
310 | <gh_stars>100-1000
#include "clar.h"
#include "clar_libgit2.h"
#include "buffer.h"
#include "fileops.h"
#include "git2/cherrypick.h"
#include "../merge/merge_helpers.h"
#define TEST_REPO_PATH "cherrypick"
static git_repository *repo;
void test_cherrypick_bare__initialize(void)
{
repo = cl_git_sandbox_init(TEST_REPO_PATH);
}
void test_cherrypick_bare__cleanup(void)
{
cl_git_sandbox_cleanup();
}
void test_cherrypick_bare__automerge(void)
{
git_commit *head = NULL, *commit = NULL;
git_index *index = NULL;
git_oid head_oid, cherry_oid;
struct merge_index_entry merge_index_entries[] = {
{ 0100644, "38c05a857e831a7e759d83778bfc85d003e21c45", 0, "file1.txt" },
{ 0100644, "a661b5dec1004e2c62654ded3762370c27cf266b", 0, "file2.txt" },
{ 0100644, "df6b290e0bd6a89b01d69f66687e8abf385283ca", 0, "file3.txt" },
};
git_oid_fromstr(&head_oid, "d3d77487660ee3c0194ee01dc5eaf478782b1c7e");
cl_git_pass(git_commit_lookup(&head, repo, &head_oid));
git_oid_fromstr(&cherry_oid, "cfc4f0999a8367568e049af4f72e452d40828a15");
cl_git_pass(git_commit_lookup(&commit, repo, &cherry_oid));
cl_git_pass(git_cherrypick_commit(&index, repo, commit, head, 0, NULL));
cl_assert(merge_test_index(index, merge_index_entries, 3));
git_index_free(index);
git_commit_free(head);
git_commit_free(commit);
}
void test_cherrypick_bare__conflicts(void)
{
git_commit *head = NULL, *commit = NULL;
git_index *index = NULL;
git_oid head_oid, cherry_oid;
struct merge_index_entry merge_index_entries[] = {
{ 0100644, "242e7977ba73637822ffb265b46004b9b0e5153b", 0, "file1.txt" },
{ 0100644, "a58ca3fee5eb68b11adc2703e5843f968c9dad1e", 1, "file2.txt" },
{ 0100644, "bd6ffc8c6c41f0f85ff9e3d61c9479516bac0024", 2, "file2.txt" },
{ 0100644, "563f6473a3858f99b80e5f93c660512ed38e1e6f", 3, "file2.txt" },
{ 0100644, "28d9eb4208074ad1cc84e71ccc908b34573f05d2", 1, "file3.txt" },
{ 0100644, "1124c2c1ae07b26fded662d6c3f3631d9dc16f88", 2, "file3.txt" },
{ 0100644, "e233b9ed408a95e9d4b65fec7fc34943a556deb2", 3, "file3.txt" },
};
git_oid_fromstr(&head_oid, "bafbf6912c09505ac60575cd43d3f2aba3bd84d8");
cl_git_pass(git_commit_lookup(&head, repo, &head_oid));
git_oid_fromstr(&cherry_oid, "e9b63f3655b2ad80c0ff587389b5a9589a3a7110");
cl_git_pass(git_commit_lookup(&commit, repo, &cherry_oid));
cl_git_pass(git_cherrypick_commit(&index, repo, commit, head, 0, NULL));
cl_assert(merge_test_index(index, merge_index_entries, 7));
git_index_free(index);
git_commit_free(head);
git_commit_free(commit);
}
void test_cherrypick_bare__orphan(void)
{
git_commit *head = NULL, *commit = NULL;
git_index *index = NULL;
git_oid head_oid, cherry_oid;
struct merge_index_entry merge_index_entries[] = {
{ 0100644, "38c05a857e831a7e759d83778bfc85d003e21c45", 0, "file1.txt" },
{ 0100644, "a661b5dec1004e2c62654ded3762370c27cf266b", 0, "file2.txt" },
{ 0100644, "85a4a1d791973644f24c72f5e89420d3064cc452", 0, "file3.txt" },
{ 0100644, "9ccb9bf50c011fd58dcbaa65df917bf79539717f", 0, "orphan.txt" },
};
git_oid_fromstr(&head_oid, "d3d77487660ee3c0194ee01dc5eaf478782b1c7e");
cl_git_pass(git_commit_lookup(&head, repo, &head_oid));
git_oid_fromstr(&cherry_oid, "74f06b5bfec6d33d7264f73606b57a7c0b963819");
cl_git_pass(git_commit_lookup(&commit, repo, &cherry_oid));
cl_git_pass(git_cherrypick_commit(&index, repo, commit, head, 0, NULL));
cl_assert(merge_test_index(index, merge_index_entries, 4));
git_index_free(index);
git_commit_free(head);
git_commit_free(commit);
}
| 1,653 |
348 | {"nom":"Trélévern","circ":"5ème circonscription","dpt":"Côtes-d'Armor","inscrits":1053,"abs":490,"votants":563,"blancs":70,"nuls":17,"exp":476,"res":[{"nuance":"REM","nom":"<NAME>","voix":330},{"nuance":"UDI","nom":"<NAME>","voix":146}]} | 96 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.