repo_name
stringlengths
7
94
repo_path
stringlengths
4
237
repo_head_hexsha
stringlengths
40
40
content
stringlengths
10
680k
apis
stringlengths
2
680k
Dagmoores/ProjetoIntegradorIUnivesp
biblioteca/views.py
86f5004c359b760cceec87bfa905db16e3375653
from django.views.generic import DetailView, ListView, TemplateView from .models import Books class BooksListView(ListView): model = Books class BooksDeitalView(DetailView): model = Books class Home(TemplateView): template_name = './biblioteca/index.html' class TermsOfService(TemplateView): template_name = './biblioteca/termsOfService.html'
[]
scwangdyd/large_vocabulary_hoi_detection
choir/evaluation/__init__.py
db7a4397c3050b1bf9a3f7473edf125e2b1046c4
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from .evaluator import DatasetEvaluator, DatasetEvaluators, inference_context, inference_on_dataset from .testing import print_csv_format, verify_results from .hico_evaluation import HICOEvaluator from .swig_evaluation import SWIGEvaluator # from .doh_evaluation import DOHDetectionEvaluator __all__ = [k for k in globals().keys() if not k.startswith("_")]
[]
LHLHLHE/api_yamdb
api_yamdb/reviews/models.py
bda83815a47f3fda03d54220dfe41e9263ff1b05
import datetime as dt from django.db import models from django.core.validators import MinValueValidator, MaxValueValidator from django.core.exceptions import ValidationError from users.models import CustomUser def validate_year(value): """ Год выпуска произведения не может быть больше текущего. """ if value > dt.datetime.now().year: raise ValidationError( 'Год выпуска превышает текущий!') return value class Category(models.Model): """Модель категорий.""" name = models.CharField(max_length=256, verbose_name='Название') slug = models.SlugField( max_length=50, unique=True, verbose_name='Идентификатор') class Meta: ordering = ('name',) verbose_name = 'Категория' verbose_name_plural = 'Категории' def __str__(self): return self.slug class Genre(models.Model): """Модель жанров.""" name = models.CharField(max_length=256, verbose_name='Название') slug = models.SlugField( max_length=50, unique=True, verbose_name='Идентификатор') class Meta: ordering = ('name',) verbose_name = 'Жанр' verbose_name_plural = 'Жанры' def __str__(self): return self.slug class Title(models.Model): """Модель произведений.""" name = models.TextField(verbose_name='Название') year = models.IntegerField( validators=[validate_year], verbose_name='Год выпуска') description = models.TextField( blank=True, verbose_name='Описание') genre = models.ManyToManyField( Genre, through='GenreTitle', verbose_name='Жанры') category = models.ForeignKey( Category, on_delete=models.SET_NULL, blank=True, null=True, related_name='titles', verbose_name='Категория') class Meta: ordering = ('name',) verbose_name = 'Произведение' verbose_name_plural = 'Произведения' def __str__(self): return ( f'name: {self.name}, ' f'year: {self.year}, ' ) class GenreTitle(models.Model): """Модель для связи произведений и жанров отношением многие ко многим.""" genre = models.ForeignKey( Genre, on_delete=models.SET_NULL, blank=True, null=True) title = models.ForeignKey(Title, on_delete=models.CASCADE) def __str__(self): return f'{self.genre} --- {self.title}' class Review(models.Model): title = models.ForeignKey( Title, on_delete=models.CASCADE, verbose_name='Произведение', ) text = models.TextField( verbose_name='текст', ) author = models.ForeignKey( CustomUser, on_delete=models.CASCADE, verbose_name='Автор' ) score = models.IntegerField( validators=[ MinValueValidator(1), MaxValueValidator(10) ], verbose_name='Оценка' ) pub_date = models.DateTimeField( auto_now_add=True, verbose_name='Дата публикации' ) class Meta: constraints = [ models.UniqueConstraint( fields=['author', 'title'], name='unique review' ) ] verbose_name = 'Отзыв' verbose_name_plural = 'Отзывы' default_related_name = 'reviews' def __str__(self): return self.text[:60] class Comment(models.Model): review = models.ForeignKey( Review, on_delete=models.CASCADE, related_name='comments', verbose_name='Отзыв', ) text = models.TextField(verbose_name='Текст') author = models.ForeignKey( CustomUser, on_delete=models.CASCADE, related_name='comments', verbose_name='Автор' ) pub_date = models.DateTimeField( auto_now_add=True, verbose_name='Дата публикации' ) class Meta: verbose_name = 'Комментарий' verbose_name_plural = 'Комментарии' def __str__(self): return self.text
[((520, 577), 'django.db.models.CharField', 'models.CharField', ([], {'max_length': '(256)', 'verbose_name': '"""Название"""'}), "(max_length=256, verbose_name='Название')\n", (536, 577), False, 'from django.db import models\n'), ((589, 663), 'django.db.models.SlugField', 'models.SlugField', ([], {'max_length': '(50)', 'unique': '(True)', 'verbose_name': '"""Идентификатор"""'}), "(max_length=50, unique=True, verbose_name='Идентификатор')\n", (605, 663), False, 'from django.db import models\n'), ((926, 983), 'django.db.models.CharField', 'models.CharField', ([], {'max_length': '(256)', 'verbose_name': '"""Название"""'}), "(max_length=256, verbose_name='Название')\n", (942, 983), False, 'from django.db import models\n'), ((995, 1069), 'django.db.models.SlugField', 'models.SlugField', ([], {'max_length': '(50)', 'unique': '(True)', 'verbose_name': '"""Идентификатор"""'}), "(max_length=50, unique=True, verbose_name='Идентификатор')\n", (1011, 1069), False, 'from django.db import models\n'), ((1329, 1370), 'django.db.models.TextField', 'models.TextField', ([], {'verbose_name': '"""Название"""'}), "(verbose_name='Название')\n", (1345, 1370), False, 'from django.db import models\n'), ((1382, 1457), 'django.db.models.IntegerField', 'models.IntegerField', ([], {'validators': '[validate_year]', 'verbose_name': '"""Год выпуска"""'}), "(validators=[validate_year], verbose_name='Год выпуска')\n", (1401, 1457), False, 'from django.db import models\n'), ((1493, 1546), 'django.db.models.TextField', 'models.TextField', ([], {'blank': '(True)', 'verbose_name': '"""Описание"""'}), "(blank=True, verbose_name='Описание')\n", (1509, 1546), False, 'from django.db import models\n'), ((1576, 1649), 'django.db.models.ManyToManyField', 'models.ManyToManyField', (['Genre'], {'through': '"""GenreTitle"""', 'verbose_name': '"""Жанры"""'}), "(Genre, through='GenreTitle', verbose_name='Жанры')\n", (1598, 1649), False, 'from django.db import models\n'), ((1690, 1821), 'django.db.models.ForeignKey', 'models.ForeignKey', (['Category'], {'on_delete': 'models.SET_NULL', 'blank': '(True)', 'null': '(True)', 'related_name': '"""titles"""', 'verbose_name': '"""Категория"""'}), "(Category, on_delete=models.SET_NULL, blank=True, null=\n True, related_name='titles', verbose_name='Категория')\n", (1707, 1821), False, 'from django.db import models\n'), ((2240, 2314), 'django.db.models.ForeignKey', 'models.ForeignKey', (['Genre'], {'on_delete': 'models.SET_NULL', 'blank': '(True)', 'null': '(True)'}), '(Genre, on_delete=models.SET_NULL, blank=True, null=True)\n', (2257, 2314), False, 'from django.db import models\n'), ((2360, 2410), 'django.db.models.ForeignKey', 'models.ForeignKey', (['Title'], {'on_delete': 'models.CASCADE'}), '(Title, on_delete=models.CASCADE)\n', (2377, 2410), False, 'from django.db import models\n'), ((2527, 2606), 'django.db.models.ForeignKey', 'models.ForeignKey', (['Title'], {'on_delete': 'models.CASCADE', 'verbose_name': '"""Произведение"""'}), "(Title, on_delete=models.CASCADE, verbose_name='Произведение')\n", (2544, 2606), False, 'from django.db import models\n'), ((2649, 2687), 'django.db.models.TextField', 'models.TextField', ([], {'verbose_name': '"""текст"""'}), "(verbose_name='текст')\n", (2665, 2687), False, 'from django.db import models\n'), ((2716, 2793), 'django.db.models.ForeignKey', 'models.ForeignKey', (['CustomUser'], {'on_delete': 'models.CASCADE', 'verbose_name': '"""Автор"""'}), "(CustomUser, on_delete=models.CASCADE, verbose_name='Автор')\n", (2733, 2793), False, 'from django.db import models\n'), ((3008, 3079), 'django.db.models.DateTimeField', 'models.DateTimeField', ([], {'auto_now_add': '(True)', 'verbose_name': '"""Дата публикации"""'}), "(auto_now_add=True, verbose_name='Дата публикации')\n", (3028, 3079), False, 'from django.db import models\n'), ((3494, 3596), 'django.db.models.ForeignKey', 'models.ForeignKey', (['Review'], {'on_delete': 'models.CASCADE', 'related_name': '"""comments"""', 'verbose_name': '"""Отзыв"""'}), "(Review, on_delete=models.CASCADE, related_name='comments',\n verbose_name='Отзыв')\n", (3511, 3596), False, 'from django.db import models\n'), ((3643, 3681), 'django.db.models.TextField', 'models.TextField', ([], {'verbose_name': '"""Текст"""'}), "(verbose_name='Текст')\n", (3659, 3681), False, 'from django.db import models\n'), ((3695, 3802), 'django.db.models.ForeignKey', 'models.ForeignKey', (['CustomUser'], {'on_delete': 'models.CASCADE', 'related_name': '"""comments"""', 'verbose_name': '"""Автор"""'}), "(CustomUser, on_delete=models.CASCADE, related_name=\n 'comments', verbose_name='Автор')\n", (3712, 3802), False, 'from django.db import models\n'), ((3851, 3922), 'django.db.models.DateTimeField', 'models.DateTimeField', ([], {'auto_now_add': '(True)', 'verbose_name': '"""Дата публикации"""'}), "(auto_now_add=True, verbose_name='Дата публикации')\n", (3871, 3922), False, 'from django.db import models\n'), ((369, 418), 'django.core.exceptions.ValidationError', 'ValidationError', (['"""Год выпуска превышает текущий!"""'], {}), "('Год выпуска превышает текущий!')\n", (384, 418), False, 'from django.core.exceptions import ValidationError\n'), ((331, 348), 'datetime.datetime.now', 'dt.datetime.now', ([], {}), '()\n', (346, 348), True, 'import datetime as dt\n'), ((3155, 3228), 'django.db.models.UniqueConstraint', 'models.UniqueConstraint', ([], {'fields': "['author', 'title']", 'name': '"""unique review"""'}), "(fields=['author', 'title'], name='unique review')\n", (3178, 3228), False, 'from django.db import models\n'), ((2890, 2910), 'django.core.validators.MinValueValidator', 'MinValueValidator', (['(1)'], {}), '(1)\n', (2907, 2910), False, 'from django.core.validators import MinValueValidator, MaxValueValidator\n'), ((2924, 2945), 'django.core.validators.MaxValueValidator', 'MaxValueValidator', (['(10)'], {}), '(10)\n', (2941, 2945), False, 'from django.core.validators import MinValueValidator, MaxValueValidator\n')]
matthewpruett/angr
angr/engines/pcode/arch/ArchPcode_PowerPC_LE_32_QUICC.py
bfba2af1ea2eb941001339f47a1264a685c60eec
### ### This file was automatically generated ### from archinfo.arch import register_arch, Endness, Register from .common import ArchPcode class ArchPcode_PowerPC_LE_32_QUICC(ArchPcode): name = 'PowerPC:LE:32:QUICC' pcode_arch = 'PowerPC:LE:32:QUICC' description = 'PowerQUICC-III 32-bit little endian family' bits = 32 ip_offset = 0x780 sp_offset = 0x4 bp_offset = sp_offset instruction_endness = Endness.LE register_list = [ Register('r0', 4, 0x0), Register('r1', 4, 0x4), Register('r2', 4, 0x8), Register('r3', 4, 0xc), Register('r4', 4, 0x10), Register('r5', 4, 0x14), Register('r6', 4, 0x18), Register('r7', 4, 0x1c), Register('r8', 4, 0x20), Register('r9', 4, 0x24), Register('r10', 4, 0x28), Register('r11', 4, 0x2c), Register('r12', 4, 0x30), Register('r13', 4, 0x34), Register('r14', 4, 0x38), Register('r15', 4, 0x3c), Register('r16', 4, 0x40), Register('r17', 4, 0x44), Register('r18', 4, 0x48), Register('r19', 4, 0x4c), Register('r20', 4, 0x50), Register('r21', 4, 0x54), Register('r22', 4, 0x58), Register('r23', 4, 0x5c), Register('r24', 4, 0x60), Register('r25', 4, 0x64), Register('r26', 4, 0x68), Register('r27', 4, 0x6c), Register('r28', 4, 0x70), Register('r29', 4, 0x74), Register('r30', 4, 0x78), Register('r31', 4, 0x7c), Register('xer_so', 1, 0x400), Register('xer_ov', 1, 0x401), Register('xer_ov32', 1, 0x402), Register('xer_ca', 1, 0x403), Register('xer_ca32', 1, 0x404), Register('xer_count', 1, 0x405), Register('fp_fx', 1, 0x500), Register('fp_fex', 1, 0x501), Register('fp_vx', 1, 0x502), Register('fp_ox', 1, 0x503), Register('fp_ux', 1, 0x504), Register('fp_zx', 1, 0x505), Register('fp_xx', 1, 0x506), Register('fp_vxsnan', 1, 0x507), Register('fp_vxisi', 1, 0x508), Register('fp_vxidi', 1, 0x509), Register('fp_vxzdz', 1, 0x50a), Register('fp_vximz', 1, 0x50b), Register('fp_vxvc', 1, 0x50c), Register('fp_fr', 1, 0x50d), Register('fp_fi', 1, 0x50e), Register('fp_c', 1, 0x50f), Register('fp_cc0', 1, 0x510), Register('fp_cc1', 1, 0x511), Register('fp_cc2', 1, 0x512), Register('fp_cc3', 1, 0x513), Register('fp_reserve1', 1, 0x514), Register('fp_vxsoft', 1, 0x515), Register('fp_vxsqrt', 1, 0x516), Register('fp_vxcvi', 1, 0x517), Register('fp_ve', 1, 0x518), Register('fp_oe', 1, 0x519), Register('fp_ue', 1, 0x51a), Register('fp_ze', 1, 0x51b), Register('fp_xe', 1, 0x51c), Register('fp_ni', 1, 0x51d), Register('fp_rn0', 1, 0x51e), Register('fp_rn1', 1, 0x51f), Register('msr', 4, 0x700), Register('reserve_address', 4, 0x720), Register('reserve', 1, 0x728), Register('reserve_length', 1, 0x730), Register('pc', 4, 0x780, alias_names=('ip',)), Register('sr0', 4, 0x800), Register('sr1', 4, 0x804), Register('sr2', 4, 0x808), Register('sr3', 4, 0x80c), Register('sr4', 4, 0x810), Register('sr5', 4, 0x814), Register('sr6', 4, 0x818), Register('sr7', 4, 0x81c), Register('sr8', 4, 0x820), Register('sr9', 4, 0x824), Register('sr10', 4, 0x828), Register('sr11', 4, 0x82c), Register('sr12', 4, 0x830), Register('sr13', 4, 0x834), Register('sr14', 4, 0x838), Register('sr15', 4, 0x83c), Register('crall', 8, 0x900), Register('cr0', 1, 0x900), Register('cr1', 1, 0x901), Register('cr2', 1, 0x902), Register('cr3', 1, 0x903), Register('cr4', 1, 0x904), Register('cr5', 1, 0x905), Register('cr6', 1, 0x906), Register('cr7', 1, 0x907), Register('tea', 4, 0x980), Register('r2save', 4, 0x988), Register('spr000', 4, 0x1000), Register('xer', 4, 0x1004), Register('spr002', 4, 0x1008), Register('spr003', 4, 0x100c), Register('spr004', 4, 0x1010), Register('spr005', 4, 0x1014), Register('spr006', 4, 0x1018), Register('spr007', 4, 0x101c), Register('lr', 4, 0x1020), Register('ctr', 4, 0x1024), Register('spr00a', 4, 0x1028), Register('spr00b', 4, 0x102c), Register('spr00c', 4, 0x1030), Register('spr00d', 4, 0x1034), Register('spr00e', 4, 0x1038), Register('spr00f', 4, 0x103c), Register('spr010', 4, 0x1040), Register('spr011', 4, 0x1044), Register('spr012', 4, 0x1048), Register('spr013', 4, 0x104c), Register('spr014', 4, 0x1050), Register('spr015', 4, 0x1054), Register('spr016', 4, 0x1058), Register('spr017', 4, 0x105c), Register('spr018', 4, 0x1060), Register('spr019', 4, 0x1064), Register('srr0', 4, 0x1068), Register('srr1', 4, 0x106c), Register('spr01c', 4, 0x1070), Register('spr01d', 4, 0x1074), Register('spr01e', 4, 0x1078), Register('spr01f', 4, 0x107c), Register('spr020', 4, 0x1080), Register('spr021', 4, 0x1084), Register('spr022', 4, 0x1088), Register('spr023', 4, 0x108c), Register('spr024', 4, 0x1090), Register('spr025', 4, 0x1094), Register('spr026', 4, 0x1098), Register('spr027', 4, 0x109c), Register('spr028', 4, 0x10a0), Register('spr029', 4, 0x10a4), Register('spr02a', 4, 0x10a8), Register('spr02b', 4, 0x10ac), Register('spr02c', 4, 0x10b0), Register('spr02d', 4, 0x10b4), Register('spr02e', 4, 0x10b8), Register('spr02f', 4, 0x10bc), Register('spr030', 4, 0x10c0), Register('spr031', 4, 0x10c4), Register('spr032', 4, 0x10c8), Register('spr033', 4, 0x10cc), Register('spr034', 4, 0x10d0), Register('spr035', 4, 0x10d4), Register('spr036', 4, 0x10d8), Register('spr037', 4, 0x10dc), Register('spr038', 4, 0x10e0), Register('spr039', 4, 0x10e4), Register('spr03a', 4, 0x10e8), Register('spr03b', 4, 0x10ec), Register('spr03c', 4, 0x10f0), Register('spr03d', 4, 0x10f4), Register('spr03e', 4, 0x10f8), Register('spr03f', 4, 0x10fc), Register('spr040', 4, 0x1100), Register('spr041', 4, 0x1104), Register('spr042', 4, 0x1108), Register('spr043', 4, 0x110c), Register('spr044', 4, 0x1110), Register('spr045', 4, 0x1114), Register('spr046', 4, 0x1118), Register('spr047', 4, 0x111c), Register('spr048', 4, 0x1120), Register('spr049', 4, 0x1124), Register('spr04a', 4, 0x1128), Register('spr04b', 4, 0x112c), Register('spr04c', 4, 0x1130), Register('spr04d', 4, 0x1134), Register('spr04e', 4, 0x1138), Register('spr04f', 4, 0x113c), Register('spr050', 4, 0x1140), Register('spr051', 4, 0x1144), Register('spr052', 4, 0x1148), Register('spr053', 4, 0x114c), Register('spr054', 4, 0x1150), Register('spr055', 4, 0x1154), Register('spr056', 4, 0x1158), Register('spr057', 4, 0x115c), Register('spr058', 4, 0x1160), Register('spr059', 4, 0x1164), Register('spr05a', 4, 0x1168), Register('spr05b', 4, 0x116c), Register('spr05c', 4, 0x1170), Register('spr05d', 4, 0x1174), Register('spr05e', 4, 0x1178), Register('spr05f', 4, 0x117c), Register('spr060', 4, 0x1180), Register('spr061', 4, 0x1184), Register('spr062', 4, 0x1188), Register('spr063', 4, 0x118c), Register('spr064', 4, 0x1190), Register('spr065', 4, 0x1194), Register('spr066', 4, 0x1198), Register('spr067', 4, 0x119c), Register('spr068', 4, 0x11a0), Register('spr069', 4, 0x11a4), Register('spr06a', 4, 0x11a8), Register('spr06b', 4, 0x11ac), Register('spr06c', 4, 0x11b0), Register('spr06d', 4, 0x11b4), Register('spr06e', 4, 0x11b8), Register('spr06f', 4, 0x11bc), Register('spr070', 4, 0x11c0), Register('spr071', 4, 0x11c4), Register('spr072', 4, 0x11c8), Register('spr073', 4, 0x11cc), Register('spr074', 4, 0x11d0), Register('spr075', 4, 0x11d4), Register('spr076', 4, 0x11d8), Register('spr077', 4, 0x11dc), Register('spr078', 4, 0x11e0), Register('spr079', 4, 0x11e4), Register('spr07a', 4, 0x11e8), Register('spr07b', 4, 0x11ec), Register('spr07c', 4, 0x11f0), Register('spr07d', 4, 0x11f4), Register('spr07e', 4, 0x11f8), Register('spr07f', 4, 0x11fc), Register('spr080', 4, 0x1200), Register('spr081', 4, 0x1204), Register('spr082', 4, 0x1208), Register('spr083', 4, 0x120c), Register('spr084', 4, 0x1210), Register('spr085', 4, 0x1214), Register('spr086', 4, 0x1218), Register('spr087', 4, 0x121c), Register('spr088', 4, 0x1220), Register('spr089', 4, 0x1224), Register('spr08a', 4, 0x1228), Register('spr08b', 4, 0x122c), Register('spr08c', 4, 0x1230), Register('spr08d', 4, 0x1234), Register('spr08e', 4, 0x1238), Register('spr08f', 4, 0x123c), Register('spr090', 4, 0x1240), Register('spr091', 4, 0x1244), Register('spr092', 4, 0x1248), Register('spr093', 4, 0x124c), Register('spr094', 4, 0x1250), Register('spr095', 4, 0x1254), Register('spr096', 4, 0x1258), Register('spr097', 4, 0x125c), Register('spr098', 4, 0x1260), Register('spr099', 4, 0x1264), Register('spr09a', 4, 0x1268), Register('spr09b', 4, 0x126c), Register('spr09c', 4, 0x1270), Register('spr09d', 4, 0x1274), Register('spr09e', 4, 0x1278), Register('spr09f', 4, 0x127c), Register('spr0a0', 4, 0x1280), Register('spr0a1', 4, 0x1284), Register('spr0a2', 4, 0x1288), Register('spr0a3', 4, 0x128c), Register('spr0a4', 4, 0x1290), Register('spr0a5', 4, 0x1294), Register('spr0a6', 4, 0x1298), Register('spr0a7', 4, 0x129c), Register('spr0a8', 4, 0x12a0), Register('spr0a9', 4, 0x12a4), Register('spr0aa', 4, 0x12a8), Register('spr0ab', 4, 0x12ac), Register('spr0ac', 4, 0x12b0), Register('spr0ad', 4, 0x12b4), Register('spr0ae', 4, 0x12b8), Register('spr0af', 4, 0x12bc), Register('spr0b0', 4, 0x12c0), Register('spr0b1', 4, 0x12c4), Register('spr0b2', 4, 0x12c8), Register('spr0b3', 4, 0x12cc), Register('spr0b4', 4, 0x12d0), Register('spr0b5', 4, 0x12d4), Register('spr0b6', 4, 0x12d8), Register('spr0b7', 4, 0x12dc), Register('spr0b8', 4, 0x12e0), Register('spr0b9', 4, 0x12e4), Register('spr0ba', 4, 0x12e8), Register('spr0bb', 4, 0x12ec), Register('spr0bc', 4, 0x12f0), Register('spr0bd', 4, 0x12f4), Register('spr0be', 4, 0x12f8), Register('spr0bf', 4, 0x12fc), Register('spr0c0', 4, 0x1300), Register('spr0c1', 4, 0x1304), Register('spr0c2', 4, 0x1308), Register('spr0c3', 4, 0x130c), Register('spr0c4', 4, 0x1310), Register('spr0c5', 4, 0x1314), Register('spr0c6', 4, 0x1318), Register('spr0c7', 4, 0x131c), Register('spr0c8', 4, 0x1320), Register('spr0c9', 4, 0x1324), Register('spr0ca', 4, 0x1328), Register('spr0cb', 4, 0x132c), Register('spr0cc', 4, 0x1330), Register('spr0cd', 4, 0x1334), Register('spr0ce', 4, 0x1338), Register('spr0cf', 4, 0x133c), Register('spr0d0', 4, 0x1340), Register('spr0d1', 4, 0x1344), Register('spr0d2', 4, 0x1348), Register('spr0d3', 4, 0x134c), Register('spr0d4', 4, 0x1350), Register('spr0d5', 4, 0x1354), Register('spr0d6', 4, 0x1358), Register('spr0d7', 4, 0x135c), Register('spr0d8', 4, 0x1360), Register('spr0d9', 4, 0x1364), Register('spr0da', 4, 0x1368), Register('spr0db', 4, 0x136c), Register('spr0dc', 4, 0x1370), Register('spr0dd', 4, 0x1374), Register('spr0de', 4, 0x1378), Register('spr0df', 4, 0x137c), Register('spr0e0', 4, 0x1380), Register('spr0e1', 4, 0x1384), Register('spr0e2', 4, 0x1388), Register('spr0e3', 4, 0x138c), Register('spr0e4', 4, 0x1390), Register('spr0e5', 4, 0x1394), Register('spr0e6', 4, 0x1398), Register('spr0e7', 4, 0x139c), Register('spr0e8', 4, 0x13a0), Register('spr0e9', 4, 0x13a4), Register('spr0ea', 4, 0x13a8), Register('spr0eb', 4, 0x13ac), Register('spr0ec', 4, 0x13b0), Register('spr0ed', 4, 0x13b4), Register('spr0ee', 4, 0x13b8), Register('spr0ef', 4, 0x13bc), Register('spr0f0', 4, 0x13c0), Register('spr0f1', 4, 0x13c4), Register('spr0f2', 4, 0x13c8), Register('spr0f3', 4, 0x13cc), Register('spr0f4', 4, 0x13d0), Register('spr0f5', 4, 0x13d4), Register('spr0f6', 4, 0x13d8), Register('spr0f7', 4, 0x13dc), Register('spr0f8', 4, 0x13e0), Register('spr0f9', 4, 0x13e4), Register('spr0fa', 4, 0x13e8), Register('spr0fb', 4, 0x13ec), Register('spr0fc', 4, 0x13f0), Register('spr0fd', 4, 0x13f4), Register('spr0fe', 4, 0x13f8), Register('spr0ff', 4, 0x13fc), Register('spr100', 4, 0x1400), Register('spr101', 4, 0x1404), Register('spr102', 4, 0x1408), Register('spr103', 4, 0x140c), Register('spr104', 4, 0x1410), Register('spr105', 4, 0x1414), Register('spr106', 4, 0x1418), Register('spr107', 4, 0x141c), Register('spr108', 4, 0x1420), Register('spr109', 4, 0x1424), Register('spr10a', 4, 0x1428), Register('spr10b', 4, 0x142c), Register('tblr', 4, 0x1430), Register('tbur', 4, 0x1434), Register('spr10e', 4, 0x1438), Register('spr10f', 4, 0x143c), Register('spr110', 4, 0x1440), Register('spr111', 4, 0x1444), Register('spr112', 4, 0x1448), Register('spr113', 4, 0x144c), Register('spr114', 4, 0x1450), Register('spr115', 4, 0x1454), Register('spr116', 4, 0x1458), Register('spr117', 4, 0x145c), Register('spr118', 4, 0x1460), Register('spr119', 4, 0x1464), Register('spr11a', 4, 0x1468), Register('spr11b', 4, 0x146c), Register('tblw', 4, 0x1470), Register('tbuw', 4, 0x1474), Register('spr11e', 4, 0x1478), Register('spr11f', 4, 0x147c), Register('spr120', 4, 0x1480), Register('spr121', 4, 0x1484), Register('spr122', 4, 0x1488), Register('spr123', 4, 0x148c), Register('spr124', 4, 0x1490), Register('spr125', 4, 0x1494), Register('spr126', 4, 0x1498), Register('spr127', 4, 0x149c), Register('spr128', 4, 0x14a0), Register('spr129', 4, 0x14a4), Register('spr12a', 4, 0x14a8), Register('spr12b', 4, 0x14ac), Register('spr12c', 4, 0x14b0), Register('spr12d', 4, 0x14b4), Register('spr12e', 4, 0x14b8), Register('spr12f', 4, 0x14bc), Register('spr130', 4, 0x14c0), Register('spr131', 4, 0x14c4), Register('spr132', 4, 0x14c8), Register('spr133', 4, 0x14cc), Register('spr134', 4, 0x14d0), Register('spr135', 4, 0x14d4), Register('spr136', 4, 0x14d8), Register('spr137', 4, 0x14dc), Register('spr138', 4, 0x14e0), Register('spr139', 4, 0x14e4), Register('spr13a', 4, 0x14e8), Register('spr13b', 4, 0x14ec), Register('spr13c', 4, 0x14f0), Register('spr13d', 4, 0x14f4), Register('spr13e', 4, 0x14f8), Register('spr13f', 4, 0x14fc), Register('spr140', 4, 0x1500), Register('spr141', 4, 0x1504), Register('spr142', 4, 0x1508), Register('spr143', 4, 0x150c), Register('spr144', 4, 0x1510), Register('spr145', 4, 0x1514), Register('spr146', 4, 0x1518), Register('spr147', 4, 0x151c), Register('spr148', 4, 0x1520), Register('spr149', 4, 0x1524), Register('spr14a', 4, 0x1528), Register('spr14b', 4, 0x152c), Register('spr14c', 4, 0x1530), Register('spr14d', 4, 0x1534), Register('spr14e', 4, 0x1538), Register('spr14f', 4, 0x153c), Register('spr150', 4, 0x1540), Register('spr151', 4, 0x1544), Register('spr152', 4, 0x1548), Register('spr153', 4, 0x154c), Register('spr154', 4, 0x1550), Register('spr155', 4, 0x1554), Register('spr156', 4, 0x1558), Register('spr157', 4, 0x155c), Register('spr158', 4, 0x1560), Register('spr159', 4, 0x1564), Register('spr15a', 4, 0x1568), Register('spr15b', 4, 0x156c), Register('spr15c', 4, 0x1570), Register('spr15d', 4, 0x1574), Register('spr15e', 4, 0x1578), Register('spr15f', 4, 0x157c), Register('spr160', 4, 0x1580), Register('spr161', 4, 0x1584), Register('spr162', 4, 0x1588), Register('spr163', 4, 0x158c), Register('spr164', 4, 0x1590), Register('spr165', 4, 0x1594), Register('spr166', 4, 0x1598), Register('spr167', 4, 0x159c), Register('spr168', 4, 0x15a0), Register('spr169', 4, 0x15a4), Register('spr16a', 4, 0x15a8), Register('spr16b', 4, 0x15ac), Register('spr16c', 4, 0x15b0), Register('spr16d', 4, 0x15b4), Register('spr16e', 4, 0x15b8), Register('spr16f', 4, 0x15bc), Register('spr170', 4, 0x15c0), Register('spr171', 4, 0x15c4), Register('spr172', 4, 0x15c8), Register('spr173', 4, 0x15cc), Register('spr174', 4, 0x15d0), Register('spr175', 4, 0x15d4), Register('spr176', 4, 0x15d8), Register('spr177', 4, 0x15dc), Register('spr178', 4, 0x15e0), Register('spr179', 4, 0x15e4), Register('spr17a', 4, 0x15e8), Register('spr17b', 4, 0x15ec), Register('spr17c', 4, 0x15f0), Register('spr17d', 4, 0x15f4), Register('spr17e', 4, 0x15f8), Register('spr17f', 4, 0x15fc), Register('spr180', 4, 0x1600), Register('spr181', 4, 0x1604), Register('spr182', 4, 0x1608), Register('spr183', 4, 0x160c), Register('spr184', 4, 0x1610), Register('spr185', 4, 0x1614), Register('spr186', 4, 0x1618), Register('spr187', 4, 0x161c), Register('spr188', 4, 0x1620), Register('spr189', 4, 0x1624), Register('spr18a', 4, 0x1628), Register('spr18b', 4, 0x162c), Register('spr18c', 4, 0x1630), Register('spr18d', 4, 0x1634), Register('spr18e', 4, 0x1638), Register('spr18f', 4, 0x163c), Register('spr190', 4, 0x1640), Register('spr191', 4, 0x1644), Register('spr192', 4, 0x1648), Register('spr193', 4, 0x164c), Register('spr194', 4, 0x1650), Register('spr195', 4, 0x1654), Register('spr196', 4, 0x1658), Register('spr197', 4, 0x165c), Register('spr198', 4, 0x1660), Register('spr199', 4, 0x1664), Register('spr19a', 4, 0x1668), Register('spr19b', 4, 0x166c), Register('spr19c', 4, 0x1670), Register('spr19d', 4, 0x1674), Register('spr19e', 4, 0x1678), Register('spr19f', 4, 0x167c), Register('spr1a0', 4, 0x1680), Register('spr1a1', 4, 0x1684), Register('spr1a2', 4, 0x1688), Register('spr1a3', 4, 0x168c), Register('spr1a4', 4, 0x1690), Register('spr1a5', 4, 0x1694), Register('spr1a6', 4, 0x1698), Register('spr1a7', 4, 0x169c), Register('spr1a8', 4, 0x16a0), Register('spr1a9', 4, 0x16a4), Register('spr1aa', 4, 0x16a8), Register('spr1ab', 4, 0x16ac), Register('spr1ac', 4, 0x16b0), Register('spr1ad', 4, 0x16b4), Register('spr1ae', 4, 0x16b8), Register('spr1af', 4, 0x16bc), Register('spr1b0', 4, 0x16c0), Register('spr1b1', 4, 0x16c4), Register('spr1b2', 4, 0x16c8), Register('spr1b3', 4, 0x16cc), Register('spr1b4', 4, 0x16d0), Register('spr1b5', 4, 0x16d4), Register('spr1b6', 4, 0x16d8), Register('spr1b7', 4, 0x16dc), Register('spr1b8', 4, 0x16e0), Register('spr1b9', 4, 0x16e4), Register('spr1ba', 4, 0x16e8), Register('spr1bb', 4, 0x16ec), Register('spr1bc', 4, 0x16f0), Register('spr1bd', 4, 0x16f4), Register('spr1be', 4, 0x16f8), Register('spr1bf', 4, 0x16fc), Register('spr1c0', 4, 0x1700), Register('spr1c1', 4, 0x1704), Register('spr1c2', 4, 0x1708), Register('spr1c3', 4, 0x170c), Register('spr1c4', 4, 0x1710), Register('spr1c5', 4, 0x1714), Register('spr1c6', 4, 0x1718), Register('spr1c7', 4, 0x171c), Register('spr1c8', 4, 0x1720), Register('spr1c9', 4, 0x1724), Register('spr1ca', 4, 0x1728), Register('spr1cb', 4, 0x172c), Register('spr1cc', 4, 0x1730), Register('spr1cd', 4, 0x1734), Register('spr1ce', 4, 0x1738), Register('spr1cf', 4, 0x173c), Register('spr1d0', 4, 0x1740), Register('spr1d1', 4, 0x1744), Register('spr1d2', 4, 0x1748), Register('spr1d3', 4, 0x174c), Register('spr1d4', 4, 0x1750), Register('spr1d5', 4, 0x1754), Register('spr1d6', 4, 0x1758), Register('spr1d7', 4, 0x175c), Register('spr1d8', 4, 0x1760), Register('spr1d9', 4, 0x1764), Register('spr1da', 4, 0x1768), Register('spr1db', 4, 0x176c), Register('spr1dc', 4, 0x1770), Register('spr1dd', 4, 0x1774), Register('spr1de', 4, 0x1778), Register('spr1df', 4, 0x177c), Register('spr1e0', 4, 0x1780), Register('spr1e1', 4, 0x1784), Register('spr1e2', 4, 0x1788), Register('spr1e3', 4, 0x178c), Register('spr1e4', 4, 0x1790), Register('spr1e5', 4, 0x1794), Register('spr1e6', 4, 0x1798), Register('spr1e7', 4, 0x179c), Register('spr1e8', 4, 0x17a0), Register('spr1e9', 4, 0x17a4), Register('spr1ea', 4, 0x17a8), Register('spr1eb', 4, 0x17ac), Register('spr1ec', 4, 0x17b0), Register('spr1ed', 4, 0x17b4), Register('spr1ee', 4, 0x17b8), Register('spr1ef', 4, 0x17bc), Register('spr1f0', 4, 0x17c0), Register('spr1f1', 4, 0x17c4), Register('spr1f2', 4, 0x17c8), Register('spr1f3', 4, 0x17cc), Register('spr1f4', 4, 0x17d0), Register('spr1f5', 4, 0x17d4), Register('spr1f6', 4, 0x17d8), Register('spr1f7', 4, 0x17dc), Register('spr1f8', 4, 0x17e0), Register('spr1f9', 4, 0x17e4), Register('spr1fa', 4, 0x17e8), Register('spr1fb', 4, 0x17ec), Register('spr1fc', 4, 0x17f0), Register('spr1fd', 4, 0x17f4), Register('spr1fe', 4, 0x17f8), Register('spr1ff', 4, 0x17fc), Register('spr200', 4, 0x1800), Register('spr201', 4, 0x1804), Register('spr202', 4, 0x1808), Register('spr203', 4, 0x180c), Register('spr204', 4, 0x1810), Register('spr205', 4, 0x1814), Register('spr206', 4, 0x1818), Register('spr207', 4, 0x181c), Register('spr208', 4, 0x1820), Register('spr209', 4, 0x1824), Register('spr20a', 4, 0x1828), Register('spr20b', 4, 0x182c), Register('spr20c', 4, 0x1830), Register('spr20d', 4, 0x1834), Register('spr20e', 4, 0x1838), Register('spr20f', 4, 0x183c), Register('spr210', 4, 0x1840), Register('spr211', 4, 0x1844), Register('spr212', 4, 0x1848), Register('spr213', 4, 0x184c), Register('spr214', 4, 0x1850), Register('spr215', 4, 0x1854), Register('spr216', 4, 0x1858), Register('spr217', 4, 0x185c), Register('spr218', 4, 0x1860), Register('spr219', 4, 0x1864), Register('spr21a', 4, 0x1868), Register('spr21b', 4, 0x186c), Register('spr21c', 4, 0x1870), Register('spr21d', 4, 0x1874), Register('spr21e', 4, 0x1878), Register('spr21f', 4, 0x187c), Register('spr220', 4, 0x1880), Register('spr221', 4, 0x1884), Register('spr222', 4, 0x1888), Register('spr223', 4, 0x188c), Register('spr224', 4, 0x1890), Register('spr225', 4, 0x1894), Register('spr226', 4, 0x1898), Register('spr227', 4, 0x189c), Register('spr228', 4, 0x18a0), Register('spr229', 4, 0x18a4), Register('spr22a', 4, 0x18a8), Register('spr22b', 4, 0x18ac), Register('spr22c', 4, 0x18b0), Register('spr22d', 4, 0x18b4), Register('spr22e', 4, 0x18b8), Register('spr22f', 4, 0x18bc), Register('spr230', 4, 0x18c0), Register('spr231', 4, 0x18c4), Register('spr232', 4, 0x18c8), Register('spr233', 4, 0x18cc), Register('spr234', 4, 0x18d0), Register('spr235', 4, 0x18d4), Register('spr236', 4, 0x18d8), Register('spr237', 4, 0x18dc), Register('spr238', 4, 0x18e0), Register('spr239', 4, 0x18e4), Register('spr23a', 4, 0x18e8), Register('spr23b', 4, 0x18ec), Register('spr23c', 4, 0x18f0), Register('spr23d', 4, 0x18f4), Register('spr23e', 4, 0x18f8), Register('spr23f', 4, 0x18fc), Register('spr240', 4, 0x1900), Register('spr241', 4, 0x1904), Register('spr242', 4, 0x1908), Register('spr243', 4, 0x190c), Register('spr244', 4, 0x1910), Register('spr245', 4, 0x1914), Register('spr246', 4, 0x1918), Register('spr247', 4, 0x191c), Register('spr248', 4, 0x1920), Register('spr249', 4, 0x1924), Register('spr24a', 4, 0x1928), Register('spr24b', 4, 0x192c), Register('spr24c', 4, 0x1930), Register('spr24d', 4, 0x1934), Register('spr24e', 4, 0x1938), Register('spr24f', 4, 0x193c), Register('spr250', 4, 0x1940), Register('spr251', 4, 0x1944), Register('spr252', 4, 0x1948), Register('spr253', 4, 0x194c), Register('spr254', 4, 0x1950), Register('spr255', 4, 0x1954), Register('spr256', 4, 0x1958), Register('spr257', 4, 0x195c), Register('spr258', 4, 0x1960), Register('spr259', 4, 0x1964), Register('spr25a', 4, 0x1968), Register('spr25b', 4, 0x196c), Register('spr25c', 4, 0x1970), Register('spr25d', 4, 0x1974), Register('spr25e', 4, 0x1978), Register('spr25f', 4, 0x197c), Register('spr260', 4, 0x1980), Register('spr261', 4, 0x1984), Register('spr262', 4, 0x1988), Register('spr263', 4, 0x198c), Register('spr264', 4, 0x1990), Register('spr265', 4, 0x1994), Register('spr266', 4, 0x1998), Register('spr267', 4, 0x199c), Register('spr268', 4, 0x19a0), Register('spr269', 4, 0x19a4), Register('spr26a', 4, 0x19a8), Register('spr26b', 4, 0x19ac), Register('spr26c', 4, 0x19b0), Register('spr26d', 4, 0x19b4), Register('spr26e', 4, 0x19b8), Register('spr26f', 4, 0x19bc), Register('spr270', 4, 0x19c0), Register('spr271', 4, 0x19c4), Register('spr272', 4, 0x19c8), Register('spr273', 4, 0x19cc), Register('spr274', 4, 0x19d0), Register('spr275', 4, 0x19d4), Register('spr276', 4, 0x19d8), Register('spr277', 4, 0x19dc), Register('spr278', 4, 0x19e0), Register('spr279', 4, 0x19e4), Register('spr27a', 4, 0x19e8), Register('spr27b', 4, 0x19ec), Register('spr27c', 4, 0x19f0), Register('spr27d', 4, 0x19f4), Register('spr27e', 4, 0x19f8), Register('spr27f', 4, 0x19fc), Register('spr280', 4, 0x1a00), Register('spr281', 4, 0x1a04), Register('spr282', 4, 0x1a08), Register('spr283', 4, 0x1a0c), Register('spr284', 4, 0x1a10), Register('spr285', 4, 0x1a14), Register('spr286', 4, 0x1a18), Register('spr287', 4, 0x1a1c), Register('spr288', 4, 0x1a20), Register('spr289', 4, 0x1a24), Register('spr28a', 4, 0x1a28), Register('spr28b', 4, 0x1a2c), Register('spr28c', 4, 0x1a30), Register('spr28d', 4, 0x1a34), Register('spr28e', 4, 0x1a38), Register('spr28f', 4, 0x1a3c), Register('spr290', 4, 0x1a40), Register('spr291', 4, 0x1a44), Register('spr292', 4, 0x1a48), Register('spr293', 4, 0x1a4c), Register('spr294', 4, 0x1a50), Register('spr295', 4, 0x1a54), Register('spr296', 4, 0x1a58), Register('spr297', 4, 0x1a5c), Register('spr298', 4, 0x1a60), Register('spr299', 4, 0x1a64), Register('spr29a', 4, 0x1a68), Register('spr29b', 4, 0x1a6c), Register('spr29c', 4, 0x1a70), Register('spr29d', 4, 0x1a74), Register('spr29e', 4, 0x1a78), Register('spr29f', 4, 0x1a7c), Register('spr2a0', 4, 0x1a80), Register('spr2a1', 4, 0x1a84), Register('spr2a2', 4, 0x1a88), Register('spr2a3', 4, 0x1a8c), Register('spr2a4', 4, 0x1a90), Register('spr2a5', 4, 0x1a94), Register('spr2a6', 4, 0x1a98), Register('spr2a7', 4, 0x1a9c), Register('spr2a8', 4, 0x1aa0), Register('spr2a9', 4, 0x1aa4), Register('spr2aa', 4, 0x1aa8), Register('spr2ab', 4, 0x1aac), Register('spr2ac', 4, 0x1ab0), Register('spr2ad', 4, 0x1ab4), Register('spr2ae', 4, 0x1ab8), Register('spr2af', 4, 0x1abc), Register('spr2b0', 4, 0x1ac0), Register('spr2b1', 4, 0x1ac4), Register('spr2b2', 4, 0x1ac8), Register('spr2b3', 4, 0x1acc), Register('spr2b4', 4, 0x1ad0), Register('spr2b5', 4, 0x1ad4), Register('spr2b6', 4, 0x1ad8), Register('spr2b7', 4, 0x1adc), Register('spr2b8', 4, 0x1ae0), Register('spr2b9', 4, 0x1ae4), Register('spr2ba', 4, 0x1ae8), Register('spr2bb', 4, 0x1aec), Register('spr2bc', 4, 0x1af0), Register('spr2bd', 4, 0x1af4), Register('spr2be', 4, 0x1af8), Register('spr2bf', 4, 0x1afc), Register('spr2c0', 4, 0x1b00), Register('spr2c1', 4, 0x1b04), Register('spr2c2', 4, 0x1b08), Register('spr2c3', 4, 0x1b0c), Register('spr2c4', 4, 0x1b10), Register('spr2c5', 4, 0x1b14), Register('spr2c6', 4, 0x1b18), Register('spr2c7', 4, 0x1b1c), Register('spr2c8', 4, 0x1b20), Register('spr2c9', 4, 0x1b24), Register('spr2ca', 4, 0x1b28), Register('spr2cb', 4, 0x1b2c), Register('spr2cc', 4, 0x1b30), Register('spr2cd', 4, 0x1b34), Register('spr2ce', 4, 0x1b38), Register('spr2cf', 4, 0x1b3c), Register('spr2d0', 4, 0x1b40), Register('spr2d1', 4, 0x1b44), Register('spr2d2', 4, 0x1b48), Register('spr2d3', 4, 0x1b4c), Register('spr2d4', 4, 0x1b50), Register('spr2d5', 4, 0x1b54), Register('spr2d6', 4, 0x1b58), Register('spr2d7', 4, 0x1b5c), Register('spr2d8', 4, 0x1b60), Register('spr2d9', 4, 0x1b64), Register('spr2da', 4, 0x1b68), Register('spr2db', 4, 0x1b6c), Register('spr2dc', 4, 0x1b70), Register('spr2dd', 4, 0x1b74), Register('spr2de', 4, 0x1b78), Register('spr2df', 4, 0x1b7c), Register('spr2e0', 4, 0x1b80), Register('spr2e1', 4, 0x1b84), Register('spr2e2', 4, 0x1b88), Register('spr2e3', 4, 0x1b8c), Register('spr2e4', 4, 0x1b90), Register('spr2e5', 4, 0x1b94), Register('spr2e6', 4, 0x1b98), Register('spr2e7', 4, 0x1b9c), Register('spr2e8', 4, 0x1ba0), Register('spr2e9', 4, 0x1ba4), Register('spr2ea', 4, 0x1ba8), Register('spr2eb', 4, 0x1bac), Register('spr2ec', 4, 0x1bb0), Register('spr2ed', 4, 0x1bb4), Register('spr2ee', 4, 0x1bb8), Register('spr2ef', 4, 0x1bbc), Register('spr2f0', 4, 0x1bc0), Register('spr2f1', 4, 0x1bc4), Register('spr2f2', 4, 0x1bc8), Register('spr2f3', 4, 0x1bcc), Register('spr2f4', 4, 0x1bd0), Register('spr2f5', 4, 0x1bd4), Register('spr2f6', 4, 0x1bd8), Register('spr2f7', 4, 0x1bdc), Register('spr2f8', 4, 0x1be0), Register('spr2f9', 4, 0x1be4), Register('spr2fa', 4, 0x1be8), Register('spr2fb', 4, 0x1bec), Register('spr2fc', 4, 0x1bf0), Register('spr2fd', 4, 0x1bf4), Register('spr2fe', 4, 0x1bf8), Register('spr2ff', 4, 0x1bfc), Register('spr300', 4, 0x1c00), Register('spr301', 4, 0x1c04), Register('spr302', 4, 0x1c08), Register('spr303', 4, 0x1c0c), Register('spr304', 4, 0x1c10), Register('spr305', 4, 0x1c14), Register('spr306', 4, 0x1c18), Register('spr307', 4, 0x1c1c), Register('spr308', 4, 0x1c20), Register('spr309', 4, 0x1c24), Register('spr30a', 4, 0x1c28), Register('spr30b', 4, 0x1c2c), Register('spr30c', 4, 0x1c30), Register('spr30d', 4, 0x1c34), Register('spr30e', 4, 0x1c38), Register('spr30f', 4, 0x1c3c), Register('spr310', 4, 0x1c40), Register('spr311', 4, 0x1c44), Register('spr312', 4, 0x1c48), Register('spr313', 4, 0x1c4c), Register('spr314', 4, 0x1c50), Register('spr315', 4, 0x1c54), Register('spr316', 4, 0x1c58), Register('spr317', 4, 0x1c5c), Register('spr318', 4, 0x1c60), Register('spr319', 4, 0x1c64), Register('spr31a', 4, 0x1c68), Register('spr31b', 4, 0x1c6c), Register('spr31c', 4, 0x1c70), Register('spr31d', 4, 0x1c74), Register('spr31e', 4, 0x1c78), Register('spr31f', 4, 0x1c7c), Register('spr320', 4, 0x1c80), Register('spr321', 4, 0x1c84), Register('spr322', 4, 0x1c88), Register('spr323', 4, 0x1c8c), Register('spr324', 4, 0x1c90), Register('spr325', 4, 0x1c94), Register('spr326', 4, 0x1c98), Register('spr327', 4, 0x1c9c), Register('spr328', 4, 0x1ca0), Register('spr329', 4, 0x1ca4), Register('spr32a', 4, 0x1ca8), Register('spr32b', 4, 0x1cac), Register('spr32c', 4, 0x1cb0), Register('spr32d', 4, 0x1cb4), Register('spr32e', 4, 0x1cb8), Register('tar', 4, 0x1cbc), Register('spr330', 4, 0x1cc0), Register('spr331', 4, 0x1cc4), Register('spr332', 4, 0x1cc8), Register('spr333', 4, 0x1ccc), Register('spr334', 4, 0x1cd0), Register('spr335', 4, 0x1cd4), Register('spr336', 4, 0x1cd8), Register('spr337', 4, 0x1cdc), Register('spr338', 4, 0x1ce0), Register('spr339', 4, 0x1ce4), Register('spr33a', 4, 0x1ce8), Register('spr33b', 4, 0x1cec), Register('spr33c', 4, 0x1cf0), Register('spr33d', 4, 0x1cf4), Register('spr33e', 4, 0x1cf8), Register('spr33f', 4, 0x1cfc), Register('spr340', 4, 0x1d00), Register('spr341', 4, 0x1d04), Register('spr342', 4, 0x1d08), Register('spr343', 4, 0x1d0c), Register('spr344', 4, 0x1d10), Register('spr345', 4, 0x1d14), Register('spr346', 4, 0x1d18), Register('spr347', 4, 0x1d1c), Register('spr348', 4, 0x1d20), Register('spr349', 4, 0x1d24), Register('spr34a', 4, 0x1d28), Register('spr34b', 4, 0x1d2c), Register('spr34c', 4, 0x1d30), Register('spr34d', 4, 0x1d34), Register('spr34e', 4, 0x1d38), Register('spr34f', 4, 0x1d3c), Register('spr350', 4, 0x1d40), Register('spr351', 4, 0x1d44), Register('spr352', 4, 0x1d48), Register('spr353', 4, 0x1d4c), Register('spr354', 4, 0x1d50), Register('spr355', 4, 0x1d54), Register('spr356', 4, 0x1d58), Register('spr357', 4, 0x1d5c), Register('spr358', 4, 0x1d60), Register('spr359', 4, 0x1d64), Register('spr35a', 4, 0x1d68), Register('spr35b', 4, 0x1d6c), Register('spr35c', 4, 0x1d70), Register('spr35d', 4, 0x1d74), Register('spr35e', 4, 0x1d78), Register('spr35f', 4, 0x1d7c), Register('spr360', 4, 0x1d80), Register('spr361', 4, 0x1d84), Register('spr362', 4, 0x1d88), Register('spr363', 4, 0x1d8c), Register('spr364', 4, 0x1d90), Register('spr365', 4, 0x1d94), Register('spr366', 4, 0x1d98), Register('spr367', 4, 0x1d9c), Register('spr368', 4, 0x1da0), Register('spr369', 4, 0x1da4), Register('spr36a', 4, 0x1da8), Register('spr36b', 4, 0x1dac), Register('spr36c', 4, 0x1db0), Register('spr36d', 4, 0x1db4), Register('spr36e', 4, 0x1db8), Register('spr36f', 4, 0x1dbc), Register('spr370', 4, 0x1dc0), Register('spr371', 4, 0x1dc4), Register('spr372', 4, 0x1dc8), Register('spr373', 4, 0x1dcc), Register('spr374', 4, 0x1dd0), Register('spr375', 4, 0x1dd4), Register('spr376', 4, 0x1dd8), Register('spr377', 4, 0x1ddc), Register('spr378', 4, 0x1de0), Register('spr379', 4, 0x1de4), Register('spr37a', 4, 0x1de8), Register('spr37b', 4, 0x1dec), Register('spr37c', 4, 0x1df0), Register('spr37d', 4, 0x1df4), Register('spr37e', 4, 0x1df8), Register('spr37f', 4, 0x1dfc), Register('spr380', 4, 0x1e00), Register('spr381', 4, 0x1e04), Register('spr382', 4, 0x1e08), Register('spr383', 4, 0x1e0c), Register('spr384', 4, 0x1e10), Register('spr385', 4, 0x1e14), Register('spr386', 4, 0x1e18), Register('spr387', 4, 0x1e1c), Register('spr388', 4, 0x1e20), Register('spr389', 4, 0x1e24), Register('spr38a', 4, 0x1e28), Register('spr38b', 4, 0x1e2c), Register('spr38c', 4, 0x1e30), Register('spr38d', 4, 0x1e34), Register('spr38e', 4, 0x1e38), Register('spr38f', 4, 0x1e3c), Register('spr390', 4, 0x1e40), Register('spr391', 4, 0x1e44), Register('spr392', 4, 0x1e48), Register('spr393', 4, 0x1e4c), Register('spr394', 4, 0x1e50), Register('spr395', 4, 0x1e54), Register('spr396', 4, 0x1e58), Register('spr397', 4, 0x1e5c), Register('spr398', 4, 0x1e60), Register('spr399', 4, 0x1e64), Register('spr39a', 4, 0x1e68), Register('spr39b', 4, 0x1e6c), Register('spr39c', 4, 0x1e70), Register('spr39d', 4, 0x1e74), Register('spr39e', 4, 0x1e78), Register('spr39f', 4, 0x1e7c), Register('spr3a0', 4, 0x1e80), Register('spr3a1', 4, 0x1e84), Register('spr3a2', 4, 0x1e88), Register('spr3a3', 4, 0x1e8c), Register('spr3a4', 4, 0x1e90), Register('spr3a5', 4, 0x1e94), Register('spr3a6', 4, 0x1e98), Register('spr3a7', 4, 0x1e9c), Register('spr3a8', 4, 0x1ea0), Register('spr3a9', 4, 0x1ea4), Register('spr3aa', 4, 0x1ea8), Register('spr3ab', 4, 0x1eac), Register('spr3ac', 4, 0x1eb0), Register('spr3ad', 4, 0x1eb4), Register('spr3ae', 4, 0x1eb8), Register('spr3af', 4, 0x1ebc), Register('spr3b0', 4, 0x1ec0), Register('spr3b1', 4, 0x1ec4), Register('spr3b2', 4, 0x1ec8), Register('spr3b3', 4, 0x1ecc), Register('spr3b4', 4, 0x1ed0), Register('spr3b5', 4, 0x1ed4), Register('spr3b6', 4, 0x1ed8), Register('spr3b7', 4, 0x1edc), Register('spr3b8', 4, 0x1ee0), Register('spr3b9', 4, 0x1ee4), Register('spr3ba', 4, 0x1ee8), Register('spr3bb', 4, 0x1eec), Register('spr3bc', 4, 0x1ef0), Register('spr3bd', 4, 0x1ef4), Register('spr3be', 4, 0x1ef8), Register('spr3bf', 4, 0x1efc), Register('spr3c0', 4, 0x1f00), Register('spr3c1', 4, 0x1f04), Register('spr3c2', 4, 0x1f08), Register('spr3c3', 4, 0x1f0c), Register('spr3c4', 4, 0x1f10), Register('spr3c5', 4, 0x1f14), Register('spr3c6', 4, 0x1f18), Register('spr3c7', 4, 0x1f1c), Register('spr3c8', 4, 0x1f20), Register('spr3c9', 4, 0x1f24), Register('spr3ca', 4, 0x1f28), Register('spr3cb', 4, 0x1f2c), Register('spr3cc', 4, 0x1f30), Register('spr3cd', 4, 0x1f34), Register('spr3ce', 4, 0x1f38), Register('spr3cf', 4, 0x1f3c), Register('spr3d0', 4, 0x1f40), Register('spr3d1', 4, 0x1f44), Register('spr3d2', 4, 0x1f48), Register('spr3d3', 4, 0x1f4c), Register('spr3d4', 4, 0x1f50), Register('spr3d5', 4, 0x1f54), Register('spr3d6', 4, 0x1f58), Register('spr3d7', 4, 0x1f5c), Register('spr3d8', 4, 0x1f60), Register('spr3d9', 4, 0x1f64), Register('spr3da', 4, 0x1f68), Register('spr3db', 4, 0x1f6c), Register('spr3dc', 4, 0x1f70), Register('spr3dd', 4, 0x1f74), Register('spr3de', 4, 0x1f78), Register('spr3df', 4, 0x1f7c), Register('spr3e0', 4, 0x1f80), Register('spr3e1', 4, 0x1f84), Register('spr3e2', 4, 0x1f88), Register('spr3e3', 4, 0x1f8c), Register('spr3e4', 4, 0x1f90), Register('spr3e5', 4, 0x1f94), Register('spr3e6', 4, 0x1f98), Register('spr3e7', 4, 0x1f9c), Register('spr3e8', 4, 0x1fa0), Register('spr3e9', 4, 0x1fa4), Register('spr3ea', 4, 0x1fa8), Register('spr3eb', 4, 0x1fac), Register('spr3ec', 4, 0x1fb0), Register('spr3ed', 4, 0x1fb4), Register('spr3ee', 4, 0x1fb8), Register('spr3ef', 4, 0x1fbc), Register('spr3f0', 4, 0x1fc0), Register('spr3f1', 4, 0x1fc4), Register('spr3f2', 4, 0x1fc8), Register('spr3f3', 4, 0x1fcc), Register('spr3f4', 4, 0x1fd0), Register('spr3f5', 4, 0x1fd4), Register('spr3f6', 4, 0x1fd8), Register('spr3f7', 4, 0x1fdc), Register('spr3f8', 4, 0x1fe0), Register('spr3f9', 4, 0x1fe4), Register('spr3fa', 4, 0x1fe8), Register('spr3fb', 4, 0x1fec), Register('spr3fc', 4, 0x1ff0), Register('spr3fd', 4, 0x1ff4), Register('spr3fe', 4, 0x1ff8), Register('spr3ff', 4, 0x1ffc), Register('vs0', 16, 0x4000), Register('f0', 8, 0x4008), Register('vs1', 16, 0x4010), Register('f1', 8, 0x4018), Register('vs2', 16, 0x4020), Register('f2', 8, 0x4028), Register('vs3', 16, 0x4030), Register('f3', 8, 0x4038), Register('vs4', 16, 0x4040), Register('f4', 8, 0x4048), Register('vs5', 16, 0x4050), Register('f5', 8, 0x4058), Register('vs6', 16, 0x4060), Register('f6', 8, 0x4068), Register('vs7', 16, 0x4070), Register('f7', 8, 0x4078), Register('vs8', 16, 0x4080), Register('f8', 8, 0x4088), Register('vs9', 16, 0x4090), Register('f9', 8, 0x4098), Register('vs10', 16, 0x40a0), Register('f10', 8, 0x40a8), Register('vs11', 16, 0x40b0), Register('f11', 8, 0x40b8), Register('vs12', 16, 0x40c0), Register('f12', 8, 0x40c8), Register('vs13', 16, 0x40d0), Register('f13', 8, 0x40d8), Register('vs14', 16, 0x40e0), Register('f14', 8, 0x40e8), Register('vs15', 16, 0x40f0), Register('f15', 8, 0x40f8), Register('vs16', 16, 0x4100), Register('f16', 8, 0x4108), Register('vs17', 16, 0x4110), Register('f17', 8, 0x4118), Register('vs18', 16, 0x4120), Register('f18', 8, 0x4128), Register('vs19', 16, 0x4130), Register('f19', 8, 0x4138), Register('vs20', 16, 0x4140), Register('f20', 8, 0x4148), Register('vs21', 16, 0x4150), Register('f21', 8, 0x4158), Register('vs22', 16, 0x4160), Register('f22', 8, 0x4168), Register('vs23', 16, 0x4170), Register('f23', 8, 0x4178), Register('vs24', 16, 0x4180), Register('f24', 8, 0x4188), Register('vs25', 16, 0x4190), Register('f25', 8, 0x4198), Register('vs26', 16, 0x41a0), Register('f26', 8, 0x41a8), Register('vs27', 16, 0x41b0), Register('f27', 8, 0x41b8), Register('vs28', 16, 0x41c0), Register('f28', 8, 0x41c8), Register('vs29', 16, 0x41d0), Register('f29', 8, 0x41d8), Register('vs30', 16, 0x41e0), Register('f30', 8, 0x41e8), Register('vs31', 16, 0x41f0), Register('f31', 8, 0x41f8), Register('vs32', 16, 0x4200), Register('vr0_64_1', 8, 0x4200), Register('vr0_32_3', 4, 0x4200), Register('vr0_16_7', 2, 0x4200), Register('vr0_8_15', 1, 0x4200), Register('vr0_8_14', 1, 0x4201), Register('vr0_16_6', 2, 0x4202), Register('vr0_8_13', 1, 0x4202), Register('vr0_8_12', 1, 0x4203), Register('vr0_32_2', 4, 0x4204), Register('vr0_16_5', 2, 0x4204), Register('vr0_8_11', 1, 0x4204), Register('vr0_8_10', 1, 0x4205), Register('vr0_16_4', 2, 0x4206), Register('vr0_8_9', 1, 0x4206), Register('vr0_8_8', 1, 0x4207), Register('vr0_64_0', 8, 0x4208), Register('vr0_32_1', 4, 0x4208), Register('vr0_16_3', 2, 0x4208), Register('vr0_8_7', 1, 0x4208), Register('vr0_8_6', 1, 0x4209), Register('vr0_16_2', 2, 0x420a), Register('vr0_8_5', 1, 0x420a), Register('vr0_8_4', 1, 0x420b), Register('vr0_32_0', 4, 0x420c), Register('vr0_16_1', 2, 0x420c), Register('vr0_8_3', 1, 0x420c), Register('vr0_8_2', 1, 0x420d), Register('vr0_16_0', 2, 0x420e), Register('vr0_8_1', 1, 0x420e), Register('vr0_8_0', 1, 0x420f), Register('vs33', 16, 0x4210), Register('vr1_64_1', 8, 0x4210), Register('vr1_32_3', 4, 0x4210), Register('vr1_16_7', 2, 0x4210), Register('vr1_8_15', 1, 0x4210), Register('vr1_8_14', 1, 0x4211), Register('vr1_16_6', 2, 0x4212), Register('vr1_8_13', 1, 0x4212), Register('vr1_8_12', 1, 0x4213), Register('vr1_32_2', 4, 0x4214), Register('vr1_16_5', 2, 0x4214), Register('vr1_8_11', 1, 0x4214), Register('vr1_8_10', 1, 0x4215), Register('vr1_16_4', 2, 0x4216), Register('vr1_8_9', 1, 0x4216), Register('vr1_8_8', 1, 0x4217), Register('vr1_64_0', 8, 0x4218), Register('vr1_32_1', 4, 0x4218), Register('vr1_16_3', 2, 0x4218), Register('vr1_8_7', 1, 0x4218), Register('vr1_8_6', 1, 0x4219), Register('vr1_16_2', 2, 0x421a), Register('vr1_8_5', 1, 0x421a), Register('vr1_8_4', 1, 0x421b), Register('vr1_32_0', 4, 0x421c), Register('vr1_16_1', 2, 0x421c), Register('vr1_8_3', 1, 0x421c), Register('vr1_8_2', 1, 0x421d), Register('vr1_16_0', 2, 0x421e), Register('vr1_8_1', 1, 0x421e), Register('vr1_8_0', 1, 0x421f), Register('vs34', 16, 0x4220), Register('vr2_64_1', 8, 0x4220), Register('vr2_32_3', 4, 0x4220), Register('vr2_16_7', 2, 0x4220), Register('vr2_8_15', 1, 0x4220), Register('vr2_8_14', 1, 0x4221), Register('vr2_16_6', 2, 0x4222), Register('vr2_8_13', 1, 0x4222), Register('vr2_8_12', 1, 0x4223), Register('vr2_32_2', 4, 0x4224), Register('vr2_16_5', 2, 0x4224), Register('vr2_8_11', 1, 0x4224), Register('vr2_8_10', 1, 0x4225), Register('vr2_16_4', 2, 0x4226), Register('vr2_8_9', 1, 0x4226), Register('vr2_8_8', 1, 0x4227), Register('vr2_64_0', 8, 0x4228), Register('vr2_32_1', 4, 0x4228), Register('vr2_16_3', 2, 0x4228), Register('vr2_8_7', 1, 0x4228), Register('vr2_8_6', 1, 0x4229), Register('vr2_16_2', 2, 0x422a), Register('vr2_8_5', 1, 0x422a), Register('vr2_8_4', 1, 0x422b), Register('vr2_32_0', 4, 0x422c), Register('vr2_16_1', 2, 0x422c), Register('vr2_8_3', 1, 0x422c), Register('vr2_8_2', 1, 0x422d), Register('vr2_16_0', 2, 0x422e), Register('vr2_8_1', 1, 0x422e), Register('vr2_8_0', 1, 0x422f), Register('vs35', 16, 0x4230), Register('vr3_64_1', 8, 0x4230), Register('vr3_32_3', 4, 0x4230), Register('vr3_16_7', 2, 0x4230), Register('vr3_8_15', 1, 0x4230), Register('vr3_8_14', 1, 0x4231), Register('vr3_16_6', 2, 0x4232), Register('vr3_8_13', 1, 0x4232), Register('vr3_8_12', 1, 0x4233), Register('vr3_32_2', 4, 0x4234), Register('vr3_16_5', 2, 0x4234), Register('vr3_8_11', 1, 0x4234), Register('vr3_8_10', 1, 0x4235), Register('vr3_16_4', 2, 0x4236), Register('vr3_8_9', 1, 0x4236), Register('vr3_8_8', 1, 0x4237), Register('vr3_64_0', 8, 0x4238), Register('vr3_32_1', 4, 0x4238), Register('vr3_16_3', 2, 0x4238), Register('vr3_8_7', 1, 0x4238), Register('vr3_8_6', 1, 0x4239), Register('vr3_16_2', 2, 0x423a), Register('vr3_8_5', 1, 0x423a), Register('vr3_8_4', 1, 0x423b), Register('vr3_32_0', 4, 0x423c), Register('vr3_16_1', 2, 0x423c), Register('vr3_8_3', 1, 0x423c), Register('vr3_8_2', 1, 0x423d), Register('vr3_16_0', 2, 0x423e), Register('vr3_8_1', 1, 0x423e), Register('vr3_8_0', 1, 0x423f), Register('vs36', 16, 0x4240), Register('vr4_64_1', 8, 0x4240), Register('vr4_32_3', 4, 0x4240), Register('vr4_16_7', 2, 0x4240), Register('vr4_8_15', 1, 0x4240), Register('vr4_8_14', 1, 0x4241), Register('vr4_16_6', 2, 0x4242), Register('vr4_8_13', 1, 0x4242), Register('vr4_8_12', 1, 0x4243), Register('vr4_32_2', 4, 0x4244), Register('vr4_16_5', 2, 0x4244), Register('vr4_8_11', 1, 0x4244), Register('vr4_8_10', 1, 0x4245), Register('vr4_16_4', 2, 0x4246), Register('vr4_8_9', 1, 0x4246), Register('vr4_8_8', 1, 0x4247), Register('vr4_64_0', 8, 0x4248), Register('vr4_32_1', 4, 0x4248), Register('vr4_16_3', 2, 0x4248), Register('vr4_8_7', 1, 0x4248), Register('vr4_8_6', 1, 0x4249), Register('vr4_16_2', 2, 0x424a), Register('vr4_8_5', 1, 0x424a), Register('vr4_8_4', 1, 0x424b), Register('vr4_32_0', 4, 0x424c), Register('vr4_16_1', 2, 0x424c), Register('vr4_8_3', 1, 0x424c), Register('vr4_8_2', 1, 0x424d), Register('vr4_16_0', 2, 0x424e), Register('vr4_8_1', 1, 0x424e), Register('vr4_8_0', 1, 0x424f), Register('vs37', 16, 0x4250), Register('vr5_64_1', 8, 0x4250), Register('vr5_32_3', 4, 0x4250), Register('vr5_16_7', 2, 0x4250), Register('vr5_8_15', 1, 0x4250), Register('vr5_8_14', 1, 0x4251), Register('vr5_16_6', 2, 0x4252), Register('vr5_8_13', 1, 0x4252), Register('vr5_8_12', 1, 0x4253), Register('vr5_32_2', 4, 0x4254), Register('vr5_16_5', 2, 0x4254), Register('vr5_8_11', 1, 0x4254), Register('vr5_8_10', 1, 0x4255), Register('vr5_16_4', 2, 0x4256), Register('vr5_8_9', 1, 0x4256), Register('vr5_8_8', 1, 0x4257), Register('vr5_64_0', 8, 0x4258), Register('vr5_32_1', 4, 0x4258), Register('vr5_16_3', 2, 0x4258), Register('vr5_8_7', 1, 0x4258), Register('vr5_8_6', 1, 0x4259), Register('vr5_16_2', 2, 0x425a), Register('vr5_8_5', 1, 0x425a), Register('vr5_8_4', 1, 0x425b), Register('vr5_32_0', 4, 0x425c), Register('vr5_16_1', 2, 0x425c), Register('vr5_8_3', 1, 0x425c), Register('vr5_8_2', 1, 0x425d), Register('vr5_16_0', 2, 0x425e), Register('vr5_8_1', 1, 0x425e), Register('vr5_8_0', 1, 0x425f), Register('vs38', 16, 0x4260), Register('vr6_64_1', 8, 0x4260), Register('vr6_32_3', 4, 0x4260), Register('vr6_16_7', 2, 0x4260), Register('vr6_8_15', 1, 0x4260), Register('vr6_8_14', 1, 0x4261), Register('vr6_16_6', 2, 0x4262), Register('vr6_8_13', 1, 0x4262), Register('vr6_8_12', 1, 0x4263), Register('vr6_32_2', 4, 0x4264), Register('vr6_16_5', 2, 0x4264), Register('vr6_8_11', 1, 0x4264), Register('vr6_8_10', 1, 0x4265), Register('vr6_16_4', 2, 0x4266), Register('vr6_8_9', 1, 0x4266), Register('vr6_8_8', 1, 0x4267), Register('vr6_64_0', 8, 0x4268), Register('vr6_32_1', 4, 0x4268), Register('vr6_16_3', 2, 0x4268), Register('vr6_8_7', 1, 0x4268), Register('vr6_8_6', 1, 0x4269), Register('vr6_16_2', 2, 0x426a), Register('vr6_8_5', 1, 0x426a), Register('vr6_8_4', 1, 0x426b), Register('vr6_32_0', 4, 0x426c), Register('vr6_16_1', 2, 0x426c), Register('vr6_8_3', 1, 0x426c), Register('vr6_8_2', 1, 0x426d), Register('vr6_16_0', 2, 0x426e), Register('vr6_8_1', 1, 0x426e), Register('vr6_8_0', 1, 0x426f), Register('vs39', 16, 0x4270), Register('vr7_64_1', 8, 0x4270), Register('vr7_32_3', 4, 0x4270), Register('vr7_16_7', 2, 0x4270), Register('vr7_8_15', 1, 0x4270), Register('vr7_8_14', 1, 0x4271), Register('vr7_16_6', 2, 0x4272), Register('vr7_8_13', 1, 0x4272), Register('vr7_8_12', 1, 0x4273), Register('vr7_32_2', 4, 0x4274), Register('vr7_16_5', 2, 0x4274), Register('vr7_8_11', 1, 0x4274), Register('vr7_8_10', 1, 0x4275), Register('vr7_16_4', 2, 0x4276), Register('vr7_8_9', 1, 0x4276), Register('vr7_8_8', 1, 0x4277), Register('vr7_64_0', 8, 0x4278), Register('vr7_32_1', 4, 0x4278), Register('vr7_16_3', 2, 0x4278), Register('vr7_8_7', 1, 0x4278), Register('vr7_8_6', 1, 0x4279), Register('vr7_16_2', 2, 0x427a), Register('vr7_8_5', 1, 0x427a), Register('vr7_8_4', 1, 0x427b), Register('vr7_32_0', 4, 0x427c), Register('vr7_16_1', 2, 0x427c), Register('vr7_8_3', 1, 0x427c), Register('vr7_8_2', 1, 0x427d), Register('vr7_16_0', 2, 0x427e), Register('vr7_8_1', 1, 0x427e), Register('vr7_8_0', 1, 0x427f), Register('vs40', 16, 0x4280), Register('vr8_64_1', 8, 0x4280), Register('vr8_32_3', 4, 0x4280), Register('vr8_16_7', 2, 0x4280), Register('vr8_8_15', 1, 0x4280), Register('vr8_8_14', 1, 0x4281), Register('vr8_16_6', 2, 0x4282), Register('vr8_8_13', 1, 0x4282), Register('vr8_8_12', 1, 0x4283), Register('vr8_32_2', 4, 0x4284), Register('vr8_16_5', 2, 0x4284), Register('vr8_8_11', 1, 0x4284), Register('vr8_8_10', 1, 0x4285), Register('vr8_16_4', 2, 0x4286), Register('vr8_8_9', 1, 0x4286), Register('vr8_8_8', 1, 0x4287), Register('vr8_64_0', 8, 0x4288), Register('vr8_32_1', 4, 0x4288), Register('vr8_16_3', 2, 0x4288), Register('vr8_8_7', 1, 0x4288), Register('vr8_8_6', 1, 0x4289), Register('vr8_16_2', 2, 0x428a), Register('vr8_8_5', 1, 0x428a), Register('vr8_8_4', 1, 0x428b), Register('vr8_32_0', 4, 0x428c), Register('vr8_16_1', 2, 0x428c), Register('vr8_8_3', 1, 0x428c), Register('vr8_8_2', 1, 0x428d), Register('vr8_16_0', 2, 0x428e), Register('vr8_8_1', 1, 0x428e), Register('vr8_8_0', 1, 0x428f), Register('vs41', 16, 0x4290), Register('vr9_64_1', 8, 0x4290), Register('vr9_32_3', 4, 0x4290), Register('vr9_16_7', 2, 0x4290), Register('vr9_8_15', 1, 0x4290), Register('vr9_8_14', 1, 0x4291), Register('vr9_16_6', 2, 0x4292), Register('vr9_8_13', 1, 0x4292), Register('vr9_8_12', 1, 0x4293), Register('vr9_32_2', 4, 0x4294), Register('vr9_16_5', 2, 0x4294), Register('vr9_8_11', 1, 0x4294), Register('vr9_8_10', 1, 0x4295), Register('vr9_16_4', 2, 0x4296), Register('vr9_8_9', 1, 0x4296), Register('vr9_8_8', 1, 0x4297), Register('vr9_64_0', 8, 0x4298), Register('vr9_32_1', 4, 0x4298), Register('vr9_16_3', 2, 0x4298), Register('vr9_8_7', 1, 0x4298), Register('vr9_8_6', 1, 0x4299), Register('vr9_16_2', 2, 0x429a), Register('vr9_8_5', 1, 0x429a), Register('vr9_8_4', 1, 0x429b), Register('vr9_32_0', 4, 0x429c), Register('vr9_16_1', 2, 0x429c), Register('vr9_8_3', 1, 0x429c), Register('vr9_8_2', 1, 0x429d), Register('vr9_16_0', 2, 0x429e), Register('vr9_8_1', 1, 0x429e), Register('vr9_8_0', 1, 0x429f), Register('vs42', 16, 0x42a0), Register('vr10_64_1', 8, 0x42a0), Register('vr10_32_3', 4, 0x42a0), Register('vr10_16_7', 2, 0x42a0), Register('vr10_8_15', 1, 0x42a0), Register('vr10_8_14', 1, 0x42a1), Register('vr10_16_6', 2, 0x42a2), Register('vr10_8_13', 1, 0x42a2), Register('vr10_8_12', 1, 0x42a3), Register('vr10_32_2', 4, 0x42a4), Register('vr10_16_5', 2, 0x42a4), Register('vr10_8_11', 1, 0x42a4), Register('vr10_8_10', 1, 0x42a5), Register('vr10_16_4', 2, 0x42a6), Register('vr10_8_9', 1, 0x42a6), Register('vr10_8_8', 1, 0x42a7), Register('vr10_64_0', 8, 0x42a8), Register('vr10_32_1', 4, 0x42a8), Register('vr10_16_3', 2, 0x42a8), Register('vr10_8_7', 1, 0x42a8), Register('vr10_8_6', 1, 0x42a9), Register('vr10_16_2', 2, 0x42aa), Register('vr10_8_5', 1, 0x42aa), Register('vr10_8_4', 1, 0x42ab), Register('vr10_32_0', 4, 0x42ac), Register('vr10_16_1', 2, 0x42ac), Register('vr10_8_3', 1, 0x42ac), Register('vr10_8_2', 1, 0x42ad), Register('vr10_16_0', 2, 0x42ae), Register('vr10_8_1', 1, 0x42ae), Register('vr10_8_0', 1, 0x42af), Register('vs43', 16, 0x42b0), Register('vr11_64_1', 8, 0x42b0), Register('vr11_32_3', 4, 0x42b0), Register('vr11_16_7', 2, 0x42b0), Register('vr11_8_15', 1, 0x42b0), Register('vr11_8_14', 1, 0x42b1), Register('vr11_16_6', 2, 0x42b2), Register('vr11_8_13', 1, 0x42b2), Register('vr11_8_12', 1, 0x42b3), Register('vr11_32_2', 4, 0x42b4), Register('vr11_16_5', 2, 0x42b4), Register('vr11_8_11', 1, 0x42b4), Register('vr11_8_10', 1, 0x42b5), Register('vr11_16_4', 2, 0x42b6), Register('vr11_8_9', 1, 0x42b6), Register('vr11_8_8', 1, 0x42b7), Register('vr11_64_0', 8, 0x42b8), Register('vr11_32_1', 4, 0x42b8), Register('vr11_16_3', 2, 0x42b8), Register('vr11_8_7', 1, 0x42b8), Register('vr11_8_6', 1, 0x42b9), Register('vr11_16_2', 2, 0x42ba), Register('vr11_8_5', 1, 0x42ba), Register('vr11_8_4', 1, 0x42bb), Register('vr11_32_0', 4, 0x42bc), Register('vr11_16_1', 2, 0x42bc), Register('vr11_8_3', 1, 0x42bc), Register('vr11_8_2', 1, 0x42bd), Register('vr11_16_0', 2, 0x42be), Register('vr11_8_1', 1, 0x42be), Register('vr11_8_0', 1, 0x42bf), Register('vs44', 16, 0x42c0), Register('vr12_64_1', 8, 0x42c0), Register('vr12_32_3', 4, 0x42c0), Register('vr12_16_7', 2, 0x42c0), Register('vr12_8_15', 1, 0x42c0), Register('vr12_8_14', 1, 0x42c1), Register('vr12_16_6', 2, 0x42c2), Register('vr12_8_13', 1, 0x42c2), Register('vr12_8_12', 1, 0x42c3), Register('vr12_32_2', 4, 0x42c4), Register('vr12_16_5', 2, 0x42c4), Register('vr12_8_11', 1, 0x42c4), Register('vr12_8_10', 1, 0x42c5), Register('vr12_16_4', 2, 0x42c6), Register('vr12_8_9', 1, 0x42c6), Register('vr12_8_8', 1, 0x42c7), Register('vr12_64_0', 8, 0x42c8), Register('vr12_32_1', 4, 0x42c8), Register('vr12_16_3', 2, 0x42c8), Register('vr12_8_7', 1, 0x42c8), Register('vr12_8_6', 1, 0x42c9), Register('vr12_16_2', 2, 0x42ca), Register('vr12_8_5', 1, 0x42ca), Register('vr12_8_4', 1, 0x42cb), Register('vr12_32_0', 4, 0x42cc), Register('vr12_16_1', 2, 0x42cc), Register('vr12_8_3', 1, 0x42cc), Register('vr12_8_2', 1, 0x42cd), Register('vr12_16_0', 2, 0x42ce), Register('vr12_8_1', 1, 0x42ce), Register('vr12_8_0', 1, 0x42cf), Register('vs45', 16, 0x42d0), Register('vr13_64_1', 8, 0x42d0), Register('vr13_32_3', 4, 0x42d0), Register('vr13_16_7', 2, 0x42d0), Register('vr13_8_15', 1, 0x42d0), Register('vr13_8_14', 1, 0x42d1), Register('vr13_16_6', 2, 0x42d2), Register('vr13_8_13', 1, 0x42d2), Register('vr13_8_12', 1, 0x42d3), Register('vr13_32_2', 4, 0x42d4), Register('vr13_16_5', 2, 0x42d4), Register('vr13_8_11', 1, 0x42d4), Register('vr13_8_10', 1, 0x42d5), Register('vr13_16_4', 2, 0x42d6), Register('vr13_8_9', 1, 0x42d6), Register('vr13_8_8', 1, 0x42d7), Register('vr13_64_0', 8, 0x42d8), Register('vr13_32_1', 4, 0x42d8), Register('vr13_16_3', 2, 0x42d8), Register('vr13_8_7', 1, 0x42d8), Register('vr13_8_6', 1, 0x42d9), Register('vr13_16_2', 2, 0x42da), Register('vr13_8_5', 1, 0x42da), Register('vr13_8_4', 1, 0x42db), Register('vr13_32_0', 4, 0x42dc), Register('vr13_16_1', 2, 0x42dc), Register('vr13_8_3', 1, 0x42dc), Register('vr13_8_2', 1, 0x42dd), Register('vr13_16_0', 2, 0x42de), Register('vr13_8_1', 1, 0x42de), Register('vr13_8_0', 1, 0x42df), Register('vs46', 16, 0x42e0), Register('vr14_64_1', 8, 0x42e0), Register('vr14_32_3', 4, 0x42e0), Register('vr14_16_7', 2, 0x42e0), Register('vr14_8_15', 1, 0x42e0), Register('vr14_8_14', 1, 0x42e1), Register('vr14_16_6', 2, 0x42e2), Register('vr14_8_13', 1, 0x42e2), Register('vr14_8_12', 1, 0x42e3), Register('vr14_32_2', 4, 0x42e4), Register('vr14_16_5', 2, 0x42e4), Register('vr14_8_11', 1, 0x42e4), Register('vr14_8_10', 1, 0x42e5), Register('vr14_16_4', 2, 0x42e6), Register('vr14_8_9', 1, 0x42e6), Register('vr14_8_8', 1, 0x42e7), Register('vr14_64_0', 8, 0x42e8), Register('vr14_32_1', 4, 0x42e8), Register('vr14_16_3', 2, 0x42e8), Register('vr14_8_7', 1, 0x42e8), Register('vr14_8_6', 1, 0x42e9), Register('vr14_16_2', 2, 0x42ea), Register('vr14_8_5', 1, 0x42ea), Register('vr14_8_4', 1, 0x42eb), Register('vr14_32_0', 4, 0x42ec), Register('vr14_16_1', 2, 0x42ec), Register('vr14_8_3', 1, 0x42ec), Register('vr14_8_2', 1, 0x42ed), Register('vr14_16_0', 2, 0x42ee), Register('vr14_8_1', 1, 0x42ee), Register('vr14_8_0', 1, 0x42ef), Register('vs47', 16, 0x42f0), Register('vr15_64_1', 8, 0x42f0), Register('vr15_32_3', 4, 0x42f0), Register('vr15_16_7', 2, 0x42f0), Register('vr15_8_15', 1, 0x42f0), Register('vr15_8_14', 1, 0x42f1), Register('vr15_16_6', 2, 0x42f2), Register('vr15_8_13', 1, 0x42f2), Register('vr15_8_12', 1, 0x42f3), Register('vr15_32_2', 4, 0x42f4), Register('vr15_16_5', 2, 0x42f4), Register('vr15_8_11', 1, 0x42f4), Register('vr15_8_10', 1, 0x42f5), Register('vr15_16_4', 2, 0x42f6), Register('vr15_8_9', 1, 0x42f6), Register('vr15_8_8', 1, 0x42f7), Register('vr15_64_0', 8, 0x42f8), Register('vr15_32_1', 4, 0x42f8), Register('vr15_16_3', 2, 0x42f8), Register('vr15_8_7', 1, 0x42f8), Register('vr15_8_6', 1, 0x42f9), Register('vr15_16_2', 2, 0x42fa), Register('vr15_8_5', 1, 0x42fa), Register('vr15_8_4', 1, 0x42fb), Register('vr15_32_0', 4, 0x42fc), Register('vr15_16_1', 2, 0x42fc), Register('vr15_8_3', 1, 0x42fc), Register('vr15_8_2', 1, 0x42fd), Register('vr15_16_0', 2, 0x42fe), Register('vr15_8_1', 1, 0x42fe), Register('vr15_8_0', 1, 0x42ff), Register('vs48', 16, 0x4300), Register('vr16_64_1', 8, 0x4300), Register('vr16_32_3', 4, 0x4300), Register('vr16_16_7', 2, 0x4300), Register('vr16_8_15', 1, 0x4300), Register('vr16_8_14', 1, 0x4301), Register('vr16_16_6', 2, 0x4302), Register('vr16_8_13', 1, 0x4302), Register('vr16_8_12', 1, 0x4303), Register('vr16_32_2', 4, 0x4304), Register('vr16_16_5', 2, 0x4304), Register('vr16_8_11', 1, 0x4304), Register('vr16_8_10', 1, 0x4305), Register('vr16_16_4', 2, 0x4306), Register('vr16_8_9', 1, 0x4306), Register('vr16_8_8', 1, 0x4307), Register('vr16_64_0', 8, 0x4308), Register('vr16_32_1', 4, 0x4308), Register('vr16_16_3', 2, 0x4308), Register('vr16_8_7', 1, 0x4308), Register('vr16_8_6', 1, 0x4309), Register('vr16_16_2', 2, 0x430a), Register('vr16_8_5', 1, 0x430a), Register('vr16_8_4', 1, 0x430b), Register('vr16_32_0', 4, 0x430c), Register('vr16_16_1', 2, 0x430c), Register('vr16_8_3', 1, 0x430c), Register('vr16_8_2', 1, 0x430d), Register('vr16_16_0', 2, 0x430e), Register('vr16_8_1', 1, 0x430e), Register('vr16_8_0', 1, 0x430f), Register('vs49', 16, 0x4310), Register('vr17_64_1', 8, 0x4310), Register('vr17_32_3', 4, 0x4310), Register('vr17_16_7', 2, 0x4310), Register('vr17_8_15', 1, 0x4310), Register('vr17_8_14', 1, 0x4311), Register('vr17_16_6', 2, 0x4312), Register('vr17_8_13', 1, 0x4312), Register('vr17_8_12', 1, 0x4313), Register('vr17_32_2', 4, 0x4314), Register('vr17_16_5', 2, 0x4314), Register('vr17_8_11', 1, 0x4314), Register('vr17_8_10', 1, 0x4315), Register('vr17_16_4', 2, 0x4316), Register('vr17_8_9', 1, 0x4316), Register('vr17_8_8', 1, 0x4317), Register('vr17_64_0', 8, 0x4318), Register('vr17_32_1', 4, 0x4318), Register('vr17_16_3', 2, 0x4318), Register('vr17_8_7', 1, 0x4318), Register('vr17_8_6', 1, 0x4319), Register('vr17_16_2', 2, 0x431a), Register('vr17_8_5', 1, 0x431a), Register('vr17_8_4', 1, 0x431b), Register('vr17_32_0', 4, 0x431c), Register('vr17_16_1', 2, 0x431c), Register('vr17_8_3', 1, 0x431c), Register('vr17_8_2', 1, 0x431d), Register('vr17_16_0', 2, 0x431e), Register('vr17_8_1', 1, 0x431e), Register('vr17_8_0', 1, 0x431f), Register('vs50', 16, 0x4320), Register('vr18_64_1', 8, 0x4320), Register('vr18_32_3', 4, 0x4320), Register('vr18_16_7', 2, 0x4320), Register('vr18_8_15', 1, 0x4320), Register('vr18_8_14', 1, 0x4321), Register('vr18_16_6', 2, 0x4322), Register('vr18_8_13', 1, 0x4322), Register('vr18_8_12', 1, 0x4323), Register('vr18_32_2', 4, 0x4324), Register('vr18_16_5', 2, 0x4324), Register('vr18_8_11', 1, 0x4324), Register('vr18_8_10', 1, 0x4325), Register('vr18_16_4', 2, 0x4326), Register('vr18_8_9', 1, 0x4326), Register('vr18_8_8', 1, 0x4327), Register('vr18_64_0', 8, 0x4328), Register('vr18_32_1', 4, 0x4328), Register('vr18_16_3', 2, 0x4328), Register('vr18_8_7', 1, 0x4328), Register('vr18_8_6', 1, 0x4329), Register('vr18_16_2', 2, 0x432a), Register('vr18_8_5', 1, 0x432a), Register('vr18_8_4', 1, 0x432b), Register('vr18_32_0', 4, 0x432c), Register('vr18_16_1', 2, 0x432c), Register('vr18_8_3', 1, 0x432c), Register('vr18_8_2', 1, 0x432d), Register('vr18_16_0', 2, 0x432e), Register('vr18_8_1', 1, 0x432e), Register('vr18_8_0', 1, 0x432f), Register('vs51', 16, 0x4330), Register('vr19_64_1', 8, 0x4330), Register('vr19_32_3', 4, 0x4330), Register('vr19_16_7', 2, 0x4330), Register('vr19_8_15', 1, 0x4330), Register('vr19_8_14', 1, 0x4331), Register('vr19_16_6', 2, 0x4332), Register('vr19_8_13', 1, 0x4332), Register('vr19_8_12', 1, 0x4333), Register('vr19_32_2', 4, 0x4334), Register('vr19_16_5', 2, 0x4334), Register('vr19_8_11', 1, 0x4334), Register('vr19_8_10', 1, 0x4335), Register('vr19_16_4', 2, 0x4336), Register('vr19_8_9', 1, 0x4336), Register('vr19_8_8', 1, 0x4337), Register('vr19_64_0', 8, 0x4338), Register('vr19_32_1', 4, 0x4338), Register('vr19_16_3', 2, 0x4338), Register('vr19_8_7', 1, 0x4338), Register('vr19_8_6', 1, 0x4339), Register('vr19_16_2', 2, 0x433a), Register('vr19_8_5', 1, 0x433a), Register('vr19_8_4', 1, 0x433b), Register('vr19_32_0', 4, 0x433c), Register('vr19_16_1', 2, 0x433c), Register('vr19_8_3', 1, 0x433c), Register('vr19_8_2', 1, 0x433d), Register('vr19_16_0', 2, 0x433e), Register('vr19_8_1', 1, 0x433e), Register('vr19_8_0', 1, 0x433f), Register('vs52', 16, 0x4340), Register('vr20_64_1', 8, 0x4340), Register('vr20_32_3', 4, 0x4340), Register('vr20_16_7', 2, 0x4340), Register('vr20_8_15', 1, 0x4340), Register('vr20_8_14', 1, 0x4341), Register('vr20_16_6', 2, 0x4342), Register('vr20_8_13', 1, 0x4342), Register('vr20_8_12', 1, 0x4343), Register('vr20_32_2', 4, 0x4344), Register('vr20_16_5', 2, 0x4344), Register('vr20_8_11', 1, 0x4344), Register('vr20_8_10', 1, 0x4345), Register('vr20_16_4', 2, 0x4346), Register('vr20_8_9', 1, 0x4346), Register('vr20_8_8', 1, 0x4347), Register('vr20_64_0', 8, 0x4348), Register('vr20_32_1', 4, 0x4348), Register('vr20_16_3', 2, 0x4348), Register('vr20_8_7', 1, 0x4348), Register('vr20_8_6', 1, 0x4349), Register('vr20_16_2', 2, 0x434a), Register('vr20_8_5', 1, 0x434a), Register('vr20_8_4', 1, 0x434b), Register('vr20_32_0', 4, 0x434c), Register('vr20_16_1', 2, 0x434c), Register('vr20_8_3', 1, 0x434c), Register('vr20_8_2', 1, 0x434d), Register('vr20_16_0', 2, 0x434e), Register('vr20_8_1', 1, 0x434e), Register('vr20_8_0', 1, 0x434f), Register('vs53', 16, 0x4350), Register('vr21_64_1', 8, 0x4350), Register('vr21_32_3', 4, 0x4350), Register('vr21_16_7', 2, 0x4350), Register('vr21_8_15', 1, 0x4350), Register('vr21_8_14', 1, 0x4351), Register('vr21_16_6', 2, 0x4352), Register('vr21_8_13', 1, 0x4352), Register('vr21_8_12', 1, 0x4353), Register('vr21_32_2', 4, 0x4354), Register('vr21_16_5', 2, 0x4354), Register('vr21_8_11', 1, 0x4354), Register('vr21_8_10', 1, 0x4355), Register('vr21_16_4', 2, 0x4356), Register('vr21_8_9', 1, 0x4356), Register('vr21_8_8', 1, 0x4357), Register('vr21_64_0', 8, 0x4358), Register('vr21_32_1', 4, 0x4358), Register('vr21_16_3', 2, 0x4358), Register('vr21_8_7', 1, 0x4358), Register('vr21_8_6', 1, 0x4359), Register('vr21_16_2', 2, 0x435a), Register('vr21_8_5', 1, 0x435a), Register('vr21_8_4', 1, 0x435b), Register('vr21_32_0', 4, 0x435c), Register('vr21_16_1', 2, 0x435c), Register('vr21_8_3', 1, 0x435c), Register('vr21_8_2', 1, 0x435d), Register('vr21_16_0', 2, 0x435e), Register('vr21_8_1', 1, 0x435e), Register('vr21_8_0', 1, 0x435f), Register('vs54', 16, 0x4360), Register('vr22_64_1', 8, 0x4360), Register('vr22_32_3', 4, 0x4360), Register('vr22_16_7', 2, 0x4360), Register('vr22_8_15', 1, 0x4360), Register('vr22_8_14', 1, 0x4361), Register('vr22_16_6', 2, 0x4362), Register('vr22_8_13', 1, 0x4362), Register('vr22_8_12', 1, 0x4363), Register('vr22_32_2', 4, 0x4364), Register('vr22_16_5', 2, 0x4364), Register('vr22_8_11', 1, 0x4364), Register('vr22_8_10', 1, 0x4365), Register('vr22_16_4', 2, 0x4366), Register('vr22_8_9', 1, 0x4366), Register('vr22_8_8', 1, 0x4367), Register('vr22_64_0', 8, 0x4368), Register('vr22_32_1', 4, 0x4368), Register('vr22_16_3', 2, 0x4368), Register('vr22_8_7', 1, 0x4368), Register('vr22_8_6', 1, 0x4369), Register('vr22_16_2', 2, 0x436a), Register('vr22_8_5', 1, 0x436a), Register('vr22_8_4', 1, 0x436b), Register('vr22_32_0', 4, 0x436c), Register('vr22_16_1', 2, 0x436c), Register('vr22_8_3', 1, 0x436c), Register('vr22_8_2', 1, 0x436d), Register('vr22_16_0', 2, 0x436e), Register('vr22_8_1', 1, 0x436e), Register('vr22_8_0', 1, 0x436f), Register('vs55', 16, 0x4370), Register('vr23_64_1', 8, 0x4370), Register('vr23_32_3', 4, 0x4370), Register('vr23_16_7', 2, 0x4370), Register('vr23_8_15', 1, 0x4370), Register('vr23_8_14', 1, 0x4371), Register('vr23_16_6', 2, 0x4372), Register('vr23_8_13', 1, 0x4372), Register('vr23_8_12', 1, 0x4373), Register('vr23_32_2', 4, 0x4374), Register('vr23_16_5', 2, 0x4374), Register('vr23_8_11', 1, 0x4374), Register('vr23_8_10', 1, 0x4375), Register('vr23_16_4', 2, 0x4376), Register('vr23_8_9', 1, 0x4376), Register('vr23_8_8', 1, 0x4377), Register('vr23_64_0', 8, 0x4378), Register('vr23_32_1', 4, 0x4378), Register('vr23_16_3', 2, 0x4378), Register('vr23_8_7', 1, 0x4378), Register('vr23_8_6', 1, 0x4379), Register('vr23_16_2', 2, 0x437a), Register('vr23_8_5', 1, 0x437a), Register('vr23_8_4', 1, 0x437b), Register('vr23_32_0', 4, 0x437c), Register('vr23_16_1', 2, 0x437c), Register('vr23_8_3', 1, 0x437c), Register('vr23_8_2', 1, 0x437d), Register('vr23_16_0', 2, 0x437e), Register('vr23_8_1', 1, 0x437e), Register('vr23_8_0', 1, 0x437f), Register('vs56', 16, 0x4380), Register('vr24_64_1', 8, 0x4380), Register('vr24_32_3', 4, 0x4380), Register('vr24_16_7', 2, 0x4380), Register('vr24_8_15', 1, 0x4380), Register('vr24_8_14', 1, 0x4381), Register('vr24_16_6', 2, 0x4382), Register('vr24_8_13', 1, 0x4382), Register('vr24_8_12', 1, 0x4383), Register('vr24_32_2', 4, 0x4384), Register('vr24_16_5', 2, 0x4384), Register('vr24_8_11', 1, 0x4384), Register('vr24_8_10', 1, 0x4385), Register('vr24_16_4', 2, 0x4386), Register('vr24_8_9', 1, 0x4386), Register('vr24_8_8', 1, 0x4387), Register('vr24_64_0', 8, 0x4388), Register('vr24_32_1', 4, 0x4388), Register('vr24_16_3', 2, 0x4388), Register('vr24_8_7', 1, 0x4388), Register('vr24_8_6', 1, 0x4389), Register('vr24_16_2', 2, 0x438a), Register('vr24_8_5', 1, 0x438a), Register('vr24_8_4', 1, 0x438b), Register('vr24_32_0', 4, 0x438c), Register('vr24_16_1', 2, 0x438c), Register('vr24_8_3', 1, 0x438c), Register('vr24_8_2', 1, 0x438d), Register('vr24_16_0', 2, 0x438e), Register('vr24_8_1', 1, 0x438e), Register('vr24_8_0', 1, 0x438f), Register('vs57', 16, 0x4390), Register('vr25_64_1', 8, 0x4390), Register('vr25_32_3', 4, 0x4390), Register('vr25_16_7', 2, 0x4390), Register('vr25_8_15', 1, 0x4390), Register('vr25_8_14', 1, 0x4391), Register('vr25_16_6', 2, 0x4392), Register('vr25_8_13', 1, 0x4392), Register('vr25_8_12', 1, 0x4393), Register('vr25_32_2', 4, 0x4394), Register('vr25_16_5', 2, 0x4394), Register('vr25_8_11', 1, 0x4394), Register('vr25_8_10', 1, 0x4395), Register('vr25_16_4', 2, 0x4396), Register('vr25_8_9', 1, 0x4396), Register('vr25_8_8', 1, 0x4397), Register('vr25_64_0', 8, 0x4398), Register('vr25_32_1', 4, 0x4398), Register('vr25_16_3', 2, 0x4398), Register('vr25_8_7', 1, 0x4398), Register('vr25_8_6', 1, 0x4399), Register('vr25_16_2', 2, 0x439a), Register('vr25_8_5', 1, 0x439a), Register('vr25_8_4', 1, 0x439b), Register('vr25_32_0', 4, 0x439c), Register('vr25_16_1', 2, 0x439c), Register('vr25_8_3', 1, 0x439c), Register('vr25_8_2', 1, 0x439d), Register('vr25_16_0', 2, 0x439e), Register('vr25_8_1', 1, 0x439e), Register('vr25_8_0', 1, 0x439f), Register('vs58', 16, 0x43a0), Register('vr26_64_1', 8, 0x43a0), Register('vr26_32_3', 4, 0x43a0), Register('vr26_16_7', 2, 0x43a0), Register('vr26_8_15', 1, 0x43a0), Register('vr26_8_14', 1, 0x43a1), Register('vr26_16_6', 2, 0x43a2), Register('vr26_8_13', 1, 0x43a2), Register('vr26_8_12', 1, 0x43a3), Register('vr26_32_2', 4, 0x43a4), Register('vr26_16_5', 2, 0x43a4), Register('vr26_8_11', 1, 0x43a4), Register('vr26_8_10', 1, 0x43a5), Register('vr26_16_4', 2, 0x43a6), Register('vr26_8_9', 1, 0x43a6), Register('vr26_8_8', 1, 0x43a7), Register('vr26_64_0', 8, 0x43a8), Register('vr26_32_1', 4, 0x43a8), Register('vr26_16_3', 2, 0x43a8), Register('vr26_8_7', 1, 0x43a8), Register('vr26_8_6', 1, 0x43a9), Register('vr26_16_2', 2, 0x43aa), Register('vr26_8_5', 1, 0x43aa), Register('vr26_8_4', 1, 0x43ab), Register('vr26_32_0', 4, 0x43ac), Register('vr26_16_1', 2, 0x43ac), Register('vr26_8_3', 1, 0x43ac), Register('vr26_8_2', 1, 0x43ad), Register('vr26_16_0', 2, 0x43ae), Register('vr26_8_1', 1, 0x43ae), Register('vr26_8_0', 1, 0x43af), Register('vs59', 16, 0x43b0), Register('vr27_64_1', 8, 0x43b0), Register('vr27_32_3', 4, 0x43b0), Register('vr27_16_7', 2, 0x43b0), Register('vr27_8_15', 1, 0x43b0), Register('vr27_8_14', 1, 0x43b1), Register('vr27_16_6', 2, 0x43b2), Register('vr27_8_13', 1, 0x43b2), Register('vr27_8_12', 1, 0x43b3), Register('vr27_32_2', 4, 0x43b4), Register('vr27_16_5', 2, 0x43b4), Register('vr27_8_11', 1, 0x43b4), Register('vr27_8_10', 1, 0x43b5), Register('vr27_16_4', 2, 0x43b6), Register('vr27_8_9', 1, 0x43b6), Register('vr27_8_8', 1, 0x43b7), Register('vr27_64_0', 8, 0x43b8), Register('vr27_32_1', 4, 0x43b8), Register('vr27_16_3', 2, 0x43b8), Register('vr27_8_7', 1, 0x43b8), Register('vr27_8_6', 1, 0x43b9), Register('vr27_16_2', 2, 0x43ba), Register('vr27_8_5', 1, 0x43ba), Register('vr27_8_4', 1, 0x43bb), Register('vr27_32_0', 4, 0x43bc), Register('vr27_16_1', 2, 0x43bc), Register('vr27_8_3', 1, 0x43bc), Register('vr27_8_2', 1, 0x43bd), Register('vr27_16_0', 2, 0x43be), Register('vr27_8_1', 1, 0x43be), Register('vr27_8_0', 1, 0x43bf), Register('vs60', 16, 0x43c0), Register('vr28_64_1', 8, 0x43c0), Register('vr28_32_3', 4, 0x43c0), Register('vr28_16_7', 2, 0x43c0), Register('vr28_8_15', 1, 0x43c0), Register('vr28_8_14', 1, 0x43c1), Register('vr28_16_6', 2, 0x43c2), Register('vr28_8_13', 1, 0x43c2), Register('vr28_8_12', 1, 0x43c3), Register('vr28_32_2', 4, 0x43c4), Register('vr28_16_5', 2, 0x43c4), Register('vr28_8_11', 1, 0x43c4), Register('vr28_8_10', 1, 0x43c5), Register('vr28_16_4', 2, 0x43c6), Register('vr28_8_9', 1, 0x43c6), Register('vr28_8_8', 1, 0x43c7), Register('vr28_64_0', 8, 0x43c8), Register('vr28_32_1', 4, 0x43c8), Register('vr28_16_3', 2, 0x43c8), Register('vr28_8_7', 1, 0x43c8), Register('vr28_8_6', 1, 0x43c9), Register('vr28_16_2', 2, 0x43ca), Register('vr28_8_5', 1, 0x43ca), Register('vr28_8_4', 1, 0x43cb), Register('vr28_32_0', 4, 0x43cc), Register('vr28_16_1', 2, 0x43cc), Register('vr28_8_3', 1, 0x43cc), Register('vr28_8_2', 1, 0x43cd), Register('vr28_16_0', 2, 0x43ce), Register('vr28_8_1', 1, 0x43ce), Register('vr28_8_0', 1, 0x43cf), Register('vs61', 16, 0x43d0), Register('vr29_64_1', 8, 0x43d0), Register('vr29_32_3', 4, 0x43d0), Register('vr29_16_7', 2, 0x43d0), Register('vr29_8_15', 1, 0x43d0), Register('vr29_8_14', 1, 0x43d1), Register('vr29_16_6', 2, 0x43d2), Register('vr29_8_13', 1, 0x43d2), Register('vr29_8_12', 1, 0x43d3), Register('vr29_32_2', 4, 0x43d4), Register('vr29_16_5', 2, 0x43d4), Register('vr29_8_11', 1, 0x43d4), Register('vr29_8_10', 1, 0x43d5), Register('vr29_16_4', 2, 0x43d6), Register('vr29_8_9', 1, 0x43d6), Register('vr29_8_8', 1, 0x43d7), Register('vr29_64_0', 8, 0x43d8), Register('vr29_32_1', 4, 0x43d8), Register('vr29_16_3', 2, 0x43d8), Register('vr29_8_7', 1, 0x43d8), Register('vr29_8_6', 1, 0x43d9), Register('vr29_16_2', 2, 0x43da), Register('vr29_8_5', 1, 0x43da), Register('vr29_8_4', 1, 0x43db), Register('vr29_32_0', 4, 0x43dc), Register('vr29_16_1', 2, 0x43dc), Register('vr29_8_3', 1, 0x43dc), Register('vr29_8_2', 1, 0x43dd), Register('vr29_16_0', 2, 0x43de), Register('vr29_8_1', 1, 0x43de), Register('vr29_8_0', 1, 0x43df), Register('vs62', 16, 0x43e0), Register('vr30_64_1', 8, 0x43e0), Register('vr30_32_3', 4, 0x43e0), Register('vr30_16_7', 2, 0x43e0), Register('vr30_8_15', 1, 0x43e0), Register('vr30_8_14', 1, 0x43e1), Register('vr30_16_6', 2, 0x43e2), Register('vr30_8_13', 1, 0x43e2), Register('vr30_8_12', 1, 0x43e3), Register('vr30_32_2', 4, 0x43e4), Register('vr30_16_5', 2, 0x43e4), Register('vr30_8_11', 1, 0x43e4), Register('vr30_8_10', 1, 0x43e5), Register('vr30_16_4', 2, 0x43e6), Register('vr30_8_9', 1, 0x43e6), Register('vr30_8_8', 1, 0x43e7), Register('vr30_64_0', 8, 0x43e8), Register('vr30_32_1', 4, 0x43e8), Register('vr30_16_3', 2, 0x43e8), Register('vr30_8_7', 1, 0x43e8), Register('vr30_8_6', 1, 0x43e9), Register('vr30_16_2', 2, 0x43ea), Register('vr30_8_5', 1, 0x43ea), Register('vr30_8_4', 1, 0x43eb), Register('vr30_32_0', 4, 0x43ec), Register('vr30_16_1', 2, 0x43ec), Register('vr30_8_3', 1, 0x43ec), Register('vr30_8_2', 1, 0x43ed), Register('vr30_16_0', 2, 0x43ee), Register('vr30_8_1', 1, 0x43ee), Register('vr30_8_0', 1, 0x43ef), Register('vs63', 16, 0x43f0), Register('vr31_64_1', 8, 0x43f0), Register('vr31_32_3', 4, 0x43f0), Register('vr31_16_7', 2, 0x43f0), Register('vr31_8_15', 1, 0x43f0), Register('vr31_8_14', 1, 0x43f1), Register('vr31_16_6', 2, 0x43f2), Register('vr31_8_13', 1, 0x43f2), Register('vr31_8_12', 1, 0x43f3), Register('vr31_32_2', 4, 0x43f4), Register('vr31_16_5', 2, 0x43f4), Register('vr31_8_11', 1, 0x43f4), Register('vr31_8_10', 1, 0x43f5), Register('vr31_16_4', 2, 0x43f6), Register('vr31_8_9', 1, 0x43f6), Register('vr31_8_8', 1, 0x43f7), Register('vr31_64_0', 8, 0x43f8), Register('vr31_32_1', 4, 0x43f8), Register('vr31_16_3', 2, 0x43f8), Register('vr31_8_7', 1, 0x43f8), Register('vr31_8_6', 1, 0x43f9), Register('vr31_16_2', 2, 0x43fa), Register('vr31_8_5', 1, 0x43fa), Register('vr31_8_4', 1, 0x43fb), Register('vr31_32_0', 4, 0x43fc), Register('vr31_16_1', 2, 0x43fc), Register('vr31_8_3', 1, 0x43fc), Register('vr31_8_2', 1, 0x43fd), Register('vr31_16_0', 2, 0x43fe), Register('vr31_8_1', 1, 0x43fe), Register('vr31_8_0', 1, 0x43ff), Register('contextreg', 4, 0x6000), Register('dcr000', 4, 0x7000), Register('dcr001', 4, 0x7004), Register('dcr002', 4, 0x7008), Register('dcr003', 4, 0x700c), Register('dcr004', 4, 0x7010), Register('dcr005', 4, 0x7014), Register('dcr006', 4, 0x7018), Register('dcr007', 4, 0x701c), Register('dcr008', 4, 0x7020), Register('dcr009', 4, 0x7024), Register('dcr00a', 4, 0x7028), Register('dcr00b', 4, 0x702c), Register('dcr00c', 4, 0x7030), Register('dcr00d', 4, 0x7034), Register('dcr00e', 4, 0x7038), Register('dcr00f', 4, 0x703c), Register('dcr010', 4, 0x7040), Register('dcr011', 4, 0x7044), Register('dcr012', 4, 0x7048), Register('dcr013', 4, 0x704c), Register('dcr014', 4, 0x7050), Register('dcr015', 4, 0x7054), Register('dcr016', 4, 0x7058), Register('dcr017', 4, 0x705c), Register('dcr018', 4, 0x7060), Register('dcr019', 4, 0x7064), Register('dcr01a', 4, 0x7068), Register('dcr01b', 4, 0x706c), Register('dcr01c', 4, 0x7070), Register('dcr01d', 4, 0x7074), Register('dcr01e', 4, 0x7078), Register('dcr01f', 4, 0x707c), Register('dcr020', 4, 0x7080), Register('dcr021', 4, 0x7084), Register('dcr022', 4, 0x7088), Register('dcr023', 4, 0x708c), Register('dcr024', 4, 0x7090), Register('dcr025', 4, 0x7094), Register('dcr026', 4, 0x7098), Register('dcr027', 4, 0x709c), Register('dcr028', 4, 0x70a0), Register('dcr029', 4, 0x70a4), Register('dcr02a', 4, 0x70a8), Register('dcr02b', 4, 0x70ac), Register('dcr02c', 4, 0x70b0), Register('dcr02d', 4, 0x70b4), Register('dcr02e', 4, 0x70b8), Register('dcr02f', 4, 0x70bc), Register('dcr030', 4, 0x70c0), Register('dcr031', 4, 0x70c4), Register('dcr032', 4, 0x70c8), Register('dcr033', 4, 0x70cc), Register('dcr034', 4, 0x70d0), Register('dcr035', 4, 0x70d4), Register('dcr036', 4, 0x70d8), Register('dcr037', 4, 0x70dc), Register('dcr038', 4, 0x70e0), Register('dcr039', 4, 0x70e4), Register('dcr03a', 4, 0x70e8), Register('dcr03b', 4, 0x70ec), Register('dcr03c', 4, 0x70f0), Register('dcr03d', 4, 0x70f4), Register('dcr03e', 4, 0x70f8), Register('dcr03f', 4, 0x70fc), Register('dcr040', 4, 0x7100), Register('dcr041', 4, 0x7104), Register('dcr042', 4, 0x7108), Register('dcr043', 4, 0x710c), Register('dcr044', 4, 0x7110), Register('dcr045', 4, 0x7114), Register('dcr046', 4, 0x7118), Register('dcr047', 4, 0x711c), Register('dcr048', 4, 0x7120), Register('dcr049', 4, 0x7124), Register('dcr04a', 4, 0x7128), Register('dcr04b', 4, 0x712c), Register('dcr04c', 4, 0x7130), Register('dcr04d', 4, 0x7134), Register('dcr04e', 4, 0x7138), Register('dcr04f', 4, 0x713c), Register('dcr050', 4, 0x7140), Register('dcr051', 4, 0x7144), Register('dcr052', 4, 0x7148), Register('dcr053', 4, 0x714c), Register('dcr054', 4, 0x7150), Register('dcr055', 4, 0x7154), Register('dcr056', 4, 0x7158), Register('dcr057', 4, 0x715c), Register('dcr058', 4, 0x7160), Register('dcr059', 4, 0x7164), Register('dcr05a', 4, 0x7168), Register('dcr05b', 4, 0x716c), Register('dcr05c', 4, 0x7170), Register('dcr05d', 4, 0x7174), Register('dcr05e', 4, 0x7178), Register('dcr05f', 4, 0x717c), Register('dcr060', 4, 0x7180), Register('dcr061', 4, 0x7184), Register('dcr062', 4, 0x7188), Register('dcr063', 4, 0x718c), Register('dcr064', 4, 0x7190), Register('dcr065', 4, 0x7194), Register('dcr066', 4, 0x7198), Register('dcr067', 4, 0x719c), Register('dcr068', 4, 0x71a0), Register('dcr069', 4, 0x71a4), Register('dcr06a', 4, 0x71a8), Register('dcr06b', 4, 0x71ac), Register('dcr06c', 4, 0x71b0), Register('dcr06d', 4, 0x71b4), Register('dcr06e', 4, 0x71b8), Register('dcr06f', 4, 0x71bc), Register('dcr070', 4, 0x71c0), Register('dcr071', 4, 0x71c4), Register('dcr072', 4, 0x71c8), Register('dcr073', 4, 0x71cc), Register('dcr074', 4, 0x71d0), Register('dcr075', 4, 0x71d4), Register('dcr076', 4, 0x71d8), Register('dcr077', 4, 0x71dc), Register('dcr078', 4, 0x71e0), Register('dcr079', 4, 0x71e4), Register('dcr07a', 4, 0x71e8), Register('dcr07b', 4, 0x71ec), Register('dcr07c', 4, 0x71f0), Register('dcr07d', 4, 0x71f4), Register('dcr07e', 4, 0x71f8), Register('dcr07f', 4, 0x71fc), Register('dcr080', 4, 0x7200), Register('dcr081', 4, 0x7204), Register('dcr082', 4, 0x7208), Register('dcr083', 4, 0x720c), Register('dcr084', 4, 0x7210), Register('dcr085', 4, 0x7214), Register('dcr086', 4, 0x7218), Register('dcr087', 4, 0x721c), Register('dcr088', 4, 0x7220), Register('dcr089', 4, 0x7224), Register('dcr08a', 4, 0x7228), Register('dcr08b', 4, 0x722c), Register('dcr08c', 4, 0x7230), Register('dcr08d', 4, 0x7234), Register('dcr08e', 4, 0x7238), Register('dcr08f', 4, 0x723c), Register('dcr090', 4, 0x7240), Register('dcr091', 4, 0x7244), Register('dcr092', 4, 0x7248), Register('dcr093', 4, 0x724c), Register('dcr094', 4, 0x7250), Register('dcr095', 4, 0x7254), Register('dcr096', 4, 0x7258), Register('dcr097', 4, 0x725c), Register('dcr098', 4, 0x7260), Register('dcr099', 4, 0x7264), Register('dcr09a', 4, 0x7268), Register('dcr09b', 4, 0x726c), Register('dcr09c', 4, 0x7270), Register('dcr09d', 4, 0x7274), Register('dcr09e', 4, 0x7278), Register('dcr09f', 4, 0x727c), Register('dcr0a0', 4, 0x7280), Register('dcr0a1', 4, 0x7284), Register('dcr0a2', 4, 0x7288), Register('dcr0a3', 4, 0x728c), Register('dcr0a4', 4, 0x7290), Register('dcr0a5', 4, 0x7294), Register('dcr0a6', 4, 0x7298), Register('dcr0a7', 4, 0x729c), Register('dcr0a8', 4, 0x72a0), Register('dcr0a9', 4, 0x72a4), Register('dcr0aa', 4, 0x72a8), Register('dcr0ab', 4, 0x72ac), Register('dcr0ac', 4, 0x72b0), Register('dcr0ad', 4, 0x72b4), Register('dcr0ae', 4, 0x72b8), Register('dcr0af', 4, 0x72bc), Register('dcr0b0', 4, 0x72c0), Register('dcr0b1', 4, 0x72c4), Register('dcr0b2', 4, 0x72c8), Register('dcr0b3', 4, 0x72cc), Register('dcr0b4', 4, 0x72d0), Register('dcr0b5', 4, 0x72d4), Register('dcr0b6', 4, 0x72d8), Register('dcr0b7', 4, 0x72dc), Register('dcr0b8', 4, 0x72e0), Register('dcr0b9', 4, 0x72e4), Register('dcr0ba', 4, 0x72e8), Register('dcr0bb', 4, 0x72ec), Register('dcr0bc', 4, 0x72f0), Register('dcr0bd', 4, 0x72f4), Register('dcr0be', 4, 0x72f8), Register('dcr0bf', 4, 0x72fc), Register('dcr0c0', 4, 0x7300), Register('dcr0c1', 4, 0x7304), Register('dcr0c2', 4, 0x7308), Register('dcr0c3', 4, 0x730c), Register('dcr0c4', 4, 0x7310), Register('dcr0c5', 4, 0x7314), Register('dcr0c6', 4, 0x7318), Register('dcr0c7', 4, 0x731c), Register('dcr0c8', 4, 0x7320), Register('dcr0c9', 4, 0x7324), Register('dcr0ca', 4, 0x7328), Register('dcr0cb', 4, 0x732c), Register('dcr0cc', 4, 0x7330), Register('dcr0cd', 4, 0x7334), Register('dcr0ce', 4, 0x7338), Register('dcr0cf', 4, 0x733c), Register('dcr0d0', 4, 0x7340), Register('dcr0d1', 4, 0x7344), Register('dcr0d2', 4, 0x7348), Register('dcr0d3', 4, 0x734c), Register('dcr0d4', 4, 0x7350), Register('dcr0d5', 4, 0x7354), Register('dcr0d6', 4, 0x7358), Register('dcr0d7', 4, 0x735c), Register('dcr0d8', 4, 0x7360), Register('dcr0d9', 4, 0x7364), Register('dcr0da', 4, 0x7368), Register('dcr0db', 4, 0x736c), Register('dcr0dc', 4, 0x7370), Register('dcr0dd', 4, 0x7374), Register('dcr0de', 4, 0x7378), Register('dcr0df', 4, 0x737c), Register('dcr0e0', 4, 0x7380), Register('dcr0e1', 4, 0x7384), Register('dcr0e2', 4, 0x7388), Register('dcr0e3', 4, 0x738c), Register('dcr0e4', 4, 0x7390), Register('dcr0e5', 4, 0x7394), Register('dcr0e6', 4, 0x7398), Register('dcr0e7', 4, 0x739c), Register('dcr0e8', 4, 0x73a0), Register('dcr0e9', 4, 0x73a4), Register('dcr0ea', 4, 0x73a8), Register('dcr0eb', 4, 0x73ac), Register('dcr0ec', 4, 0x73b0), Register('dcr0ed', 4, 0x73b4), Register('dcr0ee', 4, 0x73b8), Register('dcr0ef', 4, 0x73bc), Register('dcr0f0', 4, 0x73c0), Register('dcr0f1', 4, 0x73c4), Register('dcr0f2', 4, 0x73c8), Register('dcr0f3', 4, 0x73cc), Register('dcr0f4', 4, 0x73d0), Register('dcr0f5', 4, 0x73d4), Register('dcr0f6', 4, 0x73d8), Register('dcr0f7', 4, 0x73dc), Register('dcr0f8', 4, 0x73e0), Register('dcr0f9', 4, 0x73e4), Register('dcr0fa', 4, 0x73e8), Register('dcr0fb', 4, 0x73ec), Register('dcr0fc', 4, 0x73f0), Register('dcr0fd', 4, 0x73f4), Register('dcr0fe', 4, 0x73f8), Register('dcr0ff', 4, 0x73fc), Register('dcr100', 4, 0x7400), Register('dcr101', 4, 0x7404), Register('dcr102', 4, 0x7408), Register('dcr103', 4, 0x740c), Register('dcr104', 4, 0x7410), Register('dcr105', 4, 0x7414), Register('dcr106', 4, 0x7418), Register('dcr107', 4, 0x741c), Register('dcr108', 4, 0x7420), Register('dcr109', 4, 0x7424), Register('dcr10a', 4, 0x7428), Register('dcr10b', 4, 0x742c), Register('dcr10c', 4, 0x7430), Register('dcr10d', 4, 0x7434), Register('dcr10e', 4, 0x7438), Register('dcr10f', 4, 0x743c), Register('dcr110', 4, 0x7440), Register('dcr111', 4, 0x7444), Register('dcr112', 4, 0x7448), Register('dcr113', 4, 0x744c), Register('dcr114', 4, 0x7450), Register('dcr115', 4, 0x7454), Register('dcr116', 4, 0x7458), Register('dcr117', 4, 0x745c), Register('dcr118', 4, 0x7460), Register('dcr119', 4, 0x7464), Register('dcr11a', 4, 0x7468), Register('dcr11b', 4, 0x746c), Register('dcr11c', 4, 0x7470), Register('dcr11d', 4, 0x7474), Register('dcr11e', 4, 0x7478), Register('dcr11f', 4, 0x747c), Register('dcr120', 4, 0x7480), Register('dcr121', 4, 0x7484), Register('dcr122', 4, 0x7488), Register('dcr123', 4, 0x748c), Register('dcr124', 4, 0x7490), Register('dcr125', 4, 0x7494), Register('dcr126', 4, 0x7498), Register('dcr127', 4, 0x749c), Register('dcr128', 4, 0x74a0), Register('dcr129', 4, 0x74a4), Register('dcr12a', 4, 0x74a8), Register('dcr12b', 4, 0x74ac), Register('dcr12c', 4, 0x74b0), Register('dcr12d', 4, 0x74b4), Register('dcr12e', 4, 0x74b8), Register('dcr12f', 4, 0x74bc), Register('dcr130', 4, 0x74c0), Register('dcr131', 4, 0x74c4), Register('dcr132', 4, 0x74c8), Register('dcr133', 4, 0x74cc), Register('dcr134', 4, 0x74d0), Register('dcr135', 4, 0x74d4), Register('dcr136', 4, 0x74d8), Register('dcr137', 4, 0x74dc), Register('dcr138', 4, 0x74e0), Register('dcr139', 4, 0x74e4), Register('dcr13a', 4, 0x74e8), Register('dcr13b', 4, 0x74ec), Register('dcr13c', 4, 0x74f0), Register('dcr13d', 4, 0x74f4), Register('dcr13e', 4, 0x74f8), Register('dcr13f', 4, 0x74fc), Register('dcr140', 4, 0x7500), Register('dcr141', 4, 0x7504), Register('dcr142', 4, 0x7508), Register('dcr143', 4, 0x750c), Register('dcr144', 4, 0x7510), Register('dcr145', 4, 0x7514), Register('dcr146', 4, 0x7518), Register('dcr147', 4, 0x751c), Register('dcr148', 4, 0x7520), Register('dcr149', 4, 0x7524), Register('dcr14a', 4, 0x7528), Register('dcr14b', 4, 0x752c), Register('dcr14c', 4, 0x7530), Register('dcr14d', 4, 0x7534), Register('dcr14e', 4, 0x7538), Register('dcr14f', 4, 0x753c), Register('dcr150', 4, 0x7540), Register('dcr151', 4, 0x7544), Register('dcr152', 4, 0x7548), Register('dcr153', 4, 0x754c), Register('dcr154', 4, 0x7550), Register('dcr155', 4, 0x7554), Register('dcr156', 4, 0x7558), Register('dcr157', 4, 0x755c), Register('dcr158', 4, 0x7560), Register('dcr159', 4, 0x7564), Register('dcr15a', 4, 0x7568), Register('dcr15b', 4, 0x756c), Register('dcr15c', 4, 0x7570), Register('dcr15d', 4, 0x7574), Register('dcr15e', 4, 0x7578), Register('dcr15f', 4, 0x757c), Register('dcr160', 4, 0x7580), Register('dcr161', 4, 0x7584), Register('dcr162', 4, 0x7588), Register('dcr163', 4, 0x758c), Register('dcr164', 4, 0x7590), Register('dcr165', 4, 0x7594), Register('dcr166', 4, 0x7598), Register('dcr167', 4, 0x759c), Register('dcr168', 4, 0x75a0), Register('dcr169', 4, 0x75a4), Register('dcr16a', 4, 0x75a8), Register('dcr16b', 4, 0x75ac), Register('dcr16c', 4, 0x75b0), Register('dcr16d', 4, 0x75b4), Register('dcr16e', 4, 0x75b8), Register('dcr16f', 4, 0x75bc), Register('dcr170', 4, 0x75c0), Register('dcr171', 4, 0x75c4), Register('dcr172', 4, 0x75c8), Register('dcr173', 4, 0x75cc), Register('dcr174', 4, 0x75d0), Register('dcr175', 4, 0x75d4), Register('dcr176', 4, 0x75d8), Register('dcr177', 4, 0x75dc), Register('dcr178', 4, 0x75e0), Register('dcr179', 4, 0x75e4), Register('dcr17a', 4, 0x75e8), Register('dcr17b', 4, 0x75ec), Register('dcr17c', 4, 0x75f0), Register('dcr17d', 4, 0x75f4), Register('dcr17e', 4, 0x75f8), Register('dcr17f', 4, 0x75fc), Register('dcr180', 4, 0x7600), Register('dcr181', 4, 0x7604), Register('dcr182', 4, 0x7608), Register('dcr183', 4, 0x760c), Register('dcr184', 4, 0x7610), Register('dcr185', 4, 0x7614), Register('dcr186', 4, 0x7618), Register('dcr187', 4, 0x761c), Register('dcr188', 4, 0x7620), Register('dcr189', 4, 0x7624), Register('dcr18a', 4, 0x7628), Register('dcr18b', 4, 0x762c), Register('dcr18c', 4, 0x7630), Register('dcr18d', 4, 0x7634), Register('dcr18e', 4, 0x7638), Register('dcr18f', 4, 0x763c), Register('dcr190', 4, 0x7640), Register('dcr191', 4, 0x7644), Register('dcr192', 4, 0x7648), Register('dcr193', 4, 0x764c), Register('dcr194', 4, 0x7650), Register('dcr195', 4, 0x7654), Register('dcr196', 4, 0x7658), Register('dcr197', 4, 0x765c), Register('dcr198', 4, 0x7660), Register('dcr199', 4, 0x7664), Register('dcr19a', 4, 0x7668), Register('dcr19b', 4, 0x766c), Register('dcr19c', 4, 0x7670), Register('dcr19d', 4, 0x7674), Register('dcr19e', 4, 0x7678), Register('dcr19f', 4, 0x767c), Register('dcr1a0', 4, 0x7680), Register('dcr1a1', 4, 0x7684), Register('dcr1a2', 4, 0x7688), Register('dcr1a3', 4, 0x768c), Register('dcr1a4', 4, 0x7690), Register('dcr1a5', 4, 0x7694), Register('dcr1a6', 4, 0x7698), Register('dcr1a7', 4, 0x769c), Register('dcr1a8', 4, 0x76a0), Register('dcr1a9', 4, 0x76a4), Register('dcr1aa', 4, 0x76a8), Register('dcr1ab', 4, 0x76ac), Register('dcr1ac', 4, 0x76b0), Register('dcr1ad', 4, 0x76b4), Register('dcr1ae', 4, 0x76b8), Register('dcr1af', 4, 0x76bc), Register('dcr1b0', 4, 0x76c0), Register('dcr1b1', 4, 0x76c4), Register('dcr1b2', 4, 0x76c8), Register('dcr1b3', 4, 0x76cc), Register('dcr1b4', 4, 0x76d0), Register('dcr1b5', 4, 0x76d4), Register('dcr1b6', 4, 0x76d8), Register('dcr1b7', 4, 0x76dc), Register('dcr1b8', 4, 0x76e0), Register('dcr1b9', 4, 0x76e4), Register('dcr1ba', 4, 0x76e8), Register('dcr1bb', 4, 0x76ec), Register('dcr1bc', 4, 0x76f0), Register('dcr1bd', 4, 0x76f4), Register('dcr1be', 4, 0x76f8), Register('dcr1bf', 4, 0x76fc), Register('dcr1c0', 4, 0x7700), Register('dcr1c1', 4, 0x7704), Register('dcr1c2', 4, 0x7708), Register('dcr1c3', 4, 0x770c), Register('dcr1c4', 4, 0x7710), Register('dcr1c5', 4, 0x7714), Register('dcr1c6', 4, 0x7718), Register('dcr1c7', 4, 0x771c), Register('dcr1c8', 4, 0x7720), Register('dcr1c9', 4, 0x7724), Register('dcr1ca', 4, 0x7728), Register('dcr1cb', 4, 0x772c), Register('dcr1cc', 4, 0x7730), Register('dcr1cd', 4, 0x7734), Register('dcr1ce', 4, 0x7738), Register('dcr1cf', 4, 0x773c), Register('dcr1d0', 4, 0x7740), Register('dcr1d1', 4, 0x7744), Register('dcr1d2', 4, 0x7748), Register('dcr1d3', 4, 0x774c), Register('dcr1d4', 4, 0x7750), Register('dcr1d5', 4, 0x7754), Register('dcr1d6', 4, 0x7758), Register('dcr1d7', 4, 0x775c), Register('dcr1d8', 4, 0x7760), Register('dcr1d9', 4, 0x7764), Register('dcr1da', 4, 0x7768), Register('dcr1db', 4, 0x776c), Register('dcr1dc', 4, 0x7770), Register('dcr1dd', 4, 0x7774), Register('dcr1de', 4, 0x7778), Register('dcr1df', 4, 0x777c), Register('dcr1e0', 4, 0x7780), Register('dcr1e1', 4, 0x7784), Register('dcr1e2', 4, 0x7788), Register('dcr1e3', 4, 0x778c), Register('dcr1e4', 4, 0x7790), Register('dcr1e5', 4, 0x7794), Register('dcr1e6', 4, 0x7798), Register('dcr1e7', 4, 0x779c), Register('dcr1e8', 4, 0x77a0), Register('dcr1e9', 4, 0x77a4), Register('dcr1ea', 4, 0x77a8), Register('dcr1eb', 4, 0x77ac), Register('dcr1ec', 4, 0x77b0), Register('dcr1ed', 4, 0x77b4), Register('dcr1ee', 4, 0x77b8), Register('dcr1ef', 4, 0x77bc), Register('dcr1f0', 4, 0x77c0), Register('dcr1f1', 4, 0x77c4), Register('dcr1f2', 4, 0x77c8), Register('dcr1f3', 4, 0x77cc), Register('dcr1f4', 4, 0x77d0), Register('dcr1f5', 4, 0x77d4), Register('dcr1f6', 4, 0x77d8), Register('dcr1f7', 4, 0x77dc), Register('dcr1f8', 4, 0x77e0), Register('dcr1f9', 4, 0x77e4), Register('dcr1fa', 4, 0x77e8), Register('dcr1fb', 4, 0x77ec), Register('dcr1fc', 4, 0x77f0), Register('dcr1fd', 4, 0x77f4), Register('dcr1fe', 4, 0x77f8), Register('dcr1ff', 4, 0x77fc), Register('dcr200', 4, 0x7800), Register('dcr201', 4, 0x7804), Register('dcr202', 4, 0x7808), Register('dcr203', 4, 0x780c), Register('dcr204', 4, 0x7810), Register('dcr205', 4, 0x7814), Register('dcr206', 4, 0x7818), Register('dcr207', 4, 0x781c), Register('dcr208', 4, 0x7820), Register('dcr209', 4, 0x7824), Register('dcr20a', 4, 0x7828), Register('dcr20b', 4, 0x782c), Register('dcr20c', 4, 0x7830), Register('dcr20d', 4, 0x7834), Register('dcr20e', 4, 0x7838), Register('dcr20f', 4, 0x783c), Register('dcr210', 4, 0x7840), Register('dcr211', 4, 0x7844), Register('dcr212', 4, 0x7848), Register('dcr213', 4, 0x784c), Register('dcr214', 4, 0x7850), Register('dcr215', 4, 0x7854), Register('dcr216', 4, 0x7858), Register('dcr217', 4, 0x785c), Register('dcr218', 4, 0x7860), Register('dcr219', 4, 0x7864), Register('dcr21a', 4, 0x7868), Register('dcr21b', 4, 0x786c), Register('dcr21c', 4, 0x7870), Register('dcr21d', 4, 0x7874), Register('dcr21e', 4, 0x7878), Register('dcr21f', 4, 0x787c), Register('dcr220', 4, 0x7880), Register('dcr221', 4, 0x7884), Register('dcr222', 4, 0x7888), Register('dcr223', 4, 0x788c), Register('dcr224', 4, 0x7890), Register('dcr225', 4, 0x7894), Register('dcr226', 4, 0x7898), Register('dcr227', 4, 0x789c), Register('dcr228', 4, 0x78a0), Register('dcr229', 4, 0x78a4), Register('dcr22a', 4, 0x78a8), Register('dcr22b', 4, 0x78ac), Register('dcr22c', 4, 0x78b0), Register('dcr22d', 4, 0x78b4), Register('dcr22e', 4, 0x78b8), Register('dcr22f', 4, 0x78bc), Register('dcr230', 4, 0x78c0), Register('dcr231', 4, 0x78c4), Register('dcr232', 4, 0x78c8), Register('dcr233', 4, 0x78cc), Register('dcr234', 4, 0x78d0), Register('dcr235', 4, 0x78d4), Register('dcr236', 4, 0x78d8), Register('dcr237', 4, 0x78dc), Register('dcr238', 4, 0x78e0), Register('dcr239', 4, 0x78e4), Register('dcr23a', 4, 0x78e8), Register('dcr23b', 4, 0x78ec), Register('dcr23c', 4, 0x78f0), Register('dcr23d', 4, 0x78f4), Register('dcr23e', 4, 0x78f8), Register('dcr23f', 4, 0x78fc), Register('dcr240', 4, 0x7900), Register('dcr241', 4, 0x7904), Register('dcr242', 4, 0x7908), Register('dcr243', 4, 0x790c), Register('dcr244', 4, 0x7910), Register('dcr245', 4, 0x7914), Register('dcr246', 4, 0x7918), Register('dcr247', 4, 0x791c), Register('dcr248', 4, 0x7920), Register('dcr249', 4, 0x7924), Register('dcr24a', 4, 0x7928), Register('dcr24b', 4, 0x792c), Register('dcr24c', 4, 0x7930), Register('dcr24d', 4, 0x7934), Register('dcr24e', 4, 0x7938), Register('dcr24f', 4, 0x793c), Register('dcr250', 4, 0x7940), Register('dcr251', 4, 0x7944), Register('dcr252', 4, 0x7948), Register('dcr253', 4, 0x794c), Register('dcr254', 4, 0x7950), Register('dcr255', 4, 0x7954), Register('dcr256', 4, 0x7958), Register('dcr257', 4, 0x795c), Register('dcr258', 4, 0x7960), Register('dcr259', 4, 0x7964), Register('dcr25a', 4, 0x7968), Register('dcr25b', 4, 0x796c), Register('dcr25c', 4, 0x7970), Register('dcr25d', 4, 0x7974), Register('dcr25e', 4, 0x7978), Register('dcr25f', 4, 0x797c), Register('dcr260', 4, 0x7980), Register('dcr261', 4, 0x7984), Register('dcr262', 4, 0x7988), Register('dcr263', 4, 0x798c), Register('dcr264', 4, 0x7990), Register('dcr265', 4, 0x7994), Register('dcr266', 4, 0x7998), Register('dcr267', 4, 0x799c), Register('dcr268', 4, 0x79a0), Register('dcr269', 4, 0x79a4), Register('dcr26a', 4, 0x79a8), Register('dcr26b', 4, 0x79ac), Register('dcr26c', 4, 0x79b0), Register('dcr26d', 4, 0x79b4), Register('dcr26e', 4, 0x79b8), Register('dcr26f', 4, 0x79bc), Register('dcr270', 4, 0x79c0), Register('dcr271', 4, 0x79c4), Register('dcr272', 4, 0x79c8), Register('dcr273', 4, 0x79cc), Register('dcr274', 4, 0x79d0), Register('dcr275', 4, 0x79d4), Register('dcr276', 4, 0x79d8), Register('dcr277', 4, 0x79dc), Register('dcr278', 4, 0x79e0), Register('dcr279', 4, 0x79e4), Register('dcr27a', 4, 0x79e8), Register('dcr27b', 4, 0x79ec), Register('dcr27c', 4, 0x79f0), Register('dcr27d', 4, 0x79f4), Register('dcr27e', 4, 0x79f8), Register('dcr27f', 4, 0x79fc), Register('dcr280', 4, 0x7a00), Register('dcr281', 4, 0x7a04), Register('dcr282', 4, 0x7a08), Register('dcr283', 4, 0x7a0c), Register('dcr284', 4, 0x7a10), Register('dcr285', 4, 0x7a14), Register('dcr286', 4, 0x7a18), Register('dcr287', 4, 0x7a1c), Register('dcr288', 4, 0x7a20), Register('dcr289', 4, 0x7a24), Register('dcr28a', 4, 0x7a28), Register('dcr28b', 4, 0x7a2c), Register('dcr28c', 4, 0x7a30), Register('dcr28d', 4, 0x7a34), Register('dcr28e', 4, 0x7a38), Register('dcr28f', 4, 0x7a3c), Register('dcr290', 4, 0x7a40), Register('dcr291', 4, 0x7a44), Register('dcr292', 4, 0x7a48), Register('dcr293', 4, 0x7a4c), Register('dcr294', 4, 0x7a50), Register('dcr295', 4, 0x7a54), Register('dcr296', 4, 0x7a58), Register('dcr297', 4, 0x7a5c), Register('dcr298', 4, 0x7a60), Register('dcr299', 4, 0x7a64), Register('dcr29a', 4, 0x7a68), Register('dcr29b', 4, 0x7a6c), Register('dcr29c', 4, 0x7a70), Register('dcr29d', 4, 0x7a74), Register('dcr29e', 4, 0x7a78), Register('dcr29f', 4, 0x7a7c), Register('dcr2a0', 4, 0x7a80), Register('dcr2a1', 4, 0x7a84), Register('dcr2a2', 4, 0x7a88), Register('dcr2a3', 4, 0x7a8c), Register('dcr2a4', 4, 0x7a90), Register('dcr2a5', 4, 0x7a94), Register('dcr2a6', 4, 0x7a98), Register('dcr2a7', 4, 0x7a9c), Register('dcr2a8', 4, 0x7aa0), Register('dcr2a9', 4, 0x7aa4), Register('dcr2aa', 4, 0x7aa8), Register('dcr2ab', 4, 0x7aac), Register('dcr2ac', 4, 0x7ab0), Register('dcr2ad', 4, 0x7ab4), Register('dcr2ae', 4, 0x7ab8), Register('dcr2af', 4, 0x7abc), Register('dcr2b0', 4, 0x7ac0), Register('dcr2b1', 4, 0x7ac4), Register('dcr2b2', 4, 0x7ac8), Register('dcr2b3', 4, 0x7acc), Register('dcr2b4', 4, 0x7ad0), Register('dcr2b5', 4, 0x7ad4), Register('dcr2b6', 4, 0x7ad8), Register('dcr2b7', 4, 0x7adc), Register('dcr2b8', 4, 0x7ae0), Register('dcr2b9', 4, 0x7ae4), Register('dcr2ba', 4, 0x7ae8), Register('dcr2bb', 4, 0x7aec), Register('dcr2bc', 4, 0x7af0), Register('dcr2bd', 4, 0x7af4), Register('dcr2be', 4, 0x7af8), Register('dcr2bf', 4, 0x7afc), Register('dcr2c0', 4, 0x7b00), Register('dcr2c1', 4, 0x7b04), Register('dcr2c2', 4, 0x7b08), Register('dcr2c3', 4, 0x7b0c), Register('dcr2c4', 4, 0x7b10), Register('dcr2c5', 4, 0x7b14), Register('dcr2c6', 4, 0x7b18), Register('dcr2c7', 4, 0x7b1c), Register('dcr2c8', 4, 0x7b20), Register('dcr2c9', 4, 0x7b24), Register('dcr2ca', 4, 0x7b28), Register('dcr2cb', 4, 0x7b2c), Register('dcr2cc', 4, 0x7b30), Register('dcr2cd', 4, 0x7b34), Register('dcr2ce', 4, 0x7b38), Register('dcr2cf', 4, 0x7b3c), Register('dcr2d0', 4, 0x7b40), Register('dcr2d1', 4, 0x7b44), Register('dcr2d2', 4, 0x7b48), Register('dcr2d3', 4, 0x7b4c), Register('dcr2d4', 4, 0x7b50), Register('dcr2d5', 4, 0x7b54), Register('dcr2d6', 4, 0x7b58), Register('dcr2d7', 4, 0x7b5c), Register('dcr2d8', 4, 0x7b60), Register('dcr2d9', 4, 0x7b64), Register('dcr2da', 4, 0x7b68), Register('dcr2db', 4, 0x7b6c), Register('dcr2dc', 4, 0x7b70), Register('dcr2dd', 4, 0x7b74), Register('dcr2de', 4, 0x7b78), Register('dcr2df', 4, 0x7b7c), Register('dcr2e0', 4, 0x7b80), Register('dcr2e1', 4, 0x7b84), Register('dcr2e2', 4, 0x7b88), Register('dcr2e3', 4, 0x7b8c), Register('dcr2e4', 4, 0x7b90), Register('dcr2e5', 4, 0x7b94), Register('dcr2e6', 4, 0x7b98), Register('dcr2e7', 4, 0x7b9c), Register('dcr2e8', 4, 0x7ba0), Register('dcr2e9', 4, 0x7ba4), Register('dcr2ea', 4, 0x7ba8), Register('dcr2eb', 4, 0x7bac), Register('dcr2ec', 4, 0x7bb0), Register('dcr2ed', 4, 0x7bb4), Register('dcr2ee', 4, 0x7bb8), Register('dcr2ef', 4, 0x7bbc), Register('dcr2f0', 4, 0x7bc0), Register('dcr2f1', 4, 0x7bc4), Register('dcr2f2', 4, 0x7bc8), Register('dcr2f3', 4, 0x7bcc), Register('dcr2f4', 4, 0x7bd0), Register('dcr2f5', 4, 0x7bd4), Register('dcr2f6', 4, 0x7bd8), Register('dcr2f7', 4, 0x7bdc), Register('dcr2f8', 4, 0x7be0), Register('dcr2f9', 4, 0x7be4), Register('dcr2fa', 4, 0x7be8), Register('dcr2fb', 4, 0x7bec), Register('dcr2fc', 4, 0x7bf0), Register('dcr2fd', 4, 0x7bf4), Register('dcr2fe', 4, 0x7bf8), Register('dcr2ff', 4, 0x7bfc), Register('dcr300', 4, 0x7c00), Register('dcr301', 4, 0x7c04), Register('dcr302', 4, 0x7c08), Register('dcr303', 4, 0x7c0c), Register('dcr304', 4, 0x7c10), Register('dcr305', 4, 0x7c14), Register('dcr306', 4, 0x7c18), Register('dcr307', 4, 0x7c1c), Register('dcr308', 4, 0x7c20), Register('dcr309', 4, 0x7c24), Register('dcr30a', 4, 0x7c28), Register('dcr30b', 4, 0x7c2c), Register('dcr30c', 4, 0x7c30), Register('dcr30d', 4, 0x7c34), Register('dcr30e', 4, 0x7c38), Register('dcr30f', 4, 0x7c3c), Register('dcr310', 4, 0x7c40), Register('dcr311', 4, 0x7c44), Register('dcr312', 4, 0x7c48), Register('dcr313', 4, 0x7c4c), Register('dcr314', 4, 0x7c50), Register('dcr315', 4, 0x7c54), Register('dcr316', 4, 0x7c58), Register('dcr317', 4, 0x7c5c), Register('dcr318', 4, 0x7c60), Register('dcr319', 4, 0x7c64), Register('dcr31a', 4, 0x7c68), Register('dcr31b', 4, 0x7c6c), Register('dcr31c', 4, 0x7c70), Register('dcr31d', 4, 0x7c74), Register('dcr31e', 4, 0x7c78), Register('dcr31f', 4, 0x7c7c), Register('dcr320', 4, 0x7c80), Register('dcr321', 4, 0x7c84), Register('dcr322', 4, 0x7c88), Register('dcr323', 4, 0x7c8c), Register('dcr324', 4, 0x7c90), Register('dcr325', 4, 0x7c94), Register('dcr326', 4, 0x7c98), Register('dcr327', 4, 0x7c9c), Register('dcr328', 4, 0x7ca0), Register('dcr329', 4, 0x7ca4), Register('dcr32a', 4, 0x7ca8), Register('dcr32b', 4, 0x7cac), Register('dcr32c', 4, 0x7cb0), Register('dcr32d', 4, 0x7cb4), Register('dcr32e', 4, 0x7cb8), Register('dcr32f', 4, 0x7cbc), Register('dcr330', 4, 0x7cc0), Register('dcr331', 4, 0x7cc4), Register('dcr332', 4, 0x7cc8), Register('dcr333', 4, 0x7ccc), Register('dcr334', 4, 0x7cd0), Register('dcr335', 4, 0x7cd4), Register('dcr336', 4, 0x7cd8), Register('dcr337', 4, 0x7cdc), Register('dcr338', 4, 0x7ce0), Register('dcr339', 4, 0x7ce4), Register('dcr33a', 4, 0x7ce8), Register('dcr33b', 4, 0x7cec), Register('dcr33c', 4, 0x7cf0), Register('dcr33d', 4, 0x7cf4), Register('dcr33e', 4, 0x7cf8), Register('dcr33f', 4, 0x7cfc), Register('dcr340', 4, 0x7d00), Register('dcr341', 4, 0x7d04), Register('dcr342', 4, 0x7d08), Register('dcr343', 4, 0x7d0c), Register('dcr344', 4, 0x7d10), Register('dcr345', 4, 0x7d14), Register('dcr346', 4, 0x7d18), Register('dcr347', 4, 0x7d1c), Register('dcr348', 4, 0x7d20), Register('dcr349', 4, 0x7d24), Register('dcr34a', 4, 0x7d28), Register('dcr34b', 4, 0x7d2c), Register('dcr34c', 4, 0x7d30), Register('dcr34d', 4, 0x7d34), Register('dcr34e', 4, 0x7d38), Register('dcr34f', 4, 0x7d3c), Register('dcr350', 4, 0x7d40), Register('dcr351', 4, 0x7d44), Register('dcr352', 4, 0x7d48), Register('dcr353', 4, 0x7d4c), Register('dcr354', 4, 0x7d50), Register('dcr355', 4, 0x7d54), Register('dcr356', 4, 0x7d58), Register('dcr357', 4, 0x7d5c), Register('dcr358', 4, 0x7d60), Register('dcr359', 4, 0x7d64), Register('dcr35a', 4, 0x7d68), Register('dcr35b', 4, 0x7d6c), Register('dcr35c', 4, 0x7d70), Register('dcr35d', 4, 0x7d74), Register('dcr35e', 4, 0x7d78), Register('dcr35f', 4, 0x7d7c), Register('dcr360', 4, 0x7d80), Register('dcr361', 4, 0x7d84), Register('dcr362', 4, 0x7d88), Register('dcr363', 4, 0x7d8c), Register('dcr364', 4, 0x7d90), Register('dcr365', 4, 0x7d94), Register('dcr366', 4, 0x7d98), Register('dcr367', 4, 0x7d9c), Register('dcr368', 4, 0x7da0), Register('dcr369', 4, 0x7da4), Register('dcr36a', 4, 0x7da8), Register('dcr36b', 4, 0x7dac), Register('dcr36c', 4, 0x7db0), Register('dcr36d', 4, 0x7db4), Register('dcr36e', 4, 0x7db8), Register('dcr36f', 4, 0x7dbc), Register('dcr370', 4, 0x7dc0), Register('dcr371', 4, 0x7dc4), Register('dcr372', 4, 0x7dc8), Register('dcr373', 4, 0x7dcc), Register('dcr374', 4, 0x7dd0), Register('dcr375', 4, 0x7dd4), Register('dcr376', 4, 0x7dd8), Register('dcr377', 4, 0x7ddc), Register('dcr378', 4, 0x7de0), Register('dcr379', 4, 0x7de4), Register('dcr37a', 4, 0x7de8), Register('dcr37b', 4, 0x7dec), Register('dcr37c', 4, 0x7df0), Register('dcr37d', 4, 0x7df4), Register('dcr37e', 4, 0x7df8), Register('dcr37f', 4, 0x7dfc), Register('dcr380', 4, 0x7e00), Register('dcr381', 4, 0x7e04), Register('dcr382', 4, 0x7e08), Register('dcr383', 4, 0x7e0c), Register('dcr384', 4, 0x7e10), Register('dcr385', 4, 0x7e14), Register('dcr386', 4, 0x7e18), Register('dcr387', 4, 0x7e1c), Register('dcr388', 4, 0x7e20), Register('dcr389', 4, 0x7e24), Register('dcr38a', 4, 0x7e28), Register('dcr38b', 4, 0x7e2c), Register('dcr38c', 4, 0x7e30), Register('dcr38d', 4, 0x7e34), Register('dcr38e', 4, 0x7e38), Register('dcr38f', 4, 0x7e3c), Register('dcr390', 4, 0x7e40), Register('dcr391', 4, 0x7e44), Register('dcr392', 4, 0x7e48), Register('dcr393', 4, 0x7e4c), Register('dcr394', 4, 0x7e50), Register('dcr395', 4, 0x7e54), Register('dcr396', 4, 0x7e58), Register('dcr397', 4, 0x7e5c), Register('dcr398', 4, 0x7e60), Register('dcr399', 4, 0x7e64), Register('dcr39a', 4, 0x7e68), Register('dcr39b', 4, 0x7e6c), Register('dcr39c', 4, 0x7e70), Register('dcr39d', 4, 0x7e74), Register('dcr39e', 4, 0x7e78), Register('dcr39f', 4, 0x7e7c), Register('dcr3a0', 4, 0x7e80), Register('dcr3a1', 4, 0x7e84), Register('dcr3a2', 4, 0x7e88), Register('dcr3a3', 4, 0x7e8c), Register('dcr3a4', 4, 0x7e90), Register('dcr3a5', 4, 0x7e94), Register('dcr3a6', 4, 0x7e98), Register('dcr3a7', 4, 0x7e9c), Register('dcr3a8', 4, 0x7ea0), Register('dcr3a9', 4, 0x7ea4), Register('dcr3aa', 4, 0x7ea8), Register('dcr3ab', 4, 0x7eac), Register('dcr3ac', 4, 0x7eb0), Register('dcr3ad', 4, 0x7eb4), Register('dcr3ae', 4, 0x7eb8), Register('dcr3af', 4, 0x7ebc), Register('dcr3b0', 4, 0x7ec0), Register('dcr3b1', 4, 0x7ec4), Register('dcr3b2', 4, 0x7ec8), Register('dcr3b3', 4, 0x7ecc), Register('dcr3b4', 4, 0x7ed0), Register('dcr3b5', 4, 0x7ed4), Register('dcr3b6', 4, 0x7ed8), Register('dcr3b7', 4, 0x7edc), Register('dcr3b8', 4, 0x7ee0), Register('dcr3b9', 4, 0x7ee4), Register('dcr3ba', 4, 0x7ee8), Register('dcr3bb', 4, 0x7eec), Register('dcr3bc', 4, 0x7ef0), Register('dcr3bd', 4, 0x7ef4), Register('dcr3be', 4, 0x7ef8), Register('dcr3bf', 4, 0x7efc), Register('dcr3c0', 4, 0x7f00), Register('dcr3c1', 4, 0x7f04), Register('dcr3c2', 4, 0x7f08), Register('dcr3c3', 4, 0x7f0c), Register('dcr3c4', 4, 0x7f10), Register('dcr3c5', 4, 0x7f14), Register('dcr3c6', 4, 0x7f18), Register('dcr3c7', 4, 0x7f1c), Register('dcr3c8', 4, 0x7f20), Register('dcr3c9', 4, 0x7f24), Register('dcr3ca', 4, 0x7f28), Register('dcr3cb', 4, 0x7f2c), Register('dcr3cc', 4, 0x7f30), Register('dcr3cd', 4, 0x7f34), Register('dcr3ce', 4, 0x7f38), Register('dcr3cf', 4, 0x7f3c), Register('dcr3d0', 4, 0x7f40), Register('dcr3d1', 4, 0x7f44), Register('dcr3d2', 4, 0x7f48), Register('dcr3d3', 4, 0x7f4c), Register('dcr3d4', 4, 0x7f50), Register('dcr3d5', 4, 0x7f54), Register('dcr3d6', 4, 0x7f58), Register('dcr3d7', 4, 0x7f5c), Register('dcr3d8', 4, 0x7f60), Register('dcr3d9', 4, 0x7f64), Register('dcr3da', 4, 0x7f68), Register('dcr3db', 4, 0x7f6c), Register('dcr3dc', 4, 0x7f70), Register('dcr3dd', 4, 0x7f74), Register('dcr3de', 4, 0x7f78), Register('dcr3df', 4, 0x7f7c), Register('dcr3e0', 4, 0x7f80), Register('dcr3e1', 4, 0x7f84), Register('dcr3e2', 4, 0x7f88), Register('dcr3e3', 4, 0x7f8c), Register('dcr3e4', 4, 0x7f90), Register('dcr3e5', 4, 0x7f94), Register('dcr3e6', 4, 0x7f98), Register('dcr3e7', 4, 0x7f9c), Register('dcr3e8', 4, 0x7fa0), Register('dcr3e9', 4, 0x7fa4), Register('dcr3ea', 4, 0x7fa8), Register('dcr3eb', 4, 0x7fac), Register('dcr3ec', 4, 0x7fb0), Register('dcr3ed', 4, 0x7fb4), Register('dcr3ee', 4, 0x7fb8), Register('dcr3ef', 4, 0x7fbc), Register('dcr3f0', 4, 0x7fc0), Register('dcr3f1', 4, 0x7fc4), Register('dcr3f2', 4, 0x7fc8), Register('dcr3f3', 4, 0x7fcc), Register('dcr3f4', 4, 0x7fd0), Register('dcr3f5', 4, 0x7fd4), Register('dcr3f6', 4, 0x7fd8), Register('dcr3f7', 4, 0x7fdc), Register('dcr3f8', 4, 0x7fe0), Register('dcr3f9', 4, 0x7fe4), Register('dcr3fa', 4, 0x7fe8), Register('dcr3fb', 4, 0x7fec), Register('dcr3fc', 4, 0x7ff0), Register('dcr3fd', 4, 0x7ff4), Register('dcr3fe', 4, 0x7ff8), Register('dcr3ff', 4, 0x7ffc), Register('acc', 8, 0x10000) ] register_arch(['powerpc:le:32:quicc'], 32, Endness.LE, ArchPcode_PowerPC_LE_32_QUICC)
[((127376, 127465), 'archinfo.arch.register_arch', 'register_arch', (["['powerpc:le:32:quicc']", '(32)', 'Endness.LE', 'ArchPcode_PowerPC_LE_32_QUICC'], {}), "(['powerpc:le:32:quicc'], 32, Endness.LE,\n ArchPcode_PowerPC_LE_32_QUICC)\n", (127389, 127465), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((475, 495), 'archinfo.arch.Register', 'Register', (['"""r0"""', '(4)', '(0)'], {}), "('r0', 4, 0)\n", (483, 495), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((507, 527), 'archinfo.arch.Register', 'Register', (['"""r1"""', '(4)', '(4)'], {}), "('r1', 4, 4)\n", (515, 527), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((539, 559), 'archinfo.arch.Register', 'Register', (['"""r2"""', '(4)', '(8)'], {}), "('r2', 4, 8)\n", (547, 559), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((571, 592), 'archinfo.arch.Register', 'Register', (['"""r3"""', '(4)', '(12)'], {}), "('r3', 4, 12)\n", (579, 592), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((603, 624), 'archinfo.arch.Register', 'Register', (['"""r4"""', '(4)', '(16)'], {}), "('r4', 4, 16)\n", (611, 624), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((636, 657), 'archinfo.arch.Register', 'Register', (['"""r5"""', '(4)', '(20)'], {}), "('r5', 4, 20)\n", (644, 657), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((669, 690), 'archinfo.arch.Register', 'Register', (['"""r6"""', '(4)', '(24)'], {}), "('r6', 4, 24)\n", (677, 690), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((702, 723), 'archinfo.arch.Register', 'Register', (['"""r7"""', '(4)', '(28)'], {}), "('r7', 4, 28)\n", (710, 723), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((735, 756), 'archinfo.arch.Register', 'Register', (['"""r8"""', '(4)', '(32)'], {}), "('r8', 4, 32)\n", (743, 756), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((768, 789), 'archinfo.arch.Register', 'Register', (['"""r9"""', '(4)', '(36)'], {}), "('r9', 4, 36)\n", (776, 789), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((801, 823), 'archinfo.arch.Register', 'Register', (['"""r10"""', '(4)', '(40)'], {}), "('r10', 4, 40)\n", (809, 823), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((835, 857), 'archinfo.arch.Register', 'Register', (['"""r11"""', '(4)', '(44)'], {}), "('r11', 4, 44)\n", (843, 857), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((869, 891), 'archinfo.arch.Register', 'Register', (['"""r12"""', '(4)', '(48)'], {}), "('r12', 4, 48)\n", (877, 891), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((903, 925), 'archinfo.arch.Register', 'Register', (['"""r13"""', '(4)', '(52)'], {}), "('r13', 4, 52)\n", (911, 925), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((937, 959), 'archinfo.arch.Register', 'Register', (['"""r14"""', '(4)', '(56)'], {}), "('r14', 4, 56)\n", (945, 959), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((971, 993), 'archinfo.arch.Register', 'Register', (['"""r15"""', '(4)', '(60)'], {}), "('r15', 4, 60)\n", (979, 993), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1005, 1027), 'archinfo.arch.Register', 'Register', (['"""r16"""', '(4)', '(64)'], {}), "('r16', 4, 64)\n", (1013, 1027), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1039, 1061), 'archinfo.arch.Register', 'Register', (['"""r17"""', '(4)', '(68)'], {}), "('r17', 4, 68)\n", (1047, 1061), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1073, 1095), 'archinfo.arch.Register', 'Register', (['"""r18"""', '(4)', '(72)'], {}), "('r18', 4, 72)\n", (1081, 1095), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1107, 1129), 'archinfo.arch.Register', 'Register', (['"""r19"""', '(4)', '(76)'], {}), "('r19', 4, 76)\n", (1115, 1129), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1141, 1163), 'archinfo.arch.Register', 'Register', (['"""r20"""', '(4)', '(80)'], {}), "('r20', 4, 80)\n", (1149, 1163), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1175, 1197), 'archinfo.arch.Register', 'Register', (['"""r21"""', '(4)', '(84)'], {}), "('r21', 4, 84)\n", (1183, 1197), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1209, 1231), 'archinfo.arch.Register', 'Register', (['"""r22"""', '(4)', '(88)'], {}), "('r22', 4, 88)\n", (1217, 1231), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1243, 1265), 'archinfo.arch.Register', 'Register', (['"""r23"""', '(4)', '(92)'], {}), "('r23', 4, 92)\n", (1251, 1265), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1277, 1299), 'archinfo.arch.Register', 'Register', (['"""r24"""', '(4)', '(96)'], {}), "('r24', 4, 96)\n", (1285, 1299), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1311, 1334), 'archinfo.arch.Register', 'Register', (['"""r25"""', '(4)', '(100)'], {}), "('r25', 4, 100)\n", (1319, 1334), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1345, 1368), 'archinfo.arch.Register', 'Register', (['"""r26"""', '(4)', '(104)'], {}), "('r26', 4, 104)\n", (1353, 1368), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1379, 1402), 'archinfo.arch.Register', 'Register', (['"""r27"""', '(4)', '(108)'], {}), "('r27', 4, 108)\n", (1387, 1402), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1413, 1436), 'archinfo.arch.Register', 'Register', (['"""r28"""', '(4)', '(112)'], {}), "('r28', 4, 112)\n", (1421, 1436), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1447, 1470), 'archinfo.arch.Register', 'Register', (['"""r29"""', '(4)', '(116)'], {}), "('r29', 4, 116)\n", (1455, 1470), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1481, 1504), 'archinfo.arch.Register', 'Register', (['"""r30"""', '(4)', '(120)'], {}), "('r30', 4, 120)\n", (1489, 1504), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1515, 1538), 'archinfo.arch.Register', 'Register', (['"""r31"""', '(4)', '(124)'], {}), "('r31', 4, 124)\n", (1523, 1538), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1549, 1576), 'archinfo.arch.Register', 'Register', (['"""xer_so"""', '(1)', '(1024)'], {}), "('xer_so', 1, 1024)\n", (1557, 1576), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1587, 1614), 'archinfo.arch.Register', 'Register', (['"""xer_ov"""', '(1)', '(1025)'], {}), "('xer_ov', 1, 1025)\n", (1595, 1614), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1625, 1654), 'archinfo.arch.Register', 'Register', (['"""xer_ov32"""', '(1)', '(1026)'], {}), "('xer_ov32', 1, 1026)\n", (1633, 1654), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1665, 1692), 'archinfo.arch.Register', 'Register', (['"""xer_ca"""', '(1)', '(1027)'], {}), "('xer_ca', 1, 1027)\n", (1673, 1692), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1703, 1732), 'archinfo.arch.Register', 'Register', (['"""xer_ca32"""', '(1)', '(1028)'], {}), "('xer_ca32', 1, 1028)\n", (1711, 1732), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1743, 1773), 'archinfo.arch.Register', 'Register', (['"""xer_count"""', '(1)', '(1029)'], {}), "('xer_count', 1, 1029)\n", (1751, 1773), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1784, 1810), 'archinfo.arch.Register', 'Register', (['"""fp_fx"""', '(1)', '(1280)'], {}), "('fp_fx', 1, 1280)\n", (1792, 1810), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1821, 1848), 'archinfo.arch.Register', 'Register', (['"""fp_fex"""', '(1)', '(1281)'], {}), "('fp_fex', 1, 1281)\n", (1829, 1848), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1859, 1885), 'archinfo.arch.Register', 'Register', (['"""fp_vx"""', '(1)', '(1282)'], {}), "('fp_vx', 1, 1282)\n", (1867, 1885), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1896, 1922), 'archinfo.arch.Register', 'Register', (['"""fp_ox"""', '(1)', '(1283)'], {}), "('fp_ox', 1, 1283)\n", (1904, 1922), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1933, 1959), 'archinfo.arch.Register', 'Register', (['"""fp_ux"""', '(1)', '(1284)'], {}), "('fp_ux', 1, 1284)\n", (1941, 1959), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((1970, 1996), 'archinfo.arch.Register', 'Register', (['"""fp_zx"""', '(1)', '(1285)'], {}), "('fp_zx', 1, 1285)\n", (1978, 1996), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2007, 2033), 'archinfo.arch.Register', 'Register', (['"""fp_xx"""', '(1)', '(1286)'], {}), "('fp_xx', 1, 1286)\n", (2015, 2033), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2044, 2074), 'archinfo.arch.Register', 'Register', (['"""fp_vxsnan"""', '(1)', '(1287)'], {}), "('fp_vxsnan', 1, 1287)\n", (2052, 2074), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2085, 2114), 'archinfo.arch.Register', 'Register', (['"""fp_vxisi"""', '(1)', '(1288)'], {}), "('fp_vxisi', 1, 1288)\n", (2093, 2114), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2125, 2154), 'archinfo.arch.Register', 'Register', (['"""fp_vxidi"""', '(1)', '(1289)'], {}), "('fp_vxidi', 1, 1289)\n", (2133, 2154), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2165, 2194), 'archinfo.arch.Register', 'Register', (['"""fp_vxzdz"""', '(1)', '(1290)'], {}), "('fp_vxzdz', 1, 1290)\n", (2173, 2194), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2205, 2234), 'archinfo.arch.Register', 'Register', (['"""fp_vximz"""', '(1)', '(1291)'], {}), "('fp_vximz', 1, 1291)\n", (2213, 2234), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2245, 2273), 'archinfo.arch.Register', 'Register', (['"""fp_vxvc"""', '(1)', '(1292)'], {}), "('fp_vxvc', 1, 1292)\n", (2253, 2273), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2284, 2310), 'archinfo.arch.Register', 'Register', (['"""fp_fr"""', '(1)', '(1293)'], {}), "('fp_fr', 1, 1293)\n", (2292, 2310), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2321, 2347), 'archinfo.arch.Register', 'Register', (['"""fp_fi"""', '(1)', '(1294)'], {}), "('fp_fi', 1, 1294)\n", (2329, 2347), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2358, 2383), 'archinfo.arch.Register', 'Register', (['"""fp_c"""', '(1)', '(1295)'], {}), "('fp_c', 1, 1295)\n", (2366, 2383), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2394, 2421), 'archinfo.arch.Register', 'Register', (['"""fp_cc0"""', '(1)', '(1296)'], {}), "('fp_cc0', 1, 1296)\n", (2402, 2421), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2432, 2459), 'archinfo.arch.Register', 'Register', (['"""fp_cc1"""', '(1)', '(1297)'], {}), "('fp_cc1', 1, 1297)\n", (2440, 2459), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2470, 2497), 'archinfo.arch.Register', 'Register', (['"""fp_cc2"""', '(1)', '(1298)'], {}), "('fp_cc2', 1, 1298)\n", (2478, 2497), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2508, 2535), 'archinfo.arch.Register', 'Register', (['"""fp_cc3"""', '(1)', '(1299)'], {}), "('fp_cc3', 1, 1299)\n", (2516, 2535), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2546, 2578), 'archinfo.arch.Register', 'Register', (['"""fp_reserve1"""', '(1)', '(1300)'], {}), "('fp_reserve1', 1, 1300)\n", (2554, 2578), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2589, 2619), 'archinfo.arch.Register', 'Register', (['"""fp_vxsoft"""', '(1)', '(1301)'], {}), "('fp_vxsoft', 1, 1301)\n", (2597, 2619), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2630, 2660), 'archinfo.arch.Register', 'Register', (['"""fp_vxsqrt"""', '(1)', '(1302)'], {}), "('fp_vxsqrt', 1, 1302)\n", (2638, 2660), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2671, 2700), 'archinfo.arch.Register', 'Register', (['"""fp_vxcvi"""', '(1)', '(1303)'], {}), "('fp_vxcvi', 1, 1303)\n", (2679, 2700), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2711, 2737), 'archinfo.arch.Register', 'Register', (['"""fp_ve"""', '(1)', '(1304)'], {}), "('fp_ve', 1, 1304)\n", (2719, 2737), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2748, 2774), 'archinfo.arch.Register', 'Register', (['"""fp_oe"""', '(1)', '(1305)'], {}), "('fp_oe', 1, 1305)\n", (2756, 2774), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2785, 2811), 'archinfo.arch.Register', 'Register', (['"""fp_ue"""', '(1)', '(1306)'], {}), "('fp_ue', 1, 1306)\n", (2793, 2811), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2822, 2848), 'archinfo.arch.Register', 'Register', (['"""fp_ze"""', '(1)', '(1307)'], {}), "('fp_ze', 1, 1307)\n", (2830, 2848), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2859, 2885), 'archinfo.arch.Register', 'Register', (['"""fp_xe"""', '(1)', '(1308)'], {}), "('fp_xe', 1, 1308)\n", (2867, 2885), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2896, 2922), 'archinfo.arch.Register', 'Register', (['"""fp_ni"""', '(1)', '(1309)'], {}), "('fp_ni', 1, 1309)\n", (2904, 2922), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2933, 2960), 'archinfo.arch.Register', 'Register', (['"""fp_rn0"""', '(1)', '(1310)'], {}), "('fp_rn0', 1, 1310)\n", (2941, 2960), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((2971, 2998), 'archinfo.arch.Register', 'Register', (['"""fp_rn1"""', '(1)', '(1311)'], {}), "('fp_rn1', 1, 1311)\n", (2979, 2998), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3009, 3033), 'archinfo.arch.Register', 'Register', (['"""msr"""', '(4)', '(1792)'], {}), "('msr', 4, 1792)\n", (3017, 3033), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3044, 3080), 'archinfo.arch.Register', 'Register', (['"""reserve_address"""', '(4)', '(1824)'], {}), "('reserve_address', 4, 1824)\n", (3052, 3080), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3091, 3119), 'archinfo.arch.Register', 'Register', (['"""reserve"""', '(1)', '(1832)'], {}), "('reserve', 1, 1832)\n", (3099, 3119), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3130, 3165), 'archinfo.arch.Register', 'Register', (['"""reserve_length"""', '(1)', '(1840)'], {}), "('reserve_length', 1, 1840)\n", (3138, 3165), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3176, 3220), 'archinfo.arch.Register', 'Register', (['"""pc"""', '(4)', '(1920)'], {'alias_names': "('ip',)"}), "('pc', 4, 1920, alias_names=('ip',))\n", (3184, 3220), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3231, 3255), 'archinfo.arch.Register', 'Register', (['"""sr0"""', '(4)', '(2048)'], {}), "('sr0', 4, 2048)\n", (3239, 3255), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3266, 3290), 'archinfo.arch.Register', 'Register', (['"""sr1"""', '(4)', '(2052)'], {}), "('sr1', 4, 2052)\n", (3274, 3290), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3301, 3325), 'archinfo.arch.Register', 'Register', (['"""sr2"""', '(4)', '(2056)'], {}), "('sr2', 4, 2056)\n", (3309, 3325), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3336, 3360), 'archinfo.arch.Register', 'Register', (['"""sr3"""', '(4)', '(2060)'], {}), "('sr3', 4, 2060)\n", (3344, 3360), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3371, 3395), 'archinfo.arch.Register', 'Register', (['"""sr4"""', '(4)', '(2064)'], {}), "('sr4', 4, 2064)\n", (3379, 3395), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3406, 3430), 'archinfo.arch.Register', 'Register', (['"""sr5"""', '(4)', '(2068)'], {}), "('sr5', 4, 2068)\n", (3414, 3430), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3441, 3465), 'archinfo.arch.Register', 'Register', (['"""sr6"""', '(4)', '(2072)'], {}), "('sr6', 4, 2072)\n", (3449, 3465), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3476, 3500), 'archinfo.arch.Register', 'Register', (['"""sr7"""', '(4)', '(2076)'], {}), "('sr7', 4, 2076)\n", (3484, 3500), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3511, 3535), 'archinfo.arch.Register', 'Register', (['"""sr8"""', '(4)', '(2080)'], {}), "('sr8', 4, 2080)\n", (3519, 3535), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3546, 3570), 'archinfo.arch.Register', 'Register', (['"""sr9"""', '(4)', '(2084)'], {}), "('sr9', 4, 2084)\n", (3554, 3570), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3581, 3606), 'archinfo.arch.Register', 'Register', (['"""sr10"""', '(4)', '(2088)'], {}), "('sr10', 4, 2088)\n", (3589, 3606), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3617, 3642), 'archinfo.arch.Register', 'Register', (['"""sr11"""', '(4)', '(2092)'], {}), "('sr11', 4, 2092)\n", (3625, 3642), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3653, 3678), 'archinfo.arch.Register', 'Register', (['"""sr12"""', '(4)', '(2096)'], {}), "('sr12', 4, 2096)\n", (3661, 3678), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3689, 3714), 'archinfo.arch.Register', 'Register', (['"""sr13"""', '(4)', '(2100)'], {}), "('sr13', 4, 2100)\n", (3697, 3714), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3725, 3750), 'archinfo.arch.Register', 'Register', (['"""sr14"""', '(4)', '(2104)'], {}), "('sr14', 4, 2104)\n", (3733, 3750), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3761, 3786), 'archinfo.arch.Register', 'Register', (['"""sr15"""', '(4)', '(2108)'], {}), "('sr15', 4, 2108)\n", (3769, 3786), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3797, 3823), 'archinfo.arch.Register', 'Register', (['"""crall"""', '(8)', '(2304)'], {}), "('crall', 8, 2304)\n", (3805, 3823), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3834, 3858), 'archinfo.arch.Register', 'Register', (['"""cr0"""', '(1)', '(2304)'], {}), "('cr0', 1, 2304)\n", (3842, 3858), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3869, 3893), 'archinfo.arch.Register', 'Register', (['"""cr1"""', '(1)', '(2305)'], {}), "('cr1', 1, 2305)\n", (3877, 3893), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3904, 3928), 'archinfo.arch.Register', 'Register', (['"""cr2"""', '(1)', '(2306)'], {}), "('cr2', 1, 2306)\n", (3912, 3928), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3939, 3963), 'archinfo.arch.Register', 'Register', (['"""cr3"""', '(1)', '(2307)'], {}), "('cr3', 1, 2307)\n", (3947, 3963), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((3974, 3998), 'archinfo.arch.Register', 'Register', (['"""cr4"""', '(1)', '(2308)'], {}), "('cr4', 1, 2308)\n", (3982, 3998), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4009, 4033), 'archinfo.arch.Register', 'Register', (['"""cr5"""', '(1)', '(2309)'], {}), "('cr5', 1, 2309)\n", (4017, 4033), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4044, 4068), 'archinfo.arch.Register', 'Register', (['"""cr6"""', '(1)', '(2310)'], {}), "('cr6', 1, 2310)\n", (4052, 4068), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4079, 4103), 'archinfo.arch.Register', 'Register', (['"""cr7"""', '(1)', '(2311)'], {}), "('cr7', 1, 2311)\n", (4087, 4103), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4114, 4138), 'archinfo.arch.Register', 'Register', (['"""tea"""', '(4)', '(2432)'], {}), "('tea', 4, 2432)\n", (4122, 4138), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4149, 4176), 'archinfo.arch.Register', 'Register', (['"""r2save"""', '(4)', '(2440)'], {}), "('r2save', 4, 2440)\n", (4157, 4176), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4187, 4214), 'archinfo.arch.Register', 'Register', (['"""spr000"""', '(4)', '(4096)'], {}), "('spr000', 4, 4096)\n", (4195, 4214), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4226, 4250), 'archinfo.arch.Register', 'Register', (['"""xer"""', '(4)', '(4100)'], {}), "('xer', 4, 4100)\n", (4234, 4250), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4262, 4289), 'archinfo.arch.Register', 'Register', (['"""spr002"""', '(4)', '(4104)'], {}), "('spr002', 4, 4104)\n", (4270, 4289), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4301, 4328), 'archinfo.arch.Register', 'Register', (['"""spr003"""', '(4)', '(4108)'], {}), "('spr003', 4, 4108)\n", (4309, 4328), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4340, 4367), 'archinfo.arch.Register', 'Register', (['"""spr004"""', '(4)', '(4112)'], {}), "('spr004', 4, 4112)\n", (4348, 4367), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4379, 4406), 'archinfo.arch.Register', 'Register', (['"""spr005"""', '(4)', '(4116)'], {}), "('spr005', 4, 4116)\n", (4387, 4406), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4418, 4445), 'archinfo.arch.Register', 'Register', (['"""spr006"""', '(4)', '(4120)'], {}), "('spr006', 4, 4120)\n", (4426, 4445), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4457, 4484), 'archinfo.arch.Register', 'Register', (['"""spr007"""', '(4)', '(4124)'], {}), "('spr007', 4, 4124)\n", (4465, 4484), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4496, 4519), 'archinfo.arch.Register', 'Register', (['"""lr"""', '(4)', '(4128)'], {}), "('lr', 4, 4128)\n", (4504, 4519), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4531, 4555), 'archinfo.arch.Register', 'Register', (['"""ctr"""', '(4)', '(4132)'], {}), "('ctr', 4, 4132)\n", (4539, 4555), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4567, 4594), 'archinfo.arch.Register', 'Register', (['"""spr00a"""', '(4)', '(4136)'], {}), "('spr00a', 4, 4136)\n", (4575, 4594), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4606, 4633), 'archinfo.arch.Register', 'Register', (['"""spr00b"""', '(4)', '(4140)'], {}), "('spr00b', 4, 4140)\n", (4614, 4633), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4645, 4672), 'archinfo.arch.Register', 'Register', (['"""spr00c"""', '(4)', '(4144)'], {}), "('spr00c', 4, 4144)\n", (4653, 4672), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4684, 4711), 'archinfo.arch.Register', 'Register', (['"""spr00d"""', '(4)', '(4148)'], {}), "('spr00d', 4, 4148)\n", (4692, 4711), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4723, 4750), 'archinfo.arch.Register', 'Register', (['"""spr00e"""', '(4)', '(4152)'], {}), "('spr00e', 4, 4152)\n", (4731, 4750), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4762, 4789), 'archinfo.arch.Register', 'Register', (['"""spr00f"""', '(4)', '(4156)'], {}), "('spr00f', 4, 4156)\n", (4770, 4789), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4801, 4828), 'archinfo.arch.Register', 'Register', (['"""spr010"""', '(4)', '(4160)'], {}), "('spr010', 4, 4160)\n", (4809, 4828), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4840, 4867), 'archinfo.arch.Register', 'Register', (['"""spr011"""', '(4)', '(4164)'], {}), "('spr011', 4, 4164)\n", (4848, 4867), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4879, 4906), 'archinfo.arch.Register', 'Register', (['"""spr012"""', '(4)', '(4168)'], {}), "('spr012', 4, 4168)\n", (4887, 4906), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4918, 4945), 'archinfo.arch.Register', 'Register', (['"""spr013"""', '(4)', '(4172)'], {}), "('spr013', 4, 4172)\n", (4926, 4945), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4957, 4984), 'archinfo.arch.Register', 'Register', (['"""spr014"""', '(4)', '(4176)'], {}), "('spr014', 4, 4176)\n", (4965, 4984), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((4996, 5023), 'archinfo.arch.Register', 'Register', (['"""spr015"""', '(4)', '(4180)'], {}), "('spr015', 4, 4180)\n", (5004, 5023), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5035, 5062), 'archinfo.arch.Register', 'Register', (['"""spr016"""', '(4)', '(4184)'], {}), "('spr016', 4, 4184)\n", (5043, 5062), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5074, 5101), 'archinfo.arch.Register', 'Register', (['"""spr017"""', '(4)', '(4188)'], {}), "('spr017', 4, 4188)\n", (5082, 5101), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5113, 5140), 'archinfo.arch.Register', 'Register', (['"""spr018"""', '(4)', '(4192)'], {}), "('spr018', 4, 4192)\n", (5121, 5140), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5152, 5179), 'archinfo.arch.Register', 'Register', (['"""spr019"""', '(4)', '(4196)'], {}), "('spr019', 4, 4196)\n", (5160, 5179), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5191, 5216), 'archinfo.arch.Register', 'Register', (['"""srr0"""', '(4)', '(4200)'], {}), "('srr0', 4, 4200)\n", (5199, 5216), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5228, 5253), 'archinfo.arch.Register', 'Register', (['"""srr1"""', '(4)', '(4204)'], {}), "('srr1', 4, 4204)\n", (5236, 5253), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5265, 5292), 'archinfo.arch.Register', 'Register', (['"""spr01c"""', '(4)', '(4208)'], {}), "('spr01c', 4, 4208)\n", (5273, 5292), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5304, 5331), 'archinfo.arch.Register', 'Register', (['"""spr01d"""', '(4)', '(4212)'], {}), "('spr01d', 4, 4212)\n", (5312, 5331), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5343, 5370), 'archinfo.arch.Register', 'Register', (['"""spr01e"""', '(4)', '(4216)'], {}), "('spr01e', 4, 4216)\n", (5351, 5370), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5382, 5409), 'archinfo.arch.Register', 'Register', (['"""spr01f"""', '(4)', '(4220)'], {}), "('spr01f', 4, 4220)\n", (5390, 5409), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5421, 5448), 'archinfo.arch.Register', 'Register', (['"""spr020"""', '(4)', '(4224)'], {}), "('spr020', 4, 4224)\n", (5429, 5448), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5460, 5487), 'archinfo.arch.Register', 'Register', (['"""spr021"""', '(4)', '(4228)'], {}), "('spr021', 4, 4228)\n", (5468, 5487), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5499, 5526), 'archinfo.arch.Register', 'Register', (['"""spr022"""', '(4)', '(4232)'], {}), "('spr022', 4, 4232)\n", (5507, 5526), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5538, 5565), 'archinfo.arch.Register', 'Register', (['"""spr023"""', '(4)', '(4236)'], {}), "('spr023', 4, 4236)\n", (5546, 5565), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5577, 5604), 'archinfo.arch.Register', 'Register', (['"""spr024"""', '(4)', '(4240)'], {}), "('spr024', 4, 4240)\n", (5585, 5604), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5616, 5643), 'archinfo.arch.Register', 'Register', (['"""spr025"""', '(4)', '(4244)'], {}), "('spr025', 4, 4244)\n", (5624, 5643), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5655, 5682), 'archinfo.arch.Register', 'Register', (['"""spr026"""', '(4)', '(4248)'], {}), "('spr026', 4, 4248)\n", (5663, 5682), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5694, 5721), 'archinfo.arch.Register', 'Register', (['"""spr027"""', '(4)', '(4252)'], {}), "('spr027', 4, 4252)\n", (5702, 5721), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5733, 5760), 'archinfo.arch.Register', 'Register', (['"""spr028"""', '(4)', '(4256)'], {}), "('spr028', 4, 4256)\n", (5741, 5760), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5772, 5799), 'archinfo.arch.Register', 'Register', (['"""spr029"""', '(4)', '(4260)'], {}), "('spr029', 4, 4260)\n", (5780, 5799), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5811, 5838), 'archinfo.arch.Register', 'Register', (['"""spr02a"""', '(4)', '(4264)'], {}), "('spr02a', 4, 4264)\n", (5819, 5838), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5850, 5877), 'archinfo.arch.Register', 'Register', (['"""spr02b"""', '(4)', '(4268)'], {}), "('spr02b', 4, 4268)\n", (5858, 5877), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5889, 5916), 'archinfo.arch.Register', 'Register', (['"""spr02c"""', '(4)', '(4272)'], {}), "('spr02c', 4, 4272)\n", (5897, 5916), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5928, 5955), 'archinfo.arch.Register', 'Register', (['"""spr02d"""', '(4)', '(4276)'], {}), "('spr02d', 4, 4276)\n", (5936, 5955), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((5967, 5994), 'archinfo.arch.Register', 'Register', (['"""spr02e"""', '(4)', '(4280)'], {}), "('spr02e', 4, 4280)\n", (5975, 5994), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6006, 6033), 'archinfo.arch.Register', 'Register', (['"""spr02f"""', '(4)', '(4284)'], {}), "('spr02f', 4, 4284)\n", (6014, 6033), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6045, 6072), 'archinfo.arch.Register', 'Register', (['"""spr030"""', '(4)', '(4288)'], {}), "('spr030', 4, 4288)\n", (6053, 6072), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6084, 6111), 'archinfo.arch.Register', 'Register', (['"""spr031"""', '(4)', '(4292)'], {}), "('spr031', 4, 4292)\n", (6092, 6111), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6123, 6150), 'archinfo.arch.Register', 'Register', (['"""spr032"""', '(4)', '(4296)'], {}), "('spr032', 4, 4296)\n", (6131, 6150), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6162, 6189), 'archinfo.arch.Register', 'Register', (['"""spr033"""', '(4)', '(4300)'], {}), "('spr033', 4, 4300)\n", (6170, 6189), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6201, 6228), 'archinfo.arch.Register', 'Register', (['"""spr034"""', '(4)', '(4304)'], {}), "('spr034', 4, 4304)\n", (6209, 6228), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6240, 6267), 'archinfo.arch.Register', 'Register', (['"""spr035"""', '(4)', '(4308)'], {}), "('spr035', 4, 4308)\n", (6248, 6267), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6279, 6306), 'archinfo.arch.Register', 'Register', (['"""spr036"""', '(4)', '(4312)'], {}), "('spr036', 4, 4312)\n", (6287, 6306), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6318, 6345), 'archinfo.arch.Register', 'Register', (['"""spr037"""', '(4)', '(4316)'], {}), "('spr037', 4, 4316)\n", (6326, 6345), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6357, 6384), 'archinfo.arch.Register', 'Register', (['"""spr038"""', '(4)', '(4320)'], {}), "('spr038', 4, 4320)\n", (6365, 6384), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6396, 6423), 'archinfo.arch.Register', 'Register', (['"""spr039"""', '(4)', '(4324)'], {}), "('spr039', 4, 4324)\n", (6404, 6423), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6435, 6462), 'archinfo.arch.Register', 'Register', (['"""spr03a"""', '(4)', '(4328)'], {}), "('spr03a', 4, 4328)\n", (6443, 6462), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6474, 6501), 'archinfo.arch.Register', 'Register', (['"""spr03b"""', '(4)', '(4332)'], {}), "('spr03b', 4, 4332)\n", (6482, 6501), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6513, 6540), 'archinfo.arch.Register', 'Register', (['"""spr03c"""', '(4)', '(4336)'], {}), "('spr03c', 4, 4336)\n", (6521, 6540), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6552, 6579), 'archinfo.arch.Register', 'Register', (['"""spr03d"""', '(4)', '(4340)'], {}), "('spr03d', 4, 4340)\n", (6560, 6579), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6591, 6618), 'archinfo.arch.Register', 'Register', (['"""spr03e"""', '(4)', '(4344)'], {}), "('spr03e', 4, 4344)\n", (6599, 6618), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6630, 6657), 'archinfo.arch.Register', 'Register', (['"""spr03f"""', '(4)', '(4348)'], {}), "('spr03f', 4, 4348)\n", (6638, 6657), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6669, 6696), 'archinfo.arch.Register', 'Register', (['"""spr040"""', '(4)', '(4352)'], {}), "('spr040', 4, 4352)\n", (6677, 6696), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6708, 6735), 'archinfo.arch.Register', 'Register', (['"""spr041"""', '(4)', '(4356)'], {}), "('spr041', 4, 4356)\n", (6716, 6735), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6747, 6774), 'archinfo.arch.Register', 'Register', (['"""spr042"""', '(4)', '(4360)'], {}), "('spr042', 4, 4360)\n", (6755, 6774), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6786, 6813), 'archinfo.arch.Register', 'Register', (['"""spr043"""', '(4)', '(4364)'], {}), "('spr043', 4, 4364)\n", (6794, 6813), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6825, 6852), 'archinfo.arch.Register', 'Register', (['"""spr044"""', '(4)', '(4368)'], {}), "('spr044', 4, 4368)\n", (6833, 6852), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6864, 6891), 'archinfo.arch.Register', 'Register', (['"""spr045"""', '(4)', '(4372)'], {}), "('spr045', 4, 4372)\n", (6872, 6891), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6903, 6930), 'archinfo.arch.Register', 'Register', (['"""spr046"""', '(4)', '(4376)'], {}), "('spr046', 4, 4376)\n", (6911, 6930), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6942, 6969), 'archinfo.arch.Register', 'Register', (['"""spr047"""', '(4)', '(4380)'], {}), "('spr047', 4, 4380)\n", (6950, 6969), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((6981, 7008), 'archinfo.arch.Register', 'Register', (['"""spr048"""', '(4)', '(4384)'], {}), "('spr048', 4, 4384)\n", (6989, 7008), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7020, 7047), 'archinfo.arch.Register', 'Register', (['"""spr049"""', '(4)', '(4388)'], {}), "('spr049', 4, 4388)\n", (7028, 7047), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7059, 7086), 'archinfo.arch.Register', 'Register', (['"""spr04a"""', '(4)', '(4392)'], {}), "('spr04a', 4, 4392)\n", (7067, 7086), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7098, 7125), 'archinfo.arch.Register', 'Register', (['"""spr04b"""', '(4)', '(4396)'], {}), "('spr04b', 4, 4396)\n", (7106, 7125), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7137, 7164), 'archinfo.arch.Register', 'Register', (['"""spr04c"""', '(4)', '(4400)'], {}), "('spr04c', 4, 4400)\n", (7145, 7164), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7176, 7203), 'archinfo.arch.Register', 'Register', (['"""spr04d"""', '(4)', '(4404)'], {}), "('spr04d', 4, 4404)\n", (7184, 7203), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7215, 7242), 'archinfo.arch.Register', 'Register', (['"""spr04e"""', '(4)', '(4408)'], {}), "('spr04e', 4, 4408)\n", (7223, 7242), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7254, 7281), 'archinfo.arch.Register', 'Register', (['"""spr04f"""', '(4)', '(4412)'], {}), "('spr04f', 4, 4412)\n", (7262, 7281), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7293, 7320), 'archinfo.arch.Register', 'Register', (['"""spr050"""', '(4)', '(4416)'], {}), "('spr050', 4, 4416)\n", (7301, 7320), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7332, 7359), 'archinfo.arch.Register', 'Register', (['"""spr051"""', '(4)', '(4420)'], {}), "('spr051', 4, 4420)\n", (7340, 7359), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7371, 7398), 'archinfo.arch.Register', 'Register', (['"""spr052"""', '(4)', '(4424)'], {}), "('spr052', 4, 4424)\n", (7379, 7398), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7410, 7437), 'archinfo.arch.Register', 'Register', (['"""spr053"""', '(4)', '(4428)'], {}), "('spr053', 4, 4428)\n", (7418, 7437), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7449, 7476), 'archinfo.arch.Register', 'Register', (['"""spr054"""', '(4)', '(4432)'], {}), "('spr054', 4, 4432)\n", (7457, 7476), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7488, 7515), 'archinfo.arch.Register', 'Register', (['"""spr055"""', '(4)', '(4436)'], {}), "('spr055', 4, 4436)\n", (7496, 7515), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7527, 7554), 'archinfo.arch.Register', 'Register', (['"""spr056"""', '(4)', '(4440)'], {}), "('spr056', 4, 4440)\n", (7535, 7554), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7566, 7593), 'archinfo.arch.Register', 'Register', (['"""spr057"""', '(4)', '(4444)'], {}), "('spr057', 4, 4444)\n", (7574, 7593), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7605, 7632), 'archinfo.arch.Register', 'Register', (['"""spr058"""', '(4)', '(4448)'], {}), "('spr058', 4, 4448)\n", (7613, 7632), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7644, 7671), 'archinfo.arch.Register', 'Register', (['"""spr059"""', '(4)', '(4452)'], {}), "('spr059', 4, 4452)\n", (7652, 7671), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7683, 7710), 'archinfo.arch.Register', 'Register', (['"""spr05a"""', '(4)', '(4456)'], {}), "('spr05a', 4, 4456)\n", (7691, 7710), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7722, 7749), 'archinfo.arch.Register', 'Register', (['"""spr05b"""', '(4)', '(4460)'], {}), "('spr05b', 4, 4460)\n", (7730, 7749), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7761, 7788), 'archinfo.arch.Register', 'Register', (['"""spr05c"""', '(4)', '(4464)'], {}), "('spr05c', 4, 4464)\n", (7769, 7788), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7800, 7827), 'archinfo.arch.Register', 'Register', (['"""spr05d"""', '(4)', '(4468)'], {}), "('spr05d', 4, 4468)\n", (7808, 7827), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7839, 7866), 'archinfo.arch.Register', 'Register', (['"""spr05e"""', '(4)', '(4472)'], {}), "('spr05e', 4, 4472)\n", (7847, 7866), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7878, 7905), 'archinfo.arch.Register', 'Register', (['"""spr05f"""', '(4)', '(4476)'], {}), "('spr05f', 4, 4476)\n", (7886, 7905), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7917, 7944), 'archinfo.arch.Register', 'Register', (['"""spr060"""', '(4)', '(4480)'], {}), "('spr060', 4, 4480)\n", (7925, 7944), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7956, 7983), 'archinfo.arch.Register', 'Register', (['"""spr061"""', '(4)', '(4484)'], {}), "('spr061', 4, 4484)\n", (7964, 7983), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((7995, 8022), 'archinfo.arch.Register', 'Register', (['"""spr062"""', '(4)', '(4488)'], {}), "('spr062', 4, 4488)\n", (8003, 8022), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8034, 8061), 'archinfo.arch.Register', 'Register', (['"""spr063"""', '(4)', '(4492)'], {}), "('spr063', 4, 4492)\n", (8042, 8061), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8073, 8100), 'archinfo.arch.Register', 'Register', (['"""spr064"""', '(4)', '(4496)'], {}), "('spr064', 4, 4496)\n", (8081, 8100), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8112, 8139), 'archinfo.arch.Register', 'Register', (['"""spr065"""', '(4)', '(4500)'], {}), "('spr065', 4, 4500)\n", (8120, 8139), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8151, 8178), 'archinfo.arch.Register', 'Register', (['"""spr066"""', '(4)', '(4504)'], {}), "('spr066', 4, 4504)\n", (8159, 8178), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8190, 8217), 'archinfo.arch.Register', 'Register', (['"""spr067"""', '(4)', '(4508)'], {}), "('spr067', 4, 4508)\n", (8198, 8217), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8229, 8256), 'archinfo.arch.Register', 'Register', (['"""spr068"""', '(4)', '(4512)'], {}), "('spr068', 4, 4512)\n", (8237, 8256), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8268, 8295), 'archinfo.arch.Register', 'Register', (['"""spr069"""', '(4)', '(4516)'], {}), "('spr069', 4, 4516)\n", (8276, 8295), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8307, 8334), 'archinfo.arch.Register', 'Register', (['"""spr06a"""', '(4)', '(4520)'], {}), "('spr06a', 4, 4520)\n", (8315, 8334), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8346, 8373), 'archinfo.arch.Register', 'Register', (['"""spr06b"""', '(4)', '(4524)'], {}), "('spr06b', 4, 4524)\n", (8354, 8373), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8385, 8412), 'archinfo.arch.Register', 'Register', (['"""spr06c"""', '(4)', '(4528)'], {}), "('spr06c', 4, 4528)\n", (8393, 8412), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8424, 8451), 'archinfo.arch.Register', 'Register', (['"""spr06d"""', '(4)', '(4532)'], {}), "('spr06d', 4, 4532)\n", (8432, 8451), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8463, 8490), 'archinfo.arch.Register', 'Register', (['"""spr06e"""', '(4)', '(4536)'], {}), "('spr06e', 4, 4536)\n", (8471, 8490), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8502, 8529), 'archinfo.arch.Register', 'Register', (['"""spr06f"""', '(4)', '(4540)'], {}), "('spr06f', 4, 4540)\n", (8510, 8529), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8541, 8568), 'archinfo.arch.Register', 'Register', (['"""spr070"""', '(4)', '(4544)'], {}), "('spr070', 4, 4544)\n", (8549, 8568), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8580, 8607), 'archinfo.arch.Register', 'Register', (['"""spr071"""', '(4)', '(4548)'], {}), "('spr071', 4, 4548)\n", (8588, 8607), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8619, 8646), 'archinfo.arch.Register', 'Register', (['"""spr072"""', '(4)', '(4552)'], {}), "('spr072', 4, 4552)\n", (8627, 8646), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8658, 8685), 'archinfo.arch.Register', 'Register', (['"""spr073"""', '(4)', '(4556)'], {}), "('spr073', 4, 4556)\n", (8666, 8685), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8697, 8724), 'archinfo.arch.Register', 'Register', (['"""spr074"""', '(4)', '(4560)'], {}), "('spr074', 4, 4560)\n", (8705, 8724), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8736, 8763), 'archinfo.arch.Register', 'Register', (['"""spr075"""', '(4)', '(4564)'], {}), "('spr075', 4, 4564)\n", (8744, 8763), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8775, 8802), 'archinfo.arch.Register', 'Register', (['"""spr076"""', '(4)', '(4568)'], {}), "('spr076', 4, 4568)\n", (8783, 8802), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8814, 8841), 'archinfo.arch.Register', 'Register', (['"""spr077"""', '(4)', '(4572)'], {}), "('spr077', 4, 4572)\n", (8822, 8841), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8853, 8880), 'archinfo.arch.Register', 'Register', (['"""spr078"""', '(4)', '(4576)'], {}), "('spr078', 4, 4576)\n", (8861, 8880), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8892, 8919), 'archinfo.arch.Register', 'Register', (['"""spr079"""', '(4)', '(4580)'], {}), "('spr079', 4, 4580)\n", (8900, 8919), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8931, 8958), 'archinfo.arch.Register', 'Register', (['"""spr07a"""', '(4)', '(4584)'], {}), "('spr07a', 4, 4584)\n", (8939, 8958), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((8970, 8997), 'archinfo.arch.Register', 'Register', (['"""spr07b"""', '(4)', '(4588)'], {}), "('spr07b', 4, 4588)\n", (8978, 8997), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9009, 9036), 'archinfo.arch.Register', 'Register', (['"""spr07c"""', '(4)', '(4592)'], {}), "('spr07c', 4, 4592)\n", (9017, 9036), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9048, 9075), 'archinfo.arch.Register', 'Register', (['"""spr07d"""', '(4)', '(4596)'], {}), "('spr07d', 4, 4596)\n", (9056, 9075), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9087, 9114), 'archinfo.arch.Register', 'Register', (['"""spr07e"""', '(4)', '(4600)'], {}), "('spr07e', 4, 4600)\n", (9095, 9114), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9126, 9153), 'archinfo.arch.Register', 'Register', (['"""spr07f"""', '(4)', '(4604)'], {}), "('spr07f', 4, 4604)\n", (9134, 9153), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9165, 9192), 'archinfo.arch.Register', 'Register', (['"""spr080"""', '(4)', '(4608)'], {}), "('spr080', 4, 4608)\n", (9173, 9192), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9204, 9231), 'archinfo.arch.Register', 'Register', (['"""spr081"""', '(4)', '(4612)'], {}), "('spr081', 4, 4612)\n", (9212, 9231), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9243, 9270), 'archinfo.arch.Register', 'Register', (['"""spr082"""', '(4)', '(4616)'], {}), "('spr082', 4, 4616)\n", (9251, 9270), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9282, 9309), 'archinfo.arch.Register', 'Register', (['"""spr083"""', '(4)', '(4620)'], {}), "('spr083', 4, 4620)\n", (9290, 9309), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9321, 9348), 'archinfo.arch.Register', 'Register', (['"""spr084"""', '(4)', '(4624)'], {}), "('spr084', 4, 4624)\n", (9329, 9348), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9360, 9387), 'archinfo.arch.Register', 'Register', (['"""spr085"""', '(4)', '(4628)'], {}), "('spr085', 4, 4628)\n", (9368, 9387), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9399, 9426), 'archinfo.arch.Register', 'Register', (['"""spr086"""', '(4)', '(4632)'], {}), "('spr086', 4, 4632)\n", (9407, 9426), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9438, 9465), 'archinfo.arch.Register', 'Register', (['"""spr087"""', '(4)', '(4636)'], {}), "('spr087', 4, 4636)\n", (9446, 9465), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9477, 9504), 'archinfo.arch.Register', 'Register', (['"""spr088"""', '(4)', '(4640)'], {}), "('spr088', 4, 4640)\n", (9485, 9504), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9516, 9543), 'archinfo.arch.Register', 'Register', (['"""spr089"""', '(4)', '(4644)'], {}), "('spr089', 4, 4644)\n", (9524, 9543), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9555, 9582), 'archinfo.arch.Register', 'Register', (['"""spr08a"""', '(4)', '(4648)'], {}), "('spr08a', 4, 4648)\n", (9563, 9582), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9594, 9621), 'archinfo.arch.Register', 'Register', (['"""spr08b"""', '(4)', '(4652)'], {}), "('spr08b', 4, 4652)\n", (9602, 9621), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9633, 9660), 'archinfo.arch.Register', 'Register', (['"""spr08c"""', '(4)', '(4656)'], {}), "('spr08c', 4, 4656)\n", (9641, 9660), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9672, 9699), 'archinfo.arch.Register', 'Register', (['"""spr08d"""', '(4)', '(4660)'], {}), "('spr08d', 4, 4660)\n", (9680, 9699), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9711, 9738), 'archinfo.arch.Register', 'Register', (['"""spr08e"""', '(4)', '(4664)'], {}), "('spr08e', 4, 4664)\n", (9719, 9738), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9750, 9777), 'archinfo.arch.Register', 'Register', (['"""spr08f"""', '(4)', '(4668)'], {}), "('spr08f', 4, 4668)\n", (9758, 9777), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9789, 9816), 'archinfo.arch.Register', 'Register', (['"""spr090"""', '(4)', '(4672)'], {}), "('spr090', 4, 4672)\n", (9797, 9816), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9828, 9855), 'archinfo.arch.Register', 'Register', (['"""spr091"""', '(4)', '(4676)'], {}), "('spr091', 4, 4676)\n", (9836, 9855), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9867, 9894), 'archinfo.arch.Register', 'Register', (['"""spr092"""', '(4)', '(4680)'], {}), "('spr092', 4, 4680)\n", (9875, 9894), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9906, 9933), 'archinfo.arch.Register', 'Register', (['"""spr093"""', '(4)', '(4684)'], {}), "('spr093', 4, 4684)\n", (9914, 9933), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9945, 9972), 'archinfo.arch.Register', 'Register', (['"""spr094"""', '(4)', '(4688)'], {}), "('spr094', 4, 4688)\n", (9953, 9972), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((9984, 10011), 'archinfo.arch.Register', 'Register', (['"""spr095"""', '(4)', '(4692)'], {}), "('spr095', 4, 4692)\n", (9992, 10011), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10023, 10050), 'archinfo.arch.Register', 'Register', (['"""spr096"""', '(4)', '(4696)'], {}), "('spr096', 4, 4696)\n", (10031, 10050), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10062, 10089), 'archinfo.arch.Register', 'Register', (['"""spr097"""', '(4)', '(4700)'], {}), "('spr097', 4, 4700)\n", (10070, 10089), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10101, 10128), 'archinfo.arch.Register', 'Register', (['"""spr098"""', '(4)', '(4704)'], {}), "('spr098', 4, 4704)\n", (10109, 10128), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10140, 10167), 'archinfo.arch.Register', 'Register', (['"""spr099"""', '(4)', '(4708)'], {}), "('spr099', 4, 4708)\n", (10148, 10167), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10179, 10206), 'archinfo.arch.Register', 'Register', (['"""spr09a"""', '(4)', '(4712)'], {}), "('spr09a', 4, 4712)\n", (10187, 10206), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10218, 10245), 'archinfo.arch.Register', 'Register', (['"""spr09b"""', '(4)', '(4716)'], {}), "('spr09b', 4, 4716)\n", (10226, 10245), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10257, 10284), 'archinfo.arch.Register', 'Register', (['"""spr09c"""', '(4)', '(4720)'], {}), "('spr09c', 4, 4720)\n", (10265, 10284), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10296, 10323), 'archinfo.arch.Register', 'Register', (['"""spr09d"""', '(4)', '(4724)'], {}), "('spr09d', 4, 4724)\n", (10304, 10323), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10335, 10362), 'archinfo.arch.Register', 'Register', (['"""spr09e"""', '(4)', '(4728)'], {}), "('spr09e', 4, 4728)\n", (10343, 10362), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10374, 10401), 'archinfo.arch.Register', 'Register', (['"""spr09f"""', '(4)', '(4732)'], {}), "('spr09f', 4, 4732)\n", (10382, 10401), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10413, 10440), 'archinfo.arch.Register', 'Register', (['"""spr0a0"""', '(4)', '(4736)'], {}), "('spr0a0', 4, 4736)\n", (10421, 10440), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10452, 10479), 'archinfo.arch.Register', 'Register', (['"""spr0a1"""', '(4)', '(4740)'], {}), "('spr0a1', 4, 4740)\n", (10460, 10479), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10491, 10518), 'archinfo.arch.Register', 'Register', (['"""spr0a2"""', '(4)', '(4744)'], {}), "('spr0a2', 4, 4744)\n", (10499, 10518), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10530, 10557), 'archinfo.arch.Register', 'Register', (['"""spr0a3"""', '(4)', '(4748)'], {}), "('spr0a3', 4, 4748)\n", (10538, 10557), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10569, 10596), 'archinfo.arch.Register', 'Register', (['"""spr0a4"""', '(4)', '(4752)'], {}), "('spr0a4', 4, 4752)\n", (10577, 10596), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10608, 10635), 'archinfo.arch.Register', 'Register', (['"""spr0a5"""', '(4)', '(4756)'], {}), "('spr0a5', 4, 4756)\n", (10616, 10635), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10647, 10674), 'archinfo.arch.Register', 'Register', (['"""spr0a6"""', '(4)', '(4760)'], {}), "('spr0a6', 4, 4760)\n", (10655, 10674), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10686, 10713), 'archinfo.arch.Register', 'Register', (['"""spr0a7"""', '(4)', '(4764)'], {}), "('spr0a7', 4, 4764)\n", (10694, 10713), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10725, 10752), 'archinfo.arch.Register', 'Register', (['"""spr0a8"""', '(4)', '(4768)'], {}), "('spr0a8', 4, 4768)\n", (10733, 10752), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10764, 10791), 'archinfo.arch.Register', 'Register', (['"""spr0a9"""', '(4)', '(4772)'], {}), "('spr0a9', 4, 4772)\n", (10772, 10791), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10803, 10830), 'archinfo.arch.Register', 'Register', (['"""spr0aa"""', '(4)', '(4776)'], {}), "('spr0aa', 4, 4776)\n", (10811, 10830), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10842, 10869), 'archinfo.arch.Register', 'Register', (['"""spr0ab"""', '(4)', '(4780)'], {}), "('spr0ab', 4, 4780)\n", (10850, 10869), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10881, 10908), 'archinfo.arch.Register', 'Register', (['"""spr0ac"""', '(4)', '(4784)'], {}), "('spr0ac', 4, 4784)\n", (10889, 10908), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10920, 10947), 'archinfo.arch.Register', 'Register', (['"""spr0ad"""', '(4)', '(4788)'], {}), "('spr0ad', 4, 4788)\n", (10928, 10947), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10959, 10986), 'archinfo.arch.Register', 'Register', (['"""spr0ae"""', '(4)', '(4792)'], {}), "('spr0ae', 4, 4792)\n", (10967, 10986), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((10998, 11025), 'archinfo.arch.Register', 'Register', (['"""spr0af"""', '(4)', '(4796)'], {}), "('spr0af', 4, 4796)\n", (11006, 11025), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11037, 11064), 'archinfo.arch.Register', 'Register', (['"""spr0b0"""', '(4)', '(4800)'], {}), "('spr0b0', 4, 4800)\n", (11045, 11064), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11076, 11103), 'archinfo.arch.Register', 'Register', (['"""spr0b1"""', '(4)', '(4804)'], {}), "('spr0b1', 4, 4804)\n", (11084, 11103), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11115, 11142), 'archinfo.arch.Register', 'Register', (['"""spr0b2"""', '(4)', '(4808)'], {}), "('spr0b2', 4, 4808)\n", (11123, 11142), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11154, 11181), 'archinfo.arch.Register', 'Register', (['"""spr0b3"""', '(4)', '(4812)'], {}), "('spr0b3', 4, 4812)\n", (11162, 11181), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11193, 11220), 'archinfo.arch.Register', 'Register', (['"""spr0b4"""', '(4)', '(4816)'], {}), "('spr0b4', 4, 4816)\n", (11201, 11220), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11232, 11259), 'archinfo.arch.Register', 'Register', (['"""spr0b5"""', '(4)', '(4820)'], {}), "('spr0b5', 4, 4820)\n", (11240, 11259), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11271, 11298), 'archinfo.arch.Register', 'Register', (['"""spr0b6"""', '(4)', '(4824)'], {}), "('spr0b6', 4, 4824)\n", (11279, 11298), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11310, 11337), 'archinfo.arch.Register', 'Register', (['"""spr0b7"""', '(4)', '(4828)'], {}), "('spr0b7', 4, 4828)\n", (11318, 11337), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11349, 11376), 'archinfo.arch.Register', 'Register', (['"""spr0b8"""', '(4)', '(4832)'], {}), "('spr0b8', 4, 4832)\n", (11357, 11376), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11388, 11415), 'archinfo.arch.Register', 'Register', (['"""spr0b9"""', '(4)', '(4836)'], {}), "('spr0b9', 4, 4836)\n", (11396, 11415), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11427, 11454), 'archinfo.arch.Register', 'Register', (['"""spr0ba"""', '(4)', '(4840)'], {}), "('spr0ba', 4, 4840)\n", (11435, 11454), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11466, 11493), 'archinfo.arch.Register', 'Register', (['"""spr0bb"""', '(4)', '(4844)'], {}), "('spr0bb', 4, 4844)\n", (11474, 11493), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11505, 11532), 'archinfo.arch.Register', 'Register', (['"""spr0bc"""', '(4)', '(4848)'], {}), "('spr0bc', 4, 4848)\n", (11513, 11532), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11544, 11571), 'archinfo.arch.Register', 'Register', (['"""spr0bd"""', '(4)', '(4852)'], {}), "('spr0bd', 4, 4852)\n", (11552, 11571), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11583, 11610), 'archinfo.arch.Register', 'Register', (['"""spr0be"""', '(4)', '(4856)'], {}), "('spr0be', 4, 4856)\n", (11591, 11610), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11622, 11649), 'archinfo.arch.Register', 'Register', (['"""spr0bf"""', '(4)', '(4860)'], {}), "('spr0bf', 4, 4860)\n", (11630, 11649), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11661, 11688), 'archinfo.arch.Register', 'Register', (['"""spr0c0"""', '(4)', '(4864)'], {}), "('spr0c0', 4, 4864)\n", (11669, 11688), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11700, 11727), 'archinfo.arch.Register', 'Register', (['"""spr0c1"""', '(4)', '(4868)'], {}), "('spr0c1', 4, 4868)\n", (11708, 11727), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11739, 11766), 'archinfo.arch.Register', 'Register', (['"""spr0c2"""', '(4)', '(4872)'], {}), "('spr0c2', 4, 4872)\n", (11747, 11766), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11778, 11805), 'archinfo.arch.Register', 'Register', (['"""spr0c3"""', '(4)', '(4876)'], {}), "('spr0c3', 4, 4876)\n", (11786, 11805), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11817, 11844), 'archinfo.arch.Register', 'Register', (['"""spr0c4"""', '(4)', '(4880)'], {}), "('spr0c4', 4, 4880)\n", (11825, 11844), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11856, 11883), 'archinfo.arch.Register', 'Register', (['"""spr0c5"""', '(4)', '(4884)'], {}), "('spr0c5', 4, 4884)\n", (11864, 11883), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11895, 11922), 'archinfo.arch.Register', 'Register', (['"""spr0c6"""', '(4)', '(4888)'], {}), "('spr0c6', 4, 4888)\n", (11903, 11922), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11934, 11961), 'archinfo.arch.Register', 'Register', (['"""spr0c7"""', '(4)', '(4892)'], {}), "('spr0c7', 4, 4892)\n", (11942, 11961), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((11973, 12000), 'archinfo.arch.Register', 'Register', (['"""spr0c8"""', '(4)', '(4896)'], {}), "('spr0c8', 4, 4896)\n", (11981, 12000), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12012, 12039), 'archinfo.arch.Register', 'Register', (['"""spr0c9"""', '(4)', '(4900)'], {}), "('spr0c9', 4, 4900)\n", (12020, 12039), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12051, 12078), 'archinfo.arch.Register', 'Register', (['"""spr0ca"""', '(4)', '(4904)'], {}), "('spr0ca', 4, 4904)\n", (12059, 12078), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12090, 12117), 'archinfo.arch.Register', 'Register', (['"""spr0cb"""', '(4)', '(4908)'], {}), "('spr0cb', 4, 4908)\n", (12098, 12117), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12129, 12156), 'archinfo.arch.Register', 'Register', (['"""spr0cc"""', '(4)', '(4912)'], {}), "('spr0cc', 4, 4912)\n", (12137, 12156), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12168, 12195), 'archinfo.arch.Register', 'Register', (['"""spr0cd"""', '(4)', '(4916)'], {}), "('spr0cd', 4, 4916)\n", (12176, 12195), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12207, 12234), 'archinfo.arch.Register', 'Register', (['"""spr0ce"""', '(4)', '(4920)'], {}), "('spr0ce', 4, 4920)\n", (12215, 12234), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12246, 12273), 'archinfo.arch.Register', 'Register', (['"""spr0cf"""', '(4)', '(4924)'], {}), "('spr0cf', 4, 4924)\n", (12254, 12273), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12285, 12312), 'archinfo.arch.Register', 'Register', (['"""spr0d0"""', '(4)', '(4928)'], {}), "('spr0d0', 4, 4928)\n", (12293, 12312), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12324, 12351), 'archinfo.arch.Register', 'Register', (['"""spr0d1"""', '(4)', '(4932)'], {}), "('spr0d1', 4, 4932)\n", (12332, 12351), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12363, 12390), 'archinfo.arch.Register', 'Register', (['"""spr0d2"""', '(4)', '(4936)'], {}), "('spr0d2', 4, 4936)\n", (12371, 12390), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12402, 12429), 'archinfo.arch.Register', 'Register', (['"""spr0d3"""', '(4)', '(4940)'], {}), "('spr0d3', 4, 4940)\n", (12410, 12429), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12441, 12468), 'archinfo.arch.Register', 'Register', (['"""spr0d4"""', '(4)', '(4944)'], {}), "('spr0d4', 4, 4944)\n", (12449, 12468), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12480, 12507), 'archinfo.arch.Register', 'Register', (['"""spr0d5"""', '(4)', '(4948)'], {}), "('spr0d5', 4, 4948)\n", (12488, 12507), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12519, 12546), 'archinfo.arch.Register', 'Register', (['"""spr0d6"""', '(4)', '(4952)'], {}), "('spr0d6', 4, 4952)\n", (12527, 12546), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12558, 12585), 'archinfo.arch.Register', 'Register', (['"""spr0d7"""', '(4)', '(4956)'], {}), "('spr0d7', 4, 4956)\n", (12566, 12585), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12597, 12624), 'archinfo.arch.Register', 'Register', (['"""spr0d8"""', '(4)', '(4960)'], {}), "('spr0d8', 4, 4960)\n", (12605, 12624), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12636, 12663), 'archinfo.arch.Register', 'Register', (['"""spr0d9"""', '(4)', '(4964)'], {}), "('spr0d9', 4, 4964)\n", (12644, 12663), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12675, 12702), 'archinfo.arch.Register', 'Register', (['"""spr0da"""', '(4)', '(4968)'], {}), "('spr0da', 4, 4968)\n", (12683, 12702), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12714, 12741), 'archinfo.arch.Register', 'Register', (['"""spr0db"""', '(4)', '(4972)'], {}), "('spr0db', 4, 4972)\n", (12722, 12741), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12753, 12780), 'archinfo.arch.Register', 'Register', (['"""spr0dc"""', '(4)', '(4976)'], {}), "('spr0dc', 4, 4976)\n", (12761, 12780), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12792, 12819), 'archinfo.arch.Register', 'Register', (['"""spr0dd"""', '(4)', '(4980)'], {}), "('spr0dd', 4, 4980)\n", (12800, 12819), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12831, 12858), 'archinfo.arch.Register', 'Register', (['"""spr0de"""', '(4)', '(4984)'], {}), "('spr0de', 4, 4984)\n", (12839, 12858), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12870, 12897), 'archinfo.arch.Register', 'Register', (['"""spr0df"""', '(4)', '(4988)'], {}), "('spr0df', 4, 4988)\n", (12878, 12897), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12909, 12936), 'archinfo.arch.Register', 'Register', (['"""spr0e0"""', '(4)', '(4992)'], {}), "('spr0e0', 4, 4992)\n", (12917, 12936), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12948, 12975), 'archinfo.arch.Register', 'Register', (['"""spr0e1"""', '(4)', '(4996)'], {}), "('spr0e1', 4, 4996)\n", (12956, 12975), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((12987, 13014), 'archinfo.arch.Register', 'Register', (['"""spr0e2"""', '(4)', '(5000)'], {}), "('spr0e2', 4, 5000)\n", (12995, 13014), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13026, 13053), 'archinfo.arch.Register', 'Register', (['"""spr0e3"""', '(4)', '(5004)'], {}), "('spr0e3', 4, 5004)\n", (13034, 13053), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13065, 13092), 'archinfo.arch.Register', 'Register', (['"""spr0e4"""', '(4)', '(5008)'], {}), "('spr0e4', 4, 5008)\n", (13073, 13092), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13104, 13131), 'archinfo.arch.Register', 'Register', (['"""spr0e5"""', '(4)', '(5012)'], {}), "('spr0e5', 4, 5012)\n", (13112, 13131), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13143, 13170), 'archinfo.arch.Register', 'Register', (['"""spr0e6"""', '(4)', '(5016)'], {}), "('spr0e6', 4, 5016)\n", (13151, 13170), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13182, 13209), 'archinfo.arch.Register', 'Register', (['"""spr0e7"""', '(4)', '(5020)'], {}), "('spr0e7', 4, 5020)\n", (13190, 13209), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13221, 13248), 'archinfo.arch.Register', 'Register', (['"""spr0e8"""', '(4)', '(5024)'], {}), "('spr0e8', 4, 5024)\n", (13229, 13248), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13260, 13287), 'archinfo.arch.Register', 'Register', (['"""spr0e9"""', '(4)', '(5028)'], {}), "('spr0e9', 4, 5028)\n", (13268, 13287), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13299, 13326), 'archinfo.arch.Register', 'Register', (['"""spr0ea"""', '(4)', '(5032)'], {}), "('spr0ea', 4, 5032)\n", (13307, 13326), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13338, 13365), 'archinfo.arch.Register', 'Register', (['"""spr0eb"""', '(4)', '(5036)'], {}), "('spr0eb', 4, 5036)\n", (13346, 13365), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13377, 13404), 'archinfo.arch.Register', 'Register', (['"""spr0ec"""', '(4)', '(5040)'], {}), "('spr0ec', 4, 5040)\n", (13385, 13404), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13416, 13443), 'archinfo.arch.Register', 'Register', (['"""spr0ed"""', '(4)', '(5044)'], {}), "('spr0ed', 4, 5044)\n", (13424, 13443), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13455, 13482), 'archinfo.arch.Register', 'Register', (['"""spr0ee"""', '(4)', '(5048)'], {}), "('spr0ee', 4, 5048)\n", (13463, 13482), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13494, 13521), 'archinfo.arch.Register', 'Register', (['"""spr0ef"""', '(4)', '(5052)'], {}), "('spr0ef', 4, 5052)\n", (13502, 13521), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13533, 13560), 'archinfo.arch.Register', 'Register', (['"""spr0f0"""', '(4)', '(5056)'], {}), "('spr0f0', 4, 5056)\n", (13541, 13560), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13572, 13599), 'archinfo.arch.Register', 'Register', (['"""spr0f1"""', '(4)', '(5060)'], {}), "('spr0f1', 4, 5060)\n", (13580, 13599), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13611, 13638), 'archinfo.arch.Register', 'Register', (['"""spr0f2"""', '(4)', '(5064)'], {}), "('spr0f2', 4, 5064)\n", (13619, 13638), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13650, 13677), 'archinfo.arch.Register', 'Register', (['"""spr0f3"""', '(4)', '(5068)'], {}), "('spr0f3', 4, 5068)\n", (13658, 13677), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13689, 13716), 'archinfo.arch.Register', 'Register', (['"""spr0f4"""', '(4)', '(5072)'], {}), "('spr0f4', 4, 5072)\n", (13697, 13716), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13728, 13755), 'archinfo.arch.Register', 'Register', (['"""spr0f5"""', '(4)', '(5076)'], {}), "('spr0f5', 4, 5076)\n", (13736, 13755), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13767, 13794), 'archinfo.arch.Register', 'Register', (['"""spr0f6"""', '(4)', '(5080)'], {}), "('spr0f6', 4, 5080)\n", (13775, 13794), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13806, 13833), 'archinfo.arch.Register', 'Register', (['"""spr0f7"""', '(4)', '(5084)'], {}), "('spr0f7', 4, 5084)\n", (13814, 13833), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13845, 13872), 'archinfo.arch.Register', 'Register', (['"""spr0f8"""', '(4)', '(5088)'], {}), "('spr0f8', 4, 5088)\n", (13853, 13872), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13884, 13911), 'archinfo.arch.Register', 'Register', (['"""spr0f9"""', '(4)', '(5092)'], {}), "('spr0f9', 4, 5092)\n", (13892, 13911), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13923, 13950), 'archinfo.arch.Register', 'Register', (['"""spr0fa"""', '(4)', '(5096)'], {}), "('spr0fa', 4, 5096)\n", (13931, 13950), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((13962, 13989), 'archinfo.arch.Register', 'Register', (['"""spr0fb"""', '(4)', '(5100)'], {}), "('spr0fb', 4, 5100)\n", (13970, 13989), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14001, 14028), 'archinfo.arch.Register', 'Register', (['"""spr0fc"""', '(4)', '(5104)'], {}), "('spr0fc', 4, 5104)\n", (14009, 14028), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14040, 14067), 'archinfo.arch.Register', 'Register', (['"""spr0fd"""', '(4)', '(5108)'], {}), "('spr0fd', 4, 5108)\n", (14048, 14067), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14079, 14106), 'archinfo.arch.Register', 'Register', (['"""spr0fe"""', '(4)', '(5112)'], {}), "('spr0fe', 4, 5112)\n", (14087, 14106), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14118, 14145), 'archinfo.arch.Register', 'Register', (['"""spr0ff"""', '(4)', '(5116)'], {}), "('spr0ff', 4, 5116)\n", (14126, 14145), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14157, 14184), 'archinfo.arch.Register', 'Register', (['"""spr100"""', '(4)', '(5120)'], {}), "('spr100', 4, 5120)\n", (14165, 14184), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14196, 14223), 'archinfo.arch.Register', 'Register', (['"""spr101"""', '(4)', '(5124)'], {}), "('spr101', 4, 5124)\n", (14204, 14223), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14235, 14262), 'archinfo.arch.Register', 'Register', (['"""spr102"""', '(4)', '(5128)'], {}), "('spr102', 4, 5128)\n", (14243, 14262), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14274, 14301), 'archinfo.arch.Register', 'Register', (['"""spr103"""', '(4)', '(5132)'], {}), "('spr103', 4, 5132)\n", (14282, 14301), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14313, 14340), 'archinfo.arch.Register', 'Register', (['"""spr104"""', '(4)', '(5136)'], {}), "('spr104', 4, 5136)\n", (14321, 14340), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14352, 14379), 'archinfo.arch.Register', 'Register', (['"""spr105"""', '(4)', '(5140)'], {}), "('spr105', 4, 5140)\n", (14360, 14379), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14391, 14418), 'archinfo.arch.Register', 'Register', (['"""spr106"""', '(4)', '(5144)'], {}), "('spr106', 4, 5144)\n", (14399, 14418), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14430, 14457), 'archinfo.arch.Register', 'Register', (['"""spr107"""', '(4)', '(5148)'], {}), "('spr107', 4, 5148)\n", (14438, 14457), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14469, 14496), 'archinfo.arch.Register', 'Register', (['"""spr108"""', '(4)', '(5152)'], {}), "('spr108', 4, 5152)\n", (14477, 14496), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14508, 14535), 'archinfo.arch.Register', 'Register', (['"""spr109"""', '(4)', '(5156)'], {}), "('spr109', 4, 5156)\n", (14516, 14535), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14547, 14574), 'archinfo.arch.Register', 'Register', (['"""spr10a"""', '(4)', '(5160)'], {}), "('spr10a', 4, 5160)\n", (14555, 14574), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14586, 14613), 'archinfo.arch.Register', 'Register', (['"""spr10b"""', '(4)', '(5164)'], {}), "('spr10b', 4, 5164)\n", (14594, 14613), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14625, 14650), 'archinfo.arch.Register', 'Register', (['"""tblr"""', '(4)', '(5168)'], {}), "('tblr', 4, 5168)\n", (14633, 14650), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14662, 14687), 'archinfo.arch.Register', 'Register', (['"""tbur"""', '(4)', '(5172)'], {}), "('tbur', 4, 5172)\n", (14670, 14687), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14699, 14726), 'archinfo.arch.Register', 'Register', (['"""spr10e"""', '(4)', '(5176)'], {}), "('spr10e', 4, 5176)\n", (14707, 14726), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14738, 14765), 'archinfo.arch.Register', 'Register', (['"""spr10f"""', '(4)', '(5180)'], {}), "('spr10f', 4, 5180)\n", (14746, 14765), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14777, 14804), 'archinfo.arch.Register', 'Register', (['"""spr110"""', '(4)', '(5184)'], {}), "('spr110', 4, 5184)\n", (14785, 14804), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14816, 14843), 'archinfo.arch.Register', 'Register', (['"""spr111"""', '(4)', '(5188)'], {}), "('spr111', 4, 5188)\n", (14824, 14843), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14855, 14882), 'archinfo.arch.Register', 'Register', (['"""spr112"""', '(4)', '(5192)'], {}), "('spr112', 4, 5192)\n", (14863, 14882), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14894, 14921), 'archinfo.arch.Register', 'Register', (['"""spr113"""', '(4)', '(5196)'], {}), "('spr113', 4, 5196)\n", (14902, 14921), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14933, 14960), 'archinfo.arch.Register', 'Register', (['"""spr114"""', '(4)', '(5200)'], {}), "('spr114', 4, 5200)\n", (14941, 14960), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((14972, 14999), 'archinfo.arch.Register', 'Register', (['"""spr115"""', '(4)', '(5204)'], {}), "('spr115', 4, 5204)\n", (14980, 14999), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15011, 15038), 'archinfo.arch.Register', 'Register', (['"""spr116"""', '(4)', '(5208)'], {}), "('spr116', 4, 5208)\n", (15019, 15038), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15050, 15077), 'archinfo.arch.Register', 'Register', (['"""spr117"""', '(4)', '(5212)'], {}), "('spr117', 4, 5212)\n", (15058, 15077), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15089, 15116), 'archinfo.arch.Register', 'Register', (['"""spr118"""', '(4)', '(5216)'], {}), "('spr118', 4, 5216)\n", (15097, 15116), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15128, 15155), 'archinfo.arch.Register', 'Register', (['"""spr119"""', '(4)', '(5220)'], {}), "('spr119', 4, 5220)\n", (15136, 15155), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15167, 15194), 'archinfo.arch.Register', 'Register', (['"""spr11a"""', '(4)', '(5224)'], {}), "('spr11a', 4, 5224)\n", (15175, 15194), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15206, 15233), 'archinfo.arch.Register', 'Register', (['"""spr11b"""', '(4)', '(5228)'], {}), "('spr11b', 4, 5228)\n", (15214, 15233), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15245, 15270), 'archinfo.arch.Register', 'Register', (['"""tblw"""', '(4)', '(5232)'], {}), "('tblw', 4, 5232)\n", (15253, 15270), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15282, 15307), 'archinfo.arch.Register', 'Register', (['"""tbuw"""', '(4)', '(5236)'], {}), "('tbuw', 4, 5236)\n", (15290, 15307), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15319, 15346), 'archinfo.arch.Register', 'Register', (['"""spr11e"""', '(4)', '(5240)'], {}), "('spr11e', 4, 5240)\n", (15327, 15346), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15358, 15385), 'archinfo.arch.Register', 'Register', (['"""spr11f"""', '(4)', '(5244)'], {}), "('spr11f', 4, 5244)\n", (15366, 15385), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15397, 15424), 'archinfo.arch.Register', 'Register', (['"""spr120"""', '(4)', '(5248)'], {}), "('spr120', 4, 5248)\n", (15405, 15424), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15436, 15463), 'archinfo.arch.Register', 'Register', (['"""spr121"""', '(4)', '(5252)'], {}), "('spr121', 4, 5252)\n", (15444, 15463), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15475, 15502), 'archinfo.arch.Register', 'Register', (['"""spr122"""', '(4)', '(5256)'], {}), "('spr122', 4, 5256)\n", (15483, 15502), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15514, 15541), 'archinfo.arch.Register', 'Register', (['"""spr123"""', '(4)', '(5260)'], {}), "('spr123', 4, 5260)\n", (15522, 15541), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15553, 15580), 'archinfo.arch.Register', 'Register', (['"""spr124"""', '(4)', '(5264)'], {}), "('spr124', 4, 5264)\n", (15561, 15580), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15592, 15619), 'archinfo.arch.Register', 'Register', (['"""spr125"""', '(4)', '(5268)'], {}), "('spr125', 4, 5268)\n", (15600, 15619), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15631, 15658), 'archinfo.arch.Register', 'Register', (['"""spr126"""', '(4)', '(5272)'], {}), "('spr126', 4, 5272)\n", (15639, 15658), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15670, 15697), 'archinfo.arch.Register', 'Register', (['"""spr127"""', '(4)', '(5276)'], {}), "('spr127', 4, 5276)\n", (15678, 15697), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15709, 15736), 'archinfo.arch.Register', 'Register', (['"""spr128"""', '(4)', '(5280)'], {}), "('spr128', 4, 5280)\n", (15717, 15736), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15748, 15775), 'archinfo.arch.Register', 'Register', (['"""spr129"""', '(4)', '(5284)'], {}), "('spr129', 4, 5284)\n", (15756, 15775), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15787, 15814), 'archinfo.arch.Register', 'Register', (['"""spr12a"""', '(4)', '(5288)'], {}), "('spr12a', 4, 5288)\n", (15795, 15814), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15826, 15853), 'archinfo.arch.Register', 'Register', (['"""spr12b"""', '(4)', '(5292)'], {}), "('spr12b', 4, 5292)\n", (15834, 15853), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15865, 15892), 'archinfo.arch.Register', 'Register', (['"""spr12c"""', '(4)', '(5296)'], {}), "('spr12c', 4, 5296)\n", (15873, 15892), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15904, 15931), 'archinfo.arch.Register', 'Register', (['"""spr12d"""', '(4)', '(5300)'], {}), "('spr12d', 4, 5300)\n", (15912, 15931), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15943, 15970), 'archinfo.arch.Register', 'Register', (['"""spr12e"""', '(4)', '(5304)'], {}), "('spr12e', 4, 5304)\n", (15951, 15970), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((15982, 16009), 'archinfo.arch.Register', 'Register', (['"""spr12f"""', '(4)', '(5308)'], {}), "('spr12f', 4, 5308)\n", (15990, 16009), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16021, 16048), 'archinfo.arch.Register', 'Register', (['"""spr130"""', '(4)', '(5312)'], {}), "('spr130', 4, 5312)\n", (16029, 16048), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16060, 16087), 'archinfo.arch.Register', 'Register', (['"""spr131"""', '(4)', '(5316)'], {}), "('spr131', 4, 5316)\n", (16068, 16087), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16099, 16126), 'archinfo.arch.Register', 'Register', (['"""spr132"""', '(4)', '(5320)'], {}), "('spr132', 4, 5320)\n", (16107, 16126), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16138, 16165), 'archinfo.arch.Register', 'Register', (['"""spr133"""', '(4)', '(5324)'], {}), "('spr133', 4, 5324)\n", (16146, 16165), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16177, 16204), 'archinfo.arch.Register', 'Register', (['"""spr134"""', '(4)', '(5328)'], {}), "('spr134', 4, 5328)\n", (16185, 16204), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16216, 16243), 'archinfo.arch.Register', 'Register', (['"""spr135"""', '(4)', '(5332)'], {}), "('spr135', 4, 5332)\n", (16224, 16243), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16255, 16282), 'archinfo.arch.Register', 'Register', (['"""spr136"""', '(4)', '(5336)'], {}), "('spr136', 4, 5336)\n", (16263, 16282), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16294, 16321), 'archinfo.arch.Register', 'Register', (['"""spr137"""', '(4)', '(5340)'], {}), "('spr137', 4, 5340)\n", (16302, 16321), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16333, 16360), 'archinfo.arch.Register', 'Register', (['"""spr138"""', '(4)', '(5344)'], {}), "('spr138', 4, 5344)\n", (16341, 16360), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16372, 16399), 'archinfo.arch.Register', 'Register', (['"""spr139"""', '(4)', '(5348)'], {}), "('spr139', 4, 5348)\n", (16380, 16399), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16411, 16438), 'archinfo.arch.Register', 'Register', (['"""spr13a"""', '(4)', '(5352)'], {}), "('spr13a', 4, 5352)\n", (16419, 16438), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16450, 16477), 'archinfo.arch.Register', 'Register', (['"""spr13b"""', '(4)', '(5356)'], {}), "('spr13b', 4, 5356)\n", (16458, 16477), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16489, 16516), 'archinfo.arch.Register', 'Register', (['"""spr13c"""', '(4)', '(5360)'], {}), "('spr13c', 4, 5360)\n", (16497, 16516), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16528, 16555), 'archinfo.arch.Register', 'Register', (['"""spr13d"""', '(4)', '(5364)'], {}), "('spr13d', 4, 5364)\n", (16536, 16555), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16567, 16594), 'archinfo.arch.Register', 'Register', (['"""spr13e"""', '(4)', '(5368)'], {}), "('spr13e', 4, 5368)\n", (16575, 16594), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16606, 16633), 'archinfo.arch.Register', 'Register', (['"""spr13f"""', '(4)', '(5372)'], {}), "('spr13f', 4, 5372)\n", (16614, 16633), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16645, 16672), 'archinfo.arch.Register', 'Register', (['"""spr140"""', '(4)', '(5376)'], {}), "('spr140', 4, 5376)\n", (16653, 16672), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16684, 16711), 'archinfo.arch.Register', 'Register', (['"""spr141"""', '(4)', '(5380)'], {}), "('spr141', 4, 5380)\n", (16692, 16711), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16723, 16750), 'archinfo.arch.Register', 'Register', (['"""spr142"""', '(4)', '(5384)'], {}), "('spr142', 4, 5384)\n", (16731, 16750), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16762, 16789), 'archinfo.arch.Register', 'Register', (['"""spr143"""', '(4)', '(5388)'], {}), "('spr143', 4, 5388)\n", (16770, 16789), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16801, 16828), 'archinfo.arch.Register', 'Register', (['"""spr144"""', '(4)', '(5392)'], {}), "('spr144', 4, 5392)\n", (16809, 16828), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16840, 16867), 'archinfo.arch.Register', 'Register', (['"""spr145"""', '(4)', '(5396)'], {}), "('spr145', 4, 5396)\n", (16848, 16867), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16879, 16906), 'archinfo.arch.Register', 'Register', (['"""spr146"""', '(4)', '(5400)'], {}), "('spr146', 4, 5400)\n", (16887, 16906), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16918, 16945), 'archinfo.arch.Register', 'Register', (['"""spr147"""', '(4)', '(5404)'], {}), "('spr147', 4, 5404)\n", (16926, 16945), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16957, 16984), 'archinfo.arch.Register', 'Register', (['"""spr148"""', '(4)', '(5408)'], {}), "('spr148', 4, 5408)\n", (16965, 16984), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((16996, 17023), 'archinfo.arch.Register', 'Register', (['"""spr149"""', '(4)', '(5412)'], {}), "('spr149', 4, 5412)\n", (17004, 17023), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17035, 17062), 'archinfo.arch.Register', 'Register', (['"""spr14a"""', '(4)', '(5416)'], {}), "('spr14a', 4, 5416)\n", (17043, 17062), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17074, 17101), 'archinfo.arch.Register', 'Register', (['"""spr14b"""', '(4)', '(5420)'], {}), "('spr14b', 4, 5420)\n", (17082, 17101), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17113, 17140), 'archinfo.arch.Register', 'Register', (['"""spr14c"""', '(4)', '(5424)'], {}), "('spr14c', 4, 5424)\n", (17121, 17140), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17152, 17179), 'archinfo.arch.Register', 'Register', (['"""spr14d"""', '(4)', '(5428)'], {}), "('spr14d', 4, 5428)\n", (17160, 17179), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17191, 17218), 'archinfo.arch.Register', 'Register', (['"""spr14e"""', '(4)', '(5432)'], {}), "('spr14e', 4, 5432)\n", (17199, 17218), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17230, 17257), 'archinfo.arch.Register', 'Register', (['"""spr14f"""', '(4)', '(5436)'], {}), "('spr14f', 4, 5436)\n", (17238, 17257), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17269, 17296), 'archinfo.arch.Register', 'Register', (['"""spr150"""', '(4)', '(5440)'], {}), "('spr150', 4, 5440)\n", (17277, 17296), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17308, 17335), 'archinfo.arch.Register', 'Register', (['"""spr151"""', '(4)', '(5444)'], {}), "('spr151', 4, 5444)\n", (17316, 17335), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17347, 17374), 'archinfo.arch.Register', 'Register', (['"""spr152"""', '(4)', '(5448)'], {}), "('spr152', 4, 5448)\n", (17355, 17374), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17386, 17413), 'archinfo.arch.Register', 'Register', (['"""spr153"""', '(4)', '(5452)'], {}), "('spr153', 4, 5452)\n", (17394, 17413), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17425, 17452), 'archinfo.arch.Register', 'Register', (['"""spr154"""', '(4)', '(5456)'], {}), "('spr154', 4, 5456)\n", (17433, 17452), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17464, 17491), 'archinfo.arch.Register', 'Register', (['"""spr155"""', '(4)', '(5460)'], {}), "('spr155', 4, 5460)\n", (17472, 17491), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17503, 17530), 'archinfo.arch.Register', 'Register', (['"""spr156"""', '(4)', '(5464)'], {}), "('spr156', 4, 5464)\n", (17511, 17530), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17542, 17569), 'archinfo.arch.Register', 'Register', (['"""spr157"""', '(4)', '(5468)'], {}), "('spr157', 4, 5468)\n", (17550, 17569), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17581, 17608), 'archinfo.arch.Register', 'Register', (['"""spr158"""', '(4)', '(5472)'], {}), "('spr158', 4, 5472)\n", (17589, 17608), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17620, 17647), 'archinfo.arch.Register', 'Register', (['"""spr159"""', '(4)', '(5476)'], {}), "('spr159', 4, 5476)\n", (17628, 17647), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17659, 17686), 'archinfo.arch.Register', 'Register', (['"""spr15a"""', '(4)', '(5480)'], {}), "('spr15a', 4, 5480)\n", (17667, 17686), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17698, 17725), 'archinfo.arch.Register', 'Register', (['"""spr15b"""', '(4)', '(5484)'], {}), "('spr15b', 4, 5484)\n", (17706, 17725), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17737, 17764), 'archinfo.arch.Register', 'Register', (['"""spr15c"""', '(4)', '(5488)'], {}), "('spr15c', 4, 5488)\n", (17745, 17764), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17776, 17803), 'archinfo.arch.Register', 'Register', (['"""spr15d"""', '(4)', '(5492)'], {}), "('spr15d', 4, 5492)\n", (17784, 17803), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17815, 17842), 'archinfo.arch.Register', 'Register', (['"""spr15e"""', '(4)', '(5496)'], {}), "('spr15e', 4, 5496)\n", (17823, 17842), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17854, 17881), 'archinfo.arch.Register', 'Register', (['"""spr15f"""', '(4)', '(5500)'], {}), "('spr15f', 4, 5500)\n", (17862, 17881), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17893, 17920), 'archinfo.arch.Register', 'Register', (['"""spr160"""', '(4)', '(5504)'], {}), "('spr160', 4, 5504)\n", (17901, 17920), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17932, 17959), 'archinfo.arch.Register', 'Register', (['"""spr161"""', '(4)', '(5508)'], {}), "('spr161', 4, 5508)\n", (17940, 17959), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((17971, 17998), 'archinfo.arch.Register', 'Register', (['"""spr162"""', '(4)', '(5512)'], {}), "('spr162', 4, 5512)\n", (17979, 17998), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18010, 18037), 'archinfo.arch.Register', 'Register', (['"""spr163"""', '(4)', '(5516)'], {}), "('spr163', 4, 5516)\n", (18018, 18037), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18049, 18076), 'archinfo.arch.Register', 'Register', (['"""spr164"""', '(4)', '(5520)'], {}), "('spr164', 4, 5520)\n", (18057, 18076), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18088, 18115), 'archinfo.arch.Register', 'Register', (['"""spr165"""', '(4)', '(5524)'], {}), "('spr165', 4, 5524)\n", (18096, 18115), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18127, 18154), 'archinfo.arch.Register', 'Register', (['"""spr166"""', '(4)', '(5528)'], {}), "('spr166', 4, 5528)\n", (18135, 18154), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18166, 18193), 'archinfo.arch.Register', 'Register', (['"""spr167"""', '(4)', '(5532)'], {}), "('spr167', 4, 5532)\n", (18174, 18193), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18205, 18232), 'archinfo.arch.Register', 'Register', (['"""spr168"""', '(4)', '(5536)'], {}), "('spr168', 4, 5536)\n", (18213, 18232), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18244, 18271), 'archinfo.arch.Register', 'Register', (['"""spr169"""', '(4)', '(5540)'], {}), "('spr169', 4, 5540)\n", (18252, 18271), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18283, 18310), 'archinfo.arch.Register', 'Register', (['"""spr16a"""', '(4)', '(5544)'], {}), "('spr16a', 4, 5544)\n", (18291, 18310), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18322, 18349), 'archinfo.arch.Register', 'Register', (['"""spr16b"""', '(4)', '(5548)'], {}), "('spr16b', 4, 5548)\n", (18330, 18349), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18361, 18388), 'archinfo.arch.Register', 'Register', (['"""spr16c"""', '(4)', '(5552)'], {}), "('spr16c', 4, 5552)\n", (18369, 18388), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18400, 18427), 'archinfo.arch.Register', 'Register', (['"""spr16d"""', '(4)', '(5556)'], {}), "('spr16d', 4, 5556)\n", (18408, 18427), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18439, 18466), 'archinfo.arch.Register', 'Register', (['"""spr16e"""', '(4)', '(5560)'], {}), "('spr16e', 4, 5560)\n", (18447, 18466), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18478, 18505), 'archinfo.arch.Register', 'Register', (['"""spr16f"""', '(4)', '(5564)'], {}), "('spr16f', 4, 5564)\n", (18486, 18505), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18517, 18544), 'archinfo.arch.Register', 'Register', (['"""spr170"""', '(4)', '(5568)'], {}), "('spr170', 4, 5568)\n", (18525, 18544), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18556, 18583), 'archinfo.arch.Register', 'Register', (['"""spr171"""', '(4)', '(5572)'], {}), "('spr171', 4, 5572)\n", (18564, 18583), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18595, 18622), 'archinfo.arch.Register', 'Register', (['"""spr172"""', '(4)', '(5576)'], {}), "('spr172', 4, 5576)\n", (18603, 18622), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18634, 18661), 'archinfo.arch.Register', 'Register', (['"""spr173"""', '(4)', '(5580)'], {}), "('spr173', 4, 5580)\n", (18642, 18661), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18673, 18700), 'archinfo.arch.Register', 'Register', (['"""spr174"""', '(4)', '(5584)'], {}), "('spr174', 4, 5584)\n", (18681, 18700), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18712, 18739), 'archinfo.arch.Register', 'Register', (['"""spr175"""', '(4)', '(5588)'], {}), "('spr175', 4, 5588)\n", (18720, 18739), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18751, 18778), 'archinfo.arch.Register', 'Register', (['"""spr176"""', '(4)', '(5592)'], {}), "('spr176', 4, 5592)\n", (18759, 18778), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18790, 18817), 'archinfo.arch.Register', 'Register', (['"""spr177"""', '(4)', '(5596)'], {}), "('spr177', 4, 5596)\n", (18798, 18817), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18829, 18856), 'archinfo.arch.Register', 'Register', (['"""spr178"""', '(4)', '(5600)'], {}), "('spr178', 4, 5600)\n", (18837, 18856), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18868, 18895), 'archinfo.arch.Register', 'Register', (['"""spr179"""', '(4)', '(5604)'], {}), "('spr179', 4, 5604)\n", (18876, 18895), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18907, 18934), 'archinfo.arch.Register', 'Register', (['"""spr17a"""', '(4)', '(5608)'], {}), "('spr17a', 4, 5608)\n", (18915, 18934), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18946, 18973), 'archinfo.arch.Register', 'Register', (['"""spr17b"""', '(4)', '(5612)'], {}), "('spr17b', 4, 5612)\n", (18954, 18973), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((18985, 19012), 'archinfo.arch.Register', 'Register', (['"""spr17c"""', '(4)', '(5616)'], {}), "('spr17c', 4, 5616)\n", (18993, 19012), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19024, 19051), 'archinfo.arch.Register', 'Register', (['"""spr17d"""', '(4)', '(5620)'], {}), "('spr17d', 4, 5620)\n", (19032, 19051), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19063, 19090), 'archinfo.arch.Register', 'Register', (['"""spr17e"""', '(4)', '(5624)'], {}), "('spr17e', 4, 5624)\n", (19071, 19090), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19102, 19129), 'archinfo.arch.Register', 'Register', (['"""spr17f"""', '(4)', '(5628)'], {}), "('spr17f', 4, 5628)\n", (19110, 19129), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19141, 19168), 'archinfo.arch.Register', 'Register', (['"""spr180"""', '(4)', '(5632)'], {}), "('spr180', 4, 5632)\n", (19149, 19168), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19180, 19207), 'archinfo.arch.Register', 'Register', (['"""spr181"""', '(4)', '(5636)'], {}), "('spr181', 4, 5636)\n", (19188, 19207), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19219, 19246), 'archinfo.arch.Register', 'Register', (['"""spr182"""', '(4)', '(5640)'], {}), "('spr182', 4, 5640)\n", (19227, 19246), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19258, 19285), 'archinfo.arch.Register', 'Register', (['"""spr183"""', '(4)', '(5644)'], {}), "('spr183', 4, 5644)\n", (19266, 19285), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19297, 19324), 'archinfo.arch.Register', 'Register', (['"""spr184"""', '(4)', '(5648)'], {}), "('spr184', 4, 5648)\n", (19305, 19324), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19336, 19363), 'archinfo.arch.Register', 'Register', (['"""spr185"""', '(4)', '(5652)'], {}), "('spr185', 4, 5652)\n", (19344, 19363), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19375, 19402), 'archinfo.arch.Register', 'Register', (['"""spr186"""', '(4)', '(5656)'], {}), "('spr186', 4, 5656)\n", (19383, 19402), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19414, 19441), 'archinfo.arch.Register', 'Register', (['"""spr187"""', '(4)', '(5660)'], {}), "('spr187', 4, 5660)\n", (19422, 19441), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19453, 19480), 'archinfo.arch.Register', 'Register', (['"""spr188"""', '(4)', '(5664)'], {}), "('spr188', 4, 5664)\n", (19461, 19480), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19492, 19519), 'archinfo.arch.Register', 'Register', (['"""spr189"""', '(4)', '(5668)'], {}), "('spr189', 4, 5668)\n", (19500, 19519), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19531, 19558), 'archinfo.arch.Register', 'Register', (['"""spr18a"""', '(4)', '(5672)'], {}), "('spr18a', 4, 5672)\n", (19539, 19558), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19570, 19597), 'archinfo.arch.Register', 'Register', (['"""spr18b"""', '(4)', '(5676)'], {}), "('spr18b', 4, 5676)\n", (19578, 19597), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19609, 19636), 'archinfo.arch.Register', 'Register', (['"""spr18c"""', '(4)', '(5680)'], {}), "('spr18c', 4, 5680)\n", (19617, 19636), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19648, 19675), 'archinfo.arch.Register', 'Register', (['"""spr18d"""', '(4)', '(5684)'], {}), "('spr18d', 4, 5684)\n", (19656, 19675), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19687, 19714), 'archinfo.arch.Register', 'Register', (['"""spr18e"""', '(4)', '(5688)'], {}), "('spr18e', 4, 5688)\n", (19695, 19714), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19726, 19753), 'archinfo.arch.Register', 'Register', (['"""spr18f"""', '(4)', '(5692)'], {}), "('spr18f', 4, 5692)\n", (19734, 19753), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19765, 19792), 'archinfo.arch.Register', 'Register', (['"""spr190"""', '(4)', '(5696)'], {}), "('spr190', 4, 5696)\n", (19773, 19792), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19804, 19831), 'archinfo.arch.Register', 'Register', (['"""spr191"""', '(4)', '(5700)'], {}), "('spr191', 4, 5700)\n", (19812, 19831), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19843, 19870), 'archinfo.arch.Register', 'Register', (['"""spr192"""', '(4)', '(5704)'], {}), "('spr192', 4, 5704)\n", (19851, 19870), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19882, 19909), 'archinfo.arch.Register', 'Register', (['"""spr193"""', '(4)', '(5708)'], {}), "('spr193', 4, 5708)\n", (19890, 19909), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19921, 19948), 'archinfo.arch.Register', 'Register', (['"""spr194"""', '(4)', '(5712)'], {}), "('spr194', 4, 5712)\n", (19929, 19948), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19960, 19987), 'archinfo.arch.Register', 'Register', (['"""spr195"""', '(4)', '(5716)'], {}), "('spr195', 4, 5716)\n", (19968, 19987), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((19999, 20026), 'archinfo.arch.Register', 'Register', (['"""spr196"""', '(4)', '(5720)'], {}), "('spr196', 4, 5720)\n", (20007, 20026), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20038, 20065), 'archinfo.arch.Register', 'Register', (['"""spr197"""', '(4)', '(5724)'], {}), "('spr197', 4, 5724)\n", (20046, 20065), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20077, 20104), 'archinfo.arch.Register', 'Register', (['"""spr198"""', '(4)', '(5728)'], {}), "('spr198', 4, 5728)\n", (20085, 20104), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20116, 20143), 'archinfo.arch.Register', 'Register', (['"""spr199"""', '(4)', '(5732)'], {}), "('spr199', 4, 5732)\n", (20124, 20143), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20155, 20182), 'archinfo.arch.Register', 'Register', (['"""spr19a"""', '(4)', '(5736)'], {}), "('spr19a', 4, 5736)\n", (20163, 20182), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20194, 20221), 'archinfo.arch.Register', 'Register', (['"""spr19b"""', '(4)', '(5740)'], {}), "('spr19b', 4, 5740)\n", (20202, 20221), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20233, 20260), 'archinfo.arch.Register', 'Register', (['"""spr19c"""', '(4)', '(5744)'], {}), "('spr19c', 4, 5744)\n", (20241, 20260), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20272, 20299), 'archinfo.arch.Register', 'Register', (['"""spr19d"""', '(4)', '(5748)'], {}), "('spr19d', 4, 5748)\n", (20280, 20299), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20311, 20338), 'archinfo.arch.Register', 'Register', (['"""spr19e"""', '(4)', '(5752)'], {}), "('spr19e', 4, 5752)\n", (20319, 20338), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20350, 20377), 'archinfo.arch.Register', 'Register', (['"""spr19f"""', '(4)', '(5756)'], {}), "('spr19f', 4, 5756)\n", (20358, 20377), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20389, 20416), 'archinfo.arch.Register', 'Register', (['"""spr1a0"""', '(4)', '(5760)'], {}), "('spr1a0', 4, 5760)\n", (20397, 20416), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20428, 20455), 'archinfo.arch.Register', 'Register', (['"""spr1a1"""', '(4)', '(5764)'], {}), "('spr1a1', 4, 5764)\n", (20436, 20455), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20467, 20494), 'archinfo.arch.Register', 'Register', (['"""spr1a2"""', '(4)', '(5768)'], {}), "('spr1a2', 4, 5768)\n", (20475, 20494), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20506, 20533), 'archinfo.arch.Register', 'Register', (['"""spr1a3"""', '(4)', '(5772)'], {}), "('spr1a3', 4, 5772)\n", (20514, 20533), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20545, 20572), 'archinfo.arch.Register', 'Register', (['"""spr1a4"""', '(4)', '(5776)'], {}), "('spr1a4', 4, 5776)\n", (20553, 20572), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20584, 20611), 'archinfo.arch.Register', 'Register', (['"""spr1a5"""', '(4)', '(5780)'], {}), "('spr1a5', 4, 5780)\n", (20592, 20611), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20623, 20650), 'archinfo.arch.Register', 'Register', (['"""spr1a6"""', '(4)', '(5784)'], {}), "('spr1a6', 4, 5784)\n", (20631, 20650), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20662, 20689), 'archinfo.arch.Register', 'Register', (['"""spr1a7"""', '(4)', '(5788)'], {}), "('spr1a7', 4, 5788)\n", (20670, 20689), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20701, 20728), 'archinfo.arch.Register', 'Register', (['"""spr1a8"""', '(4)', '(5792)'], {}), "('spr1a8', 4, 5792)\n", (20709, 20728), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20740, 20767), 'archinfo.arch.Register', 'Register', (['"""spr1a9"""', '(4)', '(5796)'], {}), "('spr1a9', 4, 5796)\n", (20748, 20767), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20779, 20806), 'archinfo.arch.Register', 'Register', (['"""spr1aa"""', '(4)', '(5800)'], {}), "('spr1aa', 4, 5800)\n", (20787, 20806), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20818, 20845), 'archinfo.arch.Register', 'Register', (['"""spr1ab"""', '(4)', '(5804)'], {}), "('spr1ab', 4, 5804)\n", (20826, 20845), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20857, 20884), 'archinfo.arch.Register', 'Register', (['"""spr1ac"""', '(4)', '(5808)'], {}), "('spr1ac', 4, 5808)\n", (20865, 20884), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20896, 20923), 'archinfo.arch.Register', 'Register', (['"""spr1ad"""', '(4)', '(5812)'], {}), "('spr1ad', 4, 5812)\n", (20904, 20923), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20935, 20962), 'archinfo.arch.Register', 'Register', (['"""spr1ae"""', '(4)', '(5816)'], {}), "('spr1ae', 4, 5816)\n", (20943, 20962), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((20974, 21001), 'archinfo.arch.Register', 'Register', (['"""spr1af"""', '(4)', '(5820)'], {}), "('spr1af', 4, 5820)\n", (20982, 21001), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21013, 21040), 'archinfo.arch.Register', 'Register', (['"""spr1b0"""', '(4)', '(5824)'], {}), "('spr1b0', 4, 5824)\n", (21021, 21040), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21052, 21079), 'archinfo.arch.Register', 'Register', (['"""spr1b1"""', '(4)', '(5828)'], {}), "('spr1b1', 4, 5828)\n", (21060, 21079), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21091, 21118), 'archinfo.arch.Register', 'Register', (['"""spr1b2"""', '(4)', '(5832)'], {}), "('spr1b2', 4, 5832)\n", (21099, 21118), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21130, 21157), 'archinfo.arch.Register', 'Register', (['"""spr1b3"""', '(4)', '(5836)'], {}), "('spr1b3', 4, 5836)\n", (21138, 21157), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21169, 21196), 'archinfo.arch.Register', 'Register', (['"""spr1b4"""', '(4)', '(5840)'], {}), "('spr1b4', 4, 5840)\n", (21177, 21196), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21208, 21235), 'archinfo.arch.Register', 'Register', (['"""spr1b5"""', '(4)', '(5844)'], {}), "('spr1b5', 4, 5844)\n", (21216, 21235), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21247, 21274), 'archinfo.arch.Register', 'Register', (['"""spr1b6"""', '(4)', '(5848)'], {}), "('spr1b6', 4, 5848)\n", (21255, 21274), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21286, 21313), 'archinfo.arch.Register', 'Register', (['"""spr1b7"""', '(4)', '(5852)'], {}), "('spr1b7', 4, 5852)\n", (21294, 21313), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21325, 21352), 'archinfo.arch.Register', 'Register', (['"""spr1b8"""', '(4)', '(5856)'], {}), "('spr1b8', 4, 5856)\n", (21333, 21352), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21364, 21391), 'archinfo.arch.Register', 'Register', (['"""spr1b9"""', '(4)', '(5860)'], {}), "('spr1b9', 4, 5860)\n", (21372, 21391), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21403, 21430), 'archinfo.arch.Register', 'Register', (['"""spr1ba"""', '(4)', '(5864)'], {}), "('spr1ba', 4, 5864)\n", (21411, 21430), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21442, 21469), 'archinfo.arch.Register', 'Register', (['"""spr1bb"""', '(4)', '(5868)'], {}), "('spr1bb', 4, 5868)\n", (21450, 21469), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21481, 21508), 'archinfo.arch.Register', 'Register', (['"""spr1bc"""', '(4)', '(5872)'], {}), "('spr1bc', 4, 5872)\n", (21489, 21508), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21520, 21547), 'archinfo.arch.Register', 'Register', (['"""spr1bd"""', '(4)', '(5876)'], {}), "('spr1bd', 4, 5876)\n", (21528, 21547), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21559, 21586), 'archinfo.arch.Register', 'Register', (['"""spr1be"""', '(4)', '(5880)'], {}), "('spr1be', 4, 5880)\n", (21567, 21586), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21598, 21625), 'archinfo.arch.Register', 'Register', (['"""spr1bf"""', '(4)', '(5884)'], {}), "('spr1bf', 4, 5884)\n", (21606, 21625), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21637, 21664), 'archinfo.arch.Register', 'Register', (['"""spr1c0"""', '(4)', '(5888)'], {}), "('spr1c0', 4, 5888)\n", (21645, 21664), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21676, 21703), 'archinfo.arch.Register', 'Register', (['"""spr1c1"""', '(4)', '(5892)'], {}), "('spr1c1', 4, 5892)\n", (21684, 21703), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21715, 21742), 'archinfo.arch.Register', 'Register', (['"""spr1c2"""', '(4)', '(5896)'], {}), "('spr1c2', 4, 5896)\n", (21723, 21742), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21754, 21781), 'archinfo.arch.Register', 'Register', (['"""spr1c3"""', '(4)', '(5900)'], {}), "('spr1c3', 4, 5900)\n", (21762, 21781), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21793, 21820), 'archinfo.arch.Register', 'Register', (['"""spr1c4"""', '(4)', '(5904)'], {}), "('spr1c4', 4, 5904)\n", (21801, 21820), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21832, 21859), 'archinfo.arch.Register', 'Register', (['"""spr1c5"""', '(4)', '(5908)'], {}), "('spr1c5', 4, 5908)\n", (21840, 21859), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21871, 21898), 'archinfo.arch.Register', 'Register', (['"""spr1c6"""', '(4)', '(5912)'], {}), "('spr1c6', 4, 5912)\n", (21879, 21898), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21910, 21937), 'archinfo.arch.Register', 'Register', (['"""spr1c7"""', '(4)', '(5916)'], {}), "('spr1c7', 4, 5916)\n", (21918, 21937), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21949, 21976), 'archinfo.arch.Register', 'Register', (['"""spr1c8"""', '(4)', '(5920)'], {}), "('spr1c8', 4, 5920)\n", (21957, 21976), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((21988, 22015), 'archinfo.arch.Register', 'Register', (['"""spr1c9"""', '(4)', '(5924)'], {}), "('spr1c9', 4, 5924)\n", (21996, 22015), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22027, 22054), 'archinfo.arch.Register', 'Register', (['"""spr1ca"""', '(4)', '(5928)'], {}), "('spr1ca', 4, 5928)\n", (22035, 22054), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22066, 22093), 'archinfo.arch.Register', 'Register', (['"""spr1cb"""', '(4)', '(5932)'], {}), "('spr1cb', 4, 5932)\n", (22074, 22093), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22105, 22132), 'archinfo.arch.Register', 'Register', (['"""spr1cc"""', '(4)', '(5936)'], {}), "('spr1cc', 4, 5936)\n", (22113, 22132), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22144, 22171), 'archinfo.arch.Register', 'Register', (['"""spr1cd"""', '(4)', '(5940)'], {}), "('spr1cd', 4, 5940)\n", (22152, 22171), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22183, 22210), 'archinfo.arch.Register', 'Register', (['"""spr1ce"""', '(4)', '(5944)'], {}), "('spr1ce', 4, 5944)\n", (22191, 22210), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22222, 22249), 'archinfo.arch.Register', 'Register', (['"""spr1cf"""', '(4)', '(5948)'], {}), "('spr1cf', 4, 5948)\n", (22230, 22249), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22261, 22288), 'archinfo.arch.Register', 'Register', (['"""spr1d0"""', '(4)', '(5952)'], {}), "('spr1d0', 4, 5952)\n", (22269, 22288), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22300, 22327), 'archinfo.arch.Register', 'Register', (['"""spr1d1"""', '(4)', '(5956)'], {}), "('spr1d1', 4, 5956)\n", (22308, 22327), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22339, 22366), 'archinfo.arch.Register', 'Register', (['"""spr1d2"""', '(4)', '(5960)'], {}), "('spr1d2', 4, 5960)\n", (22347, 22366), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22378, 22405), 'archinfo.arch.Register', 'Register', (['"""spr1d3"""', '(4)', '(5964)'], {}), "('spr1d3', 4, 5964)\n", (22386, 22405), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22417, 22444), 'archinfo.arch.Register', 'Register', (['"""spr1d4"""', '(4)', '(5968)'], {}), "('spr1d4', 4, 5968)\n", (22425, 22444), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22456, 22483), 'archinfo.arch.Register', 'Register', (['"""spr1d5"""', '(4)', '(5972)'], {}), "('spr1d5', 4, 5972)\n", (22464, 22483), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22495, 22522), 'archinfo.arch.Register', 'Register', (['"""spr1d6"""', '(4)', '(5976)'], {}), "('spr1d6', 4, 5976)\n", (22503, 22522), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22534, 22561), 'archinfo.arch.Register', 'Register', (['"""spr1d7"""', '(4)', '(5980)'], {}), "('spr1d7', 4, 5980)\n", (22542, 22561), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22573, 22600), 'archinfo.arch.Register', 'Register', (['"""spr1d8"""', '(4)', '(5984)'], {}), "('spr1d8', 4, 5984)\n", (22581, 22600), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22612, 22639), 'archinfo.arch.Register', 'Register', (['"""spr1d9"""', '(4)', '(5988)'], {}), "('spr1d9', 4, 5988)\n", (22620, 22639), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22651, 22678), 'archinfo.arch.Register', 'Register', (['"""spr1da"""', '(4)', '(5992)'], {}), "('spr1da', 4, 5992)\n", (22659, 22678), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22690, 22717), 'archinfo.arch.Register', 'Register', (['"""spr1db"""', '(4)', '(5996)'], {}), "('spr1db', 4, 5996)\n", (22698, 22717), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22729, 22756), 'archinfo.arch.Register', 'Register', (['"""spr1dc"""', '(4)', '(6000)'], {}), "('spr1dc', 4, 6000)\n", (22737, 22756), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22768, 22795), 'archinfo.arch.Register', 'Register', (['"""spr1dd"""', '(4)', '(6004)'], {}), "('spr1dd', 4, 6004)\n", (22776, 22795), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22807, 22834), 'archinfo.arch.Register', 'Register', (['"""spr1de"""', '(4)', '(6008)'], {}), "('spr1de', 4, 6008)\n", (22815, 22834), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22846, 22873), 'archinfo.arch.Register', 'Register', (['"""spr1df"""', '(4)', '(6012)'], {}), "('spr1df', 4, 6012)\n", (22854, 22873), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22885, 22912), 'archinfo.arch.Register', 'Register', (['"""spr1e0"""', '(4)', '(6016)'], {}), "('spr1e0', 4, 6016)\n", (22893, 22912), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22924, 22951), 'archinfo.arch.Register', 'Register', (['"""spr1e1"""', '(4)', '(6020)'], {}), "('spr1e1', 4, 6020)\n", (22932, 22951), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((22963, 22990), 'archinfo.arch.Register', 'Register', (['"""spr1e2"""', '(4)', '(6024)'], {}), "('spr1e2', 4, 6024)\n", (22971, 22990), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23002, 23029), 'archinfo.arch.Register', 'Register', (['"""spr1e3"""', '(4)', '(6028)'], {}), "('spr1e3', 4, 6028)\n", (23010, 23029), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23041, 23068), 'archinfo.arch.Register', 'Register', (['"""spr1e4"""', '(4)', '(6032)'], {}), "('spr1e4', 4, 6032)\n", (23049, 23068), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23080, 23107), 'archinfo.arch.Register', 'Register', (['"""spr1e5"""', '(4)', '(6036)'], {}), "('spr1e5', 4, 6036)\n", (23088, 23107), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23119, 23146), 'archinfo.arch.Register', 'Register', (['"""spr1e6"""', '(4)', '(6040)'], {}), "('spr1e6', 4, 6040)\n", (23127, 23146), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23158, 23185), 'archinfo.arch.Register', 'Register', (['"""spr1e7"""', '(4)', '(6044)'], {}), "('spr1e7', 4, 6044)\n", (23166, 23185), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23197, 23224), 'archinfo.arch.Register', 'Register', (['"""spr1e8"""', '(4)', '(6048)'], {}), "('spr1e8', 4, 6048)\n", (23205, 23224), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23236, 23263), 'archinfo.arch.Register', 'Register', (['"""spr1e9"""', '(4)', '(6052)'], {}), "('spr1e9', 4, 6052)\n", (23244, 23263), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23275, 23302), 'archinfo.arch.Register', 'Register', (['"""spr1ea"""', '(4)', '(6056)'], {}), "('spr1ea', 4, 6056)\n", (23283, 23302), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23314, 23341), 'archinfo.arch.Register', 'Register', (['"""spr1eb"""', '(4)', '(6060)'], {}), "('spr1eb', 4, 6060)\n", (23322, 23341), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23353, 23380), 'archinfo.arch.Register', 'Register', (['"""spr1ec"""', '(4)', '(6064)'], {}), "('spr1ec', 4, 6064)\n", (23361, 23380), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23392, 23419), 'archinfo.arch.Register', 'Register', (['"""spr1ed"""', '(4)', '(6068)'], {}), "('spr1ed', 4, 6068)\n", (23400, 23419), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23431, 23458), 'archinfo.arch.Register', 'Register', (['"""spr1ee"""', '(4)', '(6072)'], {}), "('spr1ee', 4, 6072)\n", (23439, 23458), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23470, 23497), 'archinfo.arch.Register', 'Register', (['"""spr1ef"""', '(4)', '(6076)'], {}), "('spr1ef', 4, 6076)\n", (23478, 23497), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23509, 23536), 'archinfo.arch.Register', 'Register', (['"""spr1f0"""', '(4)', '(6080)'], {}), "('spr1f0', 4, 6080)\n", (23517, 23536), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23548, 23575), 'archinfo.arch.Register', 'Register', (['"""spr1f1"""', '(4)', '(6084)'], {}), "('spr1f1', 4, 6084)\n", (23556, 23575), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23587, 23614), 'archinfo.arch.Register', 'Register', (['"""spr1f2"""', '(4)', '(6088)'], {}), "('spr1f2', 4, 6088)\n", (23595, 23614), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23626, 23653), 'archinfo.arch.Register', 'Register', (['"""spr1f3"""', '(4)', '(6092)'], {}), "('spr1f3', 4, 6092)\n", (23634, 23653), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23665, 23692), 'archinfo.arch.Register', 'Register', (['"""spr1f4"""', '(4)', '(6096)'], {}), "('spr1f4', 4, 6096)\n", (23673, 23692), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23704, 23731), 'archinfo.arch.Register', 'Register', (['"""spr1f5"""', '(4)', '(6100)'], {}), "('spr1f5', 4, 6100)\n", (23712, 23731), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23743, 23770), 'archinfo.arch.Register', 'Register', (['"""spr1f6"""', '(4)', '(6104)'], {}), "('spr1f6', 4, 6104)\n", (23751, 23770), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23782, 23809), 'archinfo.arch.Register', 'Register', (['"""spr1f7"""', '(4)', '(6108)'], {}), "('spr1f7', 4, 6108)\n", (23790, 23809), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23821, 23848), 'archinfo.arch.Register', 'Register', (['"""spr1f8"""', '(4)', '(6112)'], {}), "('spr1f8', 4, 6112)\n", (23829, 23848), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23860, 23887), 'archinfo.arch.Register', 'Register', (['"""spr1f9"""', '(4)', '(6116)'], {}), "('spr1f9', 4, 6116)\n", (23868, 23887), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23899, 23926), 'archinfo.arch.Register', 'Register', (['"""spr1fa"""', '(4)', '(6120)'], {}), "('spr1fa', 4, 6120)\n", (23907, 23926), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23938, 23965), 'archinfo.arch.Register', 'Register', (['"""spr1fb"""', '(4)', '(6124)'], {}), "('spr1fb', 4, 6124)\n", (23946, 23965), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((23977, 24004), 'archinfo.arch.Register', 'Register', (['"""spr1fc"""', '(4)', '(6128)'], {}), "('spr1fc', 4, 6128)\n", (23985, 24004), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24016, 24043), 'archinfo.arch.Register', 'Register', (['"""spr1fd"""', '(4)', '(6132)'], {}), "('spr1fd', 4, 6132)\n", (24024, 24043), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24055, 24082), 'archinfo.arch.Register', 'Register', (['"""spr1fe"""', '(4)', '(6136)'], {}), "('spr1fe', 4, 6136)\n", (24063, 24082), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24094, 24121), 'archinfo.arch.Register', 'Register', (['"""spr1ff"""', '(4)', '(6140)'], {}), "('spr1ff', 4, 6140)\n", (24102, 24121), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24133, 24160), 'archinfo.arch.Register', 'Register', (['"""spr200"""', '(4)', '(6144)'], {}), "('spr200', 4, 6144)\n", (24141, 24160), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24172, 24199), 'archinfo.arch.Register', 'Register', (['"""spr201"""', '(4)', '(6148)'], {}), "('spr201', 4, 6148)\n", (24180, 24199), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24211, 24238), 'archinfo.arch.Register', 'Register', (['"""spr202"""', '(4)', '(6152)'], {}), "('spr202', 4, 6152)\n", (24219, 24238), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24250, 24277), 'archinfo.arch.Register', 'Register', (['"""spr203"""', '(4)', '(6156)'], {}), "('spr203', 4, 6156)\n", (24258, 24277), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24289, 24316), 'archinfo.arch.Register', 'Register', (['"""spr204"""', '(4)', '(6160)'], {}), "('spr204', 4, 6160)\n", (24297, 24316), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24328, 24355), 'archinfo.arch.Register', 'Register', (['"""spr205"""', '(4)', '(6164)'], {}), "('spr205', 4, 6164)\n", (24336, 24355), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24367, 24394), 'archinfo.arch.Register', 'Register', (['"""spr206"""', '(4)', '(6168)'], {}), "('spr206', 4, 6168)\n", (24375, 24394), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24406, 24433), 'archinfo.arch.Register', 'Register', (['"""spr207"""', '(4)', '(6172)'], {}), "('spr207', 4, 6172)\n", (24414, 24433), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24445, 24472), 'archinfo.arch.Register', 'Register', (['"""spr208"""', '(4)', '(6176)'], {}), "('spr208', 4, 6176)\n", (24453, 24472), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24484, 24511), 'archinfo.arch.Register', 'Register', (['"""spr209"""', '(4)', '(6180)'], {}), "('spr209', 4, 6180)\n", (24492, 24511), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24523, 24550), 'archinfo.arch.Register', 'Register', (['"""spr20a"""', '(4)', '(6184)'], {}), "('spr20a', 4, 6184)\n", (24531, 24550), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24562, 24589), 'archinfo.arch.Register', 'Register', (['"""spr20b"""', '(4)', '(6188)'], {}), "('spr20b', 4, 6188)\n", (24570, 24589), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24601, 24628), 'archinfo.arch.Register', 'Register', (['"""spr20c"""', '(4)', '(6192)'], {}), "('spr20c', 4, 6192)\n", (24609, 24628), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24640, 24667), 'archinfo.arch.Register', 'Register', (['"""spr20d"""', '(4)', '(6196)'], {}), "('spr20d', 4, 6196)\n", (24648, 24667), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24679, 24706), 'archinfo.arch.Register', 'Register', (['"""spr20e"""', '(4)', '(6200)'], {}), "('spr20e', 4, 6200)\n", (24687, 24706), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24718, 24745), 'archinfo.arch.Register', 'Register', (['"""spr20f"""', '(4)', '(6204)'], {}), "('spr20f', 4, 6204)\n", (24726, 24745), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24757, 24784), 'archinfo.arch.Register', 'Register', (['"""spr210"""', '(4)', '(6208)'], {}), "('spr210', 4, 6208)\n", (24765, 24784), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24796, 24823), 'archinfo.arch.Register', 'Register', (['"""spr211"""', '(4)', '(6212)'], {}), "('spr211', 4, 6212)\n", (24804, 24823), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24835, 24862), 'archinfo.arch.Register', 'Register', (['"""spr212"""', '(4)', '(6216)'], {}), "('spr212', 4, 6216)\n", (24843, 24862), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24874, 24901), 'archinfo.arch.Register', 'Register', (['"""spr213"""', '(4)', '(6220)'], {}), "('spr213', 4, 6220)\n", (24882, 24901), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24913, 24940), 'archinfo.arch.Register', 'Register', (['"""spr214"""', '(4)', '(6224)'], {}), "('spr214', 4, 6224)\n", (24921, 24940), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24952, 24979), 'archinfo.arch.Register', 'Register', (['"""spr215"""', '(4)', '(6228)'], {}), "('spr215', 4, 6228)\n", (24960, 24979), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((24991, 25018), 'archinfo.arch.Register', 'Register', (['"""spr216"""', '(4)', '(6232)'], {}), "('spr216', 4, 6232)\n", (24999, 25018), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25030, 25057), 'archinfo.arch.Register', 'Register', (['"""spr217"""', '(4)', '(6236)'], {}), "('spr217', 4, 6236)\n", (25038, 25057), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25069, 25096), 'archinfo.arch.Register', 'Register', (['"""spr218"""', '(4)', '(6240)'], {}), "('spr218', 4, 6240)\n", (25077, 25096), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25108, 25135), 'archinfo.arch.Register', 'Register', (['"""spr219"""', '(4)', '(6244)'], {}), "('spr219', 4, 6244)\n", (25116, 25135), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25147, 25174), 'archinfo.arch.Register', 'Register', (['"""spr21a"""', '(4)', '(6248)'], {}), "('spr21a', 4, 6248)\n", (25155, 25174), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25186, 25213), 'archinfo.arch.Register', 'Register', (['"""spr21b"""', '(4)', '(6252)'], {}), "('spr21b', 4, 6252)\n", (25194, 25213), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25225, 25252), 'archinfo.arch.Register', 'Register', (['"""spr21c"""', '(4)', '(6256)'], {}), "('spr21c', 4, 6256)\n", (25233, 25252), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25264, 25291), 'archinfo.arch.Register', 'Register', (['"""spr21d"""', '(4)', '(6260)'], {}), "('spr21d', 4, 6260)\n", (25272, 25291), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25303, 25330), 'archinfo.arch.Register', 'Register', (['"""spr21e"""', '(4)', '(6264)'], {}), "('spr21e', 4, 6264)\n", (25311, 25330), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25342, 25369), 'archinfo.arch.Register', 'Register', (['"""spr21f"""', '(4)', '(6268)'], {}), "('spr21f', 4, 6268)\n", (25350, 25369), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25381, 25408), 'archinfo.arch.Register', 'Register', (['"""spr220"""', '(4)', '(6272)'], {}), "('spr220', 4, 6272)\n", (25389, 25408), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25420, 25447), 'archinfo.arch.Register', 'Register', (['"""spr221"""', '(4)', '(6276)'], {}), "('spr221', 4, 6276)\n", (25428, 25447), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25459, 25486), 'archinfo.arch.Register', 'Register', (['"""spr222"""', '(4)', '(6280)'], {}), "('spr222', 4, 6280)\n", (25467, 25486), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25498, 25525), 'archinfo.arch.Register', 'Register', (['"""spr223"""', '(4)', '(6284)'], {}), "('spr223', 4, 6284)\n", (25506, 25525), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25537, 25564), 'archinfo.arch.Register', 'Register', (['"""spr224"""', '(4)', '(6288)'], {}), "('spr224', 4, 6288)\n", (25545, 25564), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25576, 25603), 'archinfo.arch.Register', 'Register', (['"""spr225"""', '(4)', '(6292)'], {}), "('spr225', 4, 6292)\n", (25584, 25603), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25615, 25642), 'archinfo.arch.Register', 'Register', (['"""spr226"""', '(4)', '(6296)'], {}), "('spr226', 4, 6296)\n", (25623, 25642), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25654, 25681), 'archinfo.arch.Register', 'Register', (['"""spr227"""', '(4)', '(6300)'], {}), "('spr227', 4, 6300)\n", (25662, 25681), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25693, 25720), 'archinfo.arch.Register', 'Register', (['"""spr228"""', '(4)', '(6304)'], {}), "('spr228', 4, 6304)\n", (25701, 25720), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25732, 25759), 'archinfo.arch.Register', 'Register', (['"""spr229"""', '(4)', '(6308)'], {}), "('spr229', 4, 6308)\n", (25740, 25759), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25771, 25798), 'archinfo.arch.Register', 'Register', (['"""spr22a"""', '(4)', '(6312)'], {}), "('spr22a', 4, 6312)\n", (25779, 25798), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25810, 25837), 'archinfo.arch.Register', 'Register', (['"""spr22b"""', '(4)', '(6316)'], {}), "('spr22b', 4, 6316)\n", (25818, 25837), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25849, 25876), 'archinfo.arch.Register', 'Register', (['"""spr22c"""', '(4)', '(6320)'], {}), "('spr22c', 4, 6320)\n", (25857, 25876), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25888, 25915), 'archinfo.arch.Register', 'Register', (['"""spr22d"""', '(4)', '(6324)'], {}), "('spr22d', 4, 6324)\n", (25896, 25915), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25927, 25954), 'archinfo.arch.Register', 'Register', (['"""spr22e"""', '(4)', '(6328)'], {}), "('spr22e', 4, 6328)\n", (25935, 25954), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((25966, 25993), 'archinfo.arch.Register', 'Register', (['"""spr22f"""', '(4)', '(6332)'], {}), "('spr22f', 4, 6332)\n", (25974, 25993), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26005, 26032), 'archinfo.arch.Register', 'Register', (['"""spr230"""', '(4)', '(6336)'], {}), "('spr230', 4, 6336)\n", (26013, 26032), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26044, 26071), 'archinfo.arch.Register', 'Register', (['"""spr231"""', '(4)', '(6340)'], {}), "('spr231', 4, 6340)\n", (26052, 26071), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26083, 26110), 'archinfo.arch.Register', 'Register', (['"""spr232"""', '(4)', '(6344)'], {}), "('spr232', 4, 6344)\n", (26091, 26110), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26122, 26149), 'archinfo.arch.Register', 'Register', (['"""spr233"""', '(4)', '(6348)'], {}), "('spr233', 4, 6348)\n", (26130, 26149), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26161, 26188), 'archinfo.arch.Register', 'Register', (['"""spr234"""', '(4)', '(6352)'], {}), "('spr234', 4, 6352)\n", (26169, 26188), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26200, 26227), 'archinfo.arch.Register', 'Register', (['"""spr235"""', '(4)', '(6356)'], {}), "('spr235', 4, 6356)\n", (26208, 26227), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26239, 26266), 'archinfo.arch.Register', 'Register', (['"""spr236"""', '(4)', '(6360)'], {}), "('spr236', 4, 6360)\n", (26247, 26266), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26278, 26305), 'archinfo.arch.Register', 'Register', (['"""spr237"""', '(4)', '(6364)'], {}), "('spr237', 4, 6364)\n", (26286, 26305), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26317, 26344), 'archinfo.arch.Register', 'Register', (['"""spr238"""', '(4)', '(6368)'], {}), "('spr238', 4, 6368)\n", (26325, 26344), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26356, 26383), 'archinfo.arch.Register', 'Register', (['"""spr239"""', '(4)', '(6372)'], {}), "('spr239', 4, 6372)\n", (26364, 26383), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26395, 26422), 'archinfo.arch.Register', 'Register', (['"""spr23a"""', '(4)', '(6376)'], {}), "('spr23a', 4, 6376)\n", (26403, 26422), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26434, 26461), 'archinfo.arch.Register', 'Register', (['"""spr23b"""', '(4)', '(6380)'], {}), "('spr23b', 4, 6380)\n", (26442, 26461), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26473, 26500), 'archinfo.arch.Register', 'Register', (['"""spr23c"""', '(4)', '(6384)'], {}), "('spr23c', 4, 6384)\n", (26481, 26500), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26512, 26539), 'archinfo.arch.Register', 'Register', (['"""spr23d"""', '(4)', '(6388)'], {}), "('spr23d', 4, 6388)\n", (26520, 26539), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26551, 26578), 'archinfo.arch.Register', 'Register', (['"""spr23e"""', '(4)', '(6392)'], {}), "('spr23e', 4, 6392)\n", (26559, 26578), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26590, 26617), 'archinfo.arch.Register', 'Register', (['"""spr23f"""', '(4)', '(6396)'], {}), "('spr23f', 4, 6396)\n", (26598, 26617), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26629, 26656), 'archinfo.arch.Register', 'Register', (['"""spr240"""', '(4)', '(6400)'], {}), "('spr240', 4, 6400)\n", (26637, 26656), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26668, 26695), 'archinfo.arch.Register', 'Register', (['"""spr241"""', '(4)', '(6404)'], {}), "('spr241', 4, 6404)\n", (26676, 26695), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26707, 26734), 'archinfo.arch.Register', 'Register', (['"""spr242"""', '(4)', '(6408)'], {}), "('spr242', 4, 6408)\n", (26715, 26734), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26746, 26773), 'archinfo.arch.Register', 'Register', (['"""spr243"""', '(4)', '(6412)'], {}), "('spr243', 4, 6412)\n", (26754, 26773), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26785, 26812), 'archinfo.arch.Register', 'Register', (['"""spr244"""', '(4)', '(6416)'], {}), "('spr244', 4, 6416)\n", (26793, 26812), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26824, 26851), 'archinfo.arch.Register', 'Register', (['"""spr245"""', '(4)', '(6420)'], {}), "('spr245', 4, 6420)\n", (26832, 26851), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26863, 26890), 'archinfo.arch.Register', 'Register', (['"""spr246"""', '(4)', '(6424)'], {}), "('spr246', 4, 6424)\n", (26871, 26890), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26902, 26929), 'archinfo.arch.Register', 'Register', (['"""spr247"""', '(4)', '(6428)'], {}), "('spr247', 4, 6428)\n", (26910, 26929), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26941, 26968), 'archinfo.arch.Register', 'Register', (['"""spr248"""', '(4)', '(6432)'], {}), "('spr248', 4, 6432)\n", (26949, 26968), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((26980, 27007), 'archinfo.arch.Register', 'Register', (['"""spr249"""', '(4)', '(6436)'], {}), "('spr249', 4, 6436)\n", (26988, 27007), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27019, 27046), 'archinfo.arch.Register', 'Register', (['"""spr24a"""', '(4)', '(6440)'], {}), "('spr24a', 4, 6440)\n", (27027, 27046), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27058, 27085), 'archinfo.arch.Register', 'Register', (['"""spr24b"""', '(4)', '(6444)'], {}), "('spr24b', 4, 6444)\n", (27066, 27085), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27097, 27124), 'archinfo.arch.Register', 'Register', (['"""spr24c"""', '(4)', '(6448)'], {}), "('spr24c', 4, 6448)\n", (27105, 27124), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27136, 27163), 'archinfo.arch.Register', 'Register', (['"""spr24d"""', '(4)', '(6452)'], {}), "('spr24d', 4, 6452)\n", (27144, 27163), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27175, 27202), 'archinfo.arch.Register', 'Register', (['"""spr24e"""', '(4)', '(6456)'], {}), "('spr24e', 4, 6456)\n", (27183, 27202), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27214, 27241), 'archinfo.arch.Register', 'Register', (['"""spr24f"""', '(4)', '(6460)'], {}), "('spr24f', 4, 6460)\n", (27222, 27241), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27253, 27280), 'archinfo.arch.Register', 'Register', (['"""spr250"""', '(4)', '(6464)'], {}), "('spr250', 4, 6464)\n", (27261, 27280), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27292, 27319), 'archinfo.arch.Register', 'Register', (['"""spr251"""', '(4)', '(6468)'], {}), "('spr251', 4, 6468)\n", (27300, 27319), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27331, 27358), 'archinfo.arch.Register', 'Register', (['"""spr252"""', '(4)', '(6472)'], {}), "('spr252', 4, 6472)\n", (27339, 27358), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27370, 27397), 'archinfo.arch.Register', 'Register', (['"""spr253"""', '(4)', '(6476)'], {}), "('spr253', 4, 6476)\n", (27378, 27397), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27409, 27436), 'archinfo.arch.Register', 'Register', (['"""spr254"""', '(4)', '(6480)'], {}), "('spr254', 4, 6480)\n", (27417, 27436), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27448, 27475), 'archinfo.arch.Register', 'Register', (['"""spr255"""', '(4)', '(6484)'], {}), "('spr255', 4, 6484)\n", (27456, 27475), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27487, 27514), 'archinfo.arch.Register', 'Register', (['"""spr256"""', '(4)', '(6488)'], {}), "('spr256', 4, 6488)\n", (27495, 27514), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27526, 27553), 'archinfo.arch.Register', 'Register', (['"""spr257"""', '(4)', '(6492)'], {}), "('spr257', 4, 6492)\n", (27534, 27553), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27565, 27592), 'archinfo.arch.Register', 'Register', (['"""spr258"""', '(4)', '(6496)'], {}), "('spr258', 4, 6496)\n", (27573, 27592), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27604, 27631), 'archinfo.arch.Register', 'Register', (['"""spr259"""', '(4)', '(6500)'], {}), "('spr259', 4, 6500)\n", (27612, 27631), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27643, 27670), 'archinfo.arch.Register', 'Register', (['"""spr25a"""', '(4)', '(6504)'], {}), "('spr25a', 4, 6504)\n", (27651, 27670), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27682, 27709), 'archinfo.arch.Register', 'Register', (['"""spr25b"""', '(4)', '(6508)'], {}), "('spr25b', 4, 6508)\n", (27690, 27709), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27721, 27748), 'archinfo.arch.Register', 'Register', (['"""spr25c"""', '(4)', '(6512)'], {}), "('spr25c', 4, 6512)\n", (27729, 27748), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27760, 27787), 'archinfo.arch.Register', 'Register', (['"""spr25d"""', '(4)', '(6516)'], {}), "('spr25d', 4, 6516)\n", (27768, 27787), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27799, 27826), 'archinfo.arch.Register', 'Register', (['"""spr25e"""', '(4)', '(6520)'], {}), "('spr25e', 4, 6520)\n", (27807, 27826), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27838, 27865), 'archinfo.arch.Register', 'Register', (['"""spr25f"""', '(4)', '(6524)'], {}), "('spr25f', 4, 6524)\n", (27846, 27865), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27877, 27904), 'archinfo.arch.Register', 'Register', (['"""spr260"""', '(4)', '(6528)'], {}), "('spr260', 4, 6528)\n", (27885, 27904), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27916, 27943), 'archinfo.arch.Register', 'Register', (['"""spr261"""', '(4)', '(6532)'], {}), "('spr261', 4, 6532)\n", (27924, 27943), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27955, 27982), 'archinfo.arch.Register', 'Register', (['"""spr262"""', '(4)', '(6536)'], {}), "('spr262', 4, 6536)\n", (27963, 27982), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((27994, 28021), 'archinfo.arch.Register', 'Register', (['"""spr263"""', '(4)', '(6540)'], {}), "('spr263', 4, 6540)\n", (28002, 28021), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28033, 28060), 'archinfo.arch.Register', 'Register', (['"""spr264"""', '(4)', '(6544)'], {}), "('spr264', 4, 6544)\n", (28041, 28060), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28072, 28099), 'archinfo.arch.Register', 'Register', (['"""spr265"""', '(4)', '(6548)'], {}), "('spr265', 4, 6548)\n", (28080, 28099), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28111, 28138), 'archinfo.arch.Register', 'Register', (['"""spr266"""', '(4)', '(6552)'], {}), "('spr266', 4, 6552)\n", (28119, 28138), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28150, 28177), 'archinfo.arch.Register', 'Register', (['"""spr267"""', '(4)', '(6556)'], {}), "('spr267', 4, 6556)\n", (28158, 28177), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28189, 28216), 'archinfo.arch.Register', 'Register', (['"""spr268"""', '(4)', '(6560)'], {}), "('spr268', 4, 6560)\n", (28197, 28216), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28228, 28255), 'archinfo.arch.Register', 'Register', (['"""spr269"""', '(4)', '(6564)'], {}), "('spr269', 4, 6564)\n", (28236, 28255), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28267, 28294), 'archinfo.arch.Register', 'Register', (['"""spr26a"""', '(4)', '(6568)'], {}), "('spr26a', 4, 6568)\n", (28275, 28294), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28306, 28333), 'archinfo.arch.Register', 'Register', (['"""spr26b"""', '(4)', '(6572)'], {}), "('spr26b', 4, 6572)\n", (28314, 28333), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28345, 28372), 'archinfo.arch.Register', 'Register', (['"""spr26c"""', '(4)', '(6576)'], {}), "('spr26c', 4, 6576)\n", (28353, 28372), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28384, 28411), 'archinfo.arch.Register', 'Register', (['"""spr26d"""', '(4)', '(6580)'], {}), "('spr26d', 4, 6580)\n", (28392, 28411), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28423, 28450), 'archinfo.arch.Register', 'Register', (['"""spr26e"""', '(4)', '(6584)'], {}), "('spr26e', 4, 6584)\n", (28431, 28450), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28462, 28489), 'archinfo.arch.Register', 'Register', (['"""spr26f"""', '(4)', '(6588)'], {}), "('spr26f', 4, 6588)\n", (28470, 28489), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28501, 28528), 'archinfo.arch.Register', 'Register', (['"""spr270"""', '(4)', '(6592)'], {}), "('spr270', 4, 6592)\n", (28509, 28528), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28540, 28567), 'archinfo.arch.Register', 'Register', (['"""spr271"""', '(4)', '(6596)'], {}), "('spr271', 4, 6596)\n", (28548, 28567), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28579, 28606), 'archinfo.arch.Register', 'Register', (['"""spr272"""', '(4)', '(6600)'], {}), "('spr272', 4, 6600)\n", (28587, 28606), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28618, 28645), 'archinfo.arch.Register', 'Register', (['"""spr273"""', '(4)', '(6604)'], {}), "('spr273', 4, 6604)\n", (28626, 28645), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28657, 28684), 'archinfo.arch.Register', 'Register', (['"""spr274"""', '(4)', '(6608)'], {}), "('spr274', 4, 6608)\n", (28665, 28684), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28696, 28723), 'archinfo.arch.Register', 'Register', (['"""spr275"""', '(4)', '(6612)'], {}), "('spr275', 4, 6612)\n", (28704, 28723), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28735, 28762), 'archinfo.arch.Register', 'Register', (['"""spr276"""', '(4)', '(6616)'], {}), "('spr276', 4, 6616)\n", (28743, 28762), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28774, 28801), 'archinfo.arch.Register', 'Register', (['"""spr277"""', '(4)', '(6620)'], {}), "('spr277', 4, 6620)\n", (28782, 28801), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28813, 28840), 'archinfo.arch.Register', 'Register', (['"""spr278"""', '(4)', '(6624)'], {}), "('spr278', 4, 6624)\n", (28821, 28840), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28852, 28879), 'archinfo.arch.Register', 'Register', (['"""spr279"""', '(4)', '(6628)'], {}), "('spr279', 4, 6628)\n", (28860, 28879), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28891, 28918), 'archinfo.arch.Register', 'Register', (['"""spr27a"""', '(4)', '(6632)'], {}), "('spr27a', 4, 6632)\n", (28899, 28918), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28930, 28957), 'archinfo.arch.Register', 'Register', (['"""spr27b"""', '(4)', '(6636)'], {}), "('spr27b', 4, 6636)\n", (28938, 28957), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((28969, 28996), 'archinfo.arch.Register', 'Register', (['"""spr27c"""', '(4)', '(6640)'], {}), "('spr27c', 4, 6640)\n", (28977, 28996), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29008, 29035), 'archinfo.arch.Register', 'Register', (['"""spr27d"""', '(4)', '(6644)'], {}), "('spr27d', 4, 6644)\n", (29016, 29035), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29047, 29074), 'archinfo.arch.Register', 'Register', (['"""spr27e"""', '(4)', '(6648)'], {}), "('spr27e', 4, 6648)\n", (29055, 29074), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29086, 29113), 'archinfo.arch.Register', 'Register', (['"""spr27f"""', '(4)', '(6652)'], {}), "('spr27f', 4, 6652)\n", (29094, 29113), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29125, 29152), 'archinfo.arch.Register', 'Register', (['"""spr280"""', '(4)', '(6656)'], {}), "('spr280', 4, 6656)\n", (29133, 29152), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29164, 29191), 'archinfo.arch.Register', 'Register', (['"""spr281"""', '(4)', '(6660)'], {}), "('spr281', 4, 6660)\n", (29172, 29191), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29203, 29230), 'archinfo.arch.Register', 'Register', (['"""spr282"""', '(4)', '(6664)'], {}), "('spr282', 4, 6664)\n", (29211, 29230), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29242, 29269), 'archinfo.arch.Register', 'Register', (['"""spr283"""', '(4)', '(6668)'], {}), "('spr283', 4, 6668)\n", (29250, 29269), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29281, 29308), 'archinfo.arch.Register', 'Register', (['"""spr284"""', '(4)', '(6672)'], {}), "('spr284', 4, 6672)\n", (29289, 29308), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29320, 29347), 'archinfo.arch.Register', 'Register', (['"""spr285"""', '(4)', '(6676)'], {}), "('spr285', 4, 6676)\n", (29328, 29347), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29359, 29386), 'archinfo.arch.Register', 'Register', (['"""spr286"""', '(4)', '(6680)'], {}), "('spr286', 4, 6680)\n", (29367, 29386), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29398, 29425), 'archinfo.arch.Register', 'Register', (['"""spr287"""', '(4)', '(6684)'], {}), "('spr287', 4, 6684)\n", (29406, 29425), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29437, 29464), 'archinfo.arch.Register', 'Register', (['"""spr288"""', '(4)', '(6688)'], {}), "('spr288', 4, 6688)\n", (29445, 29464), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29476, 29503), 'archinfo.arch.Register', 'Register', (['"""spr289"""', '(4)', '(6692)'], {}), "('spr289', 4, 6692)\n", (29484, 29503), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29515, 29542), 'archinfo.arch.Register', 'Register', (['"""spr28a"""', '(4)', '(6696)'], {}), "('spr28a', 4, 6696)\n", (29523, 29542), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29554, 29581), 'archinfo.arch.Register', 'Register', (['"""spr28b"""', '(4)', '(6700)'], {}), "('spr28b', 4, 6700)\n", (29562, 29581), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29593, 29620), 'archinfo.arch.Register', 'Register', (['"""spr28c"""', '(4)', '(6704)'], {}), "('spr28c', 4, 6704)\n", (29601, 29620), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29632, 29659), 'archinfo.arch.Register', 'Register', (['"""spr28d"""', '(4)', '(6708)'], {}), "('spr28d', 4, 6708)\n", (29640, 29659), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29671, 29698), 'archinfo.arch.Register', 'Register', (['"""spr28e"""', '(4)', '(6712)'], {}), "('spr28e', 4, 6712)\n", (29679, 29698), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29710, 29737), 'archinfo.arch.Register', 'Register', (['"""spr28f"""', '(4)', '(6716)'], {}), "('spr28f', 4, 6716)\n", (29718, 29737), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29749, 29776), 'archinfo.arch.Register', 'Register', (['"""spr290"""', '(4)', '(6720)'], {}), "('spr290', 4, 6720)\n", (29757, 29776), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29788, 29815), 'archinfo.arch.Register', 'Register', (['"""spr291"""', '(4)', '(6724)'], {}), "('spr291', 4, 6724)\n", (29796, 29815), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29827, 29854), 'archinfo.arch.Register', 'Register', (['"""spr292"""', '(4)', '(6728)'], {}), "('spr292', 4, 6728)\n", (29835, 29854), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29866, 29893), 'archinfo.arch.Register', 'Register', (['"""spr293"""', '(4)', '(6732)'], {}), "('spr293', 4, 6732)\n", (29874, 29893), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29905, 29932), 'archinfo.arch.Register', 'Register', (['"""spr294"""', '(4)', '(6736)'], {}), "('spr294', 4, 6736)\n", (29913, 29932), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29944, 29971), 'archinfo.arch.Register', 'Register', (['"""spr295"""', '(4)', '(6740)'], {}), "('spr295', 4, 6740)\n", (29952, 29971), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((29983, 30010), 'archinfo.arch.Register', 'Register', (['"""spr296"""', '(4)', '(6744)'], {}), "('spr296', 4, 6744)\n", (29991, 30010), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30022, 30049), 'archinfo.arch.Register', 'Register', (['"""spr297"""', '(4)', '(6748)'], {}), "('spr297', 4, 6748)\n", (30030, 30049), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30061, 30088), 'archinfo.arch.Register', 'Register', (['"""spr298"""', '(4)', '(6752)'], {}), "('spr298', 4, 6752)\n", (30069, 30088), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30100, 30127), 'archinfo.arch.Register', 'Register', (['"""spr299"""', '(4)', '(6756)'], {}), "('spr299', 4, 6756)\n", (30108, 30127), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30139, 30166), 'archinfo.arch.Register', 'Register', (['"""spr29a"""', '(4)', '(6760)'], {}), "('spr29a', 4, 6760)\n", (30147, 30166), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30178, 30205), 'archinfo.arch.Register', 'Register', (['"""spr29b"""', '(4)', '(6764)'], {}), "('spr29b', 4, 6764)\n", (30186, 30205), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30217, 30244), 'archinfo.arch.Register', 'Register', (['"""spr29c"""', '(4)', '(6768)'], {}), "('spr29c', 4, 6768)\n", (30225, 30244), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30256, 30283), 'archinfo.arch.Register', 'Register', (['"""spr29d"""', '(4)', '(6772)'], {}), "('spr29d', 4, 6772)\n", (30264, 30283), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30295, 30322), 'archinfo.arch.Register', 'Register', (['"""spr29e"""', '(4)', '(6776)'], {}), "('spr29e', 4, 6776)\n", (30303, 30322), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30334, 30361), 'archinfo.arch.Register', 'Register', (['"""spr29f"""', '(4)', '(6780)'], {}), "('spr29f', 4, 6780)\n", (30342, 30361), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30373, 30400), 'archinfo.arch.Register', 'Register', (['"""spr2a0"""', '(4)', '(6784)'], {}), "('spr2a0', 4, 6784)\n", (30381, 30400), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30412, 30439), 'archinfo.arch.Register', 'Register', (['"""spr2a1"""', '(4)', '(6788)'], {}), "('spr2a1', 4, 6788)\n", (30420, 30439), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30451, 30478), 'archinfo.arch.Register', 'Register', (['"""spr2a2"""', '(4)', '(6792)'], {}), "('spr2a2', 4, 6792)\n", (30459, 30478), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30490, 30517), 'archinfo.arch.Register', 'Register', (['"""spr2a3"""', '(4)', '(6796)'], {}), "('spr2a3', 4, 6796)\n", (30498, 30517), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30529, 30556), 'archinfo.arch.Register', 'Register', (['"""spr2a4"""', '(4)', '(6800)'], {}), "('spr2a4', 4, 6800)\n", (30537, 30556), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30568, 30595), 'archinfo.arch.Register', 'Register', (['"""spr2a5"""', '(4)', '(6804)'], {}), "('spr2a5', 4, 6804)\n", (30576, 30595), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30607, 30634), 'archinfo.arch.Register', 'Register', (['"""spr2a6"""', '(4)', '(6808)'], {}), "('spr2a6', 4, 6808)\n", (30615, 30634), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30646, 30673), 'archinfo.arch.Register', 'Register', (['"""spr2a7"""', '(4)', '(6812)'], {}), "('spr2a7', 4, 6812)\n", (30654, 30673), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30685, 30712), 'archinfo.arch.Register', 'Register', (['"""spr2a8"""', '(4)', '(6816)'], {}), "('spr2a8', 4, 6816)\n", (30693, 30712), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30724, 30751), 'archinfo.arch.Register', 'Register', (['"""spr2a9"""', '(4)', '(6820)'], {}), "('spr2a9', 4, 6820)\n", (30732, 30751), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30763, 30790), 'archinfo.arch.Register', 'Register', (['"""spr2aa"""', '(4)', '(6824)'], {}), "('spr2aa', 4, 6824)\n", (30771, 30790), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30802, 30829), 'archinfo.arch.Register', 'Register', (['"""spr2ab"""', '(4)', '(6828)'], {}), "('spr2ab', 4, 6828)\n", (30810, 30829), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30841, 30868), 'archinfo.arch.Register', 'Register', (['"""spr2ac"""', '(4)', '(6832)'], {}), "('spr2ac', 4, 6832)\n", (30849, 30868), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30880, 30907), 'archinfo.arch.Register', 'Register', (['"""spr2ad"""', '(4)', '(6836)'], {}), "('spr2ad', 4, 6836)\n", (30888, 30907), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30919, 30946), 'archinfo.arch.Register', 'Register', (['"""spr2ae"""', '(4)', '(6840)'], {}), "('spr2ae', 4, 6840)\n", (30927, 30946), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30958, 30985), 'archinfo.arch.Register', 'Register', (['"""spr2af"""', '(4)', '(6844)'], {}), "('spr2af', 4, 6844)\n", (30966, 30985), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((30997, 31024), 'archinfo.arch.Register', 'Register', (['"""spr2b0"""', '(4)', '(6848)'], {}), "('spr2b0', 4, 6848)\n", (31005, 31024), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31036, 31063), 'archinfo.arch.Register', 'Register', (['"""spr2b1"""', '(4)', '(6852)'], {}), "('spr2b1', 4, 6852)\n", (31044, 31063), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31075, 31102), 'archinfo.arch.Register', 'Register', (['"""spr2b2"""', '(4)', '(6856)'], {}), "('spr2b2', 4, 6856)\n", (31083, 31102), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31114, 31141), 'archinfo.arch.Register', 'Register', (['"""spr2b3"""', '(4)', '(6860)'], {}), "('spr2b3', 4, 6860)\n", (31122, 31141), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31153, 31180), 'archinfo.arch.Register', 'Register', (['"""spr2b4"""', '(4)', '(6864)'], {}), "('spr2b4', 4, 6864)\n", (31161, 31180), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31192, 31219), 'archinfo.arch.Register', 'Register', (['"""spr2b5"""', '(4)', '(6868)'], {}), "('spr2b5', 4, 6868)\n", (31200, 31219), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31231, 31258), 'archinfo.arch.Register', 'Register', (['"""spr2b6"""', '(4)', '(6872)'], {}), "('spr2b6', 4, 6872)\n", (31239, 31258), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31270, 31297), 'archinfo.arch.Register', 'Register', (['"""spr2b7"""', '(4)', '(6876)'], {}), "('spr2b7', 4, 6876)\n", (31278, 31297), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31309, 31336), 'archinfo.arch.Register', 'Register', (['"""spr2b8"""', '(4)', '(6880)'], {}), "('spr2b8', 4, 6880)\n", (31317, 31336), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31348, 31375), 'archinfo.arch.Register', 'Register', (['"""spr2b9"""', '(4)', '(6884)'], {}), "('spr2b9', 4, 6884)\n", (31356, 31375), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31387, 31414), 'archinfo.arch.Register', 'Register', (['"""spr2ba"""', '(4)', '(6888)'], {}), "('spr2ba', 4, 6888)\n", (31395, 31414), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31426, 31453), 'archinfo.arch.Register', 'Register', (['"""spr2bb"""', '(4)', '(6892)'], {}), "('spr2bb', 4, 6892)\n", (31434, 31453), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31465, 31492), 'archinfo.arch.Register', 'Register', (['"""spr2bc"""', '(4)', '(6896)'], {}), "('spr2bc', 4, 6896)\n", (31473, 31492), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31504, 31531), 'archinfo.arch.Register', 'Register', (['"""spr2bd"""', '(4)', '(6900)'], {}), "('spr2bd', 4, 6900)\n", (31512, 31531), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31543, 31570), 'archinfo.arch.Register', 'Register', (['"""spr2be"""', '(4)', '(6904)'], {}), "('spr2be', 4, 6904)\n", (31551, 31570), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31582, 31609), 'archinfo.arch.Register', 'Register', (['"""spr2bf"""', '(4)', '(6908)'], {}), "('spr2bf', 4, 6908)\n", (31590, 31609), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31621, 31648), 'archinfo.arch.Register', 'Register', (['"""spr2c0"""', '(4)', '(6912)'], {}), "('spr2c0', 4, 6912)\n", (31629, 31648), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31660, 31687), 'archinfo.arch.Register', 'Register', (['"""spr2c1"""', '(4)', '(6916)'], {}), "('spr2c1', 4, 6916)\n", (31668, 31687), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31699, 31726), 'archinfo.arch.Register', 'Register', (['"""spr2c2"""', '(4)', '(6920)'], {}), "('spr2c2', 4, 6920)\n", (31707, 31726), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31738, 31765), 'archinfo.arch.Register', 'Register', (['"""spr2c3"""', '(4)', '(6924)'], {}), "('spr2c3', 4, 6924)\n", (31746, 31765), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31777, 31804), 'archinfo.arch.Register', 'Register', (['"""spr2c4"""', '(4)', '(6928)'], {}), "('spr2c4', 4, 6928)\n", (31785, 31804), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31816, 31843), 'archinfo.arch.Register', 'Register', (['"""spr2c5"""', '(4)', '(6932)'], {}), "('spr2c5', 4, 6932)\n", (31824, 31843), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31855, 31882), 'archinfo.arch.Register', 'Register', (['"""spr2c6"""', '(4)', '(6936)'], {}), "('spr2c6', 4, 6936)\n", (31863, 31882), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31894, 31921), 'archinfo.arch.Register', 'Register', (['"""spr2c7"""', '(4)', '(6940)'], {}), "('spr2c7', 4, 6940)\n", (31902, 31921), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31933, 31960), 'archinfo.arch.Register', 'Register', (['"""spr2c8"""', '(4)', '(6944)'], {}), "('spr2c8', 4, 6944)\n", (31941, 31960), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((31972, 31999), 'archinfo.arch.Register', 'Register', (['"""spr2c9"""', '(4)', '(6948)'], {}), "('spr2c9', 4, 6948)\n", (31980, 31999), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32011, 32038), 'archinfo.arch.Register', 'Register', (['"""spr2ca"""', '(4)', '(6952)'], {}), "('spr2ca', 4, 6952)\n", (32019, 32038), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32050, 32077), 'archinfo.arch.Register', 'Register', (['"""spr2cb"""', '(4)', '(6956)'], {}), "('spr2cb', 4, 6956)\n", (32058, 32077), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32089, 32116), 'archinfo.arch.Register', 'Register', (['"""spr2cc"""', '(4)', '(6960)'], {}), "('spr2cc', 4, 6960)\n", (32097, 32116), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32128, 32155), 'archinfo.arch.Register', 'Register', (['"""spr2cd"""', '(4)', '(6964)'], {}), "('spr2cd', 4, 6964)\n", (32136, 32155), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32167, 32194), 'archinfo.arch.Register', 'Register', (['"""spr2ce"""', '(4)', '(6968)'], {}), "('spr2ce', 4, 6968)\n", (32175, 32194), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32206, 32233), 'archinfo.arch.Register', 'Register', (['"""spr2cf"""', '(4)', '(6972)'], {}), "('spr2cf', 4, 6972)\n", (32214, 32233), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32245, 32272), 'archinfo.arch.Register', 'Register', (['"""spr2d0"""', '(4)', '(6976)'], {}), "('spr2d0', 4, 6976)\n", (32253, 32272), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32284, 32311), 'archinfo.arch.Register', 'Register', (['"""spr2d1"""', '(4)', '(6980)'], {}), "('spr2d1', 4, 6980)\n", (32292, 32311), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32323, 32350), 'archinfo.arch.Register', 'Register', (['"""spr2d2"""', '(4)', '(6984)'], {}), "('spr2d2', 4, 6984)\n", (32331, 32350), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32362, 32389), 'archinfo.arch.Register', 'Register', (['"""spr2d3"""', '(4)', '(6988)'], {}), "('spr2d3', 4, 6988)\n", (32370, 32389), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32401, 32428), 'archinfo.arch.Register', 'Register', (['"""spr2d4"""', '(4)', '(6992)'], {}), "('spr2d4', 4, 6992)\n", (32409, 32428), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32440, 32467), 'archinfo.arch.Register', 'Register', (['"""spr2d5"""', '(4)', '(6996)'], {}), "('spr2d5', 4, 6996)\n", (32448, 32467), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32479, 32506), 'archinfo.arch.Register', 'Register', (['"""spr2d6"""', '(4)', '(7000)'], {}), "('spr2d6', 4, 7000)\n", (32487, 32506), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32518, 32545), 'archinfo.arch.Register', 'Register', (['"""spr2d7"""', '(4)', '(7004)'], {}), "('spr2d7', 4, 7004)\n", (32526, 32545), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32557, 32584), 'archinfo.arch.Register', 'Register', (['"""spr2d8"""', '(4)', '(7008)'], {}), "('spr2d8', 4, 7008)\n", (32565, 32584), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32596, 32623), 'archinfo.arch.Register', 'Register', (['"""spr2d9"""', '(4)', '(7012)'], {}), "('spr2d9', 4, 7012)\n", (32604, 32623), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32635, 32662), 'archinfo.arch.Register', 'Register', (['"""spr2da"""', '(4)', '(7016)'], {}), "('spr2da', 4, 7016)\n", (32643, 32662), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32674, 32701), 'archinfo.arch.Register', 'Register', (['"""spr2db"""', '(4)', '(7020)'], {}), "('spr2db', 4, 7020)\n", (32682, 32701), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32713, 32740), 'archinfo.arch.Register', 'Register', (['"""spr2dc"""', '(4)', '(7024)'], {}), "('spr2dc', 4, 7024)\n", (32721, 32740), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32752, 32779), 'archinfo.arch.Register', 'Register', (['"""spr2dd"""', '(4)', '(7028)'], {}), "('spr2dd', 4, 7028)\n", (32760, 32779), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32791, 32818), 'archinfo.arch.Register', 'Register', (['"""spr2de"""', '(4)', '(7032)'], {}), "('spr2de', 4, 7032)\n", (32799, 32818), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32830, 32857), 'archinfo.arch.Register', 'Register', (['"""spr2df"""', '(4)', '(7036)'], {}), "('spr2df', 4, 7036)\n", (32838, 32857), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32869, 32896), 'archinfo.arch.Register', 'Register', (['"""spr2e0"""', '(4)', '(7040)'], {}), "('spr2e0', 4, 7040)\n", (32877, 32896), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32908, 32935), 'archinfo.arch.Register', 'Register', (['"""spr2e1"""', '(4)', '(7044)'], {}), "('spr2e1', 4, 7044)\n", (32916, 32935), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32947, 32974), 'archinfo.arch.Register', 'Register', (['"""spr2e2"""', '(4)', '(7048)'], {}), "('spr2e2', 4, 7048)\n", (32955, 32974), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((32986, 33013), 'archinfo.arch.Register', 'Register', (['"""spr2e3"""', '(4)', '(7052)'], {}), "('spr2e3', 4, 7052)\n", (32994, 33013), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33025, 33052), 'archinfo.arch.Register', 'Register', (['"""spr2e4"""', '(4)', '(7056)'], {}), "('spr2e4', 4, 7056)\n", (33033, 33052), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33064, 33091), 'archinfo.arch.Register', 'Register', (['"""spr2e5"""', '(4)', '(7060)'], {}), "('spr2e5', 4, 7060)\n", (33072, 33091), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33103, 33130), 'archinfo.arch.Register', 'Register', (['"""spr2e6"""', '(4)', '(7064)'], {}), "('spr2e6', 4, 7064)\n", (33111, 33130), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33142, 33169), 'archinfo.arch.Register', 'Register', (['"""spr2e7"""', '(4)', '(7068)'], {}), "('spr2e7', 4, 7068)\n", (33150, 33169), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33181, 33208), 'archinfo.arch.Register', 'Register', (['"""spr2e8"""', '(4)', '(7072)'], {}), "('spr2e8', 4, 7072)\n", (33189, 33208), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33220, 33247), 'archinfo.arch.Register', 'Register', (['"""spr2e9"""', '(4)', '(7076)'], {}), "('spr2e9', 4, 7076)\n", (33228, 33247), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33259, 33286), 'archinfo.arch.Register', 'Register', (['"""spr2ea"""', '(4)', '(7080)'], {}), "('spr2ea', 4, 7080)\n", (33267, 33286), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33298, 33325), 'archinfo.arch.Register', 'Register', (['"""spr2eb"""', '(4)', '(7084)'], {}), "('spr2eb', 4, 7084)\n", (33306, 33325), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33337, 33364), 'archinfo.arch.Register', 'Register', (['"""spr2ec"""', '(4)', '(7088)'], {}), "('spr2ec', 4, 7088)\n", (33345, 33364), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33376, 33403), 'archinfo.arch.Register', 'Register', (['"""spr2ed"""', '(4)', '(7092)'], {}), "('spr2ed', 4, 7092)\n", (33384, 33403), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33415, 33442), 'archinfo.arch.Register', 'Register', (['"""spr2ee"""', '(4)', '(7096)'], {}), "('spr2ee', 4, 7096)\n", (33423, 33442), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33454, 33481), 'archinfo.arch.Register', 'Register', (['"""spr2ef"""', '(4)', '(7100)'], {}), "('spr2ef', 4, 7100)\n", (33462, 33481), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33493, 33520), 'archinfo.arch.Register', 'Register', (['"""spr2f0"""', '(4)', '(7104)'], {}), "('spr2f0', 4, 7104)\n", (33501, 33520), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33532, 33559), 'archinfo.arch.Register', 'Register', (['"""spr2f1"""', '(4)', '(7108)'], {}), "('spr2f1', 4, 7108)\n", (33540, 33559), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33571, 33598), 'archinfo.arch.Register', 'Register', (['"""spr2f2"""', '(4)', '(7112)'], {}), "('spr2f2', 4, 7112)\n", (33579, 33598), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33610, 33637), 'archinfo.arch.Register', 'Register', (['"""spr2f3"""', '(4)', '(7116)'], {}), "('spr2f3', 4, 7116)\n", (33618, 33637), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33649, 33676), 'archinfo.arch.Register', 'Register', (['"""spr2f4"""', '(4)', '(7120)'], {}), "('spr2f4', 4, 7120)\n", (33657, 33676), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33688, 33715), 'archinfo.arch.Register', 'Register', (['"""spr2f5"""', '(4)', '(7124)'], {}), "('spr2f5', 4, 7124)\n", (33696, 33715), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33727, 33754), 'archinfo.arch.Register', 'Register', (['"""spr2f6"""', '(4)', '(7128)'], {}), "('spr2f6', 4, 7128)\n", (33735, 33754), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33766, 33793), 'archinfo.arch.Register', 'Register', (['"""spr2f7"""', '(4)', '(7132)'], {}), "('spr2f7', 4, 7132)\n", (33774, 33793), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33805, 33832), 'archinfo.arch.Register', 'Register', (['"""spr2f8"""', '(4)', '(7136)'], {}), "('spr2f8', 4, 7136)\n", (33813, 33832), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33844, 33871), 'archinfo.arch.Register', 'Register', (['"""spr2f9"""', '(4)', '(7140)'], {}), "('spr2f9', 4, 7140)\n", (33852, 33871), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33883, 33910), 'archinfo.arch.Register', 'Register', (['"""spr2fa"""', '(4)', '(7144)'], {}), "('spr2fa', 4, 7144)\n", (33891, 33910), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33922, 33949), 'archinfo.arch.Register', 'Register', (['"""spr2fb"""', '(4)', '(7148)'], {}), "('spr2fb', 4, 7148)\n", (33930, 33949), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((33961, 33988), 'archinfo.arch.Register', 'Register', (['"""spr2fc"""', '(4)', '(7152)'], {}), "('spr2fc', 4, 7152)\n", (33969, 33988), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34000, 34027), 'archinfo.arch.Register', 'Register', (['"""spr2fd"""', '(4)', '(7156)'], {}), "('spr2fd', 4, 7156)\n", (34008, 34027), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34039, 34066), 'archinfo.arch.Register', 'Register', (['"""spr2fe"""', '(4)', '(7160)'], {}), "('spr2fe', 4, 7160)\n", (34047, 34066), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34078, 34105), 'archinfo.arch.Register', 'Register', (['"""spr2ff"""', '(4)', '(7164)'], {}), "('spr2ff', 4, 7164)\n", (34086, 34105), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34117, 34144), 'archinfo.arch.Register', 'Register', (['"""spr300"""', '(4)', '(7168)'], {}), "('spr300', 4, 7168)\n", (34125, 34144), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34156, 34183), 'archinfo.arch.Register', 'Register', (['"""spr301"""', '(4)', '(7172)'], {}), "('spr301', 4, 7172)\n", (34164, 34183), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34195, 34222), 'archinfo.arch.Register', 'Register', (['"""spr302"""', '(4)', '(7176)'], {}), "('spr302', 4, 7176)\n", (34203, 34222), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34234, 34261), 'archinfo.arch.Register', 'Register', (['"""spr303"""', '(4)', '(7180)'], {}), "('spr303', 4, 7180)\n", (34242, 34261), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34273, 34300), 'archinfo.arch.Register', 'Register', (['"""spr304"""', '(4)', '(7184)'], {}), "('spr304', 4, 7184)\n", (34281, 34300), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34312, 34339), 'archinfo.arch.Register', 'Register', (['"""spr305"""', '(4)', '(7188)'], {}), "('spr305', 4, 7188)\n", (34320, 34339), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34351, 34378), 'archinfo.arch.Register', 'Register', (['"""spr306"""', '(4)', '(7192)'], {}), "('spr306', 4, 7192)\n", (34359, 34378), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34390, 34417), 'archinfo.arch.Register', 'Register', (['"""spr307"""', '(4)', '(7196)'], {}), "('spr307', 4, 7196)\n", (34398, 34417), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34429, 34456), 'archinfo.arch.Register', 'Register', (['"""spr308"""', '(4)', '(7200)'], {}), "('spr308', 4, 7200)\n", (34437, 34456), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34468, 34495), 'archinfo.arch.Register', 'Register', (['"""spr309"""', '(4)', '(7204)'], {}), "('spr309', 4, 7204)\n", (34476, 34495), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34507, 34534), 'archinfo.arch.Register', 'Register', (['"""spr30a"""', '(4)', '(7208)'], {}), "('spr30a', 4, 7208)\n", (34515, 34534), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34546, 34573), 'archinfo.arch.Register', 'Register', (['"""spr30b"""', '(4)', '(7212)'], {}), "('spr30b', 4, 7212)\n", (34554, 34573), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34585, 34612), 'archinfo.arch.Register', 'Register', (['"""spr30c"""', '(4)', '(7216)'], {}), "('spr30c', 4, 7216)\n", (34593, 34612), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34624, 34651), 'archinfo.arch.Register', 'Register', (['"""spr30d"""', '(4)', '(7220)'], {}), "('spr30d', 4, 7220)\n", (34632, 34651), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34663, 34690), 'archinfo.arch.Register', 'Register', (['"""spr30e"""', '(4)', '(7224)'], {}), "('spr30e', 4, 7224)\n", (34671, 34690), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34702, 34729), 'archinfo.arch.Register', 'Register', (['"""spr30f"""', '(4)', '(7228)'], {}), "('spr30f', 4, 7228)\n", (34710, 34729), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34741, 34768), 'archinfo.arch.Register', 'Register', (['"""spr310"""', '(4)', '(7232)'], {}), "('spr310', 4, 7232)\n", (34749, 34768), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34780, 34807), 'archinfo.arch.Register', 'Register', (['"""spr311"""', '(4)', '(7236)'], {}), "('spr311', 4, 7236)\n", (34788, 34807), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34819, 34846), 'archinfo.arch.Register', 'Register', (['"""spr312"""', '(4)', '(7240)'], {}), "('spr312', 4, 7240)\n", (34827, 34846), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34858, 34885), 'archinfo.arch.Register', 'Register', (['"""spr313"""', '(4)', '(7244)'], {}), "('spr313', 4, 7244)\n", (34866, 34885), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34897, 34924), 'archinfo.arch.Register', 'Register', (['"""spr314"""', '(4)', '(7248)'], {}), "('spr314', 4, 7248)\n", (34905, 34924), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34936, 34963), 'archinfo.arch.Register', 'Register', (['"""spr315"""', '(4)', '(7252)'], {}), "('spr315', 4, 7252)\n", (34944, 34963), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((34975, 35002), 'archinfo.arch.Register', 'Register', (['"""spr316"""', '(4)', '(7256)'], {}), "('spr316', 4, 7256)\n", (34983, 35002), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35014, 35041), 'archinfo.arch.Register', 'Register', (['"""spr317"""', '(4)', '(7260)'], {}), "('spr317', 4, 7260)\n", (35022, 35041), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35053, 35080), 'archinfo.arch.Register', 'Register', (['"""spr318"""', '(4)', '(7264)'], {}), "('spr318', 4, 7264)\n", (35061, 35080), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35092, 35119), 'archinfo.arch.Register', 'Register', (['"""spr319"""', '(4)', '(7268)'], {}), "('spr319', 4, 7268)\n", (35100, 35119), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35131, 35158), 'archinfo.arch.Register', 'Register', (['"""spr31a"""', '(4)', '(7272)'], {}), "('spr31a', 4, 7272)\n", (35139, 35158), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35170, 35197), 'archinfo.arch.Register', 'Register', (['"""spr31b"""', '(4)', '(7276)'], {}), "('spr31b', 4, 7276)\n", (35178, 35197), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35209, 35236), 'archinfo.arch.Register', 'Register', (['"""spr31c"""', '(4)', '(7280)'], {}), "('spr31c', 4, 7280)\n", (35217, 35236), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35248, 35275), 'archinfo.arch.Register', 'Register', (['"""spr31d"""', '(4)', '(7284)'], {}), "('spr31d', 4, 7284)\n", (35256, 35275), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35287, 35314), 'archinfo.arch.Register', 'Register', (['"""spr31e"""', '(4)', '(7288)'], {}), "('spr31e', 4, 7288)\n", (35295, 35314), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35326, 35353), 'archinfo.arch.Register', 'Register', (['"""spr31f"""', '(4)', '(7292)'], {}), "('spr31f', 4, 7292)\n", (35334, 35353), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35365, 35392), 'archinfo.arch.Register', 'Register', (['"""spr320"""', '(4)', '(7296)'], {}), "('spr320', 4, 7296)\n", (35373, 35392), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35404, 35431), 'archinfo.arch.Register', 'Register', (['"""spr321"""', '(4)', '(7300)'], {}), "('spr321', 4, 7300)\n", (35412, 35431), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35443, 35470), 'archinfo.arch.Register', 'Register', (['"""spr322"""', '(4)', '(7304)'], {}), "('spr322', 4, 7304)\n", (35451, 35470), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35482, 35509), 'archinfo.arch.Register', 'Register', (['"""spr323"""', '(4)', '(7308)'], {}), "('spr323', 4, 7308)\n", (35490, 35509), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35521, 35548), 'archinfo.arch.Register', 'Register', (['"""spr324"""', '(4)', '(7312)'], {}), "('spr324', 4, 7312)\n", (35529, 35548), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35560, 35587), 'archinfo.arch.Register', 'Register', (['"""spr325"""', '(4)', '(7316)'], {}), "('spr325', 4, 7316)\n", (35568, 35587), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35599, 35626), 'archinfo.arch.Register', 'Register', (['"""spr326"""', '(4)', '(7320)'], {}), "('spr326', 4, 7320)\n", (35607, 35626), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35638, 35665), 'archinfo.arch.Register', 'Register', (['"""spr327"""', '(4)', '(7324)'], {}), "('spr327', 4, 7324)\n", (35646, 35665), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35677, 35704), 'archinfo.arch.Register', 'Register', (['"""spr328"""', '(4)', '(7328)'], {}), "('spr328', 4, 7328)\n", (35685, 35704), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35716, 35743), 'archinfo.arch.Register', 'Register', (['"""spr329"""', '(4)', '(7332)'], {}), "('spr329', 4, 7332)\n", (35724, 35743), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35755, 35782), 'archinfo.arch.Register', 'Register', (['"""spr32a"""', '(4)', '(7336)'], {}), "('spr32a', 4, 7336)\n", (35763, 35782), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35794, 35821), 'archinfo.arch.Register', 'Register', (['"""spr32b"""', '(4)', '(7340)'], {}), "('spr32b', 4, 7340)\n", (35802, 35821), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35833, 35860), 'archinfo.arch.Register', 'Register', (['"""spr32c"""', '(4)', '(7344)'], {}), "('spr32c', 4, 7344)\n", (35841, 35860), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35872, 35899), 'archinfo.arch.Register', 'Register', (['"""spr32d"""', '(4)', '(7348)'], {}), "('spr32d', 4, 7348)\n", (35880, 35899), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35911, 35938), 'archinfo.arch.Register', 'Register', (['"""spr32e"""', '(4)', '(7352)'], {}), "('spr32e', 4, 7352)\n", (35919, 35938), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35950, 35974), 'archinfo.arch.Register', 'Register', (['"""tar"""', '(4)', '(7356)'], {}), "('tar', 4, 7356)\n", (35958, 35974), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((35986, 36013), 'archinfo.arch.Register', 'Register', (['"""spr330"""', '(4)', '(7360)'], {}), "('spr330', 4, 7360)\n", (35994, 36013), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36025, 36052), 'archinfo.arch.Register', 'Register', (['"""spr331"""', '(4)', '(7364)'], {}), "('spr331', 4, 7364)\n", (36033, 36052), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36064, 36091), 'archinfo.arch.Register', 'Register', (['"""spr332"""', '(4)', '(7368)'], {}), "('spr332', 4, 7368)\n", (36072, 36091), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36103, 36130), 'archinfo.arch.Register', 'Register', (['"""spr333"""', '(4)', '(7372)'], {}), "('spr333', 4, 7372)\n", (36111, 36130), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36142, 36169), 'archinfo.arch.Register', 'Register', (['"""spr334"""', '(4)', '(7376)'], {}), "('spr334', 4, 7376)\n", (36150, 36169), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36181, 36208), 'archinfo.arch.Register', 'Register', (['"""spr335"""', '(4)', '(7380)'], {}), "('spr335', 4, 7380)\n", (36189, 36208), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36220, 36247), 'archinfo.arch.Register', 'Register', (['"""spr336"""', '(4)', '(7384)'], {}), "('spr336', 4, 7384)\n", (36228, 36247), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36259, 36286), 'archinfo.arch.Register', 'Register', (['"""spr337"""', '(4)', '(7388)'], {}), "('spr337', 4, 7388)\n", (36267, 36286), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36298, 36325), 'archinfo.arch.Register', 'Register', (['"""spr338"""', '(4)', '(7392)'], {}), "('spr338', 4, 7392)\n", (36306, 36325), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36337, 36364), 'archinfo.arch.Register', 'Register', (['"""spr339"""', '(4)', '(7396)'], {}), "('spr339', 4, 7396)\n", (36345, 36364), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36376, 36403), 'archinfo.arch.Register', 'Register', (['"""spr33a"""', '(4)', '(7400)'], {}), "('spr33a', 4, 7400)\n", (36384, 36403), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36415, 36442), 'archinfo.arch.Register', 'Register', (['"""spr33b"""', '(4)', '(7404)'], {}), "('spr33b', 4, 7404)\n", (36423, 36442), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36454, 36481), 'archinfo.arch.Register', 'Register', (['"""spr33c"""', '(4)', '(7408)'], {}), "('spr33c', 4, 7408)\n", (36462, 36481), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36493, 36520), 'archinfo.arch.Register', 'Register', (['"""spr33d"""', '(4)', '(7412)'], {}), "('spr33d', 4, 7412)\n", (36501, 36520), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36532, 36559), 'archinfo.arch.Register', 'Register', (['"""spr33e"""', '(4)', '(7416)'], {}), "('spr33e', 4, 7416)\n", (36540, 36559), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36571, 36598), 'archinfo.arch.Register', 'Register', (['"""spr33f"""', '(4)', '(7420)'], {}), "('spr33f', 4, 7420)\n", (36579, 36598), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36610, 36637), 'archinfo.arch.Register', 'Register', (['"""spr340"""', '(4)', '(7424)'], {}), "('spr340', 4, 7424)\n", (36618, 36637), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36649, 36676), 'archinfo.arch.Register', 'Register', (['"""spr341"""', '(4)', '(7428)'], {}), "('spr341', 4, 7428)\n", (36657, 36676), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36688, 36715), 'archinfo.arch.Register', 'Register', (['"""spr342"""', '(4)', '(7432)'], {}), "('spr342', 4, 7432)\n", (36696, 36715), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36727, 36754), 'archinfo.arch.Register', 'Register', (['"""spr343"""', '(4)', '(7436)'], {}), "('spr343', 4, 7436)\n", (36735, 36754), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36766, 36793), 'archinfo.arch.Register', 'Register', (['"""spr344"""', '(4)', '(7440)'], {}), "('spr344', 4, 7440)\n", (36774, 36793), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36805, 36832), 'archinfo.arch.Register', 'Register', (['"""spr345"""', '(4)', '(7444)'], {}), "('spr345', 4, 7444)\n", (36813, 36832), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36844, 36871), 'archinfo.arch.Register', 'Register', (['"""spr346"""', '(4)', '(7448)'], {}), "('spr346', 4, 7448)\n", (36852, 36871), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36883, 36910), 'archinfo.arch.Register', 'Register', (['"""spr347"""', '(4)', '(7452)'], {}), "('spr347', 4, 7452)\n", (36891, 36910), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36922, 36949), 'archinfo.arch.Register', 'Register', (['"""spr348"""', '(4)', '(7456)'], {}), "('spr348', 4, 7456)\n", (36930, 36949), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((36961, 36988), 'archinfo.arch.Register', 'Register', (['"""spr349"""', '(4)', '(7460)'], {}), "('spr349', 4, 7460)\n", (36969, 36988), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37000, 37027), 'archinfo.arch.Register', 'Register', (['"""spr34a"""', '(4)', '(7464)'], {}), "('spr34a', 4, 7464)\n", (37008, 37027), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37039, 37066), 'archinfo.arch.Register', 'Register', (['"""spr34b"""', '(4)', '(7468)'], {}), "('spr34b', 4, 7468)\n", (37047, 37066), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37078, 37105), 'archinfo.arch.Register', 'Register', (['"""spr34c"""', '(4)', '(7472)'], {}), "('spr34c', 4, 7472)\n", (37086, 37105), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37117, 37144), 'archinfo.arch.Register', 'Register', (['"""spr34d"""', '(4)', '(7476)'], {}), "('spr34d', 4, 7476)\n", (37125, 37144), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37156, 37183), 'archinfo.arch.Register', 'Register', (['"""spr34e"""', '(4)', '(7480)'], {}), "('spr34e', 4, 7480)\n", (37164, 37183), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37195, 37222), 'archinfo.arch.Register', 'Register', (['"""spr34f"""', '(4)', '(7484)'], {}), "('spr34f', 4, 7484)\n", (37203, 37222), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37234, 37261), 'archinfo.arch.Register', 'Register', (['"""spr350"""', '(4)', '(7488)'], {}), "('spr350', 4, 7488)\n", (37242, 37261), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37273, 37300), 'archinfo.arch.Register', 'Register', (['"""spr351"""', '(4)', '(7492)'], {}), "('spr351', 4, 7492)\n", (37281, 37300), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37312, 37339), 'archinfo.arch.Register', 'Register', (['"""spr352"""', '(4)', '(7496)'], {}), "('spr352', 4, 7496)\n", (37320, 37339), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37351, 37378), 'archinfo.arch.Register', 'Register', (['"""spr353"""', '(4)', '(7500)'], {}), "('spr353', 4, 7500)\n", (37359, 37378), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37390, 37417), 'archinfo.arch.Register', 'Register', (['"""spr354"""', '(4)', '(7504)'], {}), "('spr354', 4, 7504)\n", (37398, 37417), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37429, 37456), 'archinfo.arch.Register', 'Register', (['"""spr355"""', '(4)', '(7508)'], {}), "('spr355', 4, 7508)\n", (37437, 37456), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37468, 37495), 'archinfo.arch.Register', 'Register', (['"""spr356"""', '(4)', '(7512)'], {}), "('spr356', 4, 7512)\n", (37476, 37495), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37507, 37534), 'archinfo.arch.Register', 'Register', (['"""spr357"""', '(4)', '(7516)'], {}), "('spr357', 4, 7516)\n", (37515, 37534), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37546, 37573), 'archinfo.arch.Register', 'Register', (['"""spr358"""', '(4)', '(7520)'], {}), "('spr358', 4, 7520)\n", (37554, 37573), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37585, 37612), 'archinfo.arch.Register', 'Register', (['"""spr359"""', '(4)', '(7524)'], {}), "('spr359', 4, 7524)\n", (37593, 37612), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37624, 37651), 'archinfo.arch.Register', 'Register', (['"""spr35a"""', '(4)', '(7528)'], {}), "('spr35a', 4, 7528)\n", (37632, 37651), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37663, 37690), 'archinfo.arch.Register', 'Register', (['"""spr35b"""', '(4)', '(7532)'], {}), "('spr35b', 4, 7532)\n", (37671, 37690), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37702, 37729), 'archinfo.arch.Register', 'Register', (['"""spr35c"""', '(4)', '(7536)'], {}), "('spr35c', 4, 7536)\n", (37710, 37729), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37741, 37768), 'archinfo.arch.Register', 'Register', (['"""spr35d"""', '(4)', '(7540)'], {}), "('spr35d', 4, 7540)\n", (37749, 37768), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37780, 37807), 'archinfo.arch.Register', 'Register', (['"""spr35e"""', '(4)', '(7544)'], {}), "('spr35e', 4, 7544)\n", (37788, 37807), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37819, 37846), 'archinfo.arch.Register', 'Register', (['"""spr35f"""', '(4)', '(7548)'], {}), "('spr35f', 4, 7548)\n", (37827, 37846), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37858, 37885), 'archinfo.arch.Register', 'Register', (['"""spr360"""', '(4)', '(7552)'], {}), "('spr360', 4, 7552)\n", (37866, 37885), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37897, 37924), 'archinfo.arch.Register', 'Register', (['"""spr361"""', '(4)', '(7556)'], {}), "('spr361', 4, 7556)\n", (37905, 37924), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37936, 37963), 'archinfo.arch.Register', 'Register', (['"""spr362"""', '(4)', '(7560)'], {}), "('spr362', 4, 7560)\n", (37944, 37963), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((37975, 38002), 'archinfo.arch.Register', 'Register', (['"""spr363"""', '(4)', '(7564)'], {}), "('spr363', 4, 7564)\n", (37983, 38002), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38014, 38041), 'archinfo.arch.Register', 'Register', (['"""spr364"""', '(4)', '(7568)'], {}), "('spr364', 4, 7568)\n", (38022, 38041), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38053, 38080), 'archinfo.arch.Register', 'Register', (['"""spr365"""', '(4)', '(7572)'], {}), "('spr365', 4, 7572)\n", (38061, 38080), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38092, 38119), 'archinfo.arch.Register', 'Register', (['"""spr366"""', '(4)', '(7576)'], {}), "('spr366', 4, 7576)\n", (38100, 38119), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38131, 38158), 'archinfo.arch.Register', 'Register', (['"""spr367"""', '(4)', '(7580)'], {}), "('spr367', 4, 7580)\n", (38139, 38158), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38170, 38197), 'archinfo.arch.Register', 'Register', (['"""spr368"""', '(4)', '(7584)'], {}), "('spr368', 4, 7584)\n", (38178, 38197), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38209, 38236), 'archinfo.arch.Register', 'Register', (['"""spr369"""', '(4)', '(7588)'], {}), "('spr369', 4, 7588)\n", (38217, 38236), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38248, 38275), 'archinfo.arch.Register', 'Register', (['"""spr36a"""', '(4)', '(7592)'], {}), "('spr36a', 4, 7592)\n", (38256, 38275), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38287, 38314), 'archinfo.arch.Register', 'Register', (['"""spr36b"""', '(4)', '(7596)'], {}), "('spr36b', 4, 7596)\n", (38295, 38314), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38326, 38353), 'archinfo.arch.Register', 'Register', (['"""spr36c"""', '(4)', '(7600)'], {}), "('spr36c', 4, 7600)\n", (38334, 38353), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38365, 38392), 'archinfo.arch.Register', 'Register', (['"""spr36d"""', '(4)', '(7604)'], {}), "('spr36d', 4, 7604)\n", (38373, 38392), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38404, 38431), 'archinfo.arch.Register', 'Register', (['"""spr36e"""', '(4)', '(7608)'], {}), "('spr36e', 4, 7608)\n", (38412, 38431), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38443, 38470), 'archinfo.arch.Register', 'Register', (['"""spr36f"""', '(4)', '(7612)'], {}), "('spr36f', 4, 7612)\n", (38451, 38470), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38482, 38509), 'archinfo.arch.Register', 'Register', (['"""spr370"""', '(4)', '(7616)'], {}), "('spr370', 4, 7616)\n", (38490, 38509), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38521, 38548), 'archinfo.arch.Register', 'Register', (['"""spr371"""', '(4)', '(7620)'], {}), "('spr371', 4, 7620)\n", (38529, 38548), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38560, 38587), 'archinfo.arch.Register', 'Register', (['"""spr372"""', '(4)', '(7624)'], {}), "('spr372', 4, 7624)\n", (38568, 38587), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38599, 38626), 'archinfo.arch.Register', 'Register', (['"""spr373"""', '(4)', '(7628)'], {}), "('spr373', 4, 7628)\n", (38607, 38626), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38638, 38665), 'archinfo.arch.Register', 'Register', (['"""spr374"""', '(4)', '(7632)'], {}), "('spr374', 4, 7632)\n", (38646, 38665), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38677, 38704), 'archinfo.arch.Register', 'Register', (['"""spr375"""', '(4)', '(7636)'], {}), "('spr375', 4, 7636)\n", (38685, 38704), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38716, 38743), 'archinfo.arch.Register', 'Register', (['"""spr376"""', '(4)', '(7640)'], {}), "('spr376', 4, 7640)\n", (38724, 38743), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38755, 38782), 'archinfo.arch.Register', 'Register', (['"""spr377"""', '(4)', '(7644)'], {}), "('spr377', 4, 7644)\n", (38763, 38782), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38794, 38821), 'archinfo.arch.Register', 'Register', (['"""spr378"""', '(4)', '(7648)'], {}), "('spr378', 4, 7648)\n", (38802, 38821), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38833, 38860), 'archinfo.arch.Register', 'Register', (['"""spr379"""', '(4)', '(7652)'], {}), "('spr379', 4, 7652)\n", (38841, 38860), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38872, 38899), 'archinfo.arch.Register', 'Register', (['"""spr37a"""', '(4)', '(7656)'], {}), "('spr37a', 4, 7656)\n", (38880, 38899), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38911, 38938), 'archinfo.arch.Register', 'Register', (['"""spr37b"""', '(4)', '(7660)'], {}), "('spr37b', 4, 7660)\n", (38919, 38938), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38950, 38977), 'archinfo.arch.Register', 'Register', (['"""spr37c"""', '(4)', '(7664)'], {}), "('spr37c', 4, 7664)\n", (38958, 38977), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((38989, 39016), 'archinfo.arch.Register', 'Register', (['"""spr37d"""', '(4)', '(7668)'], {}), "('spr37d', 4, 7668)\n", (38997, 39016), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39028, 39055), 'archinfo.arch.Register', 'Register', (['"""spr37e"""', '(4)', '(7672)'], {}), "('spr37e', 4, 7672)\n", (39036, 39055), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39067, 39094), 'archinfo.arch.Register', 'Register', (['"""spr37f"""', '(4)', '(7676)'], {}), "('spr37f', 4, 7676)\n", (39075, 39094), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39106, 39133), 'archinfo.arch.Register', 'Register', (['"""spr380"""', '(4)', '(7680)'], {}), "('spr380', 4, 7680)\n", (39114, 39133), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39145, 39172), 'archinfo.arch.Register', 'Register', (['"""spr381"""', '(4)', '(7684)'], {}), "('spr381', 4, 7684)\n", (39153, 39172), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39184, 39211), 'archinfo.arch.Register', 'Register', (['"""spr382"""', '(4)', '(7688)'], {}), "('spr382', 4, 7688)\n", (39192, 39211), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39223, 39250), 'archinfo.arch.Register', 'Register', (['"""spr383"""', '(4)', '(7692)'], {}), "('spr383', 4, 7692)\n", (39231, 39250), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39262, 39289), 'archinfo.arch.Register', 'Register', (['"""spr384"""', '(4)', '(7696)'], {}), "('spr384', 4, 7696)\n", (39270, 39289), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39301, 39328), 'archinfo.arch.Register', 'Register', (['"""spr385"""', '(4)', '(7700)'], {}), "('spr385', 4, 7700)\n", (39309, 39328), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39340, 39367), 'archinfo.arch.Register', 'Register', (['"""spr386"""', '(4)', '(7704)'], {}), "('spr386', 4, 7704)\n", (39348, 39367), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39379, 39406), 'archinfo.arch.Register', 'Register', (['"""spr387"""', '(4)', '(7708)'], {}), "('spr387', 4, 7708)\n", (39387, 39406), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39418, 39445), 'archinfo.arch.Register', 'Register', (['"""spr388"""', '(4)', '(7712)'], {}), "('spr388', 4, 7712)\n", (39426, 39445), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39457, 39484), 'archinfo.arch.Register', 'Register', (['"""spr389"""', '(4)', '(7716)'], {}), "('spr389', 4, 7716)\n", (39465, 39484), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39496, 39523), 'archinfo.arch.Register', 'Register', (['"""spr38a"""', '(4)', '(7720)'], {}), "('spr38a', 4, 7720)\n", (39504, 39523), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39535, 39562), 'archinfo.arch.Register', 'Register', (['"""spr38b"""', '(4)', '(7724)'], {}), "('spr38b', 4, 7724)\n", (39543, 39562), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39574, 39601), 'archinfo.arch.Register', 'Register', (['"""spr38c"""', '(4)', '(7728)'], {}), "('spr38c', 4, 7728)\n", (39582, 39601), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39613, 39640), 'archinfo.arch.Register', 'Register', (['"""spr38d"""', '(4)', '(7732)'], {}), "('spr38d', 4, 7732)\n", (39621, 39640), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39652, 39679), 'archinfo.arch.Register', 'Register', (['"""spr38e"""', '(4)', '(7736)'], {}), "('spr38e', 4, 7736)\n", (39660, 39679), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39691, 39718), 'archinfo.arch.Register', 'Register', (['"""spr38f"""', '(4)', '(7740)'], {}), "('spr38f', 4, 7740)\n", (39699, 39718), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39730, 39757), 'archinfo.arch.Register', 'Register', (['"""spr390"""', '(4)', '(7744)'], {}), "('spr390', 4, 7744)\n", (39738, 39757), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39769, 39796), 'archinfo.arch.Register', 'Register', (['"""spr391"""', '(4)', '(7748)'], {}), "('spr391', 4, 7748)\n", (39777, 39796), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39808, 39835), 'archinfo.arch.Register', 'Register', (['"""spr392"""', '(4)', '(7752)'], {}), "('spr392', 4, 7752)\n", (39816, 39835), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39847, 39874), 'archinfo.arch.Register', 'Register', (['"""spr393"""', '(4)', '(7756)'], {}), "('spr393', 4, 7756)\n", (39855, 39874), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39886, 39913), 'archinfo.arch.Register', 'Register', (['"""spr394"""', '(4)', '(7760)'], {}), "('spr394', 4, 7760)\n", (39894, 39913), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39925, 39952), 'archinfo.arch.Register', 'Register', (['"""spr395"""', '(4)', '(7764)'], {}), "('spr395', 4, 7764)\n", (39933, 39952), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((39964, 39991), 'archinfo.arch.Register', 'Register', (['"""spr396"""', '(4)', '(7768)'], {}), "('spr396', 4, 7768)\n", (39972, 39991), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40003, 40030), 'archinfo.arch.Register', 'Register', (['"""spr397"""', '(4)', '(7772)'], {}), "('spr397', 4, 7772)\n", (40011, 40030), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40042, 40069), 'archinfo.arch.Register', 'Register', (['"""spr398"""', '(4)', '(7776)'], {}), "('spr398', 4, 7776)\n", (40050, 40069), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40081, 40108), 'archinfo.arch.Register', 'Register', (['"""spr399"""', '(4)', '(7780)'], {}), "('spr399', 4, 7780)\n", (40089, 40108), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40120, 40147), 'archinfo.arch.Register', 'Register', (['"""spr39a"""', '(4)', '(7784)'], {}), "('spr39a', 4, 7784)\n", (40128, 40147), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40159, 40186), 'archinfo.arch.Register', 'Register', (['"""spr39b"""', '(4)', '(7788)'], {}), "('spr39b', 4, 7788)\n", (40167, 40186), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40198, 40225), 'archinfo.arch.Register', 'Register', (['"""spr39c"""', '(4)', '(7792)'], {}), "('spr39c', 4, 7792)\n", (40206, 40225), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40237, 40264), 'archinfo.arch.Register', 'Register', (['"""spr39d"""', '(4)', '(7796)'], {}), "('spr39d', 4, 7796)\n", (40245, 40264), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40276, 40303), 'archinfo.arch.Register', 'Register', (['"""spr39e"""', '(4)', '(7800)'], {}), "('spr39e', 4, 7800)\n", (40284, 40303), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40315, 40342), 'archinfo.arch.Register', 'Register', (['"""spr39f"""', '(4)', '(7804)'], {}), "('spr39f', 4, 7804)\n", (40323, 40342), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40354, 40381), 'archinfo.arch.Register', 'Register', (['"""spr3a0"""', '(4)', '(7808)'], {}), "('spr3a0', 4, 7808)\n", (40362, 40381), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40393, 40420), 'archinfo.arch.Register', 'Register', (['"""spr3a1"""', '(4)', '(7812)'], {}), "('spr3a1', 4, 7812)\n", (40401, 40420), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40432, 40459), 'archinfo.arch.Register', 'Register', (['"""spr3a2"""', '(4)', '(7816)'], {}), "('spr3a2', 4, 7816)\n", (40440, 40459), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40471, 40498), 'archinfo.arch.Register', 'Register', (['"""spr3a3"""', '(4)', '(7820)'], {}), "('spr3a3', 4, 7820)\n", (40479, 40498), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40510, 40537), 'archinfo.arch.Register', 'Register', (['"""spr3a4"""', '(4)', '(7824)'], {}), "('spr3a4', 4, 7824)\n", (40518, 40537), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40549, 40576), 'archinfo.arch.Register', 'Register', (['"""spr3a5"""', '(4)', '(7828)'], {}), "('spr3a5', 4, 7828)\n", (40557, 40576), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40588, 40615), 'archinfo.arch.Register', 'Register', (['"""spr3a6"""', '(4)', '(7832)'], {}), "('spr3a6', 4, 7832)\n", (40596, 40615), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40627, 40654), 'archinfo.arch.Register', 'Register', (['"""spr3a7"""', '(4)', '(7836)'], {}), "('spr3a7', 4, 7836)\n", (40635, 40654), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40666, 40693), 'archinfo.arch.Register', 'Register', (['"""spr3a8"""', '(4)', '(7840)'], {}), "('spr3a8', 4, 7840)\n", (40674, 40693), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40705, 40732), 'archinfo.arch.Register', 'Register', (['"""spr3a9"""', '(4)', '(7844)'], {}), "('spr3a9', 4, 7844)\n", (40713, 40732), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40744, 40771), 'archinfo.arch.Register', 'Register', (['"""spr3aa"""', '(4)', '(7848)'], {}), "('spr3aa', 4, 7848)\n", (40752, 40771), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40783, 40810), 'archinfo.arch.Register', 'Register', (['"""spr3ab"""', '(4)', '(7852)'], {}), "('spr3ab', 4, 7852)\n", (40791, 40810), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40822, 40849), 'archinfo.arch.Register', 'Register', (['"""spr3ac"""', '(4)', '(7856)'], {}), "('spr3ac', 4, 7856)\n", (40830, 40849), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40861, 40888), 'archinfo.arch.Register', 'Register', (['"""spr3ad"""', '(4)', '(7860)'], {}), "('spr3ad', 4, 7860)\n", (40869, 40888), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40900, 40927), 'archinfo.arch.Register', 'Register', (['"""spr3ae"""', '(4)', '(7864)'], {}), "('spr3ae', 4, 7864)\n", (40908, 40927), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40939, 40966), 'archinfo.arch.Register', 'Register', (['"""spr3af"""', '(4)', '(7868)'], {}), "('spr3af', 4, 7868)\n", (40947, 40966), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((40978, 41005), 'archinfo.arch.Register', 'Register', (['"""spr3b0"""', '(4)', '(7872)'], {}), "('spr3b0', 4, 7872)\n", (40986, 41005), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41017, 41044), 'archinfo.arch.Register', 'Register', (['"""spr3b1"""', '(4)', '(7876)'], {}), "('spr3b1', 4, 7876)\n", (41025, 41044), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41056, 41083), 'archinfo.arch.Register', 'Register', (['"""spr3b2"""', '(4)', '(7880)'], {}), "('spr3b2', 4, 7880)\n", (41064, 41083), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41095, 41122), 'archinfo.arch.Register', 'Register', (['"""spr3b3"""', '(4)', '(7884)'], {}), "('spr3b3', 4, 7884)\n", (41103, 41122), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41134, 41161), 'archinfo.arch.Register', 'Register', (['"""spr3b4"""', '(4)', '(7888)'], {}), "('spr3b4', 4, 7888)\n", (41142, 41161), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41173, 41200), 'archinfo.arch.Register', 'Register', (['"""spr3b5"""', '(4)', '(7892)'], {}), "('spr3b5', 4, 7892)\n", (41181, 41200), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41212, 41239), 'archinfo.arch.Register', 'Register', (['"""spr3b6"""', '(4)', '(7896)'], {}), "('spr3b6', 4, 7896)\n", (41220, 41239), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41251, 41278), 'archinfo.arch.Register', 'Register', (['"""spr3b7"""', '(4)', '(7900)'], {}), "('spr3b7', 4, 7900)\n", (41259, 41278), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41290, 41317), 'archinfo.arch.Register', 'Register', (['"""spr3b8"""', '(4)', '(7904)'], {}), "('spr3b8', 4, 7904)\n", (41298, 41317), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41329, 41356), 'archinfo.arch.Register', 'Register', (['"""spr3b9"""', '(4)', '(7908)'], {}), "('spr3b9', 4, 7908)\n", (41337, 41356), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41368, 41395), 'archinfo.arch.Register', 'Register', (['"""spr3ba"""', '(4)', '(7912)'], {}), "('spr3ba', 4, 7912)\n", (41376, 41395), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41407, 41434), 'archinfo.arch.Register', 'Register', (['"""spr3bb"""', '(4)', '(7916)'], {}), "('spr3bb', 4, 7916)\n", (41415, 41434), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41446, 41473), 'archinfo.arch.Register', 'Register', (['"""spr3bc"""', '(4)', '(7920)'], {}), "('spr3bc', 4, 7920)\n", (41454, 41473), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41485, 41512), 'archinfo.arch.Register', 'Register', (['"""spr3bd"""', '(4)', '(7924)'], {}), "('spr3bd', 4, 7924)\n", (41493, 41512), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41524, 41551), 'archinfo.arch.Register', 'Register', (['"""spr3be"""', '(4)', '(7928)'], {}), "('spr3be', 4, 7928)\n", (41532, 41551), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41563, 41590), 'archinfo.arch.Register', 'Register', (['"""spr3bf"""', '(4)', '(7932)'], {}), "('spr3bf', 4, 7932)\n", (41571, 41590), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41602, 41629), 'archinfo.arch.Register', 'Register', (['"""spr3c0"""', '(4)', '(7936)'], {}), "('spr3c0', 4, 7936)\n", (41610, 41629), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41641, 41668), 'archinfo.arch.Register', 'Register', (['"""spr3c1"""', '(4)', '(7940)'], {}), "('spr3c1', 4, 7940)\n", (41649, 41668), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41680, 41707), 'archinfo.arch.Register', 'Register', (['"""spr3c2"""', '(4)', '(7944)'], {}), "('spr3c2', 4, 7944)\n", (41688, 41707), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41719, 41746), 'archinfo.arch.Register', 'Register', (['"""spr3c3"""', '(4)', '(7948)'], {}), "('spr3c3', 4, 7948)\n", (41727, 41746), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41758, 41785), 'archinfo.arch.Register', 'Register', (['"""spr3c4"""', '(4)', '(7952)'], {}), "('spr3c4', 4, 7952)\n", (41766, 41785), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41797, 41824), 'archinfo.arch.Register', 'Register', (['"""spr3c5"""', '(4)', '(7956)'], {}), "('spr3c5', 4, 7956)\n", (41805, 41824), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41836, 41863), 'archinfo.arch.Register', 'Register', (['"""spr3c6"""', '(4)', '(7960)'], {}), "('spr3c6', 4, 7960)\n", (41844, 41863), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41875, 41902), 'archinfo.arch.Register', 'Register', (['"""spr3c7"""', '(4)', '(7964)'], {}), "('spr3c7', 4, 7964)\n", (41883, 41902), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41914, 41941), 'archinfo.arch.Register', 'Register', (['"""spr3c8"""', '(4)', '(7968)'], {}), "('spr3c8', 4, 7968)\n", (41922, 41941), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41953, 41980), 'archinfo.arch.Register', 'Register', (['"""spr3c9"""', '(4)', '(7972)'], {}), "('spr3c9', 4, 7972)\n", (41961, 41980), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((41992, 42019), 'archinfo.arch.Register', 'Register', (['"""spr3ca"""', '(4)', '(7976)'], {}), "('spr3ca', 4, 7976)\n", (42000, 42019), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42031, 42058), 'archinfo.arch.Register', 'Register', (['"""spr3cb"""', '(4)', '(7980)'], {}), "('spr3cb', 4, 7980)\n", (42039, 42058), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42070, 42097), 'archinfo.arch.Register', 'Register', (['"""spr3cc"""', '(4)', '(7984)'], {}), "('spr3cc', 4, 7984)\n", (42078, 42097), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42109, 42136), 'archinfo.arch.Register', 'Register', (['"""spr3cd"""', '(4)', '(7988)'], {}), "('spr3cd', 4, 7988)\n", (42117, 42136), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42148, 42175), 'archinfo.arch.Register', 'Register', (['"""spr3ce"""', '(4)', '(7992)'], {}), "('spr3ce', 4, 7992)\n", (42156, 42175), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42187, 42214), 'archinfo.arch.Register', 'Register', (['"""spr3cf"""', '(4)', '(7996)'], {}), "('spr3cf', 4, 7996)\n", (42195, 42214), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42226, 42253), 'archinfo.arch.Register', 'Register', (['"""spr3d0"""', '(4)', '(8000)'], {}), "('spr3d0', 4, 8000)\n", (42234, 42253), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42265, 42292), 'archinfo.arch.Register', 'Register', (['"""spr3d1"""', '(4)', '(8004)'], {}), "('spr3d1', 4, 8004)\n", (42273, 42292), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42304, 42331), 'archinfo.arch.Register', 'Register', (['"""spr3d2"""', '(4)', '(8008)'], {}), "('spr3d2', 4, 8008)\n", (42312, 42331), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42343, 42370), 'archinfo.arch.Register', 'Register', (['"""spr3d3"""', '(4)', '(8012)'], {}), "('spr3d3', 4, 8012)\n", (42351, 42370), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42382, 42409), 'archinfo.arch.Register', 'Register', (['"""spr3d4"""', '(4)', '(8016)'], {}), "('spr3d4', 4, 8016)\n", (42390, 42409), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42421, 42448), 'archinfo.arch.Register', 'Register', (['"""spr3d5"""', '(4)', '(8020)'], {}), "('spr3d5', 4, 8020)\n", (42429, 42448), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42460, 42487), 'archinfo.arch.Register', 'Register', (['"""spr3d6"""', '(4)', '(8024)'], {}), "('spr3d6', 4, 8024)\n", (42468, 42487), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42499, 42526), 'archinfo.arch.Register', 'Register', (['"""spr3d7"""', '(4)', '(8028)'], {}), "('spr3d7', 4, 8028)\n", (42507, 42526), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42538, 42565), 'archinfo.arch.Register', 'Register', (['"""spr3d8"""', '(4)', '(8032)'], {}), "('spr3d8', 4, 8032)\n", (42546, 42565), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42577, 42604), 'archinfo.arch.Register', 'Register', (['"""spr3d9"""', '(4)', '(8036)'], {}), "('spr3d9', 4, 8036)\n", (42585, 42604), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42616, 42643), 'archinfo.arch.Register', 'Register', (['"""spr3da"""', '(4)', '(8040)'], {}), "('spr3da', 4, 8040)\n", (42624, 42643), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42655, 42682), 'archinfo.arch.Register', 'Register', (['"""spr3db"""', '(4)', '(8044)'], {}), "('spr3db', 4, 8044)\n", (42663, 42682), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42694, 42721), 'archinfo.arch.Register', 'Register', (['"""spr3dc"""', '(4)', '(8048)'], {}), "('spr3dc', 4, 8048)\n", (42702, 42721), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42733, 42760), 'archinfo.arch.Register', 'Register', (['"""spr3dd"""', '(4)', '(8052)'], {}), "('spr3dd', 4, 8052)\n", (42741, 42760), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42772, 42799), 'archinfo.arch.Register', 'Register', (['"""spr3de"""', '(4)', '(8056)'], {}), "('spr3de', 4, 8056)\n", (42780, 42799), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42811, 42838), 'archinfo.arch.Register', 'Register', (['"""spr3df"""', '(4)', '(8060)'], {}), "('spr3df', 4, 8060)\n", (42819, 42838), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42850, 42877), 'archinfo.arch.Register', 'Register', (['"""spr3e0"""', '(4)', '(8064)'], {}), "('spr3e0', 4, 8064)\n", (42858, 42877), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42889, 42916), 'archinfo.arch.Register', 'Register', (['"""spr3e1"""', '(4)', '(8068)'], {}), "('spr3e1', 4, 8068)\n", (42897, 42916), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42928, 42955), 'archinfo.arch.Register', 'Register', (['"""spr3e2"""', '(4)', '(8072)'], {}), "('spr3e2', 4, 8072)\n", (42936, 42955), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((42967, 42994), 'archinfo.arch.Register', 'Register', (['"""spr3e3"""', '(4)', '(8076)'], {}), "('spr3e3', 4, 8076)\n", (42975, 42994), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43006, 43033), 'archinfo.arch.Register', 'Register', (['"""spr3e4"""', '(4)', '(8080)'], {}), "('spr3e4', 4, 8080)\n", (43014, 43033), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43045, 43072), 'archinfo.arch.Register', 'Register', (['"""spr3e5"""', '(4)', '(8084)'], {}), "('spr3e5', 4, 8084)\n", (43053, 43072), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43084, 43111), 'archinfo.arch.Register', 'Register', (['"""spr3e6"""', '(4)', '(8088)'], {}), "('spr3e6', 4, 8088)\n", (43092, 43111), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43123, 43150), 'archinfo.arch.Register', 'Register', (['"""spr3e7"""', '(4)', '(8092)'], {}), "('spr3e7', 4, 8092)\n", (43131, 43150), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43162, 43189), 'archinfo.arch.Register', 'Register', (['"""spr3e8"""', '(4)', '(8096)'], {}), "('spr3e8', 4, 8096)\n", (43170, 43189), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43201, 43228), 'archinfo.arch.Register', 'Register', (['"""spr3e9"""', '(4)', '(8100)'], {}), "('spr3e9', 4, 8100)\n", (43209, 43228), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43240, 43267), 'archinfo.arch.Register', 'Register', (['"""spr3ea"""', '(4)', '(8104)'], {}), "('spr3ea', 4, 8104)\n", (43248, 43267), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43279, 43306), 'archinfo.arch.Register', 'Register', (['"""spr3eb"""', '(4)', '(8108)'], {}), "('spr3eb', 4, 8108)\n", (43287, 43306), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43318, 43345), 'archinfo.arch.Register', 'Register', (['"""spr3ec"""', '(4)', '(8112)'], {}), "('spr3ec', 4, 8112)\n", (43326, 43345), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43357, 43384), 'archinfo.arch.Register', 'Register', (['"""spr3ed"""', '(4)', '(8116)'], {}), "('spr3ed', 4, 8116)\n", (43365, 43384), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43396, 43423), 'archinfo.arch.Register', 'Register', (['"""spr3ee"""', '(4)', '(8120)'], {}), "('spr3ee', 4, 8120)\n", (43404, 43423), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43435, 43462), 'archinfo.arch.Register', 'Register', (['"""spr3ef"""', '(4)', '(8124)'], {}), "('spr3ef', 4, 8124)\n", (43443, 43462), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43474, 43501), 'archinfo.arch.Register', 'Register', (['"""spr3f0"""', '(4)', '(8128)'], {}), "('spr3f0', 4, 8128)\n", (43482, 43501), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43513, 43540), 'archinfo.arch.Register', 'Register', (['"""spr3f1"""', '(4)', '(8132)'], {}), "('spr3f1', 4, 8132)\n", (43521, 43540), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43552, 43579), 'archinfo.arch.Register', 'Register', (['"""spr3f2"""', '(4)', '(8136)'], {}), "('spr3f2', 4, 8136)\n", (43560, 43579), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43591, 43618), 'archinfo.arch.Register', 'Register', (['"""spr3f3"""', '(4)', '(8140)'], {}), "('spr3f3', 4, 8140)\n", (43599, 43618), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43630, 43657), 'archinfo.arch.Register', 'Register', (['"""spr3f4"""', '(4)', '(8144)'], {}), "('spr3f4', 4, 8144)\n", (43638, 43657), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43669, 43696), 'archinfo.arch.Register', 'Register', (['"""spr3f5"""', '(4)', '(8148)'], {}), "('spr3f5', 4, 8148)\n", (43677, 43696), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43708, 43735), 'archinfo.arch.Register', 'Register', (['"""spr3f6"""', '(4)', '(8152)'], {}), "('spr3f6', 4, 8152)\n", (43716, 43735), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43747, 43774), 'archinfo.arch.Register', 'Register', (['"""spr3f7"""', '(4)', '(8156)'], {}), "('spr3f7', 4, 8156)\n", (43755, 43774), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43786, 43813), 'archinfo.arch.Register', 'Register', (['"""spr3f8"""', '(4)', '(8160)'], {}), "('spr3f8', 4, 8160)\n", (43794, 43813), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43825, 43852), 'archinfo.arch.Register', 'Register', (['"""spr3f9"""', '(4)', '(8164)'], {}), "('spr3f9', 4, 8164)\n", (43833, 43852), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43864, 43891), 'archinfo.arch.Register', 'Register', (['"""spr3fa"""', '(4)', '(8168)'], {}), "('spr3fa', 4, 8168)\n", (43872, 43891), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43903, 43930), 'archinfo.arch.Register', 'Register', (['"""spr3fb"""', '(4)', '(8172)'], {}), "('spr3fb', 4, 8172)\n", (43911, 43930), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43942, 43969), 'archinfo.arch.Register', 'Register', (['"""spr3fc"""', '(4)', '(8176)'], {}), "('spr3fc', 4, 8176)\n", (43950, 43969), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((43981, 44008), 'archinfo.arch.Register', 'Register', (['"""spr3fd"""', '(4)', '(8180)'], {}), "('spr3fd', 4, 8180)\n", (43989, 44008), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44020, 44047), 'archinfo.arch.Register', 'Register', (['"""spr3fe"""', '(4)', '(8184)'], {}), "('spr3fe', 4, 8184)\n", (44028, 44047), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44059, 44086), 'archinfo.arch.Register', 'Register', (['"""spr3ff"""', '(4)', '(8188)'], {}), "('spr3ff', 4, 8188)\n", (44067, 44086), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44098, 44124), 'archinfo.arch.Register', 'Register', (['"""vs0"""', '(16)', '(16384)'], {}), "('vs0', 16, 16384)\n", (44106, 44124), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44135, 44159), 'archinfo.arch.Register', 'Register', (['"""f0"""', '(8)', '(16392)'], {}), "('f0', 8, 16392)\n", (44143, 44159), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44170, 44196), 'archinfo.arch.Register', 'Register', (['"""vs1"""', '(16)', '(16400)'], {}), "('vs1', 16, 16400)\n", (44178, 44196), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44207, 44231), 'archinfo.arch.Register', 'Register', (['"""f1"""', '(8)', '(16408)'], {}), "('f1', 8, 16408)\n", (44215, 44231), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44242, 44268), 'archinfo.arch.Register', 'Register', (['"""vs2"""', '(16)', '(16416)'], {}), "('vs2', 16, 16416)\n", (44250, 44268), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44279, 44303), 'archinfo.arch.Register', 'Register', (['"""f2"""', '(8)', '(16424)'], {}), "('f2', 8, 16424)\n", (44287, 44303), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44314, 44340), 'archinfo.arch.Register', 'Register', (['"""vs3"""', '(16)', '(16432)'], {}), "('vs3', 16, 16432)\n", (44322, 44340), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44351, 44375), 'archinfo.arch.Register', 'Register', (['"""f3"""', '(8)', '(16440)'], {}), "('f3', 8, 16440)\n", (44359, 44375), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44386, 44412), 'archinfo.arch.Register', 'Register', (['"""vs4"""', '(16)', '(16448)'], {}), "('vs4', 16, 16448)\n", (44394, 44412), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44423, 44447), 'archinfo.arch.Register', 'Register', (['"""f4"""', '(8)', '(16456)'], {}), "('f4', 8, 16456)\n", (44431, 44447), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44458, 44484), 'archinfo.arch.Register', 'Register', (['"""vs5"""', '(16)', '(16464)'], {}), "('vs5', 16, 16464)\n", (44466, 44484), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44495, 44519), 'archinfo.arch.Register', 'Register', (['"""f5"""', '(8)', '(16472)'], {}), "('f5', 8, 16472)\n", (44503, 44519), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44530, 44556), 'archinfo.arch.Register', 'Register', (['"""vs6"""', '(16)', '(16480)'], {}), "('vs6', 16, 16480)\n", (44538, 44556), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44567, 44591), 'archinfo.arch.Register', 'Register', (['"""f6"""', '(8)', '(16488)'], {}), "('f6', 8, 16488)\n", (44575, 44591), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44602, 44628), 'archinfo.arch.Register', 'Register', (['"""vs7"""', '(16)', '(16496)'], {}), "('vs7', 16, 16496)\n", (44610, 44628), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44639, 44663), 'archinfo.arch.Register', 'Register', (['"""f7"""', '(8)', '(16504)'], {}), "('f7', 8, 16504)\n", (44647, 44663), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44674, 44700), 'archinfo.arch.Register', 'Register', (['"""vs8"""', '(16)', '(16512)'], {}), "('vs8', 16, 16512)\n", (44682, 44700), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44711, 44735), 'archinfo.arch.Register', 'Register', (['"""f8"""', '(8)', '(16520)'], {}), "('f8', 8, 16520)\n", (44719, 44735), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44746, 44772), 'archinfo.arch.Register', 'Register', (['"""vs9"""', '(16)', '(16528)'], {}), "('vs9', 16, 16528)\n", (44754, 44772), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44783, 44807), 'archinfo.arch.Register', 'Register', (['"""f9"""', '(8)', '(16536)'], {}), "('f9', 8, 16536)\n", (44791, 44807), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44818, 44845), 'archinfo.arch.Register', 'Register', (['"""vs10"""', '(16)', '(16544)'], {}), "('vs10', 16, 16544)\n", (44826, 44845), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44856, 44881), 'archinfo.arch.Register', 'Register', (['"""f10"""', '(8)', '(16552)'], {}), "('f10', 8, 16552)\n", (44864, 44881), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44892, 44919), 'archinfo.arch.Register', 'Register', (['"""vs11"""', '(16)', '(16560)'], {}), "('vs11', 16, 16560)\n", (44900, 44919), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44930, 44955), 'archinfo.arch.Register', 'Register', (['"""f11"""', '(8)', '(16568)'], {}), "('f11', 8, 16568)\n", (44938, 44955), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((44966, 44993), 'archinfo.arch.Register', 'Register', (['"""vs12"""', '(16)', '(16576)'], {}), "('vs12', 16, 16576)\n", (44974, 44993), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45004, 45029), 'archinfo.arch.Register', 'Register', (['"""f12"""', '(8)', '(16584)'], {}), "('f12', 8, 16584)\n", (45012, 45029), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45040, 45067), 'archinfo.arch.Register', 'Register', (['"""vs13"""', '(16)', '(16592)'], {}), "('vs13', 16, 16592)\n", (45048, 45067), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45078, 45103), 'archinfo.arch.Register', 'Register', (['"""f13"""', '(8)', '(16600)'], {}), "('f13', 8, 16600)\n", (45086, 45103), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45114, 45141), 'archinfo.arch.Register', 'Register', (['"""vs14"""', '(16)', '(16608)'], {}), "('vs14', 16, 16608)\n", (45122, 45141), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45152, 45177), 'archinfo.arch.Register', 'Register', (['"""f14"""', '(8)', '(16616)'], {}), "('f14', 8, 16616)\n", (45160, 45177), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45188, 45215), 'archinfo.arch.Register', 'Register', (['"""vs15"""', '(16)', '(16624)'], {}), "('vs15', 16, 16624)\n", (45196, 45215), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45226, 45251), 'archinfo.arch.Register', 'Register', (['"""f15"""', '(8)', '(16632)'], {}), "('f15', 8, 16632)\n", (45234, 45251), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45262, 45289), 'archinfo.arch.Register', 'Register', (['"""vs16"""', '(16)', '(16640)'], {}), "('vs16', 16, 16640)\n", (45270, 45289), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45300, 45325), 'archinfo.arch.Register', 'Register', (['"""f16"""', '(8)', '(16648)'], {}), "('f16', 8, 16648)\n", (45308, 45325), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45336, 45363), 'archinfo.arch.Register', 'Register', (['"""vs17"""', '(16)', '(16656)'], {}), "('vs17', 16, 16656)\n", (45344, 45363), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45374, 45399), 'archinfo.arch.Register', 'Register', (['"""f17"""', '(8)', '(16664)'], {}), "('f17', 8, 16664)\n", (45382, 45399), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45410, 45437), 'archinfo.arch.Register', 'Register', (['"""vs18"""', '(16)', '(16672)'], {}), "('vs18', 16, 16672)\n", (45418, 45437), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45448, 45473), 'archinfo.arch.Register', 'Register', (['"""f18"""', '(8)', '(16680)'], {}), "('f18', 8, 16680)\n", (45456, 45473), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45484, 45511), 'archinfo.arch.Register', 'Register', (['"""vs19"""', '(16)', '(16688)'], {}), "('vs19', 16, 16688)\n", (45492, 45511), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45522, 45547), 'archinfo.arch.Register', 'Register', (['"""f19"""', '(8)', '(16696)'], {}), "('f19', 8, 16696)\n", (45530, 45547), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45558, 45585), 'archinfo.arch.Register', 'Register', (['"""vs20"""', '(16)', '(16704)'], {}), "('vs20', 16, 16704)\n", (45566, 45585), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45596, 45621), 'archinfo.arch.Register', 'Register', (['"""f20"""', '(8)', '(16712)'], {}), "('f20', 8, 16712)\n", (45604, 45621), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45632, 45659), 'archinfo.arch.Register', 'Register', (['"""vs21"""', '(16)', '(16720)'], {}), "('vs21', 16, 16720)\n", (45640, 45659), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45670, 45695), 'archinfo.arch.Register', 'Register', (['"""f21"""', '(8)', '(16728)'], {}), "('f21', 8, 16728)\n", (45678, 45695), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45706, 45733), 'archinfo.arch.Register', 'Register', (['"""vs22"""', '(16)', '(16736)'], {}), "('vs22', 16, 16736)\n", (45714, 45733), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45744, 45769), 'archinfo.arch.Register', 'Register', (['"""f22"""', '(8)', '(16744)'], {}), "('f22', 8, 16744)\n", (45752, 45769), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45780, 45807), 'archinfo.arch.Register', 'Register', (['"""vs23"""', '(16)', '(16752)'], {}), "('vs23', 16, 16752)\n", (45788, 45807), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45818, 45843), 'archinfo.arch.Register', 'Register', (['"""f23"""', '(8)', '(16760)'], {}), "('f23', 8, 16760)\n", (45826, 45843), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45854, 45881), 'archinfo.arch.Register', 'Register', (['"""vs24"""', '(16)', '(16768)'], {}), "('vs24', 16, 16768)\n", (45862, 45881), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45892, 45917), 'archinfo.arch.Register', 'Register', (['"""f24"""', '(8)', '(16776)'], {}), "('f24', 8, 16776)\n", (45900, 45917), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45928, 45955), 'archinfo.arch.Register', 'Register', (['"""vs25"""', '(16)', '(16784)'], {}), "('vs25', 16, 16784)\n", (45936, 45955), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((45966, 45991), 'archinfo.arch.Register', 'Register', (['"""f25"""', '(8)', '(16792)'], {}), "('f25', 8, 16792)\n", (45974, 45991), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46002, 46029), 'archinfo.arch.Register', 'Register', (['"""vs26"""', '(16)', '(16800)'], {}), "('vs26', 16, 16800)\n", (46010, 46029), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46040, 46065), 'archinfo.arch.Register', 'Register', (['"""f26"""', '(8)', '(16808)'], {}), "('f26', 8, 16808)\n", (46048, 46065), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46076, 46103), 'archinfo.arch.Register', 'Register', (['"""vs27"""', '(16)', '(16816)'], {}), "('vs27', 16, 16816)\n", (46084, 46103), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46114, 46139), 'archinfo.arch.Register', 'Register', (['"""f27"""', '(8)', '(16824)'], {}), "('f27', 8, 16824)\n", (46122, 46139), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46150, 46177), 'archinfo.arch.Register', 'Register', (['"""vs28"""', '(16)', '(16832)'], {}), "('vs28', 16, 16832)\n", (46158, 46177), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46188, 46213), 'archinfo.arch.Register', 'Register', (['"""f28"""', '(8)', '(16840)'], {}), "('f28', 8, 16840)\n", (46196, 46213), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46224, 46251), 'archinfo.arch.Register', 'Register', (['"""vs29"""', '(16)', '(16848)'], {}), "('vs29', 16, 16848)\n", (46232, 46251), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46262, 46287), 'archinfo.arch.Register', 'Register', (['"""f29"""', '(8)', '(16856)'], {}), "('f29', 8, 16856)\n", (46270, 46287), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46298, 46325), 'archinfo.arch.Register', 'Register', (['"""vs30"""', '(16)', '(16864)'], {}), "('vs30', 16, 16864)\n", (46306, 46325), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46336, 46361), 'archinfo.arch.Register', 'Register', (['"""f30"""', '(8)', '(16872)'], {}), "('f30', 8, 16872)\n", (46344, 46361), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46372, 46399), 'archinfo.arch.Register', 'Register', (['"""vs31"""', '(16)', '(16880)'], {}), "('vs31', 16, 16880)\n", (46380, 46399), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46410, 46435), 'archinfo.arch.Register', 'Register', (['"""f31"""', '(8)', '(16888)'], {}), "('f31', 8, 16888)\n", (46418, 46435), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46446, 46473), 'archinfo.arch.Register', 'Register', (['"""vs32"""', '(16)', '(16896)'], {}), "('vs32', 16, 16896)\n", (46454, 46473), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46484, 46514), 'archinfo.arch.Register', 'Register', (['"""vr0_64_1"""', '(8)', '(16896)'], {}), "('vr0_64_1', 8, 16896)\n", (46492, 46514), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46525, 46555), 'archinfo.arch.Register', 'Register', (['"""vr0_32_3"""', '(4)', '(16896)'], {}), "('vr0_32_3', 4, 16896)\n", (46533, 46555), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46566, 46596), 'archinfo.arch.Register', 'Register', (['"""vr0_16_7"""', '(2)', '(16896)'], {}), "('vr0_16_7', 2, 16896)\n", (46574, 46596), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46607, 46637), 'archinfo.arch.Register', 'Register', (['"""vr0_8_15"""', '(1)', '(16896)'], {}), "('vr0_8_15', 1, 16896)\n", (46615, 46637), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46648, 46678), 'archinfo.arch.Register', 'Register', (['"""vr0_8_14"""', '(1)', '(16897)'], {}), "('vr0_8_14', 1, 16897)\n", (46656, 46678), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46689, 46719), 'archinfo.arch.Register', 'Register', (['"""vr0_16_6"""', '(2)', '(16898)'], {}), "('vr0_16_6', 2, 16898)\n", (46697, 46719), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46730, 46760), 'archinfo.arch.Register', 'Register', (['"""vr0_8_13"""', '(1)', '(16898)'], {}), "('vr0_8_13', 1, 16898)\n", (46738, 46760), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46771, 46801), 'archinfo.arch.Register', 'Register', (['"""vr0_8_12"""', '(1)', '(16899)'], {}), "('vr0_8_12', 1, 16899)\n", (46779, 46801), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46812, 46842), 'archinfo.arch.Register', 'Register', (['"""vr0_32_2"""', '(4)', '(16900)'], {}), "('vr0_32_2', 4, 16900)\n", (46820, 46842), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46853, 46883), 'archinfo.arch.Register', 'Register', (['"""vr0_16_5"""', '(2)', '(16900)'], {}), "('vr0_16_5', 2, 16900)\n", (46861, 46883), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46894, 46924), 'archinfo.arch.Register', 'Register', (['"""vr0_8_11"""', '(1)', '(16900)'], {}), "('vr0_8_11', 1, 16900)\n", (46902, 46924), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46935, 46965), 'archinfo.arch.Register', 'Register', (['"""vr0_8_10"""', '(1)', '(16901)'], {}), "('vr0_8_10', 1, 16901)\n", (46943, 46965), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((46976, 47006), 'archinfo.arch.Register', 'Register', (['"""vr0_16_4"""', '(2)', '(16902)'], {}), "('vr0_16_4', 2, 16902)\n", (46984, 47006), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47017, 47046), 'archinfo.arch.Register', 'Register', (['"""vr0_8_9"""', '(1)', '(16902)'], {}), "('vr0_8_9', 1, 16902)\n", (47025, 47046), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47057, 47086), 'archinfo.arch.Register', 'Register', (['"""vr0_8_8"""', '(1)', '(16903)'], {}), "('vr0_8_8', 1, 16903)\n", (47065, 47086), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47097, 47127), 'archinfo.arch.Register', 'Register', (['"""vr0_64_0"""', '(8)', '(16904)'], {}), "('vr0_64_0', 8, 16904)\n", (47105, 47127), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47138, 47168), 'archinfo.arch.Register', 'Register', (['"""vr0_32_1"""', '(4)', '(16904)'], {}), "('vr0_32_1', 4, 16904)\n", (47146, 47168), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47179, 47209), 'archinfo.arch.Register', 'Register', (['"""vr0_16_3"""', '(2)', '(16904)'], {}), "('vr0_16_3', 2, 16904)\n", (47187, 47209), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47220, 47249), 'archinfo.arch.Register', 'Register', (['"""vr0_8_7"""', '(1)', '(16904)'], {}), "('vr0_8_7', 1, 16904)\n", (47228, 47249), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47260, 47289), 'archinfo.arch.Register', 'Register', (['"""vr0_8_6"""', '(1)', '(16905)'], {}), "('vr0_8_6', 1, 16905)\n", (47268, 47289), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47300, 47330), 'archinfo.arch.Register', 'Register', (['"""vr0_16_2"""', '(2)', '(16906)'], {}), "('vr0_16_2', 2, 16906)\n", (47308, 47330), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47341, 47370), 'archinfo.arch.Register', 'Register', (['"""vr0_8_5"""', '(1)', '(16906)'], {}), "('vr0_8_5', 1, 16906)\n", (47349, 47370), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47381, 47410), 'archinfo.arch.Register', 'Register', (['"""vr0_8_4"""', '(1)', '(16907)'], {}), "('vr0_8_4', 1, 16907)\n", (47389, 47410), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47421, 47451), 'archinfo.arch.Register', 'Register', (['"""vr0_32_0"""', '(4)', '(16908)'], {}), "('vr0_32_0', 4, 16908)\n", (47429, 47451), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47462, 47492), 'archinfo.arch.Register', 'Register', (['"""vr0_16_1"""', '(2)', '(16908)'], {}), "('vr0_16_1', 2, 16908)\n", (47470, 47492), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47503, 47532), 'archinfo.arch.Register', 'Register', (['"""vr0_8_3"""', '(1)', '(16908)'], {}), "('vr0_8_3', 1, 16908)\n", (47511, 47532), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47543, 47572), 'archinfo.arch.Register', 'Register', (['"""vr0_8_2"""', '(1)', '(16909)'], {}), "('vr0_8_2', 1, 16909)\n", (47551, 47572), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47583, 47613), 'archinfo.arch.Register', 'Register', (['"""vr0_16_0"""', '(2)', '(16910)'], {}), "('vr0_16_0', 2, 16910)\n", (47591, 47613), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47624, 47653), 'archinfo.arch.Register', 'Register', (['"""vr0_8_1"""', '(1)', '(16910)'], {}), "('vr0_8_1', 1, 16910)\n", (47632, 47653), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47664, 47693), 'archinfo.arch.Register', 'Register', (['"""vr0_8_0"""', '(1)', '(16911)'], {}), "('vr0_8_0', 1, 16911)\n", (47672, 47693), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47704, 47731), 'archinfo.arch.Register', 'Register', (['"""vs33"""', '(16)', '(16912)'], {}), "('vs33', 16, 16912)\n", (47712, 47731), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47742, 47772), 'archinfo.arch.Register', 'Register', (['"""vr1_64_1"""', '(8)', '(16912)'], {}), "('vr1_64_1', 8, 16912)\n", (47750, 47772), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47783, 47813), 'archinfo.arch.Register', 'Register', (['"""vr1_32_3"""', '(4)', '(16912)'], {}), "('vr1_32_3', 4, 16912)\n", (47791, 47813), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47824, 47854), 'archinfo.arch.Register', 'Register', (['"""vr1_16_7"""', '(2)', '(16912)'], {}), "('vr1_16_7', 2, 16912)\n", (47832, 47854), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47865, 47895), 'archinfo.arch.Register', 'Register', (['"""vr1_8_15"""', '(1)', '(16912)'], {}), "('vr1_8_15', 1, 16912)\n", (47873, 47895), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47906, 47936), 'archinfo.arch.Register', 'Register', (['"""vr1_8_14"""', '(1)', '(16913)'], {}), "('vr1_8_14', 1, 16913)\n", (47914, 47936), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47947, 47977), 'archinfo.arch.Register', 'Register', (['"""vr1_16_6"""', '(2)', '(16914)'], {}), "('vr1_16_6', 2, 16914)\n", (47955, 47977), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((47988, 48018), 'archinfo.arch.Register', 'Register', (['"""vr1_8_13"""', '(1)', '(16914)'], {}), "('vr1_8_13', 1, 16914)\n", (47996, 48018), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48029, 48059), 'archinfo.arch.Register', 'Register', (['"""vr1_8_12"""', '(1)', '(16915)'], {}), "('vr1_8_12', 1, 16915)\n", (48037, 48059), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48070, 48100), 'archinfo.arch.Register', 'Register', (['"""vr1_32_2"""', '(4)', '(16916)'], {}), "('vr1_32_2', 4, 16916)\n", (48078, 48100), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48111, 48141), 'archinfo.arch.Register', 'Register', (['"""vr1_16_5"""', '(2)', '(16916)'], {}), "('vr1_16_5', 2, 16916)\n", (48119, 48141), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48152, 48182), 'archinfo.arch.Register', 'Register', (['"""vr1_8_11"""', '(1)', '(16916)'], {}), "('vr1_8_11', 1, 16916)\n", (48160, 48182), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48193, 48223), 'archinfo.arch.Register', 'Register', (['"""vr1_8_10"""', '(1)', '(16917)'], {}), "('vr1_8_10', 1, 16917)\n", (48201, 48223), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48234, 48264), 'archinfo.arch.Register', 'Register', (['"""vr1_16_4"""', '(2)', '(16918)'], {}), "('vr1_16_4', 2, 16918)\n", (48242, 48264), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48275, 48304), 'archinfo.arch.Register', 'Register', (['"""vr1_8_9"""', '(1)', '(16918)'], {}), "('vr1_8_9', 1, 16918)\n", (48283, 48304), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48315, 48344), 'archinfo.arch.Register', 'Register', (['"""vr1_8_8"""', '(1)', '(16919)'], {}), "('vr1_8_8', 1, 16919)\n", (48323, 48344), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48355, 48385), 'archinfo.arch.Register', 'Register', (['"""vr1_64_0"""', '(8)', '(16920)'], {}), "('vr1_64_0', 8, 16920)\n", (48363, 48385), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48396, 48426), 'archinfo.arch.Register', 'Register', (['"""vr1_32_1"""', '(4)', '(16920)'], {}), "('vr1_32_1', 4, 16920)\n", (48404, 48426), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48437, 48467), 'archinfo.arch.Register', 'Register', (['"""vr1_16_3"""', '(2)', '(16920)'], {}), "('vr1_16_3', 2, 16920)\n", (48445, 48467), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48478, 48507), 'archinfo.arch.Register', 'Register', (['"""vr1_8_7"""', '(1)', '(16920)'], {}), "('vr1_8_7', 1, 16920)\n", (48486, 48507), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48518, 48547), 'archinfo.arch.Register', 'Register', (['"""vr1_8_6"""', '(1)', '(16921)'], {}), "('vr1_8_6', 1, 16921)\n", (48526, 48547), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48558, 48588), 'archinfo.arch.Register', 'Register', (['"""vr1_16_2"""', '(2)', '(16922)'], {}), "('vr1_16_2', 2, 16922)\n", (48566, 48588), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48599, 48628), 'archinfo.arch.Register', 'Register', (['"""vr1_8_5"""', '(1)', '(16922)'], {}), "('vr1_8_5', 1, 16922)\n", (48607, 48628), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48639, 48668), 'archinfo.arch.Register', 'Register', (['"""vr1_8_4"""', '(1)', '(16923)'], {}), "('vr1_8_4', 1, 16923)\n", (48647, 48668), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48679, 48709), 'archinfo.arch.Register', 'Register', (['"""vr1_32_0"""', '(4)', '(16924)'], {}), "('vr1_32_0', 4, 16924)\n", (48687, 48709), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48720, 48750), 'archinfo.arch.Register', 'Register', (['"""vr1_16_1"""', '(2)', '(16924)'], {}), "('vr1_16_1', 2, 16924)\n", (48728, 48750), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48761, 48790), 'archinfo.arch.Register', 'Register', (['"""vr1_8_3"""', '(1)', '(16924)'], {}), "('vr1_8_3', 1, 16924)\n", (48769, 48790), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48801, 48830), 'archinfo.arch.Register', 'Register', (['"""vr1_8_2"""', '(1)', '(16925)'], {}), "('vr1_8_2', 1, 16925)\n", (48809, 48830), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48841, 48871), 'archinfo.arch.Register', 'Register', (['"""vr1_16_0"""', '(2)', '(16926)'], {}), "('vr1_16_0', 2, 16926)\n", (48849, 48871), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48882, 48911), 'archinfo.arch.Register', 'Register', (['"""vr1_8_1"""', '(1)', '(16926)'], {}), "('vr1_8_1', 1, 16926)\n", (48890, 48911), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48922, 48951), 'archinfo.arch.Register', 'Register', (['"""vr1_8_0"""', '(1)', '(16927)'], {}), "('vr1_8_0', 1, 16927)\n", (48930, 48951), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((48962, 48989), 'archinfo.arch.Register', 'Register', (['"""vs34"""', '(16)', '(16928)'], {}), "('vs34', 16, 16928)\n", (48970, 48989), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49000, 49030), 'archinfo.arch.Register', 'Register', (['"""vr2_64_1"""', '(8)', '(16928)'], {}), "('vr2_64_1', 8, 16928)\n", (49008, 49030), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49041, 49071), 'archinfo.arch.Register', 'Register', (['"""vr2_32_3"""', '(4)', '(16928)'], {}), "('vr2_32_3', 4, 16928)\n", (49049, 49071), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49082, 49112), 'archinfo.arch.Register', 'Register', (['"""vr2_16_7"""', '(2)', '(16928)'], {}), "('vr2_16_7', 2, 16928)\n", (49090, 49112), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49123, 49153), 'archinfo.arch.Register', 'Register', (['"""vr2_8_15"""', '(1)', '(16928)'], {}), "('vr2_8_15', 1, 16928)\n", (49131, 49153), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49164, 49194), 'archinfo.arch.Register', 'Register', (['"""vr2_8_14"""', '(1)', '(16929)'], {}), "('vr2_8_14', 1, 16929)\n", (49172, 49194), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49205, 49235), 'archinfo.arch.Register', 'Register', (['"""vr2_16_6"""', '(2)', '(16930)'], {}), "('vr2_16_6', 2, 16930)\n", (49213, 49235), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49246, 49276), 'archinfo.arch.Register', 'Register', (['"""vr2_8_13"""', '(1)', '(16930)'], {}), "('vr2_8_13', 1, 16930)\n", (49254, 49276), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49287, 49317), 'archinfo.arch.Register', 'Register', (['"""vr2_8_12"""', '(1)', '(16931)'], {}), "('vr2_8_12', 1, 16931)\n", (49295, 49317), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49328, 49358), 'archinfo.arch.Register', 'Register', (['"""vr2_32_2"""', '(4)', '(16932)'], {}), "('vr2_32_2', 4, 16932)\n", (49336, 49358), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49369, 49399), 'archinfo.arch.Register', 'Register', (['"""vr2_16_5"""', '(2)', '(16932)'], {}), "('vr2_16_5', 2, 16932)\n", (49377, 49399), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49410, 49440), 'archinfo.arch.Register', 'Register', (['"""vr2_8_11"""', '(1)', '(16932)'], {}), "('vr2_8_11', 1, 16932)\n", (49418, 49440), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49451, 49481), 'archinfo.arch.Register', 'Register', (['"""vr2_8_10"""', '(1)', '(16933)'], {}), "('vr2_8_10', 1, 16933)\n", (49459, 49481), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49492, 49522), 'archinfo.arch.Register', 'Register', (['"""vr2_16_4"""', '(2)', '(16934)'], {}), "('vr2_16_4', 2, 16934)\n", (49500, 49522), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49533, 49562), 'archinfo.arch.Register', 'Register', (['"""vr2_8_9"""', '(1)', '(16934)'], {}), "('vr2_8_9', 1, 16934)\n", (49541, 49562), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49573, 49602), 'archinfo.arch.Register', 'Register', (['"""vr2_8_8"""', '(1)', '(16935)'], {}), "('vr2_8_8', 1, 16935)\n", (49581, 49602), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49613, 49643), 'archinfo.arch.Register', 'Register', (['"""vr2_64_0"""', '(8)', '(16936)'], {}), "('vr2_64_0', 8, 16936)\n", (49621, 49643), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49654, 49684), 'archinfo.arch.Register', 'Register', (['"""vr2_32_1"""', '(4)', '(16936)'], {}), "('vr2_32_1', 4, 16936)\n", (49662, 49684), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49695, 49725), 'archinfo.arch.Register', 'Register', (['"""vr2_16_3"""', '(2)', '(16936)'], {}), "('vr2_16_3', 2, 16936)\n", (49703, 49725), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49736, 49765), 'archinfo.arch.Register', 'Register', (['"""vr2_8_7"""', '(1)', '(16936)'], {}), "('vr2_8_7', 1, 16936)\n", (49744, 49765), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49776, 49805), 'archinfo.arch.Register', 'Register', (['"""vr2_8_6"""', '(1)', '(16937)'], {}), "('vr2_8_6', 1, 16937)\n", (49784, 49805), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49816, 49846), 'archinfo.arch.Register', 'Register', (['"""vr2_16_2"""', '(2)', '(16938)'], {}), "('vr2_16_2', 2, 16938)\n", (49824, 49846), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49857, 49886), 'archinfo.arch.Register', 'Register', (['"""vr2_8_5"""', '(1)', '(16938)'], {}), "('vr2_8_5', 1, 16938)\n", (49865, 49886), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49897, 49926), 'archinfo.arch.Register', 'Register', (['"""vr2_8_4"""', '(1)', '(16939)'], {}), "('vr2_8_4', 1, 16939)\n", (49905, 49926), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49937, 49967), 'archinfo.arch.Register', 'Register', (['"""vr2_32_0"""', '(4)', '(16940)'], {}), "('vr2_32_0', 4, 16940)\n", (49945, 49967), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((49978, 50008), 'archinfo.arch.Register', 'Register', (['"""vr2_16_1"""', '(2)', '(16940)'], {}), "('vr2_16_1', 2, 16940)\n", (49986, 50008), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50019, 50048), 'archinfo.arch.Register', 'Register', (['"""vr2_8_3"""', '(1)', '(16940)'], {}), "('vr2_8_3', 1, 16940)\n", (50027, 50048), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50059, 50088), 'archinfo.arch.Register', 'Register', (['"""vr2_8_2"""', '(1)', '(16941)'], {}), "('vr2_8_2', 1, 16941)\n", (50067, 50088), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50099, 50129), 'archinfo.arch.Register', 'Register', (['"""vr2_16_0"""', '(2)', '(16942)'], {}), "('vr2_16_0', 2, 16942)\n", (50107, 50129), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50140, 50169), 'archinfo.arch.Register', 'Register', (['"""vr2_8_1"""', '(1)', '(16942)'], {}), "('vr2_8_1', 1, 16942)\n", (50148, 50169), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50180, 50209), 'archinfo.arch.Register', 'Register', (['"""vr2_8_0"""', '(1)', '(16943)'], {}), "('vr2_8_0', 1, 16943)\n", (50188, 50209), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50220, 50247), 'archinfo.arch.Register', 'Register', (['"""vs35"""', '(16)', '(16944)'], {}), "('vs35', 16, 16944)\n", (50228, 50247), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50258, 50288), 'archinfo.arch.Register', 'Register', (['"""vr3_64_1"""', '(8)', '(16944)'], {}), "('vr3_64_1', 8, 16944)\n", (50266, 50288), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50299, 50329), 'archinfo.arch.Register', 'Register', (['"""vr3_32_3"""', '(4)', '(16944)'], {}), "('vr3_32_3', 4, 16944)\n", (50307, 50329), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50340, 50370), 'archinfo.arch.Register', 'Register', (['"""vr3_16_7"""', '(2)', '(16944)'], {}), "('vr3_16_7', 2, 16944)\n", (50348, 50370), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50381, 50411), 'archinfo.arch.Register', 'Register', (['"""vr3_8_15"""', '(1)', '(16944)'], {}), "('vr3_8_15', 1, 16944)\n", (50389, 50411), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50422, 50452), 'archinfo.arch.Register', 'Register', (['"""vr3_8_14"""', '(1)', '(16945)'], {}), "('vr3_8_14', 1, 16945)\n", (50430, 50452), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50463, 50493), 'archinfo.arch.Register', 'Register', (['"""vr3_16_6"""', '(2)', '(16946)'], {}), "('vr3_16_6', 2, 16946)\n", (50471, 50493), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50504, 50534), 'archinfo.arch.Register', 'Register', (['"""vr3_8_13"""', '(1)', '(16946)'], {}), "('vr3_8_13', 1, 16946)\n", (50512, 50534), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50545, 50575), 'archinfo.arch.Register', 'Register', (['"""vr3_8_12"""', '(1)', '(16947)'], {}), "('vr3_8_12', 1, 16947)\n", (50553, 50575), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50586, 50616), 'archinfo.arch.Register', 'Register', (['"""vr3_32_2"""', '(4)', '(16948)'], {}), "('vr3_32_2', 4, 16948)\n", (50594, 50616), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50627, 50657), 'archinfo.arch.Register', 'Register', (['"""vr3_16_5"""', '(2)', '(16948)'], {}), "('vr3_16_5', 2, 16948)\n", (50635, 50657), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50668, 50698), 'archinfo.arch.Register', 'Register', (['"""vr3_8_11"""', '(1)', '(16948)'], {}), "('vr3_8_11', 1, 16948)\n", (50676, 50698), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50709, 50739), 'archinfo.arch.Register', 'Register', (['"""vr3_8_10"""', '(1)', '(16949)'], {}), "('vr3_8_10', 1, 16949)\n", (50717, 50739), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50750, 50780), 'archinfo.arch.Register', 'Register', (['"""vr3_16_4"""', '(2)', '(16950)'], {}), "('vr3_16_4', 2, 16950)\n", (50758, 50780), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50791, 50820), 'archinfo.arch.Register', 'Register', (['"""vr3_8_9"""', '(1)', '(16950)'], {}), "('vr3_8_9', 1, 16950)\n", (50799, 50820), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50831, 50860), 'archinfo.arch.Register', 'Register', (['"""vr3_8_8"""', '(1)', '(16951)'], {}), "('vr3_8_8', 1, 16951)\n", (50839, 50860), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50871, 50901), 'archinfo.arch.Register', 'Register', (['"""vr3_64_0"""', '(8)', '(16952)'], {}), "('vr3_64_0', 8, 16952)\n", (50879, 50901), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50912, 50942), 'archinfo.arch.Register', 'Register', (['"""vr3_32_1"""', '(4)', '(16952)'], {}), "('vr3_32_1', 4, 16952)\n", (50920, 50942), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50953, 50983), 'archinfo.arch.Register', 'Register', (['"""vr3_16_3"""', '(2)', '(16952)'], {}), "('vr3_16_3', 2, 16952)\n", (50961, 50983), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((50994, 51023), 'archinfo.arch.Register', 'Register', (['"""vr3_8_7"""', '(1)', '(16952)'], {}), "('vr3_8_7', 1, 16952)\n", (51002, 51023), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51034, 51063), 'archinfo.arch.Register', 'Register', (['"""vr3_8_6"""', '(1)', '(16953)'], {}), "('vr3_8_6', 1, 16953)\n", (51042, 51063), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51074, 51104), 'archinfo.arch.Register', 'Register', (['"""vr3_16_2"""', '(2)', '(16954)'], {}), "('vr3_16_2', 2, 16954)\n", (51082, 51104), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51115, 51144), 'archinfo.arch.Register', 'Register', (['"""vr3_8_5"""', '(1)', '(16954)'], {}), "('vr3_8_5', 1, 16954)\n", (51123, 51144), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51155, 51184), 'archinfo.arch.Register', 'Register', (['"""vr3_8_4"""', '(1)', '(16955)'], {}), "('vr3_8_4', 1, 16955)\n", (51163, 51184), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51195, 51225), 'archinfo.arch.Register', 'Register', (['"""vr3_32_0"""', '(4)', '(16956)'], {}), "('vr3_32_0', 4, 16956)\n", (51203, 51225), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51236, 51266), 'archinfo.arch.Register', 'Register', (['"""vr3_16_1"""', '(2)', '(16956)'], {}), "('vr3_16_1', 2, 16956)\n", (51244, 51266), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51277, 51306), 'archinfo.arch.Register', 'Register', (['"""vr3_8_3"""', '(1)', '(16956)'], {}), "('vr3_8_3', 1, 16956)\n", (51285, 51306), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51317, 51346), 'archinfo.arch.Register', 'Register', (['"""vr3_8_2"""', '(1)', '(16957)'], {}), "('vr3_8_2', 1, 16957)\n", (51325, 51346), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51357, 51387), 'archinfo.arch.Register', 'Register', (['"""vr3_16_0"""', '(2)', '(16958)'], {}), "('vr3_16_0', 2, 16958)\n", (51365, 51387), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51398, 51427), 'archinfo.arch.Register', 'Register', (['"""vr3_8_1"""', '(1)', '(16958)'], {}), "('vr3_8_1', 1, 16958)\n", (51406, 51427), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51438, 51467), 'archinfo.arch.Register', 'Register', (['"""vr3_8_0"""', '(1)', '(16959)'], {}), "('vr3_8_0', 1, 16959)\n", (51446, 51467), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51478, 51505), 'archinfo.arch.Register', 'Register', (['"""vs36"""', '(16)', '(16960)'], {}), "('vs36', 16, 16960)\n", (51486, 51505), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51516, 51546), 'archinfo.arch.Register', 'Register', (['"""vr4_64_1"""', '(8)', '(16960)'], {}), "('vr4_64_1', 8, 16960)\n", (51524, 51546), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51557, 51587), 'archinfo.arch.Register', 'Register', (['"""vr4_32_3"""', '(4)', '(16960)'], {}), "('vr4_32_3', 4, 16960)\n", (51565, 51587), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51598, 51628), 'archinfo.arch.Register', 'Register', (['"""vr4_16_7"""', '(2)', '(16960)'], {}), "('vr4_16_7', 2, 16960)\n", (51606, 51628), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51639, 51669), 'archinfo.arch.Register', 'Register', (['"""vr4_8_15"""', '(1)', '(16960)'], {}), "('vr4_8_15', 1, 16960)\n", (51647, 51669), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51680, 51710), 'archinfo.arch.Register', 'Register', (['"""vr4_8_14"""', '(1)', '(16961)'], {}), "('vr4_8_14', 1, 16961)\n", (51688, 51710), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51721, 51751), 'archinfo.arch.Register', 'Register', (['"""vr4_16_6"""', '(2)', '(16962)'], {}), "('vr4_16_6', 2, 16962)\n", (51729, 51751), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51762, 51792), 'archinfo.arch.Register', 'Register', (['"""vr4_8_13"""', '(1)', '(16962)'], {}), "('vr4_8_13', 1, 16962)\n", (51770, 51792), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51803, 51833), 'archinfo.arch.Register', 'Register', (['"""vr4_8_12"""', '(1)', '(16963)'], {}), "('vr4_8_12', 1, 16963)\n", (51811, 51833), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51844, 51874), 'archinfo.arch.Register', 'Register', (['"""vr4_32_2"""', '(4)', '(16964)'], {}), "('vr4_32_2', 4, 16964)\n", (51852, 51874), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51885, 51915), 'archinfo.arch.Register', 'Register', (['"""vr4_16_5"""', '(2)', '(16964)'], {}), "('vr4_16_5', 2, 16964)\n", (51893, 51915), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51926, 51956), 'archinfo.arch.Register', 'Register', (['"""vr4_8_11"""', '(1)', '(16964)'], {}), "('vr4_8_11', 1, 16964)\n", (51934, 51956), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((51967, 51997), 'archinfo.arch.Register', 'Register', (['"""vr4_8_10"""', '(1)', '(16965)'], {}), "('vr4_8_10', 1, 16965)\n", (51975, 51997), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52008, 52038), 'archinfo.arch.Register', 'Register', (['"""vr4_16_4"""', '(2)', '(16966)'], {}), "('vr4_16_4', 2, 16966)\n", (52016, 52038), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52049, 52078), 'archinfo.arch.Register', 'Register', (['"""vr4_8_9"""', '(1)', '(16966)'], {}), "('vr4_8_9', 1, 16966)\n", (52057, 52078), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52089, 52118), 'archinfo.arch.Register', 'Register', (['"""vr4_8_8"""', '(1)', '(16967)'], {}), "('vr4_8_8', 1, 16967)\n", (52097, 52118), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52129, 52159), 'archinfo.arch.Register', 'Register', (['"""vr4_64_0"""', '(8)', '(16968)'], {}), "('vr4_64_0', 8, 16968)\n", (52137, 52159), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52170, 52200), 'archinfo.arch.Register', 'Register', (['"""vr4_32_1"""', '(4)', '(16968)'], {}), "('vr4_32_1', 4, 16968)\n", (52178, 52200), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52211, 52241), 'archinfo.arch.Register', 'Register', (['"""vr4_16_3"""', '(2)', '(16968)'], {}), "('vr4_16_3', 2, 16968)\n", (52219, 52241), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52252, 52281), 'archinfo.arch.Register', 'Register', (['"""vr4_8_7"""', '(1)', '(16968)'], {}), "('vr4_8_7', 1, 16968)\n", (52260, 52281), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52292, 52321), 'archinfo.arch.Register', 'Register', (['"""vr4_8_6"""', '(1)', '(16969)'], {}), "('vr4_8_6', 1, 16969)\n", (52300, 52321), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52332, 52362), 'archinfo.arch.Register', 'Register', (['"""vr4_16_2"""', '(2)', '(16970)'], {}), "('vr4_16_2', 2, 16970)\n", (52340, 52362), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52373, 52402), 'archinfo.arch.Register', 'Register', (['"""vr4_8_5"""', '(1)', '(16970)'], {}), "('vr4_8_5', 1, 16970)\n", (52381, 52402), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52413, 52442), 'archinfo.arch.Register', 'Register', (['"""vr4_8_4"""', '(1)', '(16971)'], {}), "('vr4_8_4', 1, 16971)\n", (52421, 52442), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52453, 52483), 'archinfo.arch.Register', 'Register', (['"""vr4_32_0"""', '(4)', '(16972)'], {}), "('vr4_32_0', 4, 16972)\n", (52461, 52483), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52494, 52524), 'archinfo.arch.Register', 'Register', (['"""vr4_16_1"""', '(2)', '(16972)'], {}), "('vr4_16_1', 2, 16972)\n", (52502, 52524), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52535, 52564), 'archinfo.arch.Register', 'Register', (['"""vr4_8_3"""', '(1)', '(16972)'], {}), "('vr4_8_3', 1, 16972)\n", (52543, 52564), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52575, 52604), 'archinfo.arch.Register', 'Register', (['"""vr4_8_2"""', '(1)', '(16973)'], {}), "('vr4_8_2', 1, 16973)\n", (52583, 52604), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52615, 52645), 'archinfo.arch.Register', 'Register', (['"""vr4_16_0"""', '(2)', '(16974)'], {}), "('vr4_16_0', 2, 16974)\n", (52623, 52645), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52656, 52685), 'archinfo.arch.Register', 'Register', (['"""vr4_8_1"""', '(1)', '(16974)'], {}), "('vr4_8_1', 1, 16974)\n", (52664, 52685), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52696, 52725), 'archinfo.arch.Register', 'Register', (['"""vr4_8_0"""', '(1)', '(16975)'], {}), "('vr4_8_0', 1, 16975)\n", (52704, 52725), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52736, 52763), 'archinfo.arch.Register', 'Register', (['"""vs37"""', '(16)', '(16976)'], {}), "('vs37', 16, 16976)\n", (52744, 52763), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52774, 52804), 'archinfo.arch.Register', 'Register', (['"""vr5_64_1"""', '(8)', '(16976)'], {}), "('vr5_64_1', 8, 16976)\n", (52782, 52804), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52815, 52845), 'archinfo.arch.Register', 'Register', (['"""vr5_32_3"""', '(4)', '(16976)'], {}), "('vr5_32_3', 4, 16976)\n", (52823, 52845), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52856, 52886), 'archinfo.arch.Register', 'Register', (['"""vr5_16_7"""', '(2)', '(16976)'], {}), "('vr5_16_7', 2, 16976)\n", (52864, 52886), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52897, 52927), 'archinfo.arch.Register', 'Register', (['"""vr5_8_15"""', '(1)', '(16976)'], {}), "('vr5_8_15', 1, 16976)\n", (52905, 52927), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52938, 52968), 'archinfo.arch.Register', 'Register', (['"""vr5_8_14"""', '(1)', '(16977)'], {}), "('vr5_8_14', 1, 16977)\n", (52946, 52968), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((52979, 53009), 'archinfo.arch.Register', 'Register', (['"""vr5_16_6"""', '(2)', '(16978)'], {}), "('vr5_16_6', 2, 16978)\n", (52987, 53009), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53020, 53050), 'archinfo.arch.Register', 'Register', (['"""vr5_8_13"""', '(1)', '(16978)'], {}), "('vr5_8_13', 1, 16978)\n", (53028, 53050), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53061, 53091), 'archinfo.arch.Register', 'Register', (['"""vr5_8_12"""', '(1)', '(16979)'], {}), "('vr5_8_12', 1, 16979)\n", (53069, 53091), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53102, 53132), 'archinfo.arch.Register', 'Register', (['"""vr5_32_2"""', '(4)', '(16980)'], {}), "('vr5_32_2', 4, 16980)\n", (53110, 53132), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53143, 53173), 'archinfo.arch.Register', 'Register', (['"""vr5_16_5"""', '(2)', '(16980)'], {}), "('vr5_16_5', 2, 16980)\n", (53151, 53173), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53184, 53214), 'archinfo.arch.Register', 'Register', (['"""vr5_8_11"""', '(1)', '(16980)'], {}), "('vr5_8_11', 1, 16980)\n", (53192, 53214), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53225, 53255), 'archinfo.arch.Register', 'Register', (['"""vr5_8_10"""', '(1)', '(16981)'], {}), "('vr5_8_10', 1, 16981)\n", (53233, 53255), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53266, 53296), 'archinfo.arch.Register', 'Register', (['"""vr5_16_4"""', '(2)', '(16982)'], {}), "('vr5_16_4', 2, 16982)\n", (53274, 53296), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53307, 53336), 'archinfo.arch.Register', 'Register', (['"""vr5_8_9"""', '(1)', '(16982)'], {}), "('vr5_8_9', 1, 16982)\n", (53315, 53336), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53347, 53376), 'archinfo.arch.Register', 'Register', (['"""vr5_8_8"""', '(1)', '(16983)'], {}), "('vr5_8_8', 1, 16983)\n", (53355, 53376), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53387, 53417), 'archinfo.arch.Register', 'Register', (['"""vr5_64_0"""', '(8)', '(16984)'], {}), "('vr5_64_0', 8, 16984)\n", (53395, 53417), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53428, 53458), 'archinfo.arch.Register', 'Register', (['"""vr5_32_1"""', '(4)', '(16984)'], {}), "('vr5_32_1', 4, 16984)\n", (53436, 53458), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53469, 53499), 'archinfo.arch.Register', 'Register', (['"""vr5_16_3"""', '(2)', '(16984)'], {}), "('vr5_16_3', 2, 16984)\n", (53477, 53499), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53510, 53539), 'archinfo.arch.Register', 'Register', (['"""vr5_8_7"""', '(1)', '(16984)'], {}), "('vr5_8_7', 1, 16984)\n", (53518, 53539), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53550, 53579), 'archinfo.arch.Register', 'Register', (['"""vr5_8_6"""', '(1)', '(16985)'], {}), "('vr5_8_6', 1, 16985)\n", (53558, 53579), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53590, 53620), 'archinfo.arch.Register', 'Register', (['"""vr5_16_2"""', '(2)', '(16986)'], {}), "('vr5_16_2', 2, 16986)\n", (53598, 53620), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53631, 53660), 'archinfo.arch.Register', 'Register', (['"""vr5_8_5"""', '(1)', '(16986)'], {}), "('vr5_8_5', 1, 16986)\n", (53639, 53660), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53671, 53700), 'archinfo.arch.Register', 'Register', (['"""vr5_8_4"""', '(1)', '(16987)'], {}), "('vr5_8_4', 1, 16987)\n", (53679, 53700), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53711, 53741), 'archinfo.arch.Register', 'Register', (['"""vr5_32_0"""', '(4)', '(16988)'], {}), "('vr5_32_0', 4, 16988)\n", (53719, 53741), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53752, 53782), 'archinfo.arch.Register', 'Register', (['"""vr5_16_1"""', '(2)', '(16988)'], {}), "('vr5_16_1', 2, 16988)\n", (53760, 53782), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53793, 53822), 'archinfo.arch.Register', 'Register', (['"""vr5_8_3"""', '(1)', '(16988)'], {}), "('vr5_8_3', 1, 16988)\n", (53801, 53822), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53833, 53862), 'archinfo.arch.Register', 'Register', (['"""vr5_8_2"""', '(1)', '(16989)'], {}), "('vr5_8_2', 1, 16989)\n", (53841, 53862), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53873, 53903), 'archinfo.arch.Register', 'Register', (['"""vr5_16_0"""', '(2)', '(16990)'], {}), "('vr5_16_0', 2, 16990)\n", (53881, 53903), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53914, 53943), 'archinfo.arch.Register', 'Register', (['"""vr5_8_1"""', '(1)', '(16990)'], {}), "('vr5_8_1', 1, 16990)\n", (53922, 53943), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53954, 53983), 'archinfo.arch.Register', 'Register', (['"""vr5_8_0"""', '(1)', '(16991)'], {}), "('vr5_8_0', 1, 16991)\n", (53962, 53983), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((53994, 54021), 'archinfo.arch.Register', 'Register', (['"""vs38"""', '(16)', '(16992)'], {}), "('vs38', 16, 16992)\n", (54002, 54021), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54032, 54062), 'archinfo.arch.Register', 'Register', (['"""vr6_64_1"""', '(8)', '(16992)'], {}), "('vr6_64_1', 8, 16992)\n", (54040, 54062), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54073, 54103), 'archinfo.arch.Register', 'Register', (['"""vr6_32_3"""', '(4)', '(16992)'], {}), "('vr6_32_3', 4, 16992)\n", (54081, 54103), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54114, 54144), 'archinfo.arch.Register', 'Register', (['"""vr6_16_7"""', '(2)', '(16992)'], {}), "('vr6_16_7', 2, 16992)\n", (54122, 54144), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54155, 54185), 'archinfo.arch.Register', 'Register', (['"""vr6_8_15"""', '(1)', '(16992)'], {}), "('vr6_8_15', 1, 16992)\n", (54163, 54185), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54196, 54226), 'archinfo.arch.Register', 'Register', (['"""vr6_8_14"""', '(1)', '(16993)'], {}), "('vr6_8_14', 1, 16993)\n", (54204, 54226), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54237, 54267), 'archinfo.arch.Register', 'Register', (['"""vr6_16_6"""', '(2)', '(16994)'], {}), "('vr6_16_6', 2, 16994)\n", (54245, 54267), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54278, 54308), 'archinfo.arch.Register', 'Register', (['"""vr6_8_13"""', '(1)', '(16994)'], {}), "('vr6_8_13', 1, 16994)\n", (54286, 54308), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54319, 54349), 'archinfo.arch.Register', 'Register', (['"""vr6_8_12"""', '(1)', '(16995)'], {}), "('vr6_8_12', 1, 16995)\n", (54327, 54349), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54360, 54390), 'archinfo.arch.Register', 'Register', (['"""vr6_32_2"""', '(4)', '(16996)'], {}), "('vr6_32_2', 4, 16996)\n", (54368, 54390), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54401, 54431), 'archinfo.arch.Register', 'Register', (['"""vr6_16_5"""', '(2)', '(16996)'], {}), "('vr6_16_5', 2, 16996)\n", (54409, 54431), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54442, 54472), 'archinfo.arch.Register', 'Register', (['"""vr6_8_11"""', '(1)', '(16996)'], {}), "('vr6_8_11', 1, 16996)\n", (54450, 54472), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54483, 54513), 'archinfo.arch.Register', 'Register', (['"""vr6_8_10"""', '(1)', '(16997)'], {}), "('vr6_8_10', 1, 16997)\n", (54491, 54513), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54524, 54554), 'archinfo.arch.Register', 'Register', (['"""vr6_16_4"""', '(2)', '(16998)'], {}), "('vr6_16_4', 2, 16998)\n", (54532, 54554), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54565, 54594), 'archinfo.arch.Register', 'Register', (['"""vr6_8_9"""', '(1)', '(16998)'], {}), "('vr6_8_9', 1, 16998)\n", (54573, 54594), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54605, 54634), 'archinfo.arch.Register', 'Register', (['"""vr6_8_8"""', '(1)', '(16999)'], {}), "('vr6_8_8', 1, 16999)\n", (54613, 54634), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54645, 54675), 'archinfo.arch.Register', 'Register', (['"""vr6_64_0"""', '(8)', '(17000)'], {}), "('vr6_64_0', 8, 17000)\n", (54653, 54675), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54686, 54716), 'archinfo.arch.Register', 'Register', (['"""vr6_32_1"""', '(4)', '(17000)'], {}), "('vr6_32_1', 4, 17000)\n", (54694, 54716), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54727, 54757), 'archinfo.arch.Register', 'Register', (['"""vr6_16_3"""', '(2)', '(17000)'], {}), "('vr6_16_3', 2, 17000)\n", (54735, 54757), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54768, 54797), 'archinfo.arch.Register', 'Register', (['"""vr6_8_7"""', '(1)', '(17000)'], {}), "('vr6_8_7', 1, 17000)\n", (54776, 54797), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54808, 54837), 'archinfo.arch.Register', 'Register', (['"""vr6_8_6"""', '(1)', '(17001)'], {}), "('vr6_8_6', 1, 17001)\n", (54816, 54837), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54848, 54878), 'archinfo.arch.Register', 'Register', (['"""vr6_16_2"""', '(2)', '(17002)'], {}), "('vr6_16_2', 2, 17002)\n", (54856, 54878), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54889, 54918), 'archinfo.arch.Register', 'Register', (['"""vr6_8_5"""', '(1)', '(17002)'], {}), "('vr6_8_5', 1, 17002)\n", (54897, 54918), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54929, 54958), 'archinfo.arch.Register', 'Register', (['"""vr6_8_4"""', '(1)', '(17003)'], {}), "('vr6_8_4', 1, 17003)\n", (54937, 54958), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((54969, 54999), 'archinfo.arch.Register', 'Register', (['"""vr6_32_0"""', '(4)', '(17004)'], {}), "('vr6_32_0', 4, 17004)\n", (54977, 54999), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55010, 55040), 'archinfo.arch.Register', 'Register', (['"""vr6_16_1"""', '(2)', '(17004)'], {}), "('vr6_16_1', 2, 17004)\n", (55018, 55040), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55051, 55080), 'archinfo.arch.Register', 'Register', (['"""vr6_8_3"""', '(1)', '(17004)'], {}), "('vr6_8_3', 1, 17004)\n", (55059, 55080), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55091, 55120), 'archinfo.arch.Register', 'Register', (['"""vr6_8_2"""', '(1)', '(17005)'], {}), "('vr6_8_2', 1, 17005)\n", (55099, 55120), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55131, 55161), 'archinfo.arch.Register', 'Register', (['"""vr6_16_0"""', '(2)', '(17006)'], {}), "('vr6_16_0', 2, 17006)\n", (55139, 55161), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55172, 55201), 'archinfo.arch.Register', 'Register', (['"""vr6_8_1"""', '(1)', '(17006)'], {}), "('vr6_8_1', 1, 17006)\n", (55180, 55201), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55212, 55241), 'archinfo.arch.Register', 'Register', (['"""vr6_8_0"""', '(1)', '(17007)'], {}), "('vr6_8_0', 1, 17007)\n", (55220, 55241), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55252, 55279), 'archinfo.arch.Register', 'Register', (['"""vs39"""', '(16)', '(17008)'], {}), "('vs39', 16, 17008)\n", (55260, 55279), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55290, 55320), 'archinfo.arch.Register', 'Register', (['"""vr7_64_1"""', '(8)', '(17008)'], {}), "('vr7_64_1', 8, 17008)\n", (55298, 55320), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55331, 55361), 'archinfo.arch.Register', 'Register', (['"""vr7_32_3"""', '(4)', '(17008)'], {}), "('vr7_32_3', 4, 17008)\n", (55339, 55361), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55372, 55402), 'archinfo.arch.Register', 'Register', (['"""vr7_16_7"""', '(2)', '(17008)'], {}), "('vr7_16_7', 2, 17008)\n", (55380, 55402), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55413, 55443), 'archinfo.arch.Register', 'Register', (['"""vr7_8_15"""', '(1)', '(17008)'], {}), "('vr7_8_15', 1, 17008)\n", (55421, 55443), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55454, 55484), 'archinfo.arch.Register', 'Register', (['"""vr7_8_14"""', '(1)', '(17009)'], {}), "('vr7_8_14', 1, 17009)\n", (55462, 55484), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55495, 55525), 'archinfo.arch.Register', 'Register', (['"""vr7_16_6"""', '(2)', '(17010)'], {}), "('vr7_16_6', 2, 17010)\n", (55503, 55525), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55536, 55566), 'archinfo.arch.Register', 'Register', (['"""vr7_8_13"""', '(1)', '(17010)'], {}), "('vr7_8_13', 1, 17010)\n", (55544, 55566), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55577, 55607), 'archinfo.arch.Register', 'Register', (['"""vr7_8_12"""', '(1)', '(17011)'], {}), "('vr7_8_12', 1, 17011)\n", (55585, 55607), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55618, 55648), 'archinfo.arch.Register', 'Register', (['"""vr7_32_2"""', '(4)', '(17012)'], {}), "('vr7_32_2', 4, 17012)\n", (55626, 55648), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55659, 55689), 'archinfo.arch.Register', 'Register', (['"""vr7_16_5"""', '(2)', '(17012)'], {}), "('vr7_16_5', 2, 17012)\n", (55667, 55689), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55700, 55730), 'archinfo.arch.Register', 'Register', (['"""vr7_8_11"""', '(1)', '(17012)'], {}), "('vr7_8_11', 1, 17012)\n", (55708, 55730), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55741, 55771), 'archinfo.arch.Register', 'Register', (['"""vr7_8_10"""', '(1)', '(17013)'], {}), "('vr7_8_10', 1, 17013)\n", (55749, 55771), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55782, 55812), 'archinfo.arch.Register', 'Register', (['"""vr7_16_4"""', '(2)', '(17014)'], {}), "('vr7_16_4', 2, 17014)\n", (55790, 55812), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55823, 55852), 'archinfo.arch.Register', 'Register', (['"""vr7_8_9"""', '(1)', '(17014)'], {}), "('vr7_8_9', 1, 17014)\n", (55831, 55852), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55863, 55892), 'archinfo.arch.Register', 'Register', (['"""vr7_8_8"""', '(1)', '(17015)'], {}), "('vr7_8_8', 1, 17015)\n", (55871, 55892), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55903, 55933), 'archinfo.arch.Register', 'Register', (['"""vr7_64_0"""', '(8)', '(17016)'], {}), "('vr7_64_0', 8, 17016)\n", (55911, 55933), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55944, 55974), 'archinfo.arch.Register', 'Register', (['"""vr7_32_1"""', '(4)', '(17016)'], {}), "('vr7_32_1', 4, 17016)\n", (55952, 55974), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((55985, 56015), 'archinfo.arch.Register', 'Register', (['"""vr7_16_3"""', '(2)', '(17016)'], {}), "('vr7_16_3', 2, 17016)\n", (55993, 56015), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56026, 56055), 'archinfo.arch.Register', 'Register', (['"""vr7_8_7"""', '(1)', '(17016)'], {}), "('vr7_8_7', 1, 17016)\n", (56034, 56055), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56066, 56095), 'archinfo.arch.Register', 'Register', (['"""vr7_8_6"""', '(1)', '(17017)'], {}), "('vr7_8_6', 1, 17017)\n", (56074, 56095), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56106, 56136), 'archinfo.arch.Register', 'Register', (['"""vr7_16_2"""', '(2)', '(17018)'], {}), "('vr7_16_2', 2, 17018)\n", (56114, 56136), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56147, 56176), 'archinfo.arch.Register', 'Register', (['"""vr7_8_5"""', '(1)', '(17018)'], {}), "('vr7_8_5', 1, 17018)\n", (56155, 56176), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56187, 56216), 'archinfo.arch.Register', 'Register', (['"""vr7_8_4"""', '(1)', '(17019)'], {}), "('vr7_8_4', 1, 17019)\n", (56195, 56216), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56227, 56257), 'archinfo.arch.Register', 'Register', (['"""vr7_32_0"""', '(4)', '(17020)'], {}), "('vr7_32_0', 4, 17020)\n", (56235, 56257), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56268, 56298), 'archinfo.arch.Register', 'Register', (['"""vr7_16_1"""', '(2)', '(17020)'], {}), "('vr7_16_1', 2, 17020)\n", (56276, 56298), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56309, 56338), 'archinfo.arch.Register', 'Register', (['"""vr7_8_3"""', '(1)', '(17020)'], {}), "('vr7_8_3', 1, 17020)\n", (56317, 56338), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56349, 56378), 'archinfo.arch.Register', 'Register', (['"""vr7_8_2"""', '(1)', '(17021)'], {}), "('vr7_8_2', 1, 17021)\n", (56357, 56378), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56389, 56419), 'archinfo.arch.Register', 'Register', (['"""vr7_16_0"""', '(2)', '(17022)'], {}), "('vr7_16_0', 2, 17022)\n", (56397, 56419), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56430, 56459), 'archinfo.arch.Register', 'Register', (['"""vr7_8_1"""', '(1)', '(17022)'], {}), "('vr7_8_1', 1, 17022)\n", (56438, 56459), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56470, 56499), 'archinfo.arch.Register', 'Register', (['"""vr7_8_0"""', '(1)', '(17023)'], {}), "('vr7_8_0', 1, 17023)\n", (56478, 56499), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56510, 56537), 'archinfo.arch.Register', 'Register', (['"""vs40"""', '(16)', '(17024)'], {}), "('vs40', 16, 17024)\n", (56518, 56537), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56548, 56578), 'archinfo.arch.Register', 'Register', (['"""vr8_64_1"""', '(8)', '(17024)'], {}), "('vr8_64_1', 8, 17024)\n", (56556, 56578), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56589, 56619), 'archinfo.arch.Register', 'Register', (['"""vr8_32_3"""', '(4)', '(17024)'], {}), "('vr8_32_3', 4, 17024)\n", (56597, 56619), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56630, 56660), 'archinfo.arch.Register', 'Register', (['"""vr8_16_7"""', '(2)', '(17024)'], {}), "('vr8_16_7', 2, 17024)\n", (56638, 56660), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56671, 56701), 'archinfo.arch.Register', 'Register', (['"""vr8_8_15"""', '(1)', '(17024)'], {}), "('vr8_8_15', 1, 17024)\n", (56679, 56701), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56712, 56742), 'archinfo.arch.Register', 'Register', (['"""vr8_8_14"""', '(1)', '(17025)'], {}), "('vr8_8_14', 1, 17025)\n", (56720, 56742), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56753, 56783), 'archinfo.arch.Register', 'Register', (['"""vr8_16_6"""', '(2)', '(17026)'], {}), "('vr8_16_6', 2, 17026)\n", (56761, 56783), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56794, 56824), 'archinfo.arch.Register', 'Register', (['"""vr8_8_13"""', '(1)', '(17026)'], {}), "('vr8_8_13', 1, 17026)\n", (56802, 56824), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56835, 56865), 'archinfo.arch.Register', 'Register', (['"""vr8_8_12"""', '(1)', '(17027)'], {}), "('vr8_8_12', 1, 17027)\n", (56843, 56865), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56876, 56906), 'archinfo.arch.Register', 'Register', (['"""vr8_32_2"""', '(4)', '(17028)'], {}), "('vr8_32_2', 4, 17028)\n", (56884, 56906), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56917, 56947), 'archinfo.arch.Register', 'Register', (['"""vr8_16_5"""', '(2)', '(17028)'], {}), "('vr8_16_5', 2, 17028)\n", (56925, 56947), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56958, 56988), 'archinfo.arch.Register', 'Register', (['"""vr8_8_11"""', '(1)', '(17028)'], {}), "('vr8_8_11', 1, 17028)\n", (56966, 56988), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((56999, 57029), 'archinfo.arch.Register', 'Register', (['"""vr8_8_10"""', '(1)', '(17029)'], {}), "('vr8_8_10', 1, 17029)\n", (57007, 57029), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57040, 57070), 'archinfo.arch.Register', 'Register', (['"""vr8_16_4"""', '(2)', '(17030)'], {}), "('vr8_16_4', 2, 17030)\n", (57048, 57070), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57081, 57110), 'archinfo.arch.Register', 'Register', (['"""vr8_8_9"""', '(1)', '(17030)'], {}), "('vr8_8_9', 1, 17030)\n", (57089, 57110), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57121, 57150), 'archinfo.arch.Register', 'Register', (['"""vr8_8_8"""', '(1)', '(17031)'], {}), "('vr8_8_8', 1, 17031)\n", (57129, 57150), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57161, 57191), 'archinfo.arch.Register', 'Register', (['"""vr8_64_0"""', '(8)', '(17032)'], {}), "('vr8_64_0', 8, 17032)\n", (57169, 57191), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57202, 57232), 'archinfo.arch.Register', 'Register', (['"""vr8_32_1"""', '(4)', '(17032)'], {}), "('vr8_32_1', 4, 17032)\n", (57210, 57232), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57243, 57273), 'archinfo.arch.Register', 'Register', (['"""vr8_16_3"""', '(2)', '(17032)'], {}), "('vr8_16_3', 2, 17032)\n", (57251, 57273), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57284, 57313), 'archinfo.arch.Register', 'Register', (['"""vr8_8_7"""', '(1)', '(17032)'], {}), "('vr8_8_7', 1, 17032)\n", (57292, 57313), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57324, 57353), 'archinfo.arch.Register', 'Register', (['"""vr8_8_6"""', '(1)', '(17033)'], {}), "('vr8_8_6', 1, 17033)\n", (57332, 57353), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57364, 57394), 'archinfo.arch.Register', 'Register', (['"""vr8_16_2"""', '(2)', '(17034)'], {}), "('vr8_16_2', 2, 17034)\n", (57372, 57394), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57405, 57434), 'archinfo.arch.Register', 'Register', (['"""vr8_8_5"""', '(1)', '(17034)'], {}), "('vr8_8_5', 1, 17034)\n", (57413, 57434), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57445, 57474), 'archinfo.arch.Register', 'Register', (['"""vr8_8_4"""', '(1)', '(17035)'], {}), "('vr8_8_4', 1, 17035)\n", (57453, 57474), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57485, 57515), 'archinfo.arch.Register', 'Register', (['"""vr8_32_0"""', '(4)', '(17036)'], {}), "('vr8_32_0', 4, 17036)\n", (57493, 57515), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57526, 57556), 'archinfo.arch.Register', 'Register', (['"""vr8_16_1"""', '(2)', '(17036)'], {}), "('vr8_16_1', 2, 17036)\n", (57534, 57556), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57567, 57596), 'archinfo.arch.Register', 'Register', (['"""vr8_8_3"""', '(1)', '(17036)'], {}), "('vr8_8_3', 1, 17036)\n", (57575, 57596), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57607, 57636), 'archinfo.arch.Register', 'Register', (['"""vr8_8_2"""', '(1)', '(17037)'], {}), "('vr8_8_2', 1, 17037)\n", (57615, 57636), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57647, 57677), 'archinfo.arch.Register', 'Register', (['"""vr8_16_0"""', '(2)', '(17038)'], {}), "('vr8_16_0', 2, 17038)\n", (57655, 57677), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57688, 57717), 'archinfo.arch.Register', 'Register', (['"""vr8_8_1"""', '(1)', '(17038)'], {}), "('vr8_8_1', 1, 17038)\n", (57696, 57717), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57728, 57757), 'archinfo.arch.Register', 'Register', (['"""vr8_8_0"""', '(1)', '(17039)'], {}), "('vr8_8_0', 1, 17039)\n", (57736, 57757), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57768, 57795), 'archinfo.arch.Register', 'Register', (['"""vs41"""', '(16)', '(17040)'], {}), "('vs41', 16, 17040)\n", (57776, 57795), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57806, 57836), 'archinfo.arch.Register', 'Register', (['"""vr9_64_1"""', '(8)', '(17040)'], {}), "('vr9_64_1', 8, 17040)\n", (57814, 57836), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57847, 57877), 'archinfo.arch.Register', 'Register', (['"""vr9_32_3"""', '(4)', '(17040)'], {}), "('vr9_32_3', 4, 17040)\n", (57855, 57877), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57888, 57918), 'archinfo.arch.Register', 'Register', (['"""vr9_16_7"""', '(2)', '(17040)'], {}), "('vr9_16_7', 2, 17040)\n", (57896, 57918), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57929, 57959), 'archinfo.arch.Register', 'Register', (['"""vr9_8_15"""', '(1)', '(17040)'], {}), "('vr9_8_15', 1, 17040)\n", (57937, 57959), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((57970, 58000), 'archinfo.arch.Register', 'Register', (['"""vr9_8_14"""', '(1)', '(17041)'], {}), "('vr9_8_14', 1, 17041)\n", (57978, 58000), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58011, 58041), 'archinfo.arch.Register', 'Register', (['"""vr9_16_6"""', '(2)', '(17042)'], {}), "('vr9_16_6', 2, 17042)\n", (58019, 58041), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58052, 58082), 'archinfo.arch.Register', 'Register', (['"""vr9_8_13"""', '(1)', '(17042)'], {}), "('vr9_8_13', 1, 17042)\n", (58060, 58082), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58093, 58123), 'archinfo.arch.Register', 'Register', (['"""vr9_8_12"""', '(1)', '(17043)'], {}), "('vr9_8_12', 1, 17043)\n", (58101, 58123), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58134, 58164), 'archinfo.arch.Register', 'Register', (['"""vr9_32_2"""', '(4)', '(17044)'], {}), "('vr9_32_2', 4, 17044)\n", (58142, 58164), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58175, 58205), 'archinfo.arch.Register', 'Register', (['"""vr9_16_5"""', '(2)', '(17044)'], {}), "('vr9_16_5', 2, 17044)\n", (58183, 58205), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58216, 58246), 'archinfo.arch.Register', 'Register', (['"""vr9_8_11"""', '(1)', '(17044)'], {}), "('vr9_8_11', 1, 17044)\n", (58224, 58246), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58257, 58287), 'archinfo.arch.Register', 'Register', (['"""vr9_8_10"""', '(1)', '(17045)'], {}), "('vr9_8_10', 1, 17045)\n", (58265, 58287), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58298, 58328), 'archinfo.arch.Register', 'Register', (['"""vr9_16_4"""', '(2)', '(17046)'], {}), "('vr9_16_4', 2, 17046)\n", (58306, 58328), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58339, 58368), 'archinfo.arch.Register', 'Register', (['"""vr9_8_9"""', '(1)', '(17046)'], {}), "('vr9_8_9', 1, 17046)\n", (58347, 58368), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58379, 58408), 'archinfo.arch.Register', 'Register', (['"""vr9_8_8"""', '(1)', '(17047)'], {}), "('vr9_8_8', 1, 17047)\n", (58387, 58408), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58419, 58449), 'archinfo.arch.Register', 'Register', (['"""vr9_64_0"""', '(8)', '(17048)'], {}), "('vr9_64_0', 8, 17048)\n", (58427, 58449), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58460, 58490), 'archinfo.arch.Register', 'Register', (['"""vr9_32_1"""', '(4)', '(17048)'], {}), "('vr9_32_1', 4, 17048)\n", (58468, 58490), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58501, 58531), 'archinfo.arch.Register', 'Register', (['"""vr9_16_3"""', '(2)', '(17048)'], {}), "('vr9_16_3', 2, 17048)\n", (58509, 58531), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58542, 58571), 'archinfo.arch.Register', 'Register', (['"""vr9_8_7"""', '(1)', '(17048)'], {}), "('vr9_8_7', 1, 17048)\n", (58550, 58571), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58582, 58611), 'archinfo.arch.Register', 'Register', (['"""vr9_8_6"""', '(1)', '(17049)'], {}), "('vr9_8_6', 1, 17049)\n", (58590, 58611), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58622, 58652), 'archinfo.arch.Register', 'Register', (['"""vr9_16_2"""', '(2)', '(17050)'], {}), "('vr9_16_2', 2, 17050)\n", (58630, 58652), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58663, 58692), 'archinfo.arch.Register', 'Register', (['"""vr9_8_5"""', '(1)', '(17050)'], {}), "('vr9_8_5', 1, 17050)\n", (58671, 58692), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58703, 58732), 'archinfo.arch.Register', 'Register', (['"""vr9_8_4"""', '(1)', '(17051)'], {}), "('vr9_8_4', 1, 17051)\n", (58711, 58732), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58743, 58773), 'archinfo.arch.Register', 'Register', (['"""vr9_32_0"""', '(4)', '(17052)'], {}), "('vr9_32_0', 4, 17052)\n", (58751, 58773), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58784, 58814), 'archinfo.arch.Register', 'Register', (['"""vr9_16_1"""', '(2)', '(17052)'], {}), "('vr9_16_1', 2, 17052)\n", (58792, 58814), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58825, 58854), 'archinfo.arch.Register', 'Register', (['"""vr9_8_3"""', '(1)', '(17052)'], {}), "('vr9_8_3', 1, 17052)\n", (58833, 58854), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58865, 58894), 'archinfo.arch.Register', 'Register', (['"""vr9_8_2"""', '(1)', '(17053)'], {}), "('vr9_8_2', 1, 17053)\n", (58873, 58894), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58905, 58935), 'archinfo.arch.Register', 'Register', (['"""vr9_16_0"""', '(2)', '(17054)'], {}), "('vr9_16_0', 2, 17054)\n", (58913, 58935), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58946, 58975), 'archinfo.arch.Register', 'Register', (['"""vr9_8_1"""', '(1)', '(17054)'], {}), "('vr9_8_1', 1, 17054)\n", (58954, 58975), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((58986, 59015), 'archinfo.arch.Register', 'Register', (['"""vr9_8_0"""', '(1)', '(17055)'], {}), "('vr9_8_0', 1, 17055)\n", (58994, 59015), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59026, 59053), 'archinfo.arch.Register', 'Register', (['"""vs42"""', '(16)', '(17056)'], {}), "('vs42', 16, 17056)\n", (59034, 59053), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59064, 59095), 'archinfo.arch.Register', 'Register', (['"""vr10_64_1"""', '(8)', '(17056)'], {}), "('vr10_64_1', 8, 17056)\n", (59072, 59095), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59106, 59137), 'archinfo.arch.Register', 'Register', (['"""vr10_32_3"""', '(4)', '(17056)'], {}), "('vr10_32_3', 4, 17056)\n", (59114, 59137), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59148, 59179), 'archinfo.arch.Register', 'Register', (['"""vr10_16_7"""', '(2)', '(17056)'], {}), "('vr10_16_7', 2, 17056)\n", (59156, 59179), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59190, 59221), 'archinfo.arch.Register', 'Register', (['"""vr10_8_15"""', '(1)', '(17056)'], {}), "('vr10_8_15', 1, 17056)\n", (59198, 59221), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59232, 59263), 'archinfo.arch.Register', 'Register', (['"""vr10_8_14"""', '(1)', '(17057)'], {}), "('vr10_8_14', 1, 17057)\n", (59240, 59263), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59274, 59305), 'archinfo.arch.Register', 'Register', (['"""vr10_16_6"""', '(2)', '(17058)'], {}), "('vr10_16_6', 2, 17058)\n", (59282, 59305), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59316, 59347), 'archinfo.arch.Register', 'Register', (['"""vr10_8_13"""', '(1)', '(17058)'], {}), "('vr10_8_13', 1, 17058)\n", (59324, 59347), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59358, 59389), 'archinfo.arch.Register', 'Register', (['"""vr10_8_12"""', '(1)', '(17059)'], {}), "('vr10_8_12', 1, 17059)\n", (59366, 59389), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59400, 59431), 'archinfo.arch.Register', 'Register', (['"""vr10_32_2"""', '(4)', '(17060)'], {}), "('vr10_32_2', 4, 17060)\n", (59408, 59431), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59442, 59473), 'archinfo.arch.Register', 'Register', (['"""vr10_16_5"""', '(2)', '(17060)'], {}), "('vr10_16_5', 2, 17060)\n", (59450, 59473), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59484, 59515), 'archinfo.arch.Register', 'Register', (['"""vr10_8_11"""', '(1)', '(17060)'], {}), "('vr10_8_11', 1, 17060)\n", (59492, 59515), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59526, 59557), 'archinfo.arch.Register', 'Register', (['"""vr10_8_10"""', '(1)', '(17061)'], {}), "('vr10_8_10', 1, 17061)\n", (59534, 59557), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59568, 59599), 'archinfo.arch.Register', 'Register', (['"""vr10_16_4"""', '(2)', '(17062)'], {}), "('vr10_16_4', 2, 17062)\n", (59576, 59599), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59610, 59640), 'archinfo.arch.Register', 'Register', (['"""vr10_8_9"""', '(1)', '(17062)'], {}), "('vr10_8_9', 1, 17062)\n", (59618, 59640), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59651, 59681), 'archinfo.arch.Register', 'Register', (['"""vr10_8_8"""', '(1)', '(17063)'], {}), "('vr10_8_8', 1, 17063)\n", (59659, 59681), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59692, 59723), 'archinfo.arch.Register', 'Register', (['"""vr10_64_0"""', '(8)', '(17064)'], {}), "('vr10_64_0', 8, 17064)\n", (59700, 59723), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59734, 59765), 'archinfo.arch.Register', 'Register', (['"""vr10_32_1"""', '(4)', '(17064)'], {}), "('vr10_32_1', 4, 17064)\n", (59742, 59765), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59776, 59807), 'archinfo.arch.Register', 'Register', (['"""vr10_16_3"""', '(2)', '(17064)'], {}), "('vr10_16_3', 2, 17064)\n", (59784, 59807), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59818, 59848), 'archinfo.arch.Register', 'Register', (['"""vr10_8_7"""', '(1)', '(17064)'], {}), "('vr10_8_7', 1, 17064)\n", (59826, 59848), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59859, 59889), 'archinfo.arch.Register', 'Register', (['"""vr10_8_6"""', '(1)', '(17065)'], {}), "('vr10_8_6', 1, 17065)\n", (59867, 59889), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59900, 59931), 'archinfo.arch.Register', 'Register', (['"""vr10_16_2"""', '(2)', '(17066)'], {}), "('vr10_16_2', 2, 17066)\n", (59908, 59931), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59942, 59972), 'archinfo.arch.Register', 'Register', (['"""vr10_8_5"""', '(1)', '(17066)'], {}), "('vr10_8_5', 1, 17066)\n", (59950, 59972), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((59983, 60013), 'archinfo.arch.Register', 'Register', (['"""vr10_8_4"""', '(1)', '(17067)'], {}), "('vr10_8_4', 1, 17067)\n", (59991, 60013), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60024, 60055), 'archinfo.arch.Register', 'Register', (['"""vr10_32_0"""', '(4)', '(17068)'], {}), "('vr10_32_0', 4, 17068)\n", (60032, 60055), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60066, 60097), 'archinfo.arch.Register', 'Register', (['"""vr10_16_1"""', '(2)', '(17068)'], {}), "('vr10_16_1', 2, 17068)\n", (60074, 60097), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60108, 60138), 'archinfo.arch.Register', 'Register', (['"""vr10_8_3"""', '(1)', '(17068)'], {}), "('vr10_8_3', 1, 17068)\n", (60116, 60138), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60149, 60179), 'archinfo.arch.Register', 'Register', (['"""vr10_8_2"""', '(1)', '(17069)'], {}), "('vr10_8_2', 1, 17069)\n", (60157, 60179), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60190, 60221), 'archinfo.arch.Register', 'Register', (['"""vr10_16_0"""', '(2)', '(17070)'], {}), "('vr10_16_0', 2, 17070)\n", (60198, 60221), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60232, 60262), 'archinfo.arch.Register', 'Register', (['"""vr10_8_1"""', '(1)', '(17070)'], {}), "('vr10_8_1', 1, 17070)\n", (60240, 60262), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60273, 60303), 'archinfo.arch.Register', 'Register', (['"""vr10_8_0"""', '(1)', '(17071)'], {}), "('vr10_8_0', 1, 17071)\n", (60281, 60303), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60314, 60341), 'archinfo.arch.Register', 'Register', (['"""vs43"""', '(16)', '(17072)'], {}), "('vs43', 16, 17072)\n", (60322, 60341), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60352, 60383), 'archinfo.arch.Register', 'Register', (['"""vr11_64_1"""', '(8)', '(17072)'], {}), "('vr11_64_1', 8, 17072)\n", (60360, 60383), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60394, 60425), 'archinfo.arch.Register', 'Register', (['"""vr11_32_3"""', '(4)', '(17072)'], {}), "('vr11_32_3', 4, 17072)\n", (60402, 60425), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60436, 60467), 'archinfo.arch.Register', 'Register', (['"""vr11_16_7"""', '(2)', '(17072)'], {}), "('vr11_16_7', 2, 17072)\n", (60444, 60467), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60478, 60509), 'archinfo.arch.Register', 'Register', (['"""vr11_8_15"""', '(1)', '(17072)'], {}), "('vr11_8_15', 1, 17072)\n", (60486, 60509), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60520, 60551), 'archinfo.arch.Register', 'Register', (['"""vr11_8_14"""', '(1)', '(17073)'], {}), "('vr11_8_14', 1, 17073)\n", (60528, 60551), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60562, 60593), 'archinfo.arch.Register', 'Register', (['"""vr11_16_6"""', '(2)', '(17074)'], {}), "('vr11_16_6', 2, 17074)\n", (60570, 60593), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60604, 60635), 'archinfo.arch.Register', 'Register', (['"""vr11_8_13"""', '(1)', '(17074)'], {}), "('vr11_8_13', 1, 17074)\n", (60612, 60635), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60646, 60677), 'archinfo.arch.Register', 'Register', (['"""vr11_8_12"""', '(1)', '(17075)'], {}), "('vr11_8_12', 1, 17075)\n", (60654, 60677), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60688, 60719), 'archinfo.arch.Register', 'Register', (['"""vr11_32_2"""', '(4)', '(17076)'], {}), "('vr11_32_2', 4, 17076)\n", (60696, 60719), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60730, 60761), 'archinfo.arch.Register', 'Register', (['"""vr11_16_5"""', '(2)', '(17076)'], {}), "('vr11_16_5', 2, 17076)\n", (60738, 60761), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60772, 60803), 'archinfo.arch.Register', 'Register', (['"""vr11_8_11"""', '(1)', '(17076)'], {}), "('vr11_8_11', 1, 17076)\n", (60780, 60803), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60814, 60845), 'archinfo.arch.Register', 'Register', (['"""vr11_8_10"""', '(1)', '(17077)'], {}), "('vr11_8_10', 1, 17077)\n", (60822, 60845), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60856, 60887), 'archinfo.arch.Register', 'Register', (['"""vr11_16_4"""', '(2)', '(17078)'], {}), "('vr11_16_4', 2, 17078)\n", (60864, 60887), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60898, 60928), 'archinfo.arch.Register', 'Register', (['"""vr11_8_9"""', '(1)', '(17078)'], {}), "('vr11_8_9', 1, 17078)\n", (60906, 60928), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60939, 60969), 'archinfo.arch.Register', 'Register', (['"""vr11_8_8"""', '(1)', '(17079)'], {}), "('vr11_8_8', 1, 17079)\n", (60947, 60969), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((60980, 61011), 'archinfo.arch.Register', 'Register', (['"""vr11_64_0"""', '(8)', '(17080)'], {}), "('vr11_64_0', 8, 17080)\n", (60988, 61011), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61022, 61053), 'archinfo.arch.Register', 'Register', (['"""vr11_32_1"""', '(4)', '(17080)'], {}), "('vr11_32_1', 4, 17080)\n", (61030, 61053), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61064, 61095), 'archinfo.arch.Register', 'Register', (['"""vr11_16_3"""', '(2)', '(17080)'], {}), "('vr11_16_3', 2, 17080)\n", (61072, 61095), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61106, 61136), 'archinfo.arch.Register', 'Register', (['"""vr11_8_7"""', '(1)', '(17080)'], {}), "('vr11_8_7', 1, 17080)\n", (61114, 61136), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61147, 61177), 'archinfo.arch.Register', 'Register', (['"""vr11_8_6"""', '(1)', '(17081)'], {}), "('vr11_8_6', 1, 17081)\n", (61155, 61177), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61188, 61219), 'archinfo.arch.Register', 'Register', (['"""vr11_16_2"""', '(2)', '(17082)'], {}), "('vr11_16_2', 2, 17082)\n", (61196, 61219), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61230, 61260), 'archinfo.arch.Register', 'Register', (['"""vr11_8_5"""', '(1)', '(17082)'], {}), "('vr11_8_5', 1, 17082)\n", (61238, 61260), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61271, 61301), 'archinfo.arch.Register', 'Register', (['"""vr11_8_4"""', '(1)', '(17083)'], {}), "('vr11_8_4', 1, 17083)\n", (61279, 61301), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61312, 61343), 'archinfo.arch.Register', 'Register', (['"""vr11_32_0"""', '(4)', '(17084)'], {}), "('vr11_32_0', 4, 17084)\n", (61320, 61343), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61354, 61385), 'archinfo.arch.Register', 'Register', (['"""vr11_16_1"""', '(2)', '(17084)'], {}), "('vr11_16_1', 2, 17084)\n", (61362, 61385), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61396, 61426), 'archinfo.arch.Register', 'Register', (['"""vr11_8_3"""', '(1)', '(17084)'], {}), "('vr11_8_3', 1, 17084)\n", (61404, 61426), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61437, 61467), 'archinfo.arch.Register', 'Register', (['"""vr11_8_2"""', '(1)', '(17085)'], {}), "('vr11_8_2', 1, 17085)\n", (61445, 61467), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61478, 61509), 'archinfo.arch.Register', 'Register', (['"""vr11_16_0"""', '(2)', '(17086)'], {}), "('vr11_16_0', 2, 17086)\n", (61486, 61509), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61520, 61550), 'archinfo.arch.Register', 'Register', (['"""vr11_8_1"""', '(1)', '(17086)'], {}), "('vr11_8_1', 1, 17086)\n", (61528, 61550), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61561, 61591), 'archinfo.arch.Register', 'Register', (['"""vr11_8_0"""', '(1)', '(17087)'], {}), "('vr11_8_0', 1, 17087)\n", (61569, 61591), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61602, 61629), 'archinfo.arch.Register', 'Register', (['"""vs44"""', '(16)', '(17088)'], {}), "('vs44', 16, 17088)\n", (61610, 61629), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61640, 61671), 'archinfo.arch.Register', 'Register', (['"""vr12_64_1"""', '(8)', '(17088)'], {}), "('vr12_64_1', 8, 17088)\n", (61648, 61671), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61682, 61713), 'archinfo.arch.Register', 'Register', (['"""vr12_32_3"""', '(4)', '(17088)'], {}), "('vr12_32_3', 4, 17088)\n", (61690, 61713), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61724, 61755), 'archinfo.arch.Register', 'Register', (['"""vr12_16_7"""', '(2)', '(17088)'], {}), "('vr12_16_7', 2, 17088)\n", (61732, 61755), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61766, 61797), 'archinfo.arch.Register', 'Register', (['"""vr12_8_15"""', '(1)', '(17088)'], {}), "('vr12_8_15', 1, 17088)\n", (61774, 61797), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61808, 61839), 'archinfo.arch.Register', 'Register', (['"""vr12_8_14"""', '(1)', '(17089)'], {}), "('vr12_8_14', 1, 17089)\n", (61816, 61839), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61850, 61881), 'archinfo.arch.Register', 'Register', (['"""vr12_16_6"""', '(2)', '(17090)'], {}), "('vr12_16_6', 2, 17090)\n", (61858, 61881), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61892, 61923), 'archinfo.arch.Register', 'Register', (['"""vr12_8_13"""', '(1)', '(17090)'], {}), "('vr12_8_13', 1, 17090)\n", (61900, 61923), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61934, 61965), 'archinfo.arch.Register', 'Register', (['"""vr12_8_12"""', '(1)', '(17091)'], {}), "('vr12_8_12', 1, 17091)\n", (61942, 61965), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((61976, 62007), 'archinfo.arch.Register', 'Register', (['"""vr12_32_2"""', '(4)', '(17092)'], {}), "('vr12_32_2', 4, 17092)\n", (61984, 62007), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62018, 62049), 'archinfo.arch.Register', 'Register', (['"""vr12_16_5"""', '(2)', '(17092)'], {}), "('vr12_16_5', 2, 17092)\n", (62026, 62049), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62060, 62091), 'archinfo.arch.Register', 'Register', (['"""vr12_8_11"""', '(1)', '(17092)'], {}), "('vr12_8_11', 1, 17092)\n", (62068, 62091), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62102, 62133), 'archinfo.arch.Register', 'Register', (['"""vr12_8_10"""', '(1)', '(17093)'], {}), "('vr12_8_10', 1, 17093)\n", (62110, 62133), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62144, 62175), 'archinfo.arch.Register', 'Register', (['"""vr12_16_4"""', '(2)', '(17094)'], {}), "('vr12_16_4', 2, 17094)\n", (62152, 62175), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62186, 62216), 'archinfo.arch.Register', 'Register', (['"""vr12_8_9"""', '(1)', '(17094)'], {}), "('vr12_8_9', 1, 17094)\n", (62194, 62216), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62227, 62257), 'archinfo.arch.Register', 'Register', (['"""vr12_8_8"""', '(1)', '(17095)'], {}), "('vr12_8_8', 1, 17095)\n", (62235, 62257), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62268, 62299), 'archinfo.arch.Register', 'Register', (['"""vr12_64_0"""', '(8)', '(17096)'], {}), "('vr12_64_0', 8, 17096)\n", (62276, 62299), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62310, 62341), 'archinfo.arch.Register', 'Register', (['"""vr12_32_1"""', '(4)', '(17096)'], {}), "('vr12_32_1', 4, 17096)\n", (62318, 62341), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62352, 62383), 'archinfo.arch.Register', 'Register', (['"""vr12_16_3"""', '(2)', '(17096)'], {}), "('vr12_16_3', 2, 17096)\n", (62360, 62383), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62394, 62424), 'archinfo.arch.Register', 'Register', (['"""vr12_8_7"""', '(1)', '(17096)'], {}), "('vr12_8_7', 1, 17096)\n", (62402, 62424), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62435, 62465), 'archinfo.arch.Register', 'Register', (['"""vr12_8_6"""', '(1)', '(17097)'], {}), "('vr12_8_6', 1, 17097)\n", (62443, 62465), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62476, 62507), 'archinfo.arch.Register', 'Register', (['"""vr12_16_2"""', '(2)', '(17098)'], {}), "('vr12_16_2', 2, 17098)\n", (62484, 62507), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62518, 62548), 'archinfo.arch.Register', 'Register', (['"""vr12_8_5"""', '(1)', '(17098)'], {}), "('vr12_8_5', 1, 17098)\n", (62526, 62548), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62559, 62589), 'archinfo.arch.Register', 'Register', (['"""vr12_8_4"""', '(1)', '(17099)'], {}), "('vr12_8_4', 1, 17099)\n", (62567, 62589), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62600, 62631), 'archinfo.arch.Register', 'Register', (['"""vr12_32_0"""', '(4)', '(17100)'], {}), "('vr12_32_0', 4, 17100)\n", (62608, 62631), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62642, 62673), 'archinfo.arch.Register', 'Register', (['"""vr12_16_1"""', '(2)', '(17100)'], {}), "('vr12_16_1', 2, 17100)\n", (62650, 62673), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62684, 62714), 'archinfo.arch.Register', 'Register', (['"""vr12_8_3"""', '(1)', '(17100)'], {}), "('vr12_8_3', 1, 17100)\n", (62692, 62714), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62725, 62755), 'archinfo.arch.Register', 'Register', (['"""vr12_8_2"""', '(1)', '(17101)'], {}), "('vr12_8_2', 1, 17101)\n", (62733, 62755), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62766, 62797), 'archinfo.arch.Register', 'Register', (['"""vr12_16_0"""', '(2)', '(17102)'], {}), "('vr12_16_0', 2, 17102)\n", (62774, 62797), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62808, 62838), 'archinfo.arch.Register', 'Register', (['"""vr12_8_1"""', '(1)', '(17102)'], {}), "('vr12_8_1', 1, 17102)\n", (62816, 62838), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62849, 62879), 'archinfo.arch.Register', 'Register', (['"""vr12_8_0"""', '(1)', '(17103)'], {}), "('vr12_8_0', 1, 17103)\n", (62857, 62879), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62890, 62917), 'archinfo.arch.Register', 'Register', (['"""vs45"""', '(16)', '(17104)'], {}), "('vs45', 16, 17104)\n", (62898, 62917), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62928, 62959), 'archinfo.arch.Register', 'Register', (['"""vr13_64_1"""', '(8)', '(17104)'], {}), "('vr13_64_1', 8, 17104)\n", (62936, 62959), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((62970, 63001), 'archinfo.arch.Register', 'Register', (['"""vr13_32_3"""', '(4)', '(17104)'], {}), "('vr13_32_3', 4, 17104)\n", (62978, 63001), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63012, 63043), 'archinfo.arch.Register', 'Register', (['"""vr13_16_7"""', '(2)', '(17104)'], {}), "('vr13_16_7', 2, 17104)\n", (63020, 63043), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63054, 63085), 'archinfo.arch.Register', 'Register', (['"""vr13_8_15"""', '(1)', '(17104)'], {}), "('vr13_8_15', 1, 17104)\n", (63062, 63085), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63096, 63127), 'archinfo.arch.Register', 'Register', (['"""vr13_8_14"""', '(1)', '(17105)'], {}), "('vr13_8_14', 1, 17105)\n", (63104, 63127), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63138, 63169), 'archinfo.arch.Register', 'Register', (['"""vr13_16_6"""', '(2)', '(17106)'], {}), "('vr13_16_6', 2, 17106)\n", (63146, 63169), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63180, 63211), 'archinfo.arch.Register', 'Register', (['"""vr13_8_13"""', '(1)', '(17106)'], {}), "('vr13_8_13', 1, 17106)\n", (63188, 63211), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63222, 63253), 'archinfo.arch.Register', 'Register', (['"""vr13_8_12"""', '(1)', '(17107)'], {}), "('vr13_8_12', 1, 17107)\n", (63230, 63253), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63264, 63295), 'archinfo.arch.Register', 'Register', (['"""vr13_32_2"""', '(4)', '(17108)'], {}), "('vr13_32_2', 4, 17108)\n", (63272, 63295), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63306, 63337), 'archinfo.arch.Register', 'Register', (['"""vr13_16_5"""', '(2)', '(17108)'], {}), "('vr13_16_5', 2, 17108)\n", (63314, 63337), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63348, 63379), 'archinfo.arch.Register', 'Register', (['"""vr13_8_11"""', '(1)', '(17108)'], {}), "('vr13_8_11', 1, 17108)\n", (63356, 63379), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63390, 63421), 'archinfo.arch.Register', 'Register', (['"""vr13_8_10"""', '(1)', '(17109)'], {}), "('vr13_8_10', 1, 17109)\n", (63398, 63421), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63432, 63463), 'archinfo.arch.Register', 'Register', (['"""vr13_16_4"""', '(2)', '(17110)'], {}), "('vr13_16_4', 2, 17110)\n", (63440, 63463), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63474, 63504), 'archinfo.arch.Register', 'Register', (['"""vr13_8_9"""', '(1)', '(17110)'], {}), "('vr13_8_9', 1, 17110)\n", (63482, 63504), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63515, 63545), 'archinfo.arch.Register', 'Register', (['"""vr13_8_8"""', '(1)', '(17111)'], {}), "('vr13_8_8', 1, 17111)\n", (63523, 63545), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63556, 63587), 'archinfo.arch.Register', 'Register', (['"""vr13_64_0"""', '(8)', '(17112)'], {}), "('vr13_64_0', 8, 17112)\n", (63564, 63587), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63598, 63629), 'archinfo.arch.Register', 'Register', (['"""vr13_32_1"""', '(4)', '(17112)'], {}), "('vr13_32_1', 4, 17112)\n", (63606, 63629), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63640, 63671), 'archinfo.arch.Register', 'Register', (['"""vr13_16_3"""', '(2)', '(17112)'], {}), "('vr13_16_3', 2, 17112)\n", (63648, 63671), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63682, 63712), 'archinfo.arch.Register', 'Register', (['"""vr13_8_7"""', '(1)', '(17112)'], {}), "('vr13_8_7', 1, 17112)\n", (63690, 63712), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63723, 63753), 'archinfo.arch.Register', 'Register', (['"""vr13_8_6"""', '(1)', '(17113)'], {}), "('vr13_8_6', 1, 17113)\n", (63731, 63753), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63764, 63795), 'archinfo.arch.Register', 'Register', (['"""vr13_16_2"""', '(2)', '(17114)'], {}), "('vr13_16_2', 2, 17114)\n", (63772, 63795), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63806, 63836), 'archinfo.arch.Register', 'Register', (['"""vr13_8_5"""', '(1)', '(17114)'], {}), "('vr13_8_5', 1, 17114)\n", (63814, 63836), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63847, 63877), 'archinfo.arch.Register', 'Register', (['"""vr13_8_4"""', '(1)', '(17115)'], {}), "('vr13_8_4', 1, 17115)\n", (63855, 63877), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63888, 63919), 'archinfo.arch.Register', 'Register', (['"""vr13_32_0"""', '(4)', '(17116)'], {}), "('vr13_32_0', 4, 17116)\n", (63896, 63919), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63930, 63961), 'archinfo.arch.Register', 'Register', (['"""vr13_16_1"""', '(2)', '(17116)'], {}), "('vr13_16_1', 2, 17116)\n", (63938, 63961), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((63972, 64002), 'archinfo.arch.Register', 'Register', (['"""vr13_8_3"""', '(1)', '(17116)'], {}), "('vr13_8_3', 1, 17116)\n", (63980, 64002), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64013, 64043), 'archinfo.arch.Register', 'Register', (['"""vr13_8_2"""', '(1)', '(17117)'], {}), "('vr13_8_2', 1, 17117)\n", (64021, 64043), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64054, 64085), 'archinfo.arch.Register', 'Register', (['"""vr13_16_0"""', '(2)', '(17118)'], {}), "('vr13_16_0', 2, 17118)\n", (64062, 64085), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64096, 64126), 'archinfo.arch.Register', 'Register', (['"""vr13_8_1"""', '(1)', '(17118)'], {}), "('vr13_8_1', 1, 17118)\n", (64104, 64126), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64137, 64167), 'archinfo.arch.Register', 'Register', (['"""vr13_8_0"""', '(1)', '(17119)'], {}), "('vr13_8_0', 1, 17119)\n", (64145, 64167), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64178, 64205), 'archinfo.arch.Register', 'Register', (['"""vs46"""', '(16)', '(17120)'], {}), "('vs46', 16, 17120)\n", (64186, 64205), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64216, 64247), 'archinfo.arch.Register', 'Register', (['"""vr14_64_1"""', '(8)', '(17120)'], {}), "('vr14_64_1', 8, 17120)\n", (64224, 64247), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64258, 64289), 'archinfo.arch.Register', 'Register', (['"""vr14_32_3"""', '(4)', '(17120)'], {}), "('vr14_32_3', 4, 17120)\n", (64266, 64289), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64300, 64331), 'archinfo.arch.Register', 'Register', (['"""vr14_16_7"""', '(2)', '(17120)'], {}), "('vr14_16_7', 2, 17120)\n", (64308, 64331), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64342, 64373), 'archinfo.arch.Register', 'Register', (['"""vr14_8_15"""', '(1)', '(17120)'], {}), "('vr14_8_15', 1, 17120)\n", (64350, 64373), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64384, 64415), 'archinfo.arch.Register', 'Register', (['"""vr14_8_14"""', '(1)', '(17121)'], {}), "('vr14_8_14', 1, 17121)\n", (64392, 64415), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64426, 64457), 'archinfo.arch.Register', 'Register', (['"""vr14_16_6"""', '(2)', '(17122)'], {}), "('vr14_16_6', 2, 17122)\n", (64434, 64457), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64468, 64499), 'archinfo.arch.Register', 'Register', (['"""vr14_8_13"""', '(1)', '(17122)'], {}), "('vr14_8_13', 1, 17122)\n", (64476, 64499), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64510, 64541), 'archinfo.arch.Register', 'Register', (['"""vr14_8_12"""', '(1)', '(17123)'], {}), "('vr14_8_12', 1, 17123)\n", (64518, 64541), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64552, 64583), 'archinfo.arch.Register', 'Register', (['"""vr14_32_2"""', '(4)', '(17124)'], {}), "('vr14_32_2', 4, 17124)\n", (64560, 64583), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64594, 64625), 'archinfo.arch.Register', 'Register', (['"""vr14_16_5"""', '(2)', '(17124)'], {}), "('vr14_16_5', 2, 17124)\n", (64602, 64625), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64636, 64667), 'archinfo.arch.Register', 'Register', (['"""vr14_8_11"""', '(1)', '(17124)'], {}), "('vr14_8_11', 1, 17124)\n", (64644, 64667), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64678, 64709), 'archinfo.arch.Register', 'Register', (['"""vr14_8_10"""', '(1)', '(17125)'], {}), "('vr14_8_10', 1, 17125)\n", (64686, 64709), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64720, 64751), 'archinfo.arch.Register', 'Register', (['"""vr14_16_4"""', '(2)', '(17126)'], {}), "('vr14_16_4', 2, 17126)\n", (64728, 64751), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64762, 64792), 'archinfo.arch.Register', 'Register', (['"""vr14_8_9"""', '(1)', '(17126)'], {}), "('vr14_8_9', 1, 17126)\n", (64770, 64792), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64803, 64833), 'archinfo.arch.Register', 'Register', (['"""vr14_8_8"""', '(1)', '(17127)'], {}), "('vr14_8_8', 1, 17127)\n", (64811, 64833), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64844, 64875), 'archinfo.arch.Register', 'Register', (['"""vr14_64_0"""', '(8)', '(17128)'], {}), "('vr14_64_0', 8, 17128)\n", (64852, 64875), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64886, 64917), 'archinfo.arch.Register', 'Register', (['"""vr14_32_1"""', '(4)', '(17128)'], {}), "('vr14_32_1', 4, 17128)\n", (64894, 64917), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64928, 64959), 'archinfo.arch.Register', 'Register', (['"""vr14_16_3"""', '(2)', '(17128)'], {}), "('vr14_16_3', 2, 17128)\n", (64936, 64959), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((64970, 65000), 'archinfo.arch.Register', 'Register', (['"""vr14_8_7"""', '(1)', '(17128)'], {}), "('vr14_8_7', 1, 17128)\n", (64978, 65000), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65011, 65041), 'archinfo.arch.Register', 'Register', (['"""vr14_8_6"""', '(1)', '(17129)'], {}), "('vr14_8_6', 1, 17129)\n", (65019, 65041), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65052, 65083), 'archinfo.arch.Register', 'Register', (['"""vr14_16_2"""', '(2)', '(17130)'], {}), "('vr14_16_2', 2, 17130)\n", (65060, 65083), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65094, 65124), 'archinfo.arch.Register', 'Register', (['"""vr14_8_5"""', '(1)', '(17130)'], {}), "('vr14_8_5', 1, 17130)\n", (65102, 65124), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65135, 65165), 'archinfo.arch.Register', 'Register', (['"""vr14_8_4"""', '(1)', '(17131)'], {}), "('vr14_8_4', 1, 17131)\n", (65143, 65165), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65176, 65207), 'archinfo.arch.Register', 'Register', (['"""vr14_32_0"""', '(4)', '(17132)'], {}), "('vr14_32_0', 4, 17132)\n", (65184, 65207), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65218, 65249), 'archinfo.arch.Register', 'Register', (['"""vr14_16_1"""', '(2)', '(17132)'], {}), "('vr14_16_1', 2, 17132)\n", (65226, 65249), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65260, 65290), 'archinfo.arch.Register', 'Register', (['"""vr14_8_3"""', '(1)', '(17132)'], {}), "('vr14_8_3', 1, 17132)\n", (65268, 65290), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65301, 65331), 'archinfo.arch.Register', 'Register', (['"""vr14_8_2"""', '(1)', '(17133)'], {}), "('vr14_8_2', 1, 17133)\n", (65309, 65331), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65342, 65373), 'archinfo.arch.Register', 'Register', (['"""vr14_16_0"""', '(2)', '(17134)'], {}), "('vr14_16_0', 2, 17134)\n", (65350, 65373), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65384, 65414), 'archinfo.arch.Register', 'Register', (['"""vr14_8_1"""', '(1)', '(17134)'], {}), "('vr14_8_1', 1, 17134)\n", (65392, 65414), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65425, 65455), 'archinfo.arch.Register', 'Register', (['"""vr14_8_0"""', '(1)', '(17135)'], {}), "('vr14_8_0', 1, 17135)\n", (65433, 65455), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65466, 65493), 'archinfo.arch.Register', 'Register', (['"""vs47"""', '(16)', '(17136)'], {}), "('vs47', 16, 17136)\n", (65474, 65493), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65504, 65535), 'archinfo.arch.Register', 'Register', (['"""vr15_64_1"""', '(8)', '(17136)'], {}), "('vr15_64_1', 8, 17136)\n", (65512, 65535), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65546, 65577), 'archinfo.arch.Register', 'Register', (['"""vr15_32_3"""', '(4)', '(17136)'], {}), "('vr15_32_3', 4, 17136)\n", (65554, 65577), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65588, 65619), 'archinfo.arch.Register', 'Register', (['"""vr15_16_7"""', '(2)', '(17136)'], {}), "('vr15_16_7', 2, 17136)\n", (65596, 65619), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65630, 65661), 'archinfo.arch.Register', 'Register', (['"""vr15_8_15"""', '(1)', '(17136)'], {}), "('vr15_8_15', 1, 17136)\n", (65638, 65661), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65672, 65703), 'archinfo.arch.Register', 'Register', (['"""vr15_8_14"""', '(1)', '(17137)'], {}), "('vr15_8_14', 1, 17137)\n", (65680, 65703), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65714, 65745), 'archinfo.arch.Register', 'Register', (['"""vr15_16_6"""', '(2)', '(17138)'], {}), "('vr15_16_6', 2, 17138)\n", (65722, 65745), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65756, 65787), 'archinfo.arch.Register', 'Register', (['"""vr15_8_13"""', '(1)', '(17138)'], {}), "('vr15_8_13', 1, 17138)\n", (65764, 65787), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65798, 65829), 'archinfo.arch.Register', 'Register', (['"""vr15_8_12"""', '(1)', '(17139)'], {}), "('vr15_8_12', 1, 17139)\n", (65806, 65829), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65840, 65871), 'archinfo.arch.Register', 'Register', (['"""vr15_32_2"""', '(4)', '(17140)'], {}), "('vr15_32_2', 4, 17140)\n", (65848, 65871), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65882, 65913), 'archinfo.arch.Register', 'Register', (['"""vr15_16_5"""', '(2)', '(17140)'], {}), "('vr15_16_5', 2, 17140)\n", (65890, 65913), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65924, 65955), 'archinfo.arch.Register', 'Register', (['"""vr15_8_11"""', '(1)', '(17140)'], {}), "('vr15_8_11', 1, 17140)\n", (65932, 65955), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((65966, 65997), 'archinfo.arch.Register', 'Register', (['"""vr15_8_10"""', '(1)', '(17141)'], {}), "('vr15_8_10', 1, 17141)\n", (65974, 65997), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66008, 66039), 'archinfo.arch.Register', 'Register', (['"""vr15_16_4"""', '(2)', '(17142)'], {}), "('vr15_16_4', 2, 17142)\n", (66016, 66039), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66050, 66080), 'archinfo.arch.Register', 'Register', (['"""vr15_8_9"""', '(1)', '(17142)'], {}), "('vr15_8_9', 1, 17142)\n", (66058, 66080), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66091, 66121), 'archinfo.arch.Register', 'Register', (['"""vr15_8_8"""', '(1)', '(17143)'], {}), "('vr15_8_8', 1, 17143)\n", (66099, 66121), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66132, 66163), 'archinfo.arch.Register', 'Register', (['"""vr15_64_0"""', '(8)', '(17144)'], {}), "('vr15_64_0', 8, 17144)\n", (66140, 66163), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66174, 66205), 'archinfo.arch.Register', 'Register', (['"""vr15_32_1"""', '(4)', '(17144)'], {}), "('vr15_32_1', 4, 17144)\n", (66182, 66205), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66216, 66247), 'archinfo.arch.Register', 'Register', (['"""vr15_16_3"""', '(2)', '(17144)'], {}), "('vr15_16_3', 2, 17144)\n", (66224, 66247), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66258, 66288), 'archinfo.arch.Register', 'Register', (['"""vr15_8_7"""', '(1)', '(17144)'], {}), "('vr15_8_7', 1, 17144)\n", (66266, 66288), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66299, 66329), 'archinfo.arch.Register', 'Register', (['"""vr15_8_6"""', '(1)', '(17145)'], {}), "('vr15_8_6', 1, 17145)\n", (66307, 66329), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66340, 66371), 'archinfo.arch.Register', 'Register', (['"""vr15_16_2"""', '(2)', '(17146)'], {}), "('vr15_16_2', 2, 17146)\n", (66348, 66371), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66382, 66412), 'archinfo.arch.Register', 'Register', (['"""vr15_8_5"""', '(1)', '(17146)'], {}), "('vr15_8_5', 1, 17146)\n", (66390, 66412), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66423, 66453), 'archinfo.arch.Register', 'Register', (['"""vr15_8_4"""', '(1)', '(17147)'], {}), "('vr15_8_4', 1, 17147)\n", (66431, 66453), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66464, 66495), 'archinfo.arch.Register', 'Register', (['"""vr15_32_0"""', '(4)', '(17148)'], {}), "('vr15_32_0', 4, 17148)\n", (66472, 66495), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66506, 66537), 'archinfo.arch.Register', 'Register', (['"""vr15_16_1"""', '(2)', '(17148)'], {}), "('vr15_16_1', 2, 17148)\n", (66514, 66537), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66548, 66578), 'archinfo.arch.Register', 'Register', (['"""vr15_8_3"""', '(1)', '(17148)'], {}), "('vr15_8_3', 1, 17148)\n", (66556, 66578), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66589, 66619), 'archinfo.arch.Register', 'Register', (['"""vr15_8_2"""', '(1)', '(17149)'], {}), "('vr15_8_2', 1, 17149)\n", (66597, 66619), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66630, 66661), 'archinfo.arch.Register', 'Register', (['"""vr15_16_0"""', '(2)', '(17150)'], {}), "('vr15_16_0', 2, 17150)\n", (66638, 66661), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66672, 66702), 'archinfo.arch.Register', 'Register', (['"""vr15_8_1"""', '(1)', '(17150)'], {}), "('vr15_8_1', 1, 17150)\n", (66680, 66702), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66713, 66743), 'archinfo.arch.Register', 'Register', (['"""vr15_8_0"""', '(1)', '(17151)'], {}), "('vr15_8_0', 1, 17151)\n", (66721, 66743), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66754, 66781), 'archinfo.arch.Register', 'Register', (['"""vs48"""', '(16)', '(17152)'], {}), "('vs48', 16, 17152)\n", (66762, 66781), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66792, 66823), 'archinfo.arch.Register', 'Register', (['"""vr16_64_1"""', '(8)', '(17152)'], {}), "('vr16_64_1', 8, 17152)\n", (66800, 66823), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66834, 66865), 'archinfo.arch.Register', 'Register', (['"""vr16_32_3"""', '(4)', '(17152)'], {}), "('vr16_32_3', 4, 17152)\n", (66842, 66865), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66876, 66907), 'archinfo.arch.Register', 'Register', (['"""vr16_16_7"""', '(2)', '(17152)'], {}), "('vr16_16_7', 2, 17152)\n", (66884, 66907), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66918, 66949), 'archinfo.arch.Register', 'Register', (['"""vr16_8_15"""', '(1)', '(17152)'], {}), "('vr16_8_15', 1, 17152)\n", (66926, 66949), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((66960, 66991), 'archinfo.arch.Register', 'Register', (['"""vr16_8_14"""', '(1)', '(17153)'], {}), "('vr16_8_14', 1, 17153)\n", (66968, 66991), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67002, 67033), 'archinfo.arch.Register', 'Register', (['"""vr16_16_6"""', '(2)', '(17154)'], {}), "('vr16_16_6', 2, 17154)\n", (67010, 67033), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67044, 67075), 'archinfo.arch.Register', 'Register', (['"""vr16_8_13"""', '(1)', '(17154)'], {}), "('vr16_8_13', 1, 17154)\n", (67052, 67075), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67086, 67117), 'archinfo.arch.Register', 'Register', (['"""vr16_8_12"""', '(1)', '(17155)'], {}), "('vr16_8_12', 1, 17155)\n", (67094, 67117), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67128, 67159), 'archinfo.arch.Register', 'Register', (['"""vr16_32_2"""', '(4)', '(17156)'], {}), "('vr16_32_2', 4, 17156)\n", (67136, 67159), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67170, 67201), 'archinfo.arch.Register', 'Register', (['"""vr16_16_5"""', '(2)', '(17156)'], {}), "('vr16_16_5', 2, 17156)\n", (67178, 67201), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67212, 67243), 'archinfo.arch.Register', 'Register', (['"""vr16_8_11"""', '(1)', '(17156)'], {}), "('vr16_8_11', 1, 17156)\n", (67220, 67243), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67254, 67285), 'archinfo.arch.Register', 'Register', (['"""vr16_8_10"""', '(1)', '(17157)'], {}), "('vr16_8_10', 1, 17157)\n", (67262, 67285), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67296, 67327), 'archinfo.arch.Register', 'Register', (['"""vr16_16_4"""', '(2)', '(17158)'], {}), "('vr16_16_4', 2, 17158)\n", (67304, 67327), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67338, 67368), 'archinfo.arch.Register', 'Register', (['"""vr16_8_9"""', '(1)', '(17158)'], {}), "('vr16_8_9', 1, 17158)\n", (67346, 67368), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67379, 67409), 'archinfo.arch.Register', 'Register', (['"""vr16_8_8"""', '(1)', '(17159)'], {}), "('vr16_8_8', 1, 17159)\n", (67387, 67409), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67420, 67451), 'archinfo.arch.Register', 'Register', (['"""vr16_64_0"""', '(8)', '(17160)'], {}), "('vr16_64_0', 8, 17160)\n", (67428, 67451), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67462, 67493), 'archinfo.arch.Register', 'Register', (['"""vr16_32_1"""', '(4)', '(17160)'], {}), "('vr16_32_1', 4, 17160)\n", (67470, 67493), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67504, 67535), 'archinfo.arch.Register', 'Register', (['"""vr16_16_3"""', '(2)', '(17160)'], {}), "('vr16_16_3', 2, 17160)\n", (67512, 67535), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67546, 67576), 'archinfo.arch.Register', 'Register', (['"""vr16_8_7"""', '(1)', '(17160)'], {}), "('vr16_8_7', 1, 17160)\n", (67554, 67576), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67587, 67617), 'archinfo.arch.Register', 'Register', (['"""vr16_8_6"""', '(1)', '(17161)'], {}), "('vr16_8_6', 1, 17161)\n", (67595, 67617), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67628, 67659), 'archinfo.arch.Register', 'Register', (['"""vr16_16_2"""', '(2)', '(17162)'], {}), "('vr16_16_2', 2, 17162)\n", (67636, 67659), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67670, 67700), 'archinfo.arch.Register', 'Register', (['"""vr16_8_5"""', '(1)', '(17162)'], {}), "('vr16_8_5', 1, 17162)\n", (67678, 67700), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67711, 67741), 'archinfo.arch.Register', 'Register', (['"""vr16_8_4"""', '(1)', '(17163)'], {}), "('vr16_8_4', 1, 17163)\n", (67719, 67741), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67752, 67783), 'archinfo.arch.Register', 'Register', (['"""vr16_32_0"""', '(4)', '(17164)'], {}), "('vr16_32_0', 4, 17164)\n", (67760, 67783), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67794, 67825), 'archinfo.arch.Register', 'Register', (['"""vr16_16_1"""', '(2)', '(17164)'], {}), "('vr16_16_1', 2, 17164)\n", (67802, 67825), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67836, 67866), 'archinfo.arch.Register', 'Register', (['"""vr16_8_3"""', '(1)', '(17164)'], {}), "('vr16_8_3', 1, 17164)\n", (67844, 67866), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67877, 67907), 'archinfo.arch.Register', 'Register', (['"""vr16_8_2"""', '(1)', '(17165)'], {}), "('vr16_8_2', 1, 17165)\n", (67885, 67907), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67918, 67949), 'archinfo.arch.Register', 'Register', (['"""vr16_16_0"""', '(2)', '(17166)'], {}), "('vr16_16_0', 2, 17166)\n", (67926, 67949), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((67960, 67990), 'archinfo.arch.Register', 'Register', (['"""vr16_8_1"""', '(1)', '(17166)'], {}), "('vr16_8_1', 1, 17166)\n", (67968, 67990), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68001, 68031), 'archinfo.arch.Register', 'Register', (['"""vr16_8_0"""', '(1)', '(17167)'], {}), "('vr16_8_0', 1, 17167)\n", (68009, 68031), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68042, 68069), 'archinfo.arch.Register', 'Register', (['"""vs49"""', '(16)', '(17168)'], {}), "('vs49', 16, 17168)\n", (68050, 68069), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68080, 68111), 'archinfo.arch.Register', 'Register', (['"""vr17_64_1"""', '(8)', '(17168)'], {}), "('vr17_64_1', 8, 17168)\n", (68088, 68111), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68122, 68153), 'archinfo.arch.Register', 'Register', (['"""vr17_32_3"""', '(4)', '(17168)'], {}), "('vr17_32_3', 4, 17168)\n", (68130, 68153), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68164, 68195), 'archinfo.arch.Register', 'Register', (['"""vr17_16_7"""', '(2)', '(17168)'], {}), "('vr17_16_7', 2, 17168)\n", (68172, 68195), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68206, 68237), 'archinfo.arch.Register', 'Register', (['"""vr17_8_15"""', '(1)', '(17168)'], {}), "('vr17_8_15', 1, 17168)\n", (68214, 68237), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68248, 68279), 'archinfo.arch.Register', 'Register', (['"""vr17_8_14"""', '(1)', '(17169)'], {}), "('vr17_8_14', 1, 17169)\n", (68256, 68279), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68290, 68321), 'archinfo.arch.Register', 'Register', (['"""vr17_16_6"""', '(2)', '(17170)'], {}), "('vr17_16_6', 2, 17170)\n", (68298, 68321), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68332, 68363), 'archinfo.arch.Register', 'Register', (['"""vr17_8_13"""', '(1)', '(17170)'], {}), "('vr17_8_13', 1, 17170)\n", (68340, 68363), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68374, 68405), 'archinfo.arch.Register', 'Register', (['"""vr17_8_12"""', '(1)', '(17171)'], {}), "('vr17_8_12', 1, 17171)\n", (68382, 68405), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68416, 68447), 'archinfo.arch.Register', 'Register', (['"""vr17_32_2"""', '(4)', '(17172)'], {}), "('vr17_32_2', 4, 17172)\n", (68424, 68447), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68458, 68489), 'archinfo.arch.Register', 'Register', (['"""vr17_16_5"""', '(2)', '(17172)'], {}), "('vr17_16_5', 2, 17172)\n", (68466, 68489), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68500, 68531), 'archinfo.arch.Register', 'Register', (['"""vr17_8_11"""', '(1)', '(17172)'], {}), "('vr17_8_11', 1, 17172)\n", (68508, 68531), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68542, 68573), 'archinfo.arch.Register', 'Register', (['"""vr17_8_10"""', '(1)', '(17173)'], {}), "('vr17_8_10', 1, 17173)\n", (68550, 68573), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68584, 68615), 'archinfo.arch.Register', 'Register', (['"""vr17_16_4"""', '(2)', '(17174)'], {}), "('vr17_16_4', 2, 17174)\n", (68592, 68615), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68626, 68656), 'archinfo.arch.Register', 'Register', (['"""vr17_8_9"""', '(1)', '(17174)'], {}), "('vr17_8_9', 1, 17174)\n", (68634, 68656), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68667, 68697), 'archinfo.arch.Register', 'Register', (['"""vr17_8_8"""', '(1)', '(17175)'], {}), "('vr17_8_8', 1, 17175)\n", (68675, 68697), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68708, 68739), 'archinfo.arch.Register', 'Register', (['"""vr17_64_0"""', '(8)', '(17176)'], {}), "('vr17_64_0', 8, 17176)\n", (68716, 68739), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68750, 68781), 'archinfo.arch.Register', 'Register', (['"""vr17_32_1"""', '(4)', '(17176)'], {}), "('vr17_32_1', 4, 17176)\n", (68758, 68781), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68792, 68823), 'archinfo.arch.Register', 'Register', (['"""vr17_16_3"""', '(2)', '(17176)'], {}), "('vr17_16_3', 2, 17176)\n", (68800, 68823), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68834, 68864), 'archinfo.arch.Register', 'Register', (['"""vr17_8_7"""', '(1)', '(17176)'], {}), "('vr17_8_7', 1, 17176)\n", (68842, 68864), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68875, 68905), 'archinfo.arch.Register', 'Register', (['"""vr17_8_6"""', '(1)', '(17177)'], {}), "('vr17_8_6', 1, 17177)\n", (68883, 68905), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68916, 68947), 'archinfo.arch.Register', 'Register', (['"""vr17_16_2"""', '(2)', '(17178)'], {}), "('vr17_16_2', 2, 17178)\n", (68924, 68947), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68958, 68988), 'archinfo.arch.Register', 'Register', (['"""vr17_8_5"""', '(1)', '(17178)'], {}), "('vr17_8_5', 1, 17178)\n", (68966, 68988), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((68999, 69029), 'archinfo.arch.Register', 'Register', (['"""vr17_8_4"""', '(1)', '(17179)'], {}), "('vr17_8_4', 1, 17179)\n", (69007, 69029), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69040, 69071), 'archinfo.arch.Register', 'Register', (['"""vr17_32_0"""', '(4)', '(17180)'], {}), "('vr17_32_0', 4, 17180)\n", (69048, 69071), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69082, 69113), 'archinfo.arch.Register', 'Register', (['"""vr17_16_1"""', '(2)', '(17180)'], {}), "('vr17_16_1', 2, 17180)\n", (69090, 69113), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69124, 69154), 'archinfo.arch.Register', 'Register', (['"""vr17_8_3"""', '(1)', '(17180)'], {}), "('vr17_8_3', 1, 17180)\n", (69132, 69154), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69165, 69195), 'archinfo.arch.Register', 'Register', (['"""vr17_8_2"""', '(1)', '(17181)'], {}), "('vr17_8_2', 1, 17181)\n", (69173, 69195), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69206, 69237), 'archinfo.arch.Register', 'Register', (['"""vr17_16_0"""', '(2)', '(17182)'], {}), "('vr17_16_0', 2, 17182)\n", (69214, 69237), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69248, 69278), 'archinfo.arch.Register', 'Register', (['"""vr17_8_1"""', '(1)', '(17182)'], {}), "('vr17_8_1', 1, 17182)\n", (69256, 69278), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69289, 69319), 'archinfo.arch.Register', 'Register', (['"""vr17_8_0"""', '(1)', '(17183)'], {}), "('vr17_8_0', 1, 17183)\n", (69297, 69319), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69330, 69357), 'archinfo.arch.Register', 'Register', (['"""vs50"""', '(16)', '(17184)'], {}), "('vs50', 16, 17184)\n", (69338, 69357), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69368, 69399), 'archinfo.arch.Register', 'Register', (['"""vr18_64_1"""', '(8)', '(17184)'], {}), "('vr18_64_1', 8, 17184)\n", (69376, 69399), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69410, 69441), 'archinfo.arch.Register', 'Register', (['"""vr18_32_3"""', '(4)', '(17184)'], {}), "('vr18_32_3', 4, 17184)\n", (69418, 69441), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69452, 69483), 'archinfo.arch.Register', 'Register', (['"""vr18_16_7"""', '(2)', '(17184)'], {}), "('vr18_16_7', 2, 17184)\n", (69460, 69483), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69494, 69525), 'archinfo.arch.Register', 'Register', (['"""vr18_8_15"""', '(1)', '(17184)'], {}), "('vr18_8_15', 1, 17184)\n", (69502, 69525), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69536, 69567), 'archinfo.arch.Register', 'Register', (['"""vr18_8_14"""', '(1)', '(17185)'], {}), "('vr18_8_14', 1, 17185)\n", (69544, 69567), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69578, 69609), 'archinfo.arch.Register', 'Register', (['"""vr18_16_6"""', '(2)', '(17186)'], {}), "('vr18_16_6', 2, 17186)\n", (69586, 69609), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69620, 69651), 'archinfo.arch.Register', 'Register', (['"""vr18_8_13"""', '(1)', '(17186)'], {}), "('vr18_8_13', 1, 17186)\n", (69628, 69651), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69662, 69693), 'archinfo.arch.Register', 'Register', (['"""vr18_8_12"""', '(1)', '(17187)'], {}), "('vr18_8_12', 1, 17187)\n", (69670, 69693), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69704, 69735), 'archinfo.arch.Register', 'Register', (['"""vr18_32_2"""', '(4)', '(17188)'], {}), "('vr18_32_2', 4, 17188)\n", (69712, 69735), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69746, 69777), 'archinfo.arch.Register', 'Register', (['"""vr18_16_5"""', '(2)', '(17188)'], {}), "('vr18_16_5', 2, 17188)\n", (69754, 69777), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69788, 69819), 'archinfo.arch.Register', 'Register', (['"""vr18_8_11"""', '(1)', '(17188)'], {}), "('vr18_8_11', 1, 17188)\n", (69796, 69819), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69830, 69861), 'archinfo.arch.Register', 'Register', (['"""vr18_8_10"""', '(1)', '(17189)'], {}), "('vr18_8_10', 1, 17189)\n", (69838, 69861), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69872, 69903), 'archinfo.arch.Register', 'Register', (['"""vr18_16_4"""', '(2)', '(17190)'], {}), "('vr18_16_4', 2, 17190)\n", (69880, 69903), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69914, 69944), 'archinfo.arch.Register', 'Register', (['"""vr18_8_9"""', '(1)', '(17190)'], {}), "('vr18_8_9', 1, 17190)\n", (69922, 69944), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69955, 69985), 'archinfo.arch.Register', 'Register', (['"""vr18_8_8"""', '(1)', '(17191)'], {}), "('vr18_8_8', 1, 17191)\n", (69963, 69985), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((69996, 70027), 'archinfo.arch.Register', 'Register', (['"""vr18_64_0"""', '(8)', '(17192)'], {}), "('vr18_64_0', 8, 17192)\n", (70004, 70027), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70038, 70069), 'archinfo.arch.Register', 'Register', (['"""vr18_32_1"""', '(4)', '(17192)'], {}), "('vr18_32_1', 4, 17192)\n", (70046, 70069), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70080, 70111), 'archinfo.arch.Register', 'Register', (['"""vr18_16_3"""', '(2)', '(17192)'], {}), "('vr18_16_3', 2, 17192)\n", (70088, 70111), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70122, 70152), 'archinfo.arch.Register', 'Register', (['"""vr18_8_7"""', '(1)', '(17192)'], {}), "('vr18_8_7', 1, 17192)\n", (70130, 70152), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70163, 70193), 'archinfo.arch.Register', 'Register', (['"""vr18_8_6"""', '(1)', '(17193)'], {}), "('vr18_8_6', 1, 17193)\n", (70171, 70193), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70204, 70235), 'archinfo.arch.Register', 'Register', (['"""vr18_16_2"""', '(2)', '(17194)'], {}), "('vr18_16_2', 2, 17194)\n", (70212, 70235), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70246, 70276), 'archinfo.arch.Register', 'Register', (['"""vr18_8_5"""', '(1)', '(17194)'], {}), "('vr18_8_5', 1, 17194)\n", (70254, 70276), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70287, 70317), 'archinfo.arch.Register', 'Register', (['"""vr18_8_4"""', '(1)', '(17195)'], {}), "('vr18_8_4', 1, 17195)\n", (70295, 70317), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70328, 70359), 'archinfo.arch.Register', 'Register', (['"""vr18_32_0"""', '(4)', '(17196)'], {}), "('vr18_32_0', 4, 17196)\n", (70336, 70359), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70370, 70401), 'archinfo.arch.Register', 'Register', (['"""vr18_16_1"""', '(2)', '(17196)'], {}), "('vr18_16_1', 2, 17196)\n", (70378, 70401), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70412, 70442), 'archinfo.arch.Register', 'Register', (['"""vr18_8_3"""', '(1)', '(17196)'], {}), "('vr18_8_3', 1, 17196)\n", (70420, 70442), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70453, 70483), 'archinfo.arch.Register', 'Register', (['"""vr18_8_2"""', '(1)', '(17197)'], {}), "('vr18_8_2', 1, 17197)\n", (70461, 70483), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70494, 70525), 'archinfo.arch.Register', 'Register', (['"""vr18_16_0"""', '(2)', '(17198)'], {}), "('vr18_16_0', 2, 17198)\n", (70502, 70525), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70536, 70566), 'archinfo.arch.Register', 'Register', (['"""vr18_8_1"""', '(1)', '(17198)'], {}), "('vr18_8_1', 1, 17198)\n", (70544, 70566), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70577, 70607), 'archinfo.arch.Register', 'Register', (['"""vr18_8_0"""', '(1)', '(17199)'], {}), "('vr18_8_0', 1, 17199)\n", (70585, 70607), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70618, 70645), 'archinfo.arch.Register', 'Register', (['"""vs51"""', '(16)', '(17200)'], {}), "('vs51', 16, 17200)\n", (70626, 70645), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70656, 70687), 'archinfo.arch.Register', 'Register', (['"""vr19_64_1"""', '(8)', '(17200)'], {}), "('vr19_64_1', 8, 17200)\n", (70664, 70687), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70698, 70729), 'archinfo.arch.Register', 'Register', (['"""vr19_32_3"""', '(4)', '(17200)'], {}), "('vr19_32_3', 4, 17200)\n", (70706, 70729), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70740, 70771), 'archinfo.arch.Register', 'Register', (['"""vr19_16_7"""', '(2)', '(17200)'], {}), "('vr19_16_7', 2, 17200)\n", (70748, 70771), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70782, 70813), 'archinfo.arch.Register', 'Register', (['"""vr19_8_15"""', '(1)', '(17200)'], {}), "('vr19_8_15', 1, 17200)\n", (70790, 70813), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70824, 70855), 'archinfo.arch.Register', 'Register', (['"""vr19_8_14"""', '(1)', '(17201)'], {}), "('vr19_8_14', 1, 17201)\n", (70832, 70855), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70866, 70897), 'archinfo.arch.Register', 'Register', (['"""vr19_16_6"""', '(2)', '(17202)'], {}), "('vr19_16_6', 2, 17202)\n", (70874, 70897), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70908, 70939), 'archinfo.arch.Register', 'Register', (['"""vr19_8_13"""', '(1)', '(17202)'], {}), "('vr19_8_13', 1, 17202)\n", (70916, 70939), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70950, 70981), 'archinfo.arch.Register', 'Register', (['"""vr19_8_12"""', '(1)', '(17203)'], {}), "('vr19_8_12', 1, 17203)\n", (70958, 70981), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((70992, 71023), 'archinfo.arch.Register', 'Register', (['"""vr19_32_2"""', '(4)', '(17204)'], {}), "('vr19_32_2', 4, 17204)\n", (71000, 71023), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71034, 71065), 'archinfo.arch.Register', 'Register', (['"""vr19_16_5"""', '(2)', '(17204)'], {}), "('vr19_16_5', 2, 17204)\n", (71042, 71065), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71076, 71107), 'archinfo.arch.Register', 'Register', (['"""vr19_8_11"""', '(1)', '(17204)'], {}), "('vr19_8_11', 1, 17204)\n", (71084, 71107), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71118, 71149), 'archinfo.arch.Register', 'Register', (['"""vr19_8_10"""', '(1)', '(17205)'], {}), "('vr19_8_10', 1, 17205)\n", (71126, 71149), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71160, 71191), 'archinfo.arch.Register', 'Register', (['"""vr19_16_4"""', '(2)', '(17206)'], {}), "('vr19_16_4', 2, 17206)\n", (71168, 71191), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71202, 71232), 'archinfo.arch.Register', 'Register', (['"""vr19_8_9"""', '(1)', '(17206)'], {}), "('vr19_8_9', 1, 17206)\n", (71210, 71232), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71243, 71273), 'archinfo.arch.Register', 'Register', (['"""vr19_8_8"""', '(1)', '(17207)'], {}), "('vr19_8_8', 1, 17207)\n", (71251, 71273), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71284, 71315), 'archinfo.arch.Register', 'Register', (['"""vr19_64_0"""', '(8)', '(17208)'], {}), "('vr19_64_0', 8, 17208)\n", (71292, 71315), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71326, 71357), 'archinfo.arch.Register', 'Register', (['"""vr19_32_1"""', '(4)', '(17208)'], {}), "('vr19_32_1', 4, 17208)\n", (71334, 71357), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71368, 71399), 'archinfo.arch.Register', 'Register', (['"""vr19_16_3"""', '(2)', '(17208)'], {}), "('vr19_16_3', 2, 17208)\n", (71376, 71399), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71410, 71440), 'archinfo.arch.Register', 'Register', (['"""vr19_8_7"""', '(1)', '(17208)'], {}), "('vr19_8_7', 1, 17208)\n", (71418, 71440), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71451, 71481), 'archinfo.arch.Register', 'Register', (['"""vr19_8_6"""', '(1)', '(17209)'], {}), "('vr19_8_6', 1, 17209)\n", (71459, 71481), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71492, 71523), 'archinfo.arch.Register', 'Register', (['"""vr19_16_2"""', '(2)', '(17210)'], {}), "('vr19_16_2', 2, 17210)\n", (71500, 71523), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71534, 71564), 'archinfo.arch.Register', 'Register', (['"""vr19_8_5"""', '(1)', '(17210)'], {}), "('vr19_8_5', 1, 17210)\n", (71542, 71564), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71575, 71605), 'archinfo.arch.Register', 'Register', (['"""vr19_8_4"""', '(1)', '(17211)'], {}), "('vr19_8_4', 1, 17211)\n", (71583, 71605), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71616, 71647), 'archinfo.arch.Register', 'Register', (['"""vr19_32_0"""', '(4)', '(17212)'], {}), "('vr19_32_0', 4, 17212)\n", (71624, 71647), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71658, 71689), 'archinfo.arch.Register', 'Register', (['"""vr19_16_1"""', '(2)', '(17212)'], {}), "('vr19_16_1', 2, 17212)\n", (71666, 71689), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71700, 71730), 'archinfo.arch.Register', 'Register', (['"""vr19_8_3"""', '(1)', '(17212)'], {}), "('vr19_8_3', 1, 17212)\n", (71708, 71730), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71741, 71771), 'archinfo.arch.Register', 'Register', (['"""vr19_8_2"""', '(1)', '(17213)'], {}), "('vr19_8_2', 1, 17213)\n", (71749, 71771), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71782, 71813), 'archinfo.arch.Register', 'Register', (['"""vr19_16_0"""', '(2)', '(17214)'], {}), "('vr19_16_0', 2, 17214)\n", (71790, 71813), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71824, 71854), 'archinfo.arch.Register', 'Register', (['"""vr19_8_1"""', '(1)', '(17214)'], {}), "('vr19_8_1', 1, 17214)\n", (71832, 71854), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71865, 71895), 'archinfo.arch.Register', 'Register', (['"""vr19_8_0"""', '(1)', '(17215)'], {}), "('vr19_8_0', 1, 17215)\n", (71873, 71895), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71906, 71933), 'archinfo.arch.Register', 'Register', (['"""vs52"""', '(16)', '(17216)'], {}), "('vs52', 16, 17216)\n", (71914, 71933), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71944, 71975), 'archinfo.arch.Register', 'Register', (['"""vr20_64_1"""', '(8)', '(17216)'], {}), "('vr20_64_1', 8, 17216)\n", (71952, 71975), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((71986, 72017), 'archinfo.arch.Register', 'Register', (['"""vr20_32_3"""', '(4)', '(17216)'], {}), "('vr20_32_3', 4, 17216)\n", (71994, 72017), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72028, 72059), 'archinfo.arch.Register', 'Register', (['"""vr20_16_7"""', '(2)', '(17216)'], {}), "('vr20_16_7', 2, 17216)\n", (72036, 72059), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72070, 72101), 'archinfo.arch.Register', 'Register', (['"""vr20_8_15"""', '(1)', '(17216)'], {}), "('vr20_8_15', 1, 17216)\n", (72078, 72101), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72112, 72143), 'archinfo.arch.Register', 'Register', (['"""vr20_8_14"""', '(1)', '(17217)'], {}), "('vr20_8_14', 1, 17217)\n", (72120, 72143), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72154, 72185), 'archinfo.arch.Register', 'Register', (['"""vr20_16_6"""', '(2)', '(17218)'], {}), "('vr20_16_6', 2, 17218)\n", (72162, 72185), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72196, 72227), 'archinfo.arch.Register', 'Register', (['"""vr20_8_13"""', '(1)', '(17218)'], {}), "('vr20_8_13', 1, 17218)\n", (72204, 72227), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72238, 72269), 'archinfo.arch.Register', 'Register', (['"""vr20_8_12"""', '(1)', '(17219)'], {}), "('vr20_8_12', 1, 17219)\n", (72246, 72269), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72280, 72311), 'archinfo.arch.Register', 'Register', (['"""vr20_32_2"""', '(4)', '(17220)'], {}), "('vr20_32_2', 4, 17220)\n", (72288, 72311), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72322, 72353), 'archinfo.arch.Register', 'Register', (['"""vr20_16_5"""', '(2)', '(17220)'], {}), "('vr20_16_5', 2, 17220)\n", (72330, 72353), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72364, 72395), 'archinfo.arch.Register', 'Register', (['"""vr20_8_11"""', '(1)', '(17220)'], {}), "('vr20_8_11', 1, 17220)\n", (72372, 72395), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72406, 72437), 'archinfo.arch.Register', 'Register', (['"""vr20_8_10"""', '(1)', '(17221)'], {}), "('vr20_8_10', 1, 17221)\n", (72414, 72437), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72448, 72479), 'archinfo.arch.Register', 'Register', (['"""vr20_16_4"""', '(2)', '(17222)'], {}), "('vr20_16_4', 2, 17222)\n", (72456, 72479), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72490, 72520), 'archinfo.arch.Register', 'Register', (['"""vr20_8_9"""', '(1)', '(17222)'], {}), "('vr20_8_9', 1, 17222)\n", (72498, 72520), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72531, 72561), 'archinfo.arch.Register', 'Register', (['"""vr20_8_8"""', '(1)', '(17223)'], {}), "('vr20_8_8', 1, 17223)\n", (72539, 72561), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72572, 72603), 'archinfo.arch.Register', 'Register', (['"""vr20_64_0"""', '(8)', '(17224)'], {}), "('vr20_64_0', 8, 17224)\n", (72580, 72603), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72614, 72645), 'archinfo.arch.Register', 'Register', (['"""vr20_32_1"""', '(4)', '(17224)'], {}), "('vr20_32_1', 4, 17224)\n", (72622, 72645), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72656, 72687), 'archinfo.arch.Register', 'Register', (['"""vr20_16_3"""', '(2)', '(17224)'], {}), "('vr20_16_3', 2, 17224)\n", (72664, 72687), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72698, 72728), 'archinfo.arch.Register', 'Register', (['"""vr20_8_7"""', '(1)', '(17224)'], {}), "('vr20_8_7', 1, 17224)\n", (72706, 72728), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72739, 72769), 'archinfo.arch.Register', 'Register', (['"""vr20_8_6"""', '(1)', '(17225)'], {}), "('vr20_8_6', 1, 17225)\n", (72747, 72769), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72780, 72811), 'archinfo.arch.Register', 'Register', (['"""vr20_16_2"""', '(2)', '(17226)'], {}), "('vr20_16_2', 2, 17226)\n", (72788, 72811), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72822, 72852), 'archinfo.arch.Register', 'Register', (['"""vr20_8_5"""', '(1)', '(17226)'], {}), "('vr20_8_5', 1, 17226)\n", (72830, 72852), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72863, 72893), 'archinfo.arch.Register', 'Register', (['"""vr20_8_4"""', '(1)', '(17227)'], {}), "('vr20_8_4', 1, 17227)\n", (72871, 72893), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72904, 72935), 'archinfo.arch.Register', 'Register', (['"""vr20_32_0"""', '(4)', '(17228)'], {}), "('vr20_32_0', 4, 17228)\n", (72912, 72935), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72946, 72977), 'archinfo.arch.Register', 'Register', (['"""vr20_16_1"""', '(2)', '(17228)'], {}), "('vr20_16_1', 2, 17228)\n", (72954, 72977), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((72988, 73018), 'archinfo.arch.Register', 'Register', (['"""vr20_8_3"""', '(1)', '(17228)'], {}), "('vr20_8_3', 1, 17228)\n", (72996, 73018), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73029, 73059), 'archinfo.arch.Register', 'Register', (['"""vr20_8_2"""', '(1)', '(17229)'], {}), "('vr20_8_2', 1, 17229)\n", (73037, 73059), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73070, 73101), 'archinfo.arch.Register', 'Register', (['"""vr20_16_0"""', '(2)', '(17230)'], {}), "('vr20_16_0', 2, 17230)\n", (73078, 73101), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73112, 73142), 'archinfo.arch.Register', 'Register', (['"""vr20_8_1"""', '(1)', '(17230)'], {}), "('vr20_8_1', 1, 17230)\n", (73120, 73142), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73153, 73183), 'archinfo.arch.Register', 'Register', (['"""vr20_8_0"""', '(1)', '(17231)'], {}), "('vr20_8_0', 1, 17231)\n", (73161, 73183), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73194, 73221), 'archinfo.arch.Register', 'Register', (['"""vs53"""', '(16)', '(17232)'], {}), "('vs53', 16, 17232)\n", (73202, 73221), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73232, 73263), 'archinfo.arch.Register', 'Register', (['"""vr21_64_1"""', '(8)', '(17232)'], {}), "('vr21_64_1', 8, 17232)\n", (73240, 73263), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73274, 73305), 'archinfo.arch.Register', 'Register', (['"""vr21_32_3"""', '(4)', '(17232)'], {}), "('vr21_32_3', 4, 17232)\n", (73282, 73305), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73316, 73347), 'archinfo.arch.Register', 'Register', (['"""vr21_16_7"""', '(2)', '(17232)'], {}), "('vr21_16_7', 2, 17232)\n", (73324, 73347), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73358, 73389), 'archinfo.arch.Register', 'Register', (['"""vr21_8_15"""', '(1)', '(17232)'], {}), "('vr21_8_15', 1, 17232)\n", (73366, 73389), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73400, 73431), 'archinfo.arch.Register', 'Register', (['"""vr21_8_14"""', '(1)', '(17233)'], {}), "('vr21_8_14', 1, 17233)\n", (73408, 73431), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73442, 73473), 'archinfo.arch.Register', 'Register', (['"""vr21_16_6"""', '(2)', '(17234)'], {}), "('vr21_16_6', 2, 17234)\n", (73450, 73473), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73484, 73515), 'archinfo.arch.Register', 'Register', (['"""vr21_8_13"""', '(1)', '(17234)'], {}), "('vr21_8_13', 1, 17234)\n", (73492, 73515), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73526, 73557), 'archinfo.arch.Register', 'Register', (['"""vr21_8_12"""', '(1)', '(17235)'], {}), "('vr21_8_12', 1, 17235)\n", (73534, 73557), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73568, 73599), 'archinfo.arch.Register', 'Register', (['"""vr21_32_2"""', '(4)', '(17236)'], {}), "('vr21_32_2', 4, 17236)\n", (73576, 73599), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73610, 73641), 'archinfo.arch.Register', 'Register', (['"""vr21_16_5"""', '(2)', '(17236)'], {}), "('vr21_16_5', 2, 17236)\n", (73618, 73641), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73652, 73683), 'archinfo.arch.Register', 'Register', (['"""vr21_8_11"""', '(1)', '(17236)'], {}), "('vr21_8_11', 1, 17236)\n", (73660, 73683), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73694, 73725), 'archinfo.arch.Register', 'Register', (['"""vr21_8_10"""', '(1)', '(17237)'], {}), "('vr21_8_10', 1, 17237)\n", (73702, 73725), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73736, 73767), 'archinfo.arch.Register', 'Register', (['"""vr21_16_4"""', '(2)', '(17238)'], {}), "('vr21_16_4', 2, 17238)\n", (73744, 73767), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73778, 73808), 'archinfo.arch.Register', 'Register', (['"""vr21_8_9"""', '(1)', '(17238)'], {}), "('vr21_8_9', 1, 17238)\n", (73786, 73808), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73819, 73849), 'archinfo.arch.Register', 'Register', (['"""vr21_8_8"""', '(1)', '(17239)'], {}), "('vr21_8_8', 1, 17239)\n", (73827, 73849), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73860, 73891), 'archinfo.arch.Register', 'Register', (['"""vr21_64_0"""', '(8)', '(17240)'], {}), "('vr21_64_0', 8, 17240)\n", (73868, 73891), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73902, 73933), 'archinfo.arch.Register', 'Register', (['"""vr21_32_1"""', '(4)', '(17240)'], {}), "('vr21_32_1', 4, 17240)\n", (73910, 73933), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73944, 73975), 'archinfo.arch.Register', 'Register', (['"""vr21_16_3"""', '(2)', '(17240)'], {}), "('vr21_16_3', 2, 17240)\n", (73952, 73975), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((73986, 74016), 'archinfo.arch.Register', 'Register', (['"""vr21_8_7"""', '(1)', '(17240)'], {}), "('vr21_8_7', 1, 17240)\n", (73994, 74016), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74027, 74057), 'archinfo.arch.Register', 'Register', (['"""vr21_8_6"""', '(1)', '(17241)'], {}), "('vr21_8_6', 1, 17241)\n", (74035, 74057), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74068, 74099), 'archinfo.arch.Register', 'Register', (['"""vr21_16_2"""', '(2)', '(17242)'], {}), "('vr21_16_2', 2, 17242)\n", (74076, 74099), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74110, 74140), 'archinfo.arch.Register', 'Register', (['"""vr21_8_5"""', '(1)', '(17242)'], {}), "('vr21_8_5', 1, 17242)\n", (74118, 74140), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74151, 74181), 'archinfo.arch.Register', 'Register', (['"""vr21_8_4"""', '(1)', '(17243)'], {}), "('vr21_8_4', 1, 17243)\n", (74159, 74181), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74192, 74223), 'archinfo.arch.Register', 'Register', (['"""vr21_32_0"""', '(4)', '(17244)'], {}), "('vr21_32_0', 4, 17244)\n", (74200, 74223), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74234, 74265), 'archinfo.arch.Register', 'Register', (['"""vr21_16_1"""', '(2)', '(17244)'], {}), "('vr21_16_1', 2, 17244)\n", (74242, 74265), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74276, 74306), 'archinfo.arch.Register', 'Register', (['"""vr21_8_3"""', '(1)', '(17244)'], {}), "('vr21_8_3', 1, 17244)\n", (74284, 74306), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74317, 74347), 'archinfo.arch.Register', 'Register', (['"""vr21_8_2"""', '(1)', '(17245)'], {}), "('vr21_8_2', 1, 17245)\n", (74325, 74347), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74358, 74389), 'archinfo.arch.Register', 'Register', (['"""vr21_16_0"""', '(2)', '(17246)'], {}), "('vr21_16_0', 2, 17246)\n", (74366, 74389), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74400, 74430), 'archinfo.arch.Register', 'Register', (['"""vr21_8_1"""', '(1)', '(17246)'], {}), "('vr21_8_1', 1, 17246)\n", (74408, 74430), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74441, 74471), 'archinfo.arch.Register', 'Register', (['"""vr21_8_0"""', '(1)', '(17247)'], {}), "('vr21_8_0', 1, 17247)\n", (74449, 74471), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74482, 74509), 'archinfo.arch.Register', 'Register', (['"""vs54"""', '(16)', '(17248)'], {}), "('vs54', 16, 17248)\n", (74490, 74509), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74520, 74551), 'archinfo.arch.Register', 'Register', (['"""vr22_64_1"""', '(8)', '(17248)'], {}), "('vr22_64_1', 8, 17248)\n", (74528, 74551), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74562, 74593), 'archinfo.arch.Register', 'Register', (['"""vr22_32_3"""', '(4)', '(17248)'], {}), "('vr22_32_3', 4, 17248)\n", (74570, 74593), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74604, 74635), 'archinfo.arch.Register', 'Register', (['"""vr22_16_7"""', '(2)', '(17248)'], {}), "('vr22_16_7', 2, 17248)\n", (74612, 74635), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74646, 74677), 'archinfo.arch.Register', 'Register', (['"""vr22_8_15"""', '(1)', '(17248)'], {}), "('vr22_8_15', 1, 17248)\n", (74654, 74677), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74688, 74719), 'archinfo.arch.Register', 'Register', (['"""vr22_8_14"""', '(1)', '(17249)'], {}), "('vr22_8_14', 1, 17249)\n", (74696, 74719), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74730, 74761), 'archinfo.arch.Register', 'Register', (['"""vr22_16_6"""', '(2)', '(17250)'], {}), "('vr22_16_6', 2, 17250)\n", (74738, 74761), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74772, 74803), 'archinfo.arch.Register', 'Register', (['"""vr22_8_13"""', '(1)', '(17250)'], {}), "('vr22_8_13', 1, 17250)\n", (74780, 74803), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74814, 74845), 'archinfo.arch.Register', 'Register', (['"""vr22_8_12"""', '(1)', '(17251)'], {}), "('vr22_8_12', 1, 17251)\n", (74822, 74845), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74856, 74887), 'archinfo.arch.Register', 'Register', (['"""vr22_32_2"""', '(4)', '(17252)'], {}), "('vr22_32_2', 4, 17252)\n", (74864, 74887), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74898, 74929), 'archinfo.arch.Register', 'Register', (['"""vr22_16_5"""', '(2)', '(17252)'], {}), "('vr22_16_5', 2, 17252)\n", (74906, 74929), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74940, 74971), 'archinfo.arch.Register', 'Register', (['"""vr22_8_11"""', '(1)', '(17252)'], {}), "('vr22_8_11', 1, 17252)\n", (74948, 74971), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((74982, 75013), 'archinfo.arch.Register', 'Register', (['"""vr22_8_10"""', '(1)', '(17253)'], {}), "('vr22_8_10', 1, 17253)\n", (74990, 75013), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75024, 75055), 'archinfo.arch.Register', 'Register', (['"""vr22_16_4"""', '(2)', '(17254)'], {}), "('vr22_16_4', 2, 17254)\n", (75032, 75055), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75066, 75096), 'archinfo.arch.Register', 'Register', (['"""vr22_8_9"""', '(1)', '(17254)'], {}), "('vr22_8_9', 1, 17254)\n", (75074, 75096), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75107, 75137), 'archinfo.arch.Register', 'Register', (['"""vr22_8_8"""', '(1)', '(17255)'], {}), "('vr22_8_8', 1, 17255)\n", (75115, 75137), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75148, 75179), 'archinfo.arch.Register', 'Register', (['"""vr22_64_0"""', '(8)', '(17256)'], {}), "('vr22_64_0', 8, 17256)\n", (75156, 75179), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75190, 75221), 'archinfo.arch.Register', 'Register', (['"""vr22_32_1"""', '(4)', '(17256)'], {}), "('vr22_32_1', 4, 17256)\n", (75198, 75221), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75232, 75263), 'archinfo.arch.Register', 'Register', (['"""vr22_16_3"""', '(2)', '(17256)'], {}), "('vr22_16_3', 2, 17256)\n", (75240, 75263), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75274, 75304), 'archinfo.arch.Register', 'Register', (['"""vr22_8_7"""', '(1)', '(17256)'], {}), "('vr22_8_7', 1, 17256)\n", (75282, 75304), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75315, 75345), 'archinfo.arch.Register', 'Register', (['"""vr22_8_6"""', '(1)', '(17257)'], {}), "('vr22_8_6', 1, 17257)\n", (75323, 75345), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75356, 75387), 'archinfo.arch.Register', 'Register', (['"""vr22_16_2"""', '(2)', '(17258)'], {}), "('vr22_16_2', 2, 17258)\n", (75364, 75387), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75398, 75428), 'archinfo.arch.Register', 'Register', (['"""vr22_8_5"""', '(1)', '(17258)'], {}), "('vr22_8_5', 1, 17258)\n", (75406, 75428), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75439, 75469), 'archinfo.arch.Register', 'Register', (['"""vr22_8_4"""', '(1)', '(17259)'], {}), "('vr22_8_4', 1, 17259)\n", (75447, 75469), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75480, 75511), 'archinfo.arch.Register', 'Register', (['"""vr22_32_0"""', '(4)', '(17260)'], {}), "('vr22_32_0', 4, 17260)\n", (75488, 75511), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75522, 75553), 'archinfo.arch.Register', 'Register', (['"""vr22_16_1"""', '(2)', '(17260)'], {}), "('vr22_16_1', 2, 17260)\n", (75530, 75553), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75564, 75594), 'archinfo.arch.Register', 'Register', (['"""vr22_8_3"""', '(1)', '(17260)'], {}), "('vr22_8_3', 1, 17260)\n", (75572, 75594), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75605, 75635), 'archinfo.arch.Register', 'Register', (['"""vr22_8_2"""', '(1)', '(17261)'], {}), "('vr22_8_2', 1, 17261)\n", (75613, 75635), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75646, 75677), 'archinfo.arch.Register', 'Register', (['"""vr22_16_0"""', '(2)', '(17262)'], {}), "('vr22_16_0', 2, 17262)\n", (75654, 75677), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75688, 75718), 'archinfo.arch.Register', 'Register', (['"""vr22_8_1"""', '(1)', '(17262)'], {}), "('vr22_8_1', 1, 17262)\n", (75696, 75718), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75729, 75759), 'archinfo.arch.Register', 'Register', (['"""vr22_8_0"""', '(1)', '(17263)'], {}), "('vr22_8_0', 1, 17263)\n", (75737, 75759), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75770, 75797), 'archinfo.arch.Register', 'Register', (['"""vs55"""', '(16)', '(17264)'], {}), "('vs55', 16, 17264)\n", (75778, 75797), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75808, 75839), 'archinfo.arch.Register', 'Register', (['"""vr23_64_1"""', '(8)', '(17264)'], {}), "('vr23_64_1', 8, 17264)\n", (75816, 75839), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75850, 75881), 'archinfo.arch.Register', 'Register', (['"""vr23_32_3"""', '(4)', '(17264)'], {}), "('vr23_32_3', 4, 17264)\n", (75858, 75881), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75892, 75923), 'archinfo.arch.Register', 'Register', (['"""vr23_16_7"""', '(2)', '(17264)'], {}), "('vr23_16_7', 2, 17264)\n", (75900, 75923), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75934, 75965), 'archinfo.arch.Register', 'Register', (['"""vr23_8_15"""', '(1)', '(17264)'], {}), "('vr23_8_15', 1, 17264)\n", (75942, 75965), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((75976, 76007), 'archinfo.arch.Register', 'Register', (['"""vr23_8_14"""', '(1)', '(17265)'], {}), "('vr23_8_14', 1, 17265)\n", (75984, 76007), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76018, 76049), 'archinfo.arch.Register', 'Register', (['"""vr23_16_6"""', '(2)', '(17266)'], {}), "('vr23_16_6', 2, 17266)\n", (76026, 76049), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76060, 76091), 'archinfo.arch.Register', 'Register', (['"""vr23_8_13"""', '(1)', '(17266)'], {}), "('vr23_8_13', 1, 17266)\n", (76068, 76091), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76102, 76133), 'archinfo.arch.Register', 'Register', (['"""vr23_8_12"""', '(1)', '(17267)'], {}), "('vr23_8_12', 1, 17267)\n", (76110, 76133), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76144, 76175), 'archinfo.arch.Register', 'Register', (['"""vr23_32_2"""', '(4)', '(17268)'], {}), "('vr23_32_2', 4, 17268)\n", (76152, 76175), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76186, 76217), 'archinfo.arch.Register', 'Register', (['"""vr23_16_5"""', '(2)', '(17268)'], {}), "('vr23_16_5', 2, 17268)\n", (76194, 76217), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76228, 76259), 'archinfo.arch.Register', 'Register', (['"""vr23_8_11"""', '(1)', '(17268)'], {}), "('vr23_8_11', 1, 17268)\n", (76236, 76259), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76270, 76301), 'archinfo.arch.Register', 'Register', (['"""vr23_8_10"""', '(1)', '(17269)'], {}), "('vr23_8_10', 1, 17269)\n", (76278, 76301), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76312, 76343), 'archinfo.arch.Register', 'Register', (['"""vr23_16_4"""', '(2)', '(17270)'], {}), "('vr23_16_4', 2, 17270)\n", (76320, 76343), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76354, 76384), 'archinfo.arch.Register', 'Register', (['"""vr23_8_9"""', '(1)', '(17270)'], {}), "('vr23_8_9', 1, 17270)\n", (76362, 76384), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76395, 76425), 'archinfo.arch.Register', 'Register', (['"""vr23_8_8"""', '(1)', '(17271)'], {}), "('vr23_8_8', 1, 17271)\n", (76403, 76425), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76436, 76467), 'archinfo.arch.Register', 'Register', (['"""vr23_64_0"""', '(8)', '(17272)'], {}), "('vr23_64_0', 8, 17272)\n", (76444, 76467), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76478, 76509), 'archinfo.arch.Register', 'Register', (['"""vr23_32_1"""', '(4)', '(17272)'], {}), "('vr23_32_1', 4, 17272)\n", (76486, 76509), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76520, 76551), 'archinfo.arch.Register', 'Register', (['"""vr23_16_3"""', '(2)', '(17272)'], {}), "('vr23_16_3', 2, 17272)\n", (76528, 76551), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76562, 76592), 'archinfo.arch.Register', 'Register', (['"""vr23_8_7"""', '(1)', '(17272)'], {}), "('vr23_8_7', 1, 17272)\n", (76570, 76592), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76603, 76633), 'archinfo.arch.Register', 'Register', (['"""vr23_8_6"""', '(1)', '(17273)'], {}), "('vr23_8_6', 1, 17273)\n", (76611, 76633), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76644, 76675), 'archinfo.arch.Register', 'Register', (['"""vr23_16_2"""', '(2)', '(17274)'], {}), "('vr23_16_2', 2, 17274)\n", (76652, 76675), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76686, 76716), 'archinfo.arch.Register', 'Register', (['"""vr23_8_5"""', '(1)', '(17274)'], {}), "('vr23_8_5', 1, 17274)\n", (76694, 76716), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76727, 76757), 'archinfo.arch.Register', 'Register', (['"""vr23_8_4"""', '(1)', '(17275)'], {}), "('vr23_8_4', 1, 17275)\n", (76735, 76757), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76768, 76799), 'archinfo.arch.Register', 'Register', (['"""vr23_32_0"""', '(4)', '(17276)'], {}), "('vr23_32_0', 4, 17276)\n", (76776, 76799), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76810, 76841), 'archinfo.arch.Register', 'Register', (['"""vr23_16_1"""', '(2)', '(17276)'], {}), "('vr23_16_1', 2, 17276)\n", (76818, 76841), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76852, 76882), 'archinfo.arch.Register', 'Register', (['"""vr23_8_3"""', '(1)', '(17276)'], {}), "('vr23_8_3', 1, 17276)\n", (76860, 76882), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76893, 76923), 'archinfo.arch.Register', 'Register', (['"""vr23_8_2"""', '(1)', '(17277)'], {}), "('vr23_8_2', 1, 17277)\n", (76901, 76923), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76934, 76965), 'archinfo.arch.Register', 'Register', (['"""vr23_16_0"""', '(2)', '(17278)'], {}), "('vr23_16_0', 2, 17278)\n", (76942, 76965), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((76976, 77006), 'archinfo.arch.Register', 'Register', (['"""vr23_8_1"""', '(1)', '(17278)'], {}), "('vr23_8_1', 1, 17278)\n", (76984, 77006), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77017, 77047), 'archinfo.arch.Register', 'Register', (['"""vr23_8_0"""', '(1)', '(17279)'], {}), "('vr23_8_0', 1, 17279)\n", (77025, 77047), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77058, 77085), 'archinfo.arch.Register', 'Register', (['"""vs56"""', '(16)', '(17280)'], {}), "('vs56', 16, 17280)\n", (77066, 77085), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77096, 77127), 'archinfo.arch.Register', 'Register', (['"""vr24_64_1"""', '(8)', '(17280)'], {}), "('vr24_64_1', 8, 17280)\n", (77104, 77127), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77138, 77169), 'archinfo.arch.Register', 'Register', (['"""vr24_32_3"""', '(4)', '(17280)'], {}), "('vr24_32_3', 4, 17280)\n", (77146, 77169), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77180, 77211), 'archinfo.arch.Register', 'Register', (['"""vr24_16_7"""', '(2)', '(17280)'], {}), "('vr24_16_7', 2, 17280)\n", (77188, 77211), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77222, 77253), 'archinfo.arch.Register', 'Register', (['"""vr24_8_15"""', '(1)', '(17280)'], {}), "('vr24_8_15', 1, 17280)\n", (77230, 77253), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77264, 77295), 'archinfo.arch.Register', 'Register', (['"""vr24_8_14"""', '(1)', '(17281)'], {}), "('vr24_8_14', 1, 17281)\n", (77272, 77295), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77306, 77337), 'archinfo.arch.Register', 'Register', (['"""vr24_16_6"""', '(2)', '(17282)'], {}), "('vr24_16_6', 2, 17282)\n", (77314, 77337), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77348, 77379), 'archinfo.arch.Register', 'Register', (['"""vr24_8_13"""', '(1)', '(17282)'], {}), "('vr24_8_13', 1, 17282)\n", (77356, 77379), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77390, 77421), 'archinfo.arch.Register', 'Register', (['"""vr24_8_12"""', '(1)', '(17283)'], {}), "('vr24_8_12', 1, 17283)\n", (77398, 77421), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77432, 77463), 'archinfo.arch.Register', 'Register', (['"""vr24_32_2"""', '(4)', '(17284)'], {}), "('vr24_32_2', 4, 17284)\n", (77440, 77463), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77474, 77505), 'archinfo.arch.Register', 'Register', (['"""vr24_16_5"""', '(2)', '(17284)'], {}), "('vr24_16_5', 2, 17284)\n", (77482, 77505), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77516, 77547), 'archinfo.arch.Register', 'Register', (['"""vr24_8_11"""', '(1)', '(17284)'], {}), "('vr24_8_11', 1, 17284)\n", (77524, 77547), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77558, 77589), 'archinfo.arch.Register', 'Register', (['"""vr24_8_10"""', '(1)', '(17285)'], {}), "('vr24_8_10', 1, 17285)\n", (77566, 77589), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77600, 77631), 'archinfo.arch.Register', 'Register', (['"""vr24_16_4"""', '(2)', '(17286)'], {}), "('vr24_16_4', 2, 17286)\n", (77608, 77631), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77642, 77672), 'archinfo.arch.Register', 'Register', (['"""vr24_8_9"""', '(1)', '(17286)'], {}), "('vr24_8_9', 1, 17286)\n", (77650, 77672), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77683, 77713), 'archinfo.arch.Register', 'Register', (['"""vr24_8_8"""', '(1)', '(17287)'], {}), "('vr24_8_8', 1, 17287)\n", (77691, 77713), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77724, 77755), 'archinfo.arch.Register', 'Register', (['"""vr24_64_0"""', '(8)', '(17288)'], {}), "('vr24_64_0', 8, 17288)\n", (77732, 77755), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77766, 77797), 'archinfo.arch.Register', 'Register', (['"""vr24_32_1"""', '(4)', '(17288)'], {}), "('vr24_32_1', 4, 17288)\n", (77774, 77797), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77808, 77839), 'archinfo.arch.Register', 'Register', (['"""vr24_16_3"""', '(2)', '(17288)'], {}), "('vr24_16_3', 2, 17288)\n", (77816, 77839), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77850, 77880), 'archinfo.arch.Register', 'Register', (['"""vr24_8_7"""', '(1)', '(17288)'], {}), "('vr24_8_7', 1, 17288)\n", (77858, 77880), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77891, 77921), 'archinfo.arch.Register', 'Register', (['"""vr24_8_6"""', '(1)', '(17289)'], {}), "('vr24_8_6', 1, 17289)\n", (77899, 77921), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77932, 77963), 'archinfo.arch.Register', 'Register', (['"""vr24_16_2"""', '(2)', '(17290)'], {}), "('vr24_16_2', 2, 17290)\n", (77940, 77963), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((77974, 78004), 'archinfo.arch.Register', 'Register', (['"""vr24_8_5"""', '(1)', '(17290)'], {}), "('vr24_8_5', 1, 17290)\n", (77982, 78004), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78015, 78045), 'archinfo.arch.Register', 'Register', (['"""vr24_8_4"""', '(1)', '(17291)'], {}), "('vr24_8_4', 1, 17291)\n", (78023, 78045), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78056, 78087), 'archinfo.arch.Register', 'Register', (['"""vr24_32_0"""', '(4)', '(17292)'], {}), "('vr24_32_0', 4, 17292)\n", (78064, 78087), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78098, 78129), 'archinfo.arch.Register', 'Register', (['"""vr24_16_1"""', '(2)', '(17292)'], {}), "('vr24_16_1', 2, 17292)\n", (78106, 78129), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78140, 78170), 'archinfo.arch.Register', 'Register', (['"""vr24_8_3"""', '(1)', '(17292)'], {}), "('vr24_8_3', 1, 17292)\n", (78148, 78170), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78181, 78211), 'archinfo.arch.Register', 'Register', (['"""vr24_8_2"""', '(1)', '(17293)'], {}), "('vr24_8_2', 1, 17293)\n", (78189, 78211), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78222, 78253), 'archinfo.arch.Register', 'Register', (['"""vr24_16_0"""', '(2)', '(17294)'], {}), "('vr24_16_0', 2, 17294)\n", (78230, 78253), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78264, 78294), 'archinfo.arch.Register', 'Register', (['"""vr24_8_1"""', '(1)', '(17294)'], {}), "('vr24_8_1', 1, 17294)\n", (78272, 78294), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78305, 78335), 'archinfo.arch.Register', 'Register', (['"""vr24_8_0"""', '(1)', '(17295)'], {}), "('vr24_8_0', 1, 17295)\n", (78313, 78335), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78346, 78373), 'archinfo.arch.Register', 'Register', (['"""vs57"""', '(16)', '(17296)'], {}), "('vs57', 16, 17296)\n", (78354, 78373), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78384, 78415), 'archinfo.arch.Register', 'Register', (['"""vr25_64_1"""', '(8)', '(17296)'], {}), "('vr25_64_1', 8, 17296)\n", (78392, 78415), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78426, 78457), 'archinfo.arch.Register', 'Register', (['"""vr25_32_3"""', '(4)', '(17296)'], {}), "('vr25_32_3', 4, 17296)\n", (78434, 78457), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78468, 78499), 'archinfo.arch.Register', 'Register', (['"""vr25_16_7"""', '(2)', '(17296)'], {}), "('vr25_16_7', 2, 17296)\n", (78476, 78499), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78510, 78541), 'archinfo.arch.Register', 'Register', (['"""vr25_8_15"""', '(1)', '(17296)'], {}), "('vr25_8_15', 1, 17296)\n", (78518, 78541), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78552, 78583), 'archinfo.arch.Register', 'Register', (['"""vr25_8_14"""', '(1)', '(17297)'], {}), "('vr25_8_14', 1, 17297)\n", (78560, 78583), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78594, 78625), 'archinfo.arch.Register', 'Register', (['"""vr25_16_6"""', '(2)', '(17298)'], {}), "('vr25_16_6', 2, 17298)\n", (78602, 78625), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78636, 78667), 'archinfo.arch.Register', 'Register', (['"""vr25_8_13"""', '(1)', '(17298)'], {}), "('vr25_8_13', 1, 17298)\n", (78644, 78667), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78678, 78709), 'archinfo.arch.Register', 'Register', (['"""vr25_8_12"""', '(1)', '(17299)'], {}), "('vr25_8_12', 1, 17299)\n", (78686, 78709), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78720, 78751), 'archinfo.arch.Register', 'Register', (['"""vr25_32_2"""', '(4)', '(17300)'], {}), "('vr25_32_2', 4, 17300)\n", (78728, 78751), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78762, 78793), 'archinfo.arch.Register', 'Register', (['"""vr25_16_5"""', '(2)', '(17300)'], {}), "('vr25_16_5', 2, 17300)\n", (78770, 78793), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78804, 78835), 'archinfo.arch.Register', 'Register', (['"""vr25_8_11"""', '(1)', '(17300)'], {}), "('vr25_8_11', 1, 17300)\n", (78812, 78835), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78846, 78877), 'archinfo.arch.Register', 'Register', (['"""vr25_8_10"""', '(1)', '(17301)'], {}), "('vr25_8_10', 1, 17301)\n", (78854, 78877), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78888, 78919), 'archinfo.arch.Register', 'Register', (['"""vr25_16_4"""', '(2)', '(17302)'], {}), "('vr25_16_4', 2, 17302)\n", (78896, 78919), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78930, 78960), 'archinfo.arch.Register', 'Register', (['"""vr25_8_9"""', '(1)', '(17302)'], {}), "('vr25_8_9', 1, 17302)\n", (78938, 78960), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((78971, 79001), 'archinfo.arch.Register', 'Register', (['"""vr25_8_8"""', '(1)', '(17303)'], {}), "('vr25_8_8', 1, 17303)\n", (78979, 79001), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79012, 79043), 'archinfo.arch.Register', 'Register', (['"""vr25_64_0"""', '(8)', '(17304)'], {}), "('vr25_64_0', 8, 17304)\n", (79020, 79043), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79054, 79085), 'archinfo.arch.Register', 'Register', (['"""vr25_32_1"""', '(4)', '(17304)'], {}), "('vr25_32_1', 4, 17304)\n", (79062, 79085), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79096, 79127), 'archinfo.arch.Register', 'Register', (['"""vr25_16_3"""', '(2)', '(17304)'], {}), "('vr25_16_3', 2, 17304)\n", (79104, 79127), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79138, 79168), 'archinfo.arch.Register', 'Register', (['"""vr25_8_7"""', '(1)', '(17304)'], {}), "('vr25_8_7', 1, 17304)\n", (79146, 79168), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79179, 79209), 'archinfo.arch.Register', 'Register', (['"""vr25_8_6"""', '(1)', '(17305)'], {}), "('vr25_8_6', 1, 17305)\n", (79187, 79209), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79220, 79251), 'archinfo.arch.Register', 'Register', (['"""vr25_16_2"""', '(2)', '(17306)'], {}), "('vr25_16_2', 2, 17306)\n", (79228, 79251), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79262, 79292), 'archinfo.arch.Register', 'Register', (['"""vr25_8_5"""', '(1)', '(17306)'], {}), "('vr25_8_5', 1, 17306)\n", (79270, 79292), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79303, 79333), 'archinfo.arch.Register', 'Register', (['"""vr25_8_4"""', '(1)', '(17307)'], {}), "('vr25_8_4', 1, 17307)\n", (79311, 79333), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79344, 79375), 'archinfo.arch.Register', 'Register', (['"""vr25_32_0"""', '(4)', '(17308)'], {}), "('vr25_32_0', 4, 17308)\n", (79352, 79375), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79386, 79417), 'archinfo.arch.Register', 'Register', (['"""vr25_16_1"""', '(2)', '(17308)'], {}), "('vr25_16_1', 2, 17308)\n", (79394, 79417), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79428, 79458), 'archinfo.arch.Register', 'Register', (['"""vr25_8_3"""', '(1)', '(17308)'], {}), "('vr25_8_3', 1, 17308)\n", (79436, 79458), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79469, 79499), 'archinfo.arch.Register', 'Register', (['"""vr25_8_2"""', '(1)', '(17309)'], {}), "('vr25_8_2', 1, 17309)\n", (79477, 79499), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79510, 79541), 'archinfo.arch.Register', 'Register', (['"""vr25_16_0"""', '(2)', '(17310)'], {}), "('vr25_16_0', 2, 17310)\n", (79518, 79541), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79552, 79582), 'archinfo.arch.Register', 'Register', (['"""vr25_8_1"""', '(1)', '(17310)'], {}), "('vr25_8_1', 1, 17310)\n", (79560, 79582), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79593, 79623), 'archinfo.arch.Register', 'Register', (['"""vr25_8_0"""', '(1)', '(17311)'], {}), "('vr25_8_0', 1, 17311)\n", (79601, 79623), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79634, 79661), 'archinfo.arch.Register', 'Register', (['"""vs58"""', '(16)', '(17312)'], {}), "('vs58', 16, 17312)\n", (79642, 79661), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79672, 79703), 'archinfo.arch.Register', 'Register', (['"""vr26_64_1"""', '(8)', '(17312)'], {}), "('vr26_64_1', 8, 17312)\n", (79680, 79703), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79714, 79745), 'archinfo.arch.Register', 'Register', (['"""vr26_32_3"""', '(4)', '(17312)'], {}), "('vr26_32_3', 4, 17312)\n", (79722, 79745), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79756, 79787), 'archinfo.arch.Register', 'Register', (['"""vr26_16_7"""', '(2)', '(17312)'], {}), "('vr26_16_7', 2, 17312)\n", (79764, 79787), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79798, 79829), 'archinfo.arch.Register', 'Register', (['"""vr26_8_15"""', '(1)', '(17312)'], {}), "('vr26_8_15', 1, 17312)\n", (79806, 79829), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79840, 79871), 'archinfo.arch.Register', 'Register', (['"""vr26_8_14"""', '(1)', '(17313)'], {}), "('vr26_8_14', 1, 17313)\n", (79848, 79871), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79882, 79913), 'archinfo.arch.Register', 'Register', (['"""vr26_16_6"""', '(2)', '(17314)'], {}), "('vr26_16_6', 2, 17314)\n", (79890, 79913), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79924, 79955), 'archinfo.arch.Register', 'Register', (['"""vr26_8_13"""', '(1)', '(17314)'], {}), "('vr26_8_13', 1, 17314)\n", (79932, 79955), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((79966, 79997), 'archinfo.arch.Register', 'Register', (['"""vr26_8_12"""', '(1)', '(17315)'], {}), "('vr26_8_12', 1, 17315)\n", (79974, 79997), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80008, 80039), 'archinfo.arch.Register', 'Register', (['"""vr26_32_2"""', '(4)', '(17316)'], {}), "('vr26_32_2', 4, 17316)\n", (80016, 80039), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80050, 80081), 'archinfo.arch.Register', 'Register', (['"""vr26_16_5"""', '(2)', '(17316)'], {}), "('vr26_16_5', 2, 17316)\n", (80058, 80081), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80092, 80123), 'archinfo.arch.Register', 'Register', (['"""vr26_8_11"""', '(1)', '(17316)'], {}), "('vr26_8_11', 1, 17316)\n", (80100, 80123), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80134, 80165), 'archinfo.arch.Register', 'Register', (['"""vr26_8_10"""', '(1)', '(17317)'], {}), "('vr26_8_10', 1, 17317)\n", (80142, 80165), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80176, 80207), 'archinfo.arch.Register', 'Register', (['"""vr26_16_4"""', '(2)', '(17318)'], {}), "('vr26_16_4', 2, 17318)\n", (80184, 80207), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80218, 80248), 'archinfo.arch.Register', 'Register', (['"""vr26_8_9"""', '(1)', '(17318)'], {}), "('vr26_8_9', 1, 17318)\n", (80226, 80248), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80259, 80289), 'archinfo.arch.Register', 'Register', (['"""vr26_8_8"""', '(1)', '(17319)'], {}), "('vr26_8_8', 1, 17319)\n", (80267, 80289), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80300, 80331), 'archinfo.arch.Register', 'Register', (['"""vr26_64_0"""', '(8)', '(17320)'], {}), "('vr26_64_0', 8, 17320)\n", (80308, 80331), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80342, 80373), 'archinfo.arch.Register', 'Register', (['"""vr26_32_1"""', '(4)', '(17320)'], {}), "('vr26_32_1', 4, 17320)\n", (80350, 80373), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80384, 80415), 'archinfo.arch.Register', 'Register', (['"""vr26_16_3"""', '(2)', '(17320)'], {}), "('vr26_16_3', 2, 17320)\n", (80392, 80415), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80426, 80456), 'archinfo.arch.Register', 'Register', (['"""vr26_8_7"""', '(1)', '(17320)'], {}), "('vr26_8_7', 1, 17320)\n", (80434, 80456), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80467, 80497), 'archinfo.arch.Register', 'Register', (['"""vr26_8_6"""', '(1)', '(17321)'], {}), "('vr26_8_6', 1, 17321)\n", (80475, 80497), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80508, 80539), 'archinfo.arch.Register', 'Register', (['"""vr26_16_2"""', '(2)', '(17322)'], {}), "('vr26_16_2', 2, 17322)\n", (80516, 80539), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80550, 80580), 'archinfo.arch.Register', 'Register', (['"""vr26_8_5"""', '(1)', '(17322)'], {}), "('vr26_8_5', 1, 17322)\n", (80558, 80580), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80591, 80621), 'archinfo.arch.Register', 'Register', (['"""vr26_8_4"""', '(1)', '(17323)'], {}), "('vr26_8_4', 1, 17323)\n", (80599, 80621), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80632, 80663), 'archinfo.arch.Register', 'Register', (['"""vr26_32_0"""', '(4)', '(17324)'], {}), "('vr26_32_0', 4, 17324)\n", (80640, 80663), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80674, 80705), 'archinfo.arch.Register', 'Register', (['"""vr26_16_1"""', '(2)', '(17324)'], {}), "('vr26_16_1', 2, 17324)\n", (80682, 80705), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80716, 80746), 'archinfo.arch.Register', 'Register', (['"""vr26_8_3"""', '(1)', '(17324)'], {}), "('vr26_8_3', 1, 17324)\n", (80724, 80746), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80757, 80787), 'archinfo.arch.Register', 'Register', (['"""vr26_8_2"""', '(1)', '(17325)'], {}), "('vr26_8_2', 1, 17325)\n", (80765, 80787), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80798, 80829), 'archinfo.arch.Register', 'Register', (['"""vr26_16_0"""', '(2)', '(17326)'], {}), "('vr26_16_0', 2, 17326)\n", (80806, 80829), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80840, 80870), 'archinfo.arch.Register', 'Register', (['"""vr26_8_1"""', '(1)', '(17326)'], {}), "('vr26_8_1', 1, 17326)\n", (80848, 80870), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80881, 80911), 'archinfo.arch.Register', 'Register', (['"""vr26_8_0"""', '(1)', '(17327)'], {}), "('vr26_8_0', 1, 17327)\n", (80889, 80911), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80922, 80949), 'archinfo.arch.Register', 'Register', (['"""vs59"""', '(16)', '(17328)'], {}), "('vs59', 16, 17328)\n", (80930, 80949), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((80960, 80991), 'archinfo.arch.Register', 'Register', (['"""vr27_64_1"""', '(8)', '(17328)'], {}), "('vr27_64_1', 8, 17328)\n", (80968, 80991), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81002, 81033), 'archinfo.arch.Register', 'Register', (['"""vr27_32_3"""', '(4)', '(17328)'], {}), "('vr27_32_3', 4, 17328)\n", (81010, 81033), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81044, 81075), 'archinfo.arch.Register', 'Register', (['"""vr27_16_7"""', '(2)', '(17328)'], {}), "('vr27_16_7', 2, 17328)\n", (81052, 81075), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81086, 81117), 'archinfo.arch.Register', 'Register', (['"""vr27_8_15"""', '(1)', '(17328)'], {}), "('vr27_8_15', 1, 17328)\n", (81094, 81117), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81128, 81159), 'archinfo.arch.Register', 'Register', (['"""vr27_8_14"""', '(1)', '(17329)'], {}), "('vr27_8_14', 1, 17329)\n", (81136, 81159), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81170, 81201), 'archinfo.arch.Register', 'Register', (['"""vr27_16_6"""', '(2)', '(17330)'], {}), "('vr27_16_6', 2, 17330)\n", (81178, 81201), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81212, 81243), 'archinfo.arch.Register', 'Register', (['"""vr27_8_13"""', '(1)', '(17330)'], {}), "('vr27_8_13', 1, 17330)\n", (81220, 81243), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81254, 81285), 'archinfo.arch.Register', 'Register', (['"""vr27_8_12"""', '(1)', '(17331)'], {}), "('vr27_8_12', 1, 17331)\n", (81262, 81285), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81296, 81327), 'archinfo.arch.Register', 'Register', (['"""vr27_32_2"""', '(4)', '(17332)'], {}), "('vr27_32_2', 4, 17332)\n", (81304, 81327), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81338, 81369), 'archinfo.arch.Register', 'Register', (['"""vr27_16_5"""', '(2)', '(17332)'], {}), "('vr27_16_5', 2, 17332)\n", (81346, 81369), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81380, 81411), 'archinfo.arch.Register', 'Register', (['"""vr27_8_11"""', '(1)', '(17332)'], {}), "('vr27_8_11', 1, 17332)\n", (81388, 81411), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81422, 81453), 'archinfo.arch.Register', 'Register', (['"""vr27_8_10"""', '(1)', '(17333)'], {}), "('vr27_8_10', 1, 17333)\n", (81430, 81453), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81464, 81495), 'archinfo.arch.Register', 'Register', (['"""vr27_16_4"""', '(2)', '(17334)'], {}), "('vr27_16_4', 2, 17334)\n", (81472, 81495), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81506, 81536), 'archinfo.arch.Register', 'Register', (['"""vr27_8_9"""', '(1)', '(17334)'], {}), "('vr27_8_9', 1, 17334)\n", (81514, 81536), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81547, 81577), 'archinfo.arch.Register', 'Register', (['"""vr27_8_8"""', '(1)', '(17335)'], {}), "('vr27_8_8', 1, 17335)\n", (81555, 81577), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81588, 81619), 'archinfo.arch.Register', 'Register', (['"""vr27_64_0"""', '(8)', '(17336)'], {}), "('vr27_64_0', 8, 17336)\n", (81596, 81619), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81630, 81661), 'archinfo.arch.Register', 'Register', (['"""vr27_32_1"""', '(4)', '(17336)'], {}), "('vr27_32_1', 4, 17336)\n", (81638, 81661), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81672, 81703), 'archinfo.arch.Register', 'Register', (['"""vr27_16_3"""', '(2)', '(17336)'], {}), "('vr27_16_3', 2, 17336)\n", (81680, 81703), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81714, 81744), 'archinfo.arch.Register', 'Register', (['"""vr27_8_7"""', '(1)', '(17336)'], {}), "('vr27_8_7', 1, 17336)\n", (81722, 81744), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81755, 81785), 'archinfo.arch.Register', 'Register', (['"""vr27_8_6"""', '(1)', '(17337)'], {}), "('vr27_8_6', 1, 17337)\n", (81763, 81785), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81796, 81827), 'archinfo.arch.Register', 'Register', (['"""vr27_16_2"""', '(2)', '(17338)'], {}), "('vr27_16_2', 2, 17338)\n", (81804, 81827), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81838, 81868), 'archinfo.arch.Register', 'Register', (['"""vr27_8_5"""', '(1)', '(17338)'], {}), "('vr27_8_5', 1, 17338)\n", (81846, 81868), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81879, 81909), 'archinfo.arch.Register', 'Register', (['"""vr27_8_4"""', '(1)', '(17339)'], {}), "('vr27_8_4', 1, 17339)\n", (81887, 81909), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81920, 81951), 'archinfo.arch.Register', 'Register', (['"""vr27_32_0"""', '(4)', '(17340)'], {}), "('vr27_32_0', 4, 17340)\n", (81928, 81951), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((81962, 81993), 'archinfo.arch.Register', 'Register', (['"""vr27_16_1"""', '(2)', '(17340)'], {}), "('vr27_16_1', 2, 17340)\n", (81970, 81993), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82004, 82034), 'archinfo.arch.Register', 'Register', (['"""vr27_8_3"""', '(1)', '(17340)'], {}), "('vr27_8_3', 1, 17340)\n", (82012, 82034), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82045, 82075), 'archinfo.arch.Register', 'Register', (['"""vr27_8_2"""', '(1)', '(17341)'], {}), "('vr27_8_2', 1, 17341)\n", (82053, 82075), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82086, 82117), 'archinfo.arch.Register', 'Register', (['"""vr27_16_0"""', '(2)', '(17342)'], {}), "('vr27_16_0', 2, 17342)\n", (82094, 82117), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82128, 82158), 'archinfo.arch.Register', 'Register', (['"""vr27_8_1"""', '(1)', '(17342)'], {}), "('vr27_8_1', 1, 17342)\n", (82136, 82158), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82169, 82199), 'archinfo.arch.Register', 'Register', (['"""vr27_8_0"""', '(1)', '(17343)'], {}), "('vr27_8_0', 1, 17343)\n", (82177, 82199), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82210, 82237), 'archinfo.arch.Register', 'Register', (['"""vs60"""', '(16)', '(17344)'], {}), "('vs60', 16, 17344)\n", (82218, 82237), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82248, 82279), 'archinfo.arch.Register', 'Register', (['"""vr28_64_1"""', '(8)', '(17344)'], {}), "('vr28_64_1', 8, 17344)\n", (82256, 82279), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82290, 82321), 'archinfo.arch.Register', 'Register', (['"""vr28_32_3"""', '(4)', '(17344)'], {}), "('vr28_32_3', 4, 17344)\n", (82298, 82321), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82332, 82363), 'archinfo.arch.Register', 'Register', (['"""vr28_16_7"""', '(2)', '(17344)'], {}), "('vr28_16_7', 2, 17344)\n", (82340, 82363), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82374, 82405), 'archinfo.arch.Register', 'Register', (['"""vr28_8_15"""', '(1)', '(17344)'], {}), "('vr28_8_15', 1, 17344)\n", (82382, 82405), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82416, 82447), 'archinfo.arch.Register', 'Register', (['"""vr28_8_14"""', '(1)', '(17345)'], {}), "('vr28_8_14', 1, 17345)\n", (82424, 82447), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82458, 82489), 'archinfo.arch.Register', 'Register', (['"""vr28_16_6"""', '(2)', '(17346)'], {}), "('vr28_16_6', 2, 17346)\n", (82466, 82489), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82500, 82531), 'archinfo.arch.Register', 'Register', (['"""vr28_8_13"""', '(1)', '(17346)'], {}), "('vr28_8_13', 1, 17346)\n", (82508, 82531), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82542, 82573), 'archinfo.arch.Register', 'Register', (['"""vr28_8_12"""', '(1)', '(17347)'], {}), "('vr28_8_12', 1, 17347)\n", (82550, 82573), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82584, 82615), 'archinfo.arch.Register', 'Register', (['"""vr28_32_2"""', '(4)', '(17348)'], {}), "('vr28_32_2', 4, 17348)\n", (82592, 82615), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82626, 82657), 'archinfo.arch.Register', 'Register', (['"""vr28_16_5"""', '(2)', '(17348)'], {}), "('vr28_16_5', 2, 17348)\n", (82634, 82657), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82668, 82699), 'archinfo.arch.Register', 'Register', (['"""vr28_8_11"""', '(1)', '(17348)'], {}), "('vr28_8_11', 1, 17348)\n", (82676, 82699), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82710, 82741), 'archinfo.arch.Register', 'Register', (['"""vr28_8_10"""', '(1)', '(17349)'], {}), "('vr28_8_10', 1, 17349)\n", (82718, 82741), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82752, 82783), 'archinfo.arch.Register', 'Register', (['"""vr28_16_4"""', '(2)', '(17350)'], {}), "('vr28_16_4', 2, 17350)\n", (82760, 82783), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82794, 82824), 'archinfo.arch.Register', 'Register', (['"""vr28_8_9"""', '(1)', '(17350)'], {}), "('vr28_8_9', 1, 17350)\n", (82802, 82824), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82835, 82865), 'archinfo.arch.Register', 'Register', (['"""vr28_8_8"""', '(1)', '(17351)'], {}), "('vr28_8_8', 1, 17351)\n", (82843, 82865), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82876, 82907), 'archinfo.arch.Register', 'Register', (['"""vr28_64_0"""', '(8)', '(17352)'], {}), "('vr28_64_0', 8, 17352)\n", (82884, 82907), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82918, 82949), 'archinfo.arch.Register', 'Register', (['"""vr28_32_1"""', '(4)', '(17352)'], {}), "('vr28_32_1', 4, 17352)\n", (82926, 82949), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((82960, 82991), 'archinfo.arch.Register', 'Register', (['"""vr28_16_3"""', '(2)', '(17352)'], {}), "('vr28_16_3', 2, 17352)\n", (82968, 82991), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83002, 83032), 'archinfo.arch.Register', 'Register', (['"""vr28_8_7"""', '(1)', '(17352)'], {}), "('vr28_8_7', 1, 17352)\n", (83010, 83032), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83043, 83073), 'archinfo.arch.Register', 'Register', (['"""vr28_8_6"""', '(1)', '(17353)'], {}), "('vr28_8_6', 1, 17353)\n", (83051, 83073), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83084, 83115), 'archinfo.arch.Register', 'Register', (['"""vr28_16_2"""', '(2)', '(17354)'], {}), "('vr28_16_2', 2, 17354)\n", (83092, 83115), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83126, 83156), 'archinfo.arch.Register', 'Register', (['"""vr28_8_5"""', '(1)', '(17354)'], {}), "('vr28_8_5', 1, 17354)\n", (83134, 83156), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83167, 83197), 'archinfo.arch.Register', 'Register', (['"""vr28_8_4"""', '(1)', '(17355)'], {}), "('vr28_8_4', 1, 17355)\n", (83175, 83197), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83208, 83239), 'archinfo.arch.Register', 'Register', (['"""vr28_32_0"""', '(4)', '(17356)'], {}), "('vr28_32_0', 4, 17356)\n", (83216, 83239), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83250, 83281), 'archinfo.arch.Register', 'Register', (['"""vr28_16_1"""', '(2)', '(17356)'], {}), "('vr28_16_1', 2, 17356)\n", (83258, 83281), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83292, 83322), 'archinfo.arch.Register', 'Register', (['"""vr28_8_3"""', '(1)', '(17356)'], {}), "('vr28_8_3', 1, 17356)\n", (83300, 83322), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83333, 83363), 'archinfo.arch.Register', 'Register', (['"""vr28_8_2"""', '(1)', '(17357)'], {}), "('vr28_8_2', 1, 17357)\n", (83341, 83363), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83374, 83405), 'archinfo.arch.Register', 'Register', (['"""vr28_16_0"""', '(2)', '(17358)'], {}), "('vr28_16_0', 2, 17358)\n", (83382, 83405), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83416, 83446), 'archinfo.arch.Register', 'Register', (['"""vr28_8_1"""', '(1)', '(17358)'], {}), "('vr28_8_1', 1, 17358)\n", (83424, 83446), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83457, 83487), 'archinfo.arch.Register', 'Register', (['"""vr28_8_0"""', '(1)', '(17359)'], {}), "('vr28_8_0', 1, 17359)\n", (83465, 83487), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83498, 83525), 'archinfo.arch.Register', 'Register', (['"""vs61"""', '(16)', '(17360)'], {}), "('vs61', 16, 17360)\n", (83506, 83525), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83536, 83567), 'archinfo.arch.Register', 'Register', (['"""vr29_64_1"""', '(8)', '(17360)'], {}), "('vr29_64_1', 8, 17360)\n", (83544, 83567), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83578, 83609), 'archinfo.arch.Register', 'Register', (['"""vr29_32_3"""', '(4)', '(17360)'], {}), "('vr29_32_3', 4, 17360)\n", (83586, 83609), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83620, 83651), 'archinfo.arch.Register', 'Register', (['"""vr29_16_7"""', '(2)', '(17360)'], {}), "('vr29_16_7', 2, 17360)\n", (83628, 83651), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83662, 83693), 'archinfo.arch.Register', 'Register', (['"""vr29_8_15"""', '(1)', '(17360)'], {}), "('vr29_8_15', 1, 17360)\n", (83670, 83693), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83704, 83735), 'archinfo.arch.Register', 'Register', (['"""vr29_8_14"""', '(1)', '(17361)'], {}), "('vr29_8_14', 1, 17361)\n", (83712, 83735), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83746, 83777), 'archinfo.arch.Register', 'Register', (['"""vr29_16_6"""', '(2)', '(17362)'], {}), "('vr29_16_6', 2, 17362)\n", (83754, 83777), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83788, 83819), 'archinfo.arch.Register', 'Register', (['"""vr29_8_13"""', '(1)', '(17362)'], {}), "('vr29_8_13', 1, 17362)\n", (83796, 83819), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83830, 83861), 'archinfo.arch.Register', 'Register', (['"""vr29_8_12"""', '(1)', '(17363)'], {}), "('vr29_8_12', 1, 17363)\n", (83838, 83861), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83872, 83903), 'archinfo.arch.Register', 'Register', (['"""vr29_32_2"""', '(4)', '(17364)'], {}), "('vr29_32_2', 4, 17364)\n", (83880, 83903), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83914, 83945), 'archinfo.arch.Register', 'Register', (['"""vr29_16_5"""', '(2)', '(17364)'], {}), "('vr29_16_5', 2, 17364)\n", (83922, 83945), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83956, 83987), 'archinfo.arch.Register', 'Register', (['"""vr29_8_11"""', '(1)', '(17364)'], {}), "('vr29_8_11', 1, 17364)\n", (83964, 83987), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((83998, 84029), 'archinfo.arch.Register', 'Register', (['"""vr29_8_10"""', '(1)', '(17365)'], {}), "('vr29_8_10', 1, 17365)\n", (84006, 84029), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84040, 84071), 'archinfo.arch.Register', 'Register', (['"""vr29_16_4"""', '(2)', '(17366)'], {}), "('vr29_16_4', 2, 17366)\n", (84048, 84071), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84082, 84112), 'archinfo.arch.Register', 'Register', (['"""vr29_8_9"""', '(1)', '(17366)'], {}), "('vr29_8_9', 1, 17366)\n", (84090, 84112), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84123, 84153), 'archinfo.arch.Register', 'Register', (['"""vr29_8_8"""', '(1)', '(17367)'], {}), "('vr29_8_8', 1, 17367)\n", (84131, 84153), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84164, 84195), 'archinfo.arch.Register', 'Register', (['"""vr29_64_0"""', '(8)', '(17368)'], {}), "('vr29_64_0', 8, 17368)\n", (84172, 84195), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84206, 84237), 'archinfo.arch.Register', 'Register', (['"""vr29_32_1"""', '(4)', '(17368)'], {}), "('vr29_32_1', 4, 17368)\n", (84214, 84237), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84248, 84279), 'archinfo.arch.Register', 'Register', (['"""vr29_16_3"""', '(2)', '(17368)'], {}), "('vr29_16_3', 2, 17368)\n", (84256, 84279), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84290, 84320), 'archinfo.arch.Register', 'Register', (['"""vr29_8_7"""', '(1)', '(17368)'], {}), "('vr29_8_7', 1, 17368)\n", (84298, 84320), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84331, 84361), 'archinfo.arch.Register', 'Register', (['"""vr29_8_6"""', '(1)', '(17369)'], {}), "('vr29_8_6', 1, 17369)\n", (84339, 84361), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84372, 84403), 'archinfo.arch.Register', 'Register', (['"""vr29_16_2"""', '(2)', '(17370)'], {}), "('vr29_16_2', 2, 17370)\n", (84380, 84403), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84414, 84444), 'archinfo.arch.Register', 'Register', (['"""vr29_8_5"""', '(1)', '(17370)'], {}), "('vr29_8_5', 1, 17370)\n", (84422, 84444), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84455, 84485), 'archinfo.arch.Register', 'Register', (['"""vr29_8_4"""', '(1)', '(17371)'], {}), "('vr29_8_4', 1, 17371)\n", (84463, 84485), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84496, 84527), 'archinfo.arch.Register', 'Register', (['"""vr29_32_0"""', '(4)', '(17372)'], {}), "('vr29_32_0', 4, 17372)\n", (84504, 84527), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84538, 84569), 'archinfo.arch.Register', 'Register', (['"""vr29_16_1"""', '(2)', '(17372)'], {}), "('vr29_16_1', 2, 17372)\n", (84546, 84569), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84580, 84610), 'archinfo.arch.Register', 'Register', (['"""vr29_8_3"""', '(1)', '(17372)'], {}), "('vr29_8_3', 1, 17372)\n", (84588, 84610), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84621, 84651), 'archinfo.arch.Register', 'Register', (['"""vr29_8_2"""', '(1)', '(17373)'], {}), "('vr29_8_2', 1, 17373)\n", (84629, 84651), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84662, 84693), 'archinfo.arch.Register', 'Register', (['"""vr29_16_0"""', '(2)', '(17374)'], {}), "('vr29_16_0', 2, 17374)\n", (84670, 84693), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84704, 84734), 'archinfo.arch.Register', 'Register', (['"""vr29_8_1"""', '(1)', '(17374)'], {}), "('vr29_8_1', 1, 17374)\n", (84712, 84734), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84745, 84775), 'archinfo.arch.Register', 'Register', (['"""vr29_8_0"""', '(1)', '(17375)'], {}), "('vr29_8_0', 1, 17375)\n", (84753, 84775), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84786, 84813), 'archinfo.arch.Register', 'Register', (['"""vs62"""', '(16)', '(17376)'], {}), "('vs62', 16, 17376)\n", (84794, 84813), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84824, 84855), 'archinfo.arch.Register', 'Register', (['"""vr30_64_1"""', '(8)', '(17376)'], {}), "('vr30_64_1', 8, 17376)\n", (84832, 84855), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84866, 84897), 'archinfo.arch.Register', 'Register', (['"""vr30_32_3"""', '(4)', '(17376)'], {}), "('vr30_32_3', 4, 17376)\n", (84874, 84897), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84908, 84939), 'archinfo.arch.Register', 'Register', (['"""vr30_16_7"""', '(2)', '(17376)'], {}), "('vr30_16_7', 2, 17376)\n", (84916, 84939), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84950, 84981), 'archinfo.arch.Register', 'Register', (['"""vr30_8_15"""', '(1)', '(17376)'], {}), "('vr30_8_15', 1, 17376)\n", (84958, 84981), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((84992, 85023), 'archinfo.arch.Register', 'Register', (['"""vr30_8_14"""', '(1)', '(17377)'], {}), "('vr30_8_14', 1, 17377)\n", (85000, 85023), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85034, 85065), 'archinfo.arch.Register', 'Register', (['"""vr30_16_6"""', '(2)', '(17378)'], {}), "('vr30_16_6', 2, 17378)\n", (85042, 85065), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85076, 85107), 'archinfo.arch.Register', 'Register', (['"""vr30_8_13"""', '(1)', '(17378)'], {}), "('vr30_8_13', 1, 17378)\n", (85084, 85107), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85118, 85149), 'archinfo.arch.Register', 'Register', (['"""vr30_8_12"""', '(1)', '(17379)'], {}), "('vr30_8_12', 1, 17379)\n", (85126, 85149), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85160, 85191), 'archinfo.arch.Register', 'Register', (['"""vr30_32_2"""', '(4)', '(17380)'], {}), "('vr30_32_2', 4, 17380)\n", (85168, 85191), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85202, 85233), 'archinfo.arch.Register', 'Register', (['"""vr30_16_5"""', '(2)', '(17380)'], {}), "('vr30_16_5', 2, 17380)\n", (85210, 85233), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85244, 85275), 'archinfo.arch.Register', 'Register', (['"""vr30_8_11"""', '(1)', '(17380)'], {}), "('vr30_8_11', 1, 17380)\n", (85252, 85275), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85286, 85317), 'archinfo.arch.Register', 'Register', (['"""vr30_8_10"""', '(1)', '(17381)'], {}), "('vr30_8_10', 1, 17381)\n", (85294, 85317), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85328, 85359), 'archinfo.arch.Register', 'Register', (['"""vr30_16_4"""', '(2)', '(17382)'], {}), "('vr30_16_4', 2, 17382)\n", (85336, 85359), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85370, 85400), 'archinfo.arch.Register', 'Register', (['"""vr30_8_9"""', '(1)', '(17382)'], {}), "('vr30_8_9', 1, 17382)\n", (85378, 85400), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85411, 85441), 'archinfo.arch.Register', 'Register', (['"""vr30_8_8"""', '(1)', '(17383)'], {}), "('vr30_8_8', 1, 17383)\n", (85419, 85441), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85452, 85483), 'archinfo.arch.Register', 'Register', (['"""vr30_64_0"""', '(8)', '(17384)'], {}), "('vr30_64_0', 8, 17384)\n", (85460, 85483), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85494, 85525), 'archinfo.arch.Register', 'Register', (['"""vr30_32_1"""', '(4)', '(17384)'], {}), "('vr30_32_1', 4, 17384)\n", (85502, 85525), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85536, 85567), 'archinfo.arch.Register', 'Register', (['"""vr30_16_3"""', '(2)', '(17384)'], {}), "('vr30_16_3', 2, 17384)\n", (85544, 85567), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85578, 85608), 'archinfo.arch.Register', 'Register', (['"""vr30_8_7"""', '(1)', '(17384)'], {}), "('vr30_8_7', 1, 17384)\n", (85586, 85608), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85619, 85649), 'archinfo.arch.Register', 'Register', (['"""vr30_8_6"""', '(1)', '(17385)'], {}), "('vr30_8_6', 1, 17385)\n", (85627, 85649), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85660, 85691), 'archinfo.arch.Register', 'Register', (['"""vr30_16_2"""', '(2)', '(17386)'], {}), "('vr30_16_2', 2, 17386)\n", (85668, 85691), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85702, 85732), 'archinfo.arch.Register', 'Register', (['"""vr30_8_5"""', '(1)', '(17386)'], {}), "('vr30_8_5', 1, 17386)\n", (85710, 85732), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85743, 85773), 'archinfo.arch.Register', 'Register', (['"""vr30_8_4"""', '(1)', '(17387)'], {}), "('vr30_8_4', 1, 17387)\n", (85751, 85773), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85784, 85815), 'archinfo.arch.Register', 'Register', (['"""vr30_32_0"""', '(4)', '(17388)'], {}), "('vr30_32_0', 4, 17388)\n", (85792, 85815), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85826, 85857), 'archinfo.arch.Register', 'Register', (['"""vr30_16_1"""', '(2)', '(17388)'], {}), "('vr30_16_1', 2, 17388)\n", (85834, 85857), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85868, 85898), 'archinfo.arch.Register', 'Register', (['"""vr30_8_3"""', '(1)', '(17388)'], {}), "('vr30_8_3', 1, 17388)\n", (85876, 85898), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85909, 85939), 'archinfo.arch.Register', 'Register', (['"""vr30_8_2"""', '(1)', '(17389)'], {}), "('vr30_8_2', 1, 17389)\n", (85917, 85939), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85950, 85981), 'archinfo.arch.Register', 'Register', (['"""vr30_16_0"""', '(2)', '(17390)'], {}), "('vr30_16_0', 2, 17390)\n", (85958, 85981), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((85992, 86022), 'archinfo.arch.Register', 'Register', (['"""vr30_8_1"""', '(1)', '(17390)'], {}), "('vr30_8_1', 1, 17390)\n", (86000, 86022), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86033, 86063), 'archinfo.arch.Register', 'Register', (['"""vr30_8_0"""', '(1)', '(17391)'], {}), "('vr30_8_0', 1, 17391)\n", (86041, 86063), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86074, 86101), 'archinfo.arch.Register', 'Register', (['"""vs63"""', '(16)', '(17392)'], {}), "('vs63', 16, 17392)\n", (86082, 86101), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86112, 86143), 'archinfo.arch.Register', 'Register', (['"""vr31_64_1"""', '(8)', '(17392)'], {}), "('vr31_64_1', 8, 17392)\n", (86120, 86143), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86154, 86185), 'archinfo.arch.Register', 'Register', (['"""vr31_32_3"""', '(4)', '(17392)'], {}), "('vr31_32_3', 4, 17392)\n", (86162, 86185), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86196, 86227), 'archinfo.arch.Register', 'Register', (['"""vr31_16_7"""', '(2)', '(17392)'], {}), "('vr31_16_7', 2, 17392)\n", (86204, 86227), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86238, 86269), 'archinfo.arch.Register', 'Register', (['"""vr31_8_15"""', '(1)', '(17392)'], {}), "('vr31_8_15', 1, 17392)\n", (86246, 86269), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86280, 86311), 'archinfo.arch.Register', 'Register', (['"""vr31_8_14"""', '(1)', '(17393)'], {}), "('vr31_8_14', 1, 17393)\n", (86288, 86311), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86322, 86353), 'archinfo.arch.Register', 'Register', (['"""vr31_16_6"""', '(2)', '(17394)'], {}), "('vr31_16_6', 2, 17394)\n", (86330, 86353), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86364, 86395), 'archinfo.arch.Register', 'Register', (['"""vr31_8_13"""', '(1)', '(17394)'], {}), "('vr31_8_13', 1, 17394)\n", (86372, 86395), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86406, 86437), 'archinfo.arch.Register', 'Register', (['"""vr31_8_12"""', '(1)', '(17395)'], {}), "('vr31_8_12', 1, 17395)\n", (86414, 86437), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86448, 86479), 'archinfo.arch.Register', 'Register', (['"""vr31_32_2"""', '(4)', '(17396)'], {}), "('vr31_32_2', 4, 17396)\n", (86456, 86479), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86490, 86521), 'archinfo.arch.Register', 'Register', (['"""vr31_16_5"""', '(2)', '(17396)'], {}), "('vr31_16_5', 2, 17396)\n", (86498, 86521), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86532, 86563), 'archinfo.arch.Register', 'Register', (['"""vr31_8_11"""', '(1)', '(17396)'], {}), "('vr31_8_11', 1, 17396)\n", (86540, 86563), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86574, 86605), 'archinfo.arch.Register', 'Register', (['"""vr31_8_10"""', '(1)', '(17397)'], {}), "('vr31_8_10', 1, 17397)\n", (86582, 86605), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86616, 86647), 'archinfo.arch.Register', 'Register', (['"""vr31_16_4"""', '(2)', '(17398)'], {}), "('vr31_16_4', 2, 17398)\n", (86624, 86647), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86658, 86688), 'archinfo.arch.Register', 'Register', (['"""vr31_8_9"""', '(1)', '(17398)'], {}), "('vr31_8_9', 1, 17398)\n", (86666, 86688), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86699, 86729), 'archinfo.arch.Register', 'Register', (['"""vr31_8_8"""', '(1)', '(17399)'], {}), "('vr31_8_8', 1, 17399)\n", (86707, 86729), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86740, 86771), 'archinfo.arch.Register', 'Register', (['"""vr31_64_0"""', '(8)', '(17400)'], {}), "('vr31_64_0', 8, 17400)\n", (86748, 86771), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86782, 86813), 'archinfo.arch.Register', 'Register', (['"""vr31_32_1"""', '(4)', '(17400)'], {}), "('vr31_32_1', 4, 17400)\n", (86790, 86813), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86824, 86855), 'archinfo.arch.Register', 'Register', (['"""vr31_16_3"""', '(2)', '(17400)'], {}), "('vr31_16_3', 2, 17400)\n", (86832, 86855), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86866, 86896), 'archinfo.arch.Register', 'Register', (['"""vr31_8_7"""', '(1)', '(17400)'], {}), "('vr31_8_7', 1, 17400)\n", (86874, 86896), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86907, 86937), 'archinfo.arch.Register', 'Register', (['"""vr31_8_6"""', '(1)', '(17401)'], {}), "('vr31_8_6', 1, 17401)\n", (86915, 86937), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86948, 86979), 'archinfo.arch.Register', 'Register', (['"""vr31_16_2"""', '(2)', '(17402)'], {}), "('vr31_16_2', 2, 17402)\n", (86956, 86979), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((86990, 87020), 'archinfo.arch.Register', 'Register', (['"""vr31_8_5"""', '(1)', '(17402)'], {}), "('vr31_8_5', 1, 17402)\n", (86998, 87020), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87031, 87061), 'archinfo.arch.Register', 'Register', (['"""vr31_8_4"""', '(1)', '(17403)'], {}), "('vr31_8_4', 1, 17403)\n", (87039, 87061), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87072, 87103), 'archinfo.arch.Register', 'Register', (['"""vr31_32_0"""', '(4)', '(17404)'], {}), "('vr31_32_0', 4, 17404)\n", (87080, 87103), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87114, 87145), 'archinfo.arch.Register', 'Register', (['"""vr31_16_1"""', '(2)', '(17404)'], {}), "('vr31_16_1', 2, 17404)\n", (87122, 87145), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87156, 87186), 'archinfo.arch.Register', 'Register', (['"""vr31_8_3"""', '(1)', '(17404)'], {}), "('vr31_8_3', 1, 17404)\n", (87164, 87186), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87197, 87227), 'archinfo.arch.Register', 'Register', (['"""vr31_8_2"""', '(1)', '(17405)'], {}), "('vr31_8_2', 1, 17405)\n", (87205, 87227), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87238, 87269), 'archinfo.arch.Register', 'Register', (['"""vr31_16_0"""', '(2)', '(17406)'], {}), "('vr31_16_0', 2, 17406)\n", (87246, 87269), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87280, 87310), 'archinfo.arch.Register', 'Register', (['"""vr31_8_1"""', '(1)', '(17406)'], {}), "('vr31_8_1', 1, 17406)\n", (87288, 87310), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87321, 87351), 'archinfo.arch.Register', 'Register', (['"""vr31_8_0"""', '(1)', '(17407)'], {}), "('vr31_8_0', 1, 17407)\n", (87329, 87351), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87362, 87394), 'archinfo.arch.Register', 'Register', (['"""contextreg"""', '(4)', '(24576)'], {}), "('contextreg', 4, 24576)\n", (87370, 87394), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87405, 87433), 'archinfo.arch.Register', 'Register', (['"""dcr000"""', '(4)', '(28672)'], {}), "('dcr000', 4, 28672)\n", (87413, 87433), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87444, 87472), 'archinfo.arch.Register', 'Register', (['"""dcr001"""', '(4)', '(28676)'], {}), "('dcr001', 4, 28676)\n", (87452, 87472), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87483, 87511), 'archinfo.arch.Register', 'Register', (['"""dcr002"""', '(4)', '(28680)'], {}), "('dcr002', 4, 28680)\n", (87491, 87511), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87522, 87550), 'archinfo.arch.Register', 'Register', (['"""dcr003"""', '(4)', '(28684)'], {}), "('dcr003', 4, 28684)\n", (87530, 87550), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87561, 87589), 'archinfo.arch.Register', 'Register', (['"""dcr004"""', '(4)', '(28688)'], {}), "('dcr004', 4, 28688)\n", (87569, 87589), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87600, 87628), 'archinfo.arch.Register', 'Register', (['"""dcr005"""', '(4)', '(28692)'], {}), "('dcr005', 4, 28692)\n", (87608, 87628), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87639, 87667), 'archinfo.arch.Register', 'Register', (['"""dcr006"""', '(4)', '(28696)'], {}), "('dcr006', 4, 28696)\n", (87647, 87667), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87678, 87706), 'archinfo.arch.Register', 'Register', (['"""dcr007"""', '(4)', '(28700)'], {}), "('dcr007', 4, 28700)\n", (87686, 87706), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87717, 87745), 'archinfo.arch.Register', 'Register', (['"""dcr008"""', '(4)', '(28704)'], {}), "('dcr008', 4, 28704)\n", (87725, 87745), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87756, 87784), 'archinfo.arch.Register', 'Register', (['"""dcr009"""', '(4)', '(28708)'], {}), "('dcr009', 4, 28708)\n", (87764, 87784), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87795, 87823), 'archinfo.arch.Register', 'Register', (['"""dcr00a"""', '(4)', '(28712)'], {}), "('dcr00a', 4, 28712)\n", (87803, 87823), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87834, 87862), 'archinfo.arch.Register', 'Register', (['"""dcr00b"""', '(4)', '(28716)'], {}), "('dcr00b', 4, 28716)\n", (87842, 87862), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87873, 87901), 'archinfo.arch.Register', 'Register', (['"""dcr00c"""', '(4)', '(28720)'], {}), "('dcr00c', 4, 28720)\n", (87881, 87901), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87912, 87940), 'archinfo.arch.Register', 'Register', (['"""dcr00d"""', '(4)', '(28724)'], {}), "('dcr00d', 4, 28724)\n", (87920, 87940), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87951, 87979), 'archinfo.arch.Register', 'Register', (['"""dcr00e"""', '(4)', '(28728)'], {}), "('dcr00e', 4, 28728)\n", (87959, 87979), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((87990, 88018), 'archinfo.arch.Register', 'Register', (['"""dcr00f"""', '(4)', '(28732)'], {}), "('dcr00f', 4, 28732)\n", (87998, 88018), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88029, 88057), 'archinfo.arch.Register', 'Register', (['"""dcr010"""', '(4)', '(28736)'], {}), "('dcr010', 4, 28736)\n", (88037, 88057), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88068, 88096), 'archinfo.arch.Register', 'Register', (['"""dcr011"""', '(4)', '(28740)'], {}), "('dcr011', 4, 28740)\n", (88076, 88096), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88107, 88135), 'archinfo.arch.Register', 'Register', (['"""dcr012"""', '(4)', '(28744)'], {}), "('dcr012', 4, 28744)\n", (88115, 88135), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88146, 88174), 'archinfo.arch.Register', 'Register', (['"""dcr013"""', '(4)', '(28748)'], {}), "('dcr013', 4, 28748)\n", (88154, 88174), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88185, 88213), 'archinfo.arch.Register', 'Register', (['"""dcr014"""', '(4)', '(28752)'], {}), "('dcr014', 4, 28752)\n", (88193, 88213), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88224, 88252), 'archinfo.arch.Register', 'Register', (['"""dcr015"""', '(4)', '(28756)'], {}), "('dcr015', 4, 28756)\n", (88232, 88252), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88263, 88291), 'archinfo.arch.Register', 'Register', (['"""dcr016"""', '(4)', '(28760)'], {}), "('dcr016', 4, 28760)\n", (88271, 88291), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88302, 88330), 'archinfo.arch.Register', 'Register', (['"""dcr017"""', '(4)', '(28764)'], {}), "('dcr017', 4, 28764)\n", (88310, 88330), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88341, 88369), 'archinfo.arch.Register', 'Register', (['"""dcr018"""', '(4)', '(28768)'], {}), "('dcr018', 4, 28768)\n", (88349, 88369), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88380, 88408), 'archinfo.arch.Register', 'Register', (['"""dcr019"""', '(4)', '(28772)'], {}), "('dcr019', 4, 28772)\n", (88388, 88408), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88419, 88447), 'archinfo.arch.Register', 'Register', (['"""dcr01a"""', '(4)', '(28776)'], {}), "('dcr01a', 4, 28776)\n", (88427, 88447), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88458, 88486), 'archinfo.arch.Register', 'Register', (['"""dcr01b"""', '(4)', '(28780)'], {}), "('dcr01b', 4, 28780)\n", (88466, 88486), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88497, 88525), 'archinfo.arch.Register', 'Register', (['"""dcr01c"""', '(4)', '(28784)'], {}), "('dcr01c', 4, 28784)\n", (88505, 88525), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88536, 88564), 'archinfo.arch.Register', 'Register', (['"""dcr01d"""', '(4)', '(28788)'], {}), "('dcr01d', 4, 28788)\n", (88544, 88564), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88575, 88603), 'archinfo.arch.Register', 'Register', (['"""dcr01e"""', '(4)', '(28792)'], {}), "('dcr01e', 4, 28792)\n", (88583, 88603), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88614, 88642), 'archinfo.arch.Register', 'Register', (['"""dcr01f"""', '(4)', '(28796)'], {}), "('dcr01f', 4, 28796)\n", (88622, 88642), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88653, 88681), 'archinfo.arch.Register', 'Register', (['"""dcr020"""', '(4)', '(28800)'], {}), "('dcr020', 4, 28800)\n", (88661, 88681), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88692, 88720), 'archinfo.arch.Register', 'Register', (['"""dcr021"""', '(4)', '(28804)'], {}), "('dcr021', 4, 28804)\n", (88700, 88720), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88731, 88759), 'archinfo.arch.Register', 'Register', (['"""dcr022"""', '(4)', '(28808)'], {}), "('dcr022', 4, 28808)\n", (88739, 88759), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88770, 88798), 'archinfo.arch.Register', 'Register', (['"""dcr023"""', '(4)', '(28812)'], {}), "('dcr023', 4, 28812)\n", (88778, 88798), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88809, 88837), 'archinfo.arch.Register', 'Register', (['"""dcr024"""', '(4)', '(28816)'], {}), "('dcr024', 4, 28816)\n", (88817, 88837), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88848, 88876), 'archinfo.arch.Register', 'Register', (['"""dcr025"""', '(4)', '(28820)'], {}), "('dcr025', 4, 28820)\n", (88856, 88876), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88887, 88915), 'archinfo.arch.Register', 'Register', (['"""dcr026"""', '(4)', '(28824)'], {}), "('dcr026', 4, 28824)\n", (88895, 88915), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88926, 88954), 'archinfo.arch.Register', 'Register', (['"""dcr027"""', '(4)', '(28828)'], {}), "('dcr027', 4, 28828)\n", (88934, 88954), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((88965, 88993), 'archinfo.arch.Register', 'Register', (['"""dcr028"""', '(4)', '(28832)'], {}), "('dcr028', 4, 28832)\n", (88973, 88993), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89004, 89032), 'archinfo.arch.Register', 'Register', (['"""dcr029"""', '(4)', '(28836)'], {}), "('dcr029', 4, 28836)\n", (89012, 89032), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89043, 89071), 'archinfo.arch.Register', 'Register', (['"""dcr02a"""', '(4)', '(28840)'], {}), "('dcr02a', 4, 28840)\n", (89051, 89071), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89082, 89110), 'archinfo.arch.Register', 'Register', (['"""dcr02b"""', '(4)', '(28844)'], {}), "('dcr02b', 4, 28844)\n", (89090, 89110), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89121, 89149), 'archinfo.arch.Register', 'Register', (['"""dcr02c"""', '(4)', '(28848)'], {}), "('dcr02c', 4, 28848)\n", (89129, 89149), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89160, 89188), 'archinfo.arch.Register', 'Register', (['"""dcr02d"""', '(4)', '(28852)'], {}), "('dcr02d', 4, 28852)\n", (89168, 89188), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89199, 89227), 'archinfo.arch.Register', 'Register', (['"""dcr02e"""', '(4)', '(28856)'], {}), "('dcr02e', 4, 28856)\n", (89207, 89227), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89238, 89266), 'archinfo.arch.Register', 'Register', (['"""dcr02f"""', '(4)', '(28860)'], {}), "('dcr02f', 4, 28860)\n", (89246, 89266), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89277, 89305), 'archinfo.arch.Register', 'Register', (['"""dcr030"""', '(4)', '(28864)'], {}), "('dcr030', 4, 28864)\n", (89285, 89305), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89316, 89344), 'archinfo.arch.Register', 'Register', (['"""dcr031"""', '(4)', '(28868)'], {}), "('dcr031', 4, 28868)\n", (89324, 89344), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89355, 89383), 'archinfo.arch.Register', 'Register', (['"""dcr032"""', '(4)', '(28872)'], {}), "('dcr032', 4, 28872)\n", (89363, 89383), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89394, 89422), 'archinfo.arch.Register', 'Register', (['"""dcr033"""', '(4)', '(28876)'], {}), "('dcr033', 4, 28876)\n", (89402, 89422), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89433, 89461), 'archinfo.arch.Register', 'Register', (['"""dcr034"""', '(4)', '(28880)'], {}), "('dcr034', 4, 28880)\n", (89441, 89461), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89472, 89500), 'archinfo.arch.Register', 'Register', (['"""dcr035"""', '(4)', '(28884)'], {}), "('dcr035', 4, 28884)\n", (89480, 89500), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89511, 89539), 'archinfo.arch.Register', 'Register', (['"""dcr036"""', '(4)', '(28888)'], {}), "('dcr036', 4, 28888)\n", (89519, 89539), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89550, 89578), 'archinfo.arch.Register', 'Register', (['"""dcr037"""', '(4)', '(28892)'], {}), "('dcr037', 4, 28892)\n", (89558, 89578), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89589, 89617), 'archinfo.arch.Register', 'Register', (['"""dcr038"""', '(4)', '(28896)'], {}), "('dcr038', 4, 28896)\n", (89597, 89617), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89628, 89656), 'archinfo.arch.Register', 'Register', (['"""dcr039"""', '(4)', '(28900)'], {}), "('dcr039', 4, 28900)\n", (89636, 89656), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89667, 89695), 'archinfo.arch.Register', 'Register', (['"""dcr03a"""', '(4)', '(28904)'], {}), "('dcr03a', 4, 28904)\n", (89675, 89695), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89706, 89734), 'archinfo.arch.Register', 'Register', (['"""dcr03b"""', '(4)', '(28908)'], {}), "('dcr03b', 4, 28908)\n", (89714, 89734), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89745, 89773), 'archinfo.arch.Register', 'Register', (['"""dcr03c"""', '(4)', '(28912)'], {}), "('dcr03c', 4, 28912)\n", (89753, 89773), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89784, 89812), 'archinfo.arch.Register', 'Register', (['"""dcr03d"""', '(4)', '(28916)'], {}), "('dcr03d', 4, 28916)\n", (89792, 89812), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89823, 89851), 'archinfo.arch.Register', 'Register', (['"""dcr03e"""', '(4)', '(28920)'], {}), "('dcr03e', 4, 28920)\n", (89831, 89851), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89862, 89890), 'archinfo.arch.Register', 'Register', (['"""dcr03f"""', '(4)', '(28924)'], {}), "('dcr03f', 4, 28924)\n", (89870, 89890), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89901, 89929), 'archinfo.arch.Register', 'Register', (['"""dcr040"""', '(4)', '(28928)'], {}), "('dcr040', 4, 28928)\n", (89909, 89929), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89940, 89968), 'archinfo.arch.Register', 'Register', (['"""dcr041"""', '(4)', '(28932)'], {}), "('dcr041', 4, 28932)\n", (89948, 89968), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((89979, 90007), 'archinfo.arch.Register', 'Register', (['"""dcr042"""', '(4)', '(28936)'], {}), "('dcr042', 4, 28936)\n", (89987, 90007), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90018, 90046), 'archinfo.arch.Register', 'Register', (['"""dcr043"""', '(4)', '(28940)'], {}), "('dcr043', 4, 28940)\n", (90026, 90046), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90057, 90085), 'archinfo.arch.Register', 'Register', (['"""dcr044"""', '(4)', '(28944)'], {}), "('dcr044', 4, 28944)\n", (90065, 90085), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90096, 90124), 'archinfo.arch.Register', 'Register', (['"""dcr045"""', '(4)', '(28948)'], {}), "('dcr045', 4, 28948)\n", (90104, 90124), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90135, 90163), 'archinfo.arch.Register', 'Register', (['"""dcr046"""', '(4)', '(28952)'], {}), "('dcr046', 4, 28952)\n", (90143, 90163), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90174, 90202), 'archinfo.arch.Register', 'Register', (['"""dcr047"""', '(4)', '(28956)'], {}), "('dcr047', 4, 28956)\n", (90182, 90202), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90213, 90241), 'archinfo.arch.Register', 'Register', (['"""dcr048"""', '(4)', '(28960)'], {}), "('dcr048', 4, 28960)\n", (90221, 90241), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90252, 90280), 'archinfo.arch.Register', 'Register', (['"""dcr049"""', '(4)', '(28964)'], {}), "('dcr049', 4, 28964)\n", (90260, 90280), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90291, 90319), 'archinfo.arch.Register', 'Register', (['"""dcr04a"""', '(4)', '(28968)'], {}), "('dcr04a', 4, 28968)\n", (90299, 90319), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90330, 90358), 'archinfo.arch.Register', 'Register', (['"""dcr04b"""', '(4)', '(28972)'], {}), "('dcr04b', 4, 28972)\n", (90338, 90358), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90369, 90397), 'archinfo.arch.Register', 'Register', (['"""dcr04c"""', '(4)', '(28976)'], {}), "('dcr04c', 4, 28976)\n", (90377, 90397), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90408, 90436), 'archinfo.arch.Register', 'Register', (['"""dcr04d"""', '(4)', '(28980)'], {}), "('dcr04d', 4, 28980)\n", (90416, 90436), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90447, 90475), 'archinfo.arch.Register', 'Register', (['"""dcr04e"""', '(4)', '(28984)'], {}), "('dcr04e', 4, 28984)\n", (90455, 90475), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90486, 90514), 'archinfo.arch.Register', 'Register', (['"""dcr04f"""', '(4)', '(28988)'], {}), "('dcr04f', 4, 28988)\n", (90494, 90514), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90525, 90553), 'archinfo.arch.Register', 'Register', (['"""dcr050"""', '(4)', '(28992)'], {}), "('dcr050', 4, 28992)\n", (90533, 90553), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90564, 90592), 'archinfo.arch.Register', 'Register', (['"""dcr051"""', '(4)', '(28996)'], {}), "('dcr051', 4, 28996)\n", (90572, 90592), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90603, 90631), 'archinfo.arch.Register', 'Register', (['"""dcr052"""', '(4)', '(29000)'], {}), "('dcr052', 4, 29000)\n", (90611, 90631), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90642, 90670), 'archinfo.arch.Register', 'Register', (['"""dcr053"""', '(4)', '(29004)'], {}), "('dcr053', 4, 29004)\n", (90650, 90670), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90681, 90709), 'archinfo.arch.Register', 'Register', (['"""dcr054"""', '(4)', '(29008)'], {}), "('dcr054', 4, 29008)\n", (90689, 90709), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90720, 90748), 'archinfo.arch.Register', 'Register', (['"""dcr055"""', '(4)', '(29012)'], {}), "('dcr055', 4, 29012)\n", (90728, 90748), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90759, 90787), 'archinfo.arch.Register', 'Register', (['"""dcr056"""', '(4)', '(29016)'], {}), "('dcr056', 4, 29016)\n", (90767, 90787), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90798, 90826), 'archinfo.arch.Register', 'Register', (['"""dcr057"""', '(4)', '(29020)'], {}), "('dcr057', 4, 29020)\n", (90806, 90826), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90837, 90865), 'archinfo.arch.Register', 'Register', (['"""dcr058"""', '(4)', '(29024)'], {}), "('dcr058', 4, 29024)\n", (90845, 90865), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90876, 90904), 'archinfo.arch.Register', 'Register', (['"""dcr059"""', '(4)', '(29028)'], {}), "('dcr059', 4, 29028)\n", (90884, 90904), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90915, 90943), 'archinfo.arch.Register', 'Register', (['"""dcr05a"""', '(4)', '(29032)'], {}), "('dcr05a', 4, 29032)\n", (90923, 90943), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90954, 90982), 'archinfo.arch.Register', 'Register', (['"""dcr05b"""', '(4)', '(29036)'], {}), "('dcr05b', 4, 29036)\n", (90962, 90982), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((90993, 91021), 'archinfo.arch.Register', 'Register', (['"""dcr05c"""', '(4)', '(29040)'], {}), "('dcr05c', 4, 29040)\n", (91001, 91021), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91032, 91060), 'archinfo.arch.Register', 'Register', (['"""dcr05d"""', '(4)', '(29044)'], {}), "('dcr05d', 4, 29044)\n", (91040, 91060), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91071, 91099), 'archinfo.arch.Register', 'Register', (['"""dcr05e"""', '(4)', '(29048)'], {}), "('dcr05e', 4, 29048)\n", (91079, 91099), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91110, 91138), 'archinfo.arch.Register', 'Register', (['"""dcr05f"""', '(4)', '(29052)'], {}), "('dcr05f', 4, 29052)\n", (91118, 91138), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91149, 91177), 'archinfo.arch.Register', 'Register', (['"""dcr060"""', '(4)', '(29056)'], {}), "('dcr060', 4, 29056)\n", (91157, 91177), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91188, 91216), 'archinfo.arch.Register', 'Register', (['"""dcr061"""', '(4)', '(29060)'], {}), "('dcr061', 4, 29060)\n", (91196, 91216), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91227, 91255), 'archinfo.arch.Register', 'Register', (['"""dcr062"""', '(4)', '(29064)'], {}), "('dcr062', 4, 29064)\n", (91235, 91255), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91266, 91294), 'archinfo.arch.Register', 'Register', (['"""dcr063"""', '(4)', '(29068)'], {}), "('dcr063', 4, 29068)\n", (91274, 91294), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91305, 91333), 'archinfo.arch.Register', 'Register', (['"""dcr064"""', '(4)', '(29072)'], {}), "('dcr064', 4, 29072)\n", (91313, 91333), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91344, 91372), 'archinfo.arch.Register', 'Register', (['"""dcr065"""', '(4)', '(29076)'], {}), "('dcr065', 4, 29076)\n", (91352, 91372), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91383, 91411), 'archinfo.arch.Register', 'Register', (['"""dcr066"""', '(4)', '(29080)'], {}), "('dcr066', 4, 29080)\n", (91391, 91411), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91422, 91450), 'archinfo.arch.Register', 'Register', (['"""dcr067"""', '(4)', '(29084)'], {}), "('dcr067', 4, 29084)\n", (91430, 91450), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91461, 91489), 'archinfo.arch.Register', 'Register', (['"""dcr068"""', '(4)', '(29088)'], {}), "('dcr068', 4, 29088)\n", (91469, 91489), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91500, 91528), 'archinfo.arch.Register', 'Register', (['"""dcr069"""', '(4)', '(29092)'], {}), "('dcr069', 4, 29092)\n", (91508, 91528), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91539, 91567), 'archinfo.arch.Register', 'Register', (['"""dcr06a"""', '(4)', '(29096)'], {}), "('dcr06a', 4, 29096)\n", (91547, 91567), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91578, 91606), 'archinfo.arch.Register', 'Register', (['"""dcr06b"""', '(4)', '(29100)'], {}), "('dcr06b', 4, 29100)\n", (91586, 91606), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91617, 91645), 'archinfo.arch.Register', 'Register', (['"""dcr06c"""', '(4)', '(29104)'], {}), "('dcr06c', 4, 29104)\n", (91625, 91645), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91656, 91684), 'archinfo.arch.Register', 'Register', (['"""dcr06d"""', '(4)', '(29108)'], {}), "('dcr06d', 4, 29108)\n", (91664, 91684), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91695, 91723), 'archinfo.arch.Register', 'Register', (['"""dcr06e"""', '(4)', '(29112)'], {}), "('dcr06e', 4, 29112)\n", (91703, 91723), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91734, 91762), 'archinfo.arch.Register', 'Register', (['"""dcr06f"""', '(4)', '(29116)'], {}), "('dcr06f', 4, 29116)\n", (91742, 91762), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91773, 91801), 'archinfo.arch.Register', 'Register', (['"""dcr070"""', '(4)', '(29120)'], {}), "('dcr070', 4, 29120)\n", (91781, 91801), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91812, 91840), 'archinfo.arch.Register', 'Register', (['"""dcr071"""', '(4)', '(29124)'], {}), "('dcr071', 4, 29124)\n", (91820, 91840), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91851, 91879), 'archinfo.arch.Register', 'Register', (['"""dcr072"""', '(4)', '(29128)'], {}), "('dcr072', 4, 29128)\n", (91859, 91879), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91890, 91918), 'archinfo.arch.Register', 'Register', (['"""dcr073"""', '(4)', '(29132)'], {}), "('dcr073', 4, 29132)\n", (91898, 91918), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91929, 91957), 'archinfo.arch.Register', 'Register', (['"""dcr074"""', '(4)', '(29136)'], {}), "('dcr074', 4, 29136)\n", (91937, 91957), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((91968, 91996), 'archinfo.arch.Register', 'Register', (['"""dcr075"""', '(4)', '(29140)'], {}), "('dcr075', 4, 29140)\n", (91976, 91996), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92007, 92035), 'archinfo.arch.Register', 'Register', (['"""dcr076"""', '(4)', '(29144)'], {}), "('dcr076', 4, 29144)\n", (92015, 92035), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92046, 92074), 'archinfo.arch.Register', 'Register', (['"""dcr077"""', '(4)', '(29148)'], {}), "('dcr077', 4, 29148)\n", (92054, 92074), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92085, 92113), 'archinfo.arch.Register', 'Register', (['"""dcr078"""', '(4)', '(29152)'], {}), "('dcr078', 4, 29152)\n", (92093, 92113), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92124, 92152), 'archinfo.arch.Register', 'Register', (['"""dcr079"""', '(4)', '(29156)'], {}), "('dcr079', 4, 29156)\n", (92132, 92152), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92163, 92191), 'archinfo.arch.Register', 'Register', (['"""dcr07a"""', '(4)', '(29160)'], {}), "('dcr07a', 4, 29160)\n", (92171, 92191), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92202, 92230), 'archinfo.arch.Register', 'Register', (['"""dcr07b"""', '(4)', '(29164)'], {}), "('dcr07b', 4, 29164)\n", (92210, 92230), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92241, 92269), 'archinfo.arch.Register', 'Register', (['"""dcr07c"""', '(4)', '(29168)'], {}), "('dcr07c', 4, 29168)\n", (92249, 92269), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92280, 92308), 'archinfo.arch.Register', 'Register', (['"""dcr07d"""', '(4)', '(29172)'], {}), "('dcr07d', 4, 29172)\n", (92288, 92308), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92319, 92347), 'archinfo.arch.Register', 'Register', (['"""dcr07e"""', '(4)', '(29176)'], {}), "('dcr07e', 4, 29176)\n", (92327, 92347), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92358, 92386), 'archinfo.arch.Register', 'Register', (['"""dcr07f"""', '(4)', '(29180)'], {}), "('dcr07f', 4, 29180)\n", (92366, 92386), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92397, 92425), 'archinfo.arch.Register', 'Register', (['"""dcr080"""', '(4)', '(29184)'], {}), "('dcr080', 4, 29184)\n", (92405, 92425), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92436, 92464), 'archinfo.arch.Register', 'Register', (['"""dcr081"""', '(4)', '(29188)'], {}), "('dcr081', 4, 29188)\n", (92444, 92464), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92475, 92503), 'archinfo.arch.Register', 'Register', (['"""dcr082"""', '(4)', '(29192)'], {}), "('dcr082', 4, 29192)\n", (92483, 92503), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92514, 92542), 'archinfo.arch.Register', 'Register', (['"""dcr083"""', '(4)', '(29196)'], {}), "('dcr083', 4, 29196)\n", (92522, 92542), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92553, 92581), 'archinfo.arch.Register', 'Register', (['"""dcr084"""', '(4)', '(29200)'], {}), "('dcr084', 4, 29200)\n", (92561, 92581), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92592, 92620), 'archinfo.arch.Register', 'Register', (['"""dcr085"""', '(4)', '(29204)'], {}), "('dcr085', 4, 29204)\n", (92600, 92620), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92631, 92659), 'archinfo.arch.Register', 'Register', (['"""dcr086"""', '(4)', '(29208)'], {}), "('dcr086', 4, 29208)\n", (92639, 92659), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92670, 92698), 'archinfo.arch.Register', 'Register', (['"""dcr087"""', '(4)', '(29212)'], {}), "('dcr087', 4, 29212)\n", (92678, 92698), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92709, 92737), 'archinfo.arch.Register', 'Register', (['"""dcr088"""', '(4)', '(29216)'], {}), "('dcr088', 4, 29216)\n", (92717, 92737), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92748, 92776), 'archinfo.arch.Register', 'Register', (['"""dcr089"""', '(4)', '(29220)'], {}), "('dcr089', 4, 29220)\n", (92756, 92776), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92787, 92815), 'archinfo.arch.Register', 'Register', (['"""dcr08a"""', '(4)', '(29224)'], {}), "('dcr08a', 4, 29224)\n", (92795, 92815), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92826, 92854), 'archinfo.arch.Register', 'Register', (['"""dcr08b"""', '(4)', '(29228)'], {}), "('dcr08b', 4, 29228)\n", (92834, 92854), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92865, 92893), 'archinfo.arch.Register', 'Register', (['"""dcr08c"""', '(4)', '(29232)'], {}), "('dcr08c', 4, 29232)\n", (92873, 92893), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92904, 92932), 'archinfo.arch.Register', 'Register', (['"""dcr08d"""', '(4)', '(29236)'], {}), "('dcr08d', 4, 29236)\n", (92912, 92932), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92943, 92971), 'archinfo.arch.Register', 'Register', (['"""dcr08e"""', '(4)', '(29240)'], {}), "('dcr08e', 4, 29240)\n", (92951, 92971), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((92982, 93010), 'archinfo.arch.Register', 'Register', (['"""dcr08f"""', '(4)', '(29244)'], {}), "('dcr08f', 4, 29244)\n", (92990, 93010), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93021, 93049), 'archinfo.arch.Register', 'Register', (['"""dcr090"""', '(4)', '(29248)'], {}), "('dcr090', 4, 29248)\n", (93029, 93049), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93060, 93088), 'archinfo.arch.Register', 'Register', (['"""dcr091"""', '(4)', '(29252)'], {}), "('dcr091', 4, 29252)\n", (93068, 93088), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93099, 93127), 'archinfo.arch.Register', 'Register', (['"""dcr092"""', '(4)', '(29256)'], {}), "('dcr092', 4, 29256)\n", (93107, 93127), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93138, 93166), 'archinfo.arch.Register', 'Register', (['"""dcr093"""', '(4)', '(29260)'], {}), "('dcr093', 4, 29260)\n", (93146, 93166), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93177, 93205), 'archinfo.arch.Register', 'Register', (['"""dcr094"""', '(4)', '(29264)'], {}), "('dcr094', 4, 29264)\n", (93185, 93205), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93216, 93244), 'archinfo.arch.Register', 'Register', (['"""dcr095"""', '(4)', '(29268)'], {}), "('dcr095', 4, 29268)\n", (93224, 93244), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93255, 93283), 'archinfo.arch.Register', 'Register', (['"""dcr096"""', '(4)', '(29272)'], {}), "('dcr096', 4, 29272)\n", (93263, 93283), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93294, 93322), 'archinfo.arch.Register', 'Register', (['"""dcr097"""', '(4)', '(29276)'], {}), "('dcr097', 4, 29276)\n", (93302, 93322), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93333, 93361), 'archinfo.arch.Register', 'Register', (['"""dcr098"""', '(4)', '(29280)'], {}), "('dcr098', 4, 29280)\n", (93341, 93361), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93372, 93400), 'archinfo.arch.Register', 'Register', (['"""dcr099"""', '(4)', '(29284)'], {}), "('dcr099', 4, 29284)\n", (93380, 93400), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93411, 93439), 'archinfo.arch.Register', 'Register', (['"""dcr09a"""', '(4)', '(29288)'], {}), "('dcr09a', 4, 29288)\n", (93419, 93439), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93450, 93478), 'archinfo.arch.Register', 'Register', (['"""dcr09b"""', '(4)', '(29292)'], {}), "('dcr09b', 4, 29292)\n", (93458, 93478), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93489, 93517), 'archinfo.arch.Register', 'Register', (['"""dcr09c"""', '(4)', '(29296)'], {}), "('dcr09c', 4, 29296)\n", (93497, 93517), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93528, 93556), 'archinfo.arch.Register', 'Register', (['"""dcr09d"""', '(4)', '(29300)'], {}), "('dcr09d', 4, 29300)\n", (93536, 93556), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93567, 93595), 'archinfo.arch.Register', 'Register', (['"""dcr09e"""', '(4)', '(29304)'], {}), "('dcr09e', 4, 29304)\n", (93575, 93595), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93606, 93634), 'archinfo.arch.Register', 'Register', (['"""dcr09f"""', '(4)', '(29308)'], {}), "('dcr09f', 4, 29308)\n", (93614, 93634), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93645, 93673), 'archinfo.arch.Register', 'Register', (['"""dcr0a0"""', '(4)', '(29312)'], {}), "('dcr0a0', 4, 29312)\n", (93653, 93673), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93684, 93712), 'archinfo.arch.Register', 'Register', (['"""dcr0a1"""', '(4)', '(29316)'], {}), "('dcr0a1', 4, 29316)\n", (93692, 93712), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93723, 93751), 'archinfo.arch.Register', 'Register', (['"""dcr0a2"""', '(4)', '(29320)'], {}), "('dcr0a2', 4, 29320)\n", (93731, 93751), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93762, 93790), 'archinfo.arch.Register', 'Register', (['"""dcr0a3"""', '(4)', '(29324)'], {}), "('dcr0a3', 4, 29324)\n", (93770, 93790), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93801, 93829), 'archinfo.arch.Register', 'Register', (['"""dcr0a4"""', '(4)', '(29328)'], {}), "('dcr0a4', 4, 29328)\n", (93809, 93829), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93840, 93868), 'archinfo.arch.Register', 'Register', (['"""dcr0a5"""', '(4)', '(29332)'], {}), "('dcr0a5', 4, 29332)\n", (93848, 93868), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93879, 93907), 'archinfo.arch.Register', 'Register', (['"""dcr0a6"""', '(4)', '(29336)'], {}), "('dcr0a6', 4, 29336)\n", (93887, 93907), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93918, 93946), 'archinfo.arch.Register', 'Register', (['"""dcr0a7"""', '(4)', '(29340)'], {}), "('dcr0a7', 4, 29340)\n", (93926, 93946), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93957, 93985), 'archinfo.arch.Register', 'Register', (['"""dcr0a8"""', '(4)', '(29344)'], {}), "('dcr0a8', 4, 29344)\n", (93965, 93985), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((93996, 94024), 'archinfo.arch.Register', 'Register', (['"""dcr0a9"""', '(4)', '(29348)'], {}), "('dcr0a9', 4, 29348)\n", (94004, 94024), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94035, 94063), 'archinfo.arch.Register', 'Register', (['"""dcr0aa"""', '(4)', '(29352)'], {}), "('dcr0aa', 4, 29352)\n", (94043, 94063), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94074, 94102), 'archinfo.arch.Register', 'Register', (['"""dcr0ab"""', '(4)', '(29356)'], {}), "('dcr0ab', 4, 29356)\n", (94082, 94102), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94113, 94141), 'archinfo.arch.Register', 'Register', (['"""dcr0ac"""', '(4)', '(29360)'], {}), "('dcr0ac', 4, 29360)\n", (94121, 94141), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94152, 94180), 'archinfo.arch.Register', 'Register', (['"""dcr0ad"""', '(4)', '(29364)'], {}), "('dcr0ad', 4, 29364)\n", (94160, 94180), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94191, 94219), 'archinfo.arch.Register', 'Register', (['"""dcr0ae"""', '(4)', '(29368)'], {}), "('dcr0ae', 4, 29368)\n", (94199, 94219), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94230, 94258), 'archinfo.arch.Register', 'Register', (['"""dcr0af"""', '(4)', '(29372)'], {}), "('dcr0af', 4, 29372)\n", (94238, 94258), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94269, 94297), 'archinfo.arch.Register', 'Register', (['"""dcr0b0"""', '(4)', '(29376)'], {}), "('dcr0b0', 4, 29376)\n", (94277, 94297), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94308, 94336), 'archinfo.arch.Register', 'Register', (['"""dcr0b1"""', '(4)', '(29380)'], {}), "('dcr0b1', 4, 29380)\n", (94316, 94336), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94347, 94375), 'archinfo.arch.Register', 'Register', (['"""dcr0b2"""', '(4)', '(29384)'], {}), "('dcr0b2', 4, 29384)\n", (94355, 94375), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94386, 94414), 'archinfo.arch.Register', 'Register', (['"""dcr0b3"""', '(4)', '(29388)'], {}), "('dcr0b3', 4, 29388)\n", (94394, 94414), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94425, 94453), 'archinfo.arch.Register', 'Register', (['"""dcr0b4"""', '(4)', '(29392)'], {}), "('dcr0b4', 4, 29392)\n", (94433, 94453), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94464, 94492), 'archinfo.arch.Register', 'Register', (['"""dcr0b5"""', '(4)', '(29396)'], {}), "('dcr0b5', 4, 29396)\n", (94472, 94492), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94503, 94531), 'archinfo.arch.Register', 'Register', (['"""dcr0b6"""', '(4)', '(29400)'], {}), "('dcr0b6', 4, 29400)\n", (94511, 94531), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94542, 94570), 'archinfo.arch.Register', 'Register', (['"""dcr0b7"""', '(4)', '(29404)'], {}), "('dcr0b7', 4, 29404)\n", (94550, 94570), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94581, 94609), 'archinfo.arch.Register', 'Register', (['"""dcr0b8"""', '(4)', '(29408)'], {}), "('dcr0b8', 4, 29408)\n", (94589, 94609), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94620, 94648), 'archinfo.arch.Register', 'Register', (['"""dcr0b9"""', '(4)', '(29412)'], {}), "('dcr0b9', 4, 29412)\n", (94628, 94648), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94659, 94687), 'archinfo.arch.Register', 'Register', (['"""dcr0ba"""', '(4)', '(29416)'], {}), "('dcr0ba', 4, 29416)\n", (94667, 94687), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94698, 94726), 'archinfo.arch.Register', 'Register', (['"""dcr0bb"""', '(4)', '(29420)'], {}), "('dcr0bb', 4, 29420)\n", (94706, 94726), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94737, 94765), 'archinfo.arch.Register', 'Register', (['"""dcr0bc"""', '(4)', '(29424)'], {}), "('dcr0bc', 4, 29424)\n", (94745, 94765), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94776, 94804), 'archinfo.arch.Register', 'Register', (['"""dcr0bd"""', '(4)', '(29428)'], {}), "('dcr0bd', 4, 29428)\n", (94784, 94804), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94815, 94843), 'archinfo.arch.Register', 'Register', (['"""dcr0be"""', '(4)', '(29432)'], {}), "('dcr0be', 4, 29432)\n", (94823, 94843), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94854, 94882), 'archinfo.arch.Register', 'Register', (['"""dcr0bf"""', '(4)', '(29436)'], {}), "('dcr0bf', 4, 29436)\n", (94862, 94882), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94893, 94921), 'archinfo.arch.Register', 'Register', (['"""dcr0c0"""', '(4)', '(29440)'], {}), "('dcr0c0', 4, 29440)\n", (94901, 94921), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94932, 94960), 'archinfo.arch.Register', 'Register', (['"""dcr0c1"""', '(4)', '(29444)'], {}), "('dcr0c1', 4, 29444)\n", (94940, 94960), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((94971, 94999), 'archinfo.arch.Register', 'Register', (['"""dcr0c2"""', '(4)', '(29448)'], {}), "('dcr0c2', 4, 29448)\n", (94979, 94999), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95010, 95038), 'archinfo.arch.Register', 'Register', (['"""dcr0c3"""', '(4)', '(29452)'], {}), "('dcr0c3', 4, 29452)\n", (95018, 95038), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95049, 95077), 'archinfo.arch.Register', 'Register', (['"""dcr0c4"""', '(4)', '(29456)'], {}), "('dcr0c4', 4, 29456)\n", (95057, 95077), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95088, 95116), 'archinfo.arch.Register', 'Register', (['"""dcr0c5"""', '(4)', '(29460)'], {}), "('dcr0c5', 4, 29460)\n", (95096, 95116), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95127, 95155), 'archinfo.arch.Register', 'Register', (['"""dcr0c6"""', '(4)', '(29464)'], {}), "('dcr0c6', 4, 29464)\n", (95135, 95155), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95166, 95194), 'archinfo.arch.Register', 'Register', (['"""dcr0c7"""', '(4)', '(29468)'], {}), "('dcr0c7', 4, 29468)\n", (95174, 95194), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95205, 95233), 'archinfo.arch.Register', 'Register', (['"""dcr0c8"""', '(4)', '(29472)'], {}), "('dcr0c8', 4, 29472)\n", (95213, 95233), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95244, 95272), 'archinfo.arch.Register', 'Register', (['"""dcr0c9"""', '(4)', '(29476)'], {}), "('dcr0c9', 4, 29476)\n", (95252, 95272), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95283, 95311), 'archinfo.arch.Register', 'Register', (['"""dcr0ca"""', '(4)', '(29480)'], {}), "('dcr0ca', 4, 29480)\n", (95291, 95311), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95322, 95350), 'archinfo.arch.Register', 'Register', (['"""dcr0cb"""', '(4)', '(29484)'], {}), "('dcr0cb', 4, 29484)\n", (95330, 95350), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95361, 95389), 'archinfo.arch.Register', 'Register', (['"""dcr0cc"""', '(4)', '(29488)'], {}), "('dcr0cc', 4, 29488)\n", (95369, 95389), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95400, 95428), 'archinfo.arch.Register', 'Register', (['"""dcr0cd"""', '(4)', '(29492)'], {}), "('dcr0cd', 4, 29492)\n", (95408, 95428), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95439, 95467), 'archinfo.arch.Register', 'Register', (['"""dcr0ce"""', '(4)', '(29496)'], {}), "('dcr0ce', 4, 29496)\n", (95447, 95467), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95478, 95506), 'archinfo.arch.Register', 'Register', (['"""dcr0cf"""', '(4)', '(29500)'], {}), "('dcr0cf', 4, 29500)\n", (95486, 95506), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95517, 95545), 'archinfo.arch.Register', 'Register', (['"""dcr0d0"""', '(4)', '(29504)'], {}), "('dcr0d0', 4, 29504)\n", (95525, 95545), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95556, 95584), 'archinfo.arch.Register', 'Register', (['"""dcr0d1"""', '(4)', '(29508)'], {}), "('dcr0d1', 4, 29508)\n", (95564, 95584), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95595, 95623), 'archinfo.arch.Register', 'Register', (['"""dcr0d2"""', '(4)', '(29512)'], {}), "('dcr0d2', 4, 29512)\n", (95603, 95623), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95634, 95662), 'archinfo.arch.Register', 'Register', (['"""dcr0d3"""', '(4)', '(29516)'], {}), "('dcr0d3', 4, 29516)\n", (95642, 95662), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95673, 95701), 'archinfo.arch.Register', 'Register', (['"""dcr0d4"""', '(4)', '(29520)'], {}), "('dcr0d4', 4, 29520)\n", (95681, 95701), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95712, 95740), 'archinfo.arch.Register', 'Register', (['"""dcr0d5"""', '(4)', '(29524)'], {}), "('dcr0d5', 4, 29524)\n", (95720, 95740), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95751, 95779), 'archinfo.arch.Register', 'Register', (['"""dcr0d6"""', '(4)', '(29528)'], {}), "('dcr0d6', 4, 29528)\n", (95759, 95779), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95790, 95818), 'archinfo.arch.Register', 'Register', (['"""dcr0d7"""', '(4)', '(29532)'], {}), "('dcr0d7', 4, 29532)\n", (95798, 95818), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95829, 95857), 'archinfo.arch.Register', 'Register', (['"""dcr0d8"""', '(4)', '(29536)'], {}), "('dcr0d8', 4, 29536)\n", (95837, 95857), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95868, 95896), 'archinfo.arch.Register', 'Register', (['"""dcr0d9"""', '(4)', '(29540)'], {}), "('dcr0d9', 4, 29540)\n", (95876, 95896), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95907, 95935), 'archinfo.arch.Register', 'Register', (['"""dcr0da"""', '(4)', '(29544)'], {}), "('dcr0da', 4, 29544)\n", (95915, 95935), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95946, 95974), 'archinfo.arch.Register', 'Register', (['"""dcr0db"""', '(4)', '(29548)'], {}), "('dcr0db', 4, 29548)\n", (95954, 95974), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((95985, 96013), 'archinfo.arch.Register', 'Register', (['"""dcr0dc"""', '(4)', '(29552)'], {}), "('dcr0dc', 4, 29552)\n", (95993, 96013), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96024, 96052), 'archinfo.arch.Register', 'Register', (['"""dcr0dd"""', '(4)', '(29556)'], {}), "('dcr0dd', 4, 29556)\n", (96032, 96052), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96063, 96091), 'archinfo.arch.Register', 'Register', (['"""dcr0de"""', '(4)', '(29560)'], {}), "('dcr0de', 4, 29560)\n", (96071, 96091), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96102, 96130), 'archinfo.arch.Register', 'Register', (['"""dcr0df"""', '(4)', '(29564)'], {}), "('dcr0df', 4, 29564)\n", (96110, 96130), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96141, 96169), 'archinfo.arch.Register', 'Register', (['"""dcr0e0"""', '(4)', '(29568)'], {}), "('dcr0e0', 4, 29568)\n", (96149, 96169), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96180, 96208), 'archinfo.arch.Register', 'Register', (['"""dcr0e1"""', '(4)', '(29572)'], {}), "('dcr0e1', 4, 29572)\n", (96188, 96208), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96219, 96247), 'archinfo.arch.Register', 'Register', (['"""dcr0e2"""', '(4)', '(29576)'], {}), "('dcr0e2', 4, 29576)\n", (96227, 96247), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96258, 96286), 'archinfo.arch.Register', 'Register', (['"""dcr0e3"""', '(4)', '(29580)'], {}), "('dcr0e3', 4, 29580)\n", (96266, 96286), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96297, 96325), 'archinfo.arch.Register', 'Register', (['"""dcr0e4"""', '(4)', '(29584)'], {}), "('dcr0e4', 4, 29584)\n", (96305, 96325), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96336, 96364), 'archinfo.arch.Register', 'Register', (['"""dcr0e5"""', '(4)', '(29588)'], {}), "('dcr0e5', 4, 29588)\n", (96344, 96364), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96375, 96403), 'archinfo.arch.Register', 'Register', (['"""dcr0e6"""', '(4)', '(29592)'], {}), "('dcr0e6', 4, 29592)\n", (96383, 96403), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96414, 96442), 'archinfo.arch.Register', 'Register', (['"""dcr0e7"""', '(4)', '(29596)'], {}), "('dcr0e7', 4, 29596)\n", (96422, 96442), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96453, 96481), 'archinfo.arch.Register', 'Register', (['"""dcr0e8"""', '(4)', '(29600)'], {}), "('dcr0e8', 4, 29600)\n", (96461, 96481), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96492, 96520), 'archinfo.arch.Register', 'Register', (['"""dcr0e9"""', '(4)', '(29604)'], {}), "('dcr0e9', 4, 29604)\n", (96500, 96520), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96531, 96559), 'archinfo.arch.Register', 'Register', (['"""dcr0ea"""', '(4)', '(29608)'], {}), "('dcr0ea', 4, 29608)\n", (96539, 96559), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96570, 96598), 'archinfo.arch.Register', 'Register', (['"""dcr0eb"""', '(4)', '(29612)'], {}), "('dcr0eb', 4, 29612)\n", (96578, 96598), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96609, 96637), 'archinfo.arch.Register', 'Register', (['"""dcr0ec"""', '(4)', '(29616)'], {}), "('dcr0ec', 4, 29616)\n", (96617, 96637), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96648, 96676), 'archinfo.arch.Register', 'Register', (['"""dcr0ed"""', '(4)', '(29620)'], {}), "('dcr0ed', 4, 29620)\n", (96656, 96676), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96687, 96715), 'archinfo.arch.Register', 'Register', (['"""dcr0ee"""', '(4)', '(29624)'], {}), "('dcr0ee', 4, 29624)\n", (96695, 96715), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96726, 96754), 'archinfo.arch.Register', 'Register', (['"""dcr0ef"""', '(4)', '(29628)'], {}), "('dcr0ef', 4, 29628)\n", (96734, 96754), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96765, 96793), 'archinfo.arch.Register', 'Register', (['"""dcr0f0"""', '(4)', '(29632)'], {}), "('dcr0f0', 4, 29632)\n", (96773, 96793), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96804, 96832), 'archinfo.arch.Register', 'Register', (['"""dcr0f1"""', '(4)', '(29636)'], {}), "('dcr0f1', 4, 29636)\n", (96812, 96832), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96843, 96871), 'archinfo.arch.Register', 'Register', (['"""dcr0f2"""', '(4)', '(29640)'], {}), "('dcr0f2', 4, 29640)\n", (96851, 96871), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96882, 96910), 'archinfo.arch.Register', 'Register', (['"""dcr0f3"""', '(4)', '(29644)'], {}), "('dcr0f3', 4, 29644)\n", (96890, 96910), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96921, 96949), 'archinfo.arch.Register', 'Register', (['"""dcr0f4"""', '(4)', '(29648)'], {}), "('dcr0f4', 4, 29648)\n", (96929, 96949), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96960, 96988), 'archinfo.arch.Register', 'Register', (['"""dcr0f5"""', '(4)', '(29652)'], {}), "('dcr0f5', 4, 29652)\n", (96968, 96988), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((96999, 97027), 'archinfo.arch.Register', 'Register', (['"""dcr0f6"""', '(4)', '(29656)'], {}), "('dcr0f6', 4, 29656)\n", (97007, 97027), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97038, 97066), 'archinfo.arch.Register', 'Register', (['"""dcr0f7"""', '(4)', '(29660)'], {}), "('dcr0f7', 4, 29660)\n", (97046, 97066), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97077, 97105), 'archinfo.arch.Register', 'Register', (['"""dcr0f8"""', '(4)', '(29664)'], {}), "('dcr0f8', 4, 29664)\n", (97085, 97105), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97116, 97144), 'archinfo.arch.Register', 'Register', (['"""dcr0f9"""', '(4)', '(29668)'], {}), "('dcr0f9', 4, 29668)\n", (97124, 97144), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97155, 97183), 'archinfo.arch.Register', 'Register', (['"""dcr0fa"""', '(4)', '(29672)'], {}), "('dcr0fa', 4, 29672)\n", (97163, 97183), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97194, 97222), 'archinfo.arch.Register', 'Register', (['"""dcr0fb"""', '(4)', '(29676)'], {}), "('dcr0fb', 4, 29676)\n", (97202, 97222), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97233, 97261), 'archinfo.arch.Register', 'Register', (['"""dcr0fc"""', '(4)', '(29680)'], {}), "('dcr0fc', 4, 29680)\n", (97241, 97261), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97272, 97300), 'archinfo.arch.Register', 'Register', (['"""dcr0fd"""', '(4)', '(29684)'], {}), "('dcr0fd', 4, 29684)\n", (97280, 97300), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97311, 97339), 'archinfo.arch.Register', 'Register', (['"""dcr0fe"""', '(4)', '(29688)'], {}), "('dcr0fe', 4, 29688)\n", (97319, 97339), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97350, 97378), 'archinfo.arch.Register', 'Register', (['"""dcr0ff"""', '(4)', '(29692)'], {}), "('dcr0ff', 4, 29692)\n", (97358, 97378), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97389, 97417), 'archinfo.arch.Register', 'Register', (['"""dcr100"""', '(4)', '(29696)'], {}), "('dcr100', 4, 29696)\n", (97397, 97417), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97428, 97456), 'archinfo.arch.Register', 'Register', (['"""dcr101"""', '(4)', '(29700)'], {}), "('dcr101', 4, 29700)\n", (97436, 97456), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97467, 97495), 'archinfo.arch.Register', 'Register', (['"""dcr102"""', '(4)', '(29704)'], {}), "('dcr102', 4, 29704)\n", (97475, 97495), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97506, 97534), 'archinfo.arch.Register', 'Register', (['"""dcr103"""', '(4)', '(29708)'], {}), "('dcr103', 4, 29708)\n", (97514, 97534), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97545, 97573), 'archinfo.arch.Register', 'Register', (['"""dcr104"""', '(4)', '(29712)'], {}), "('dcr104', 4, 29712)\n", (97553, 97573), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97584, 97612), 'archinfo.arch.Register', 'Register', (['"""dcr105"""', '(4)', '(29716)'], {}), "('dcr105', 4, 29716)\n", (97592, 97612), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97623, 97651), 'archinfo.arch.Register', 'Register', (['"""dcr106"""', '(4)', '(29720)'], {}), "('dcr106', 4, 29720)\n", (97631, 97651), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97662, 97690), 'archinfo.arch.Register', 'Register', (['"""dcr107"""', '(4)', '(29724)'], {}), "('dcr107', 4, 29724)\n", (97670, 97690), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97701, 97729), 'archinfo.arch.Register', 'Register', (['"""dcr108"""', '(4)', '(29728)'], {}), "('dcr108', 4, 29728)\n", (97709, 97729), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97740, 97768), 'archinfo.arch.Register', 'Register', (['"""dcr109"""', '(4)', '(29732)'], {}), "('dcr109', 4, 29732)\n", (97748, 97768), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97779, 97807), 'archinfo.arch.Register', 'Register', (['"""dcr10a"""', '(4)', '(29736)'], {}), "('dcr10a', 4, 29736)\n", (97787, 97807), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97818, 97846), 'archinfo.arch.Register', 'Register', (['"""dcr10b"""', '(4)', '(29740)'], {}), "('dcr10b', 4, 29740)\n", (97826, 97846), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97857, 97885), 'archinfo.arch.Register', 'Register', (['"""dcr10c"""', '(4)', '(29744)'], {}), "('dcr10c', 4, 29744)\n", (97865, 97885), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97896, 97924), 'archinfo.arch.Register', 'Register', (['"""dcr10d"""', '(4)', '(29748)'], {}), "('dcr10d', 4, 29748)\n", (97904, 97924), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97935, 97963), 'archinfo.arch.Register', 'Register', (['"""dcr10e"""', '(4)', '(29752)'], {}), "('dcr10e', 4, 29752)\n", (97943, 97963), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((97974, 98002), 'archinfo.arch.Register', 'Register', (['"""dcr10f"""', '(4)', '(29756)'], {}), "('dcr10f', 4, 29756)\n", (97982, 98002), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98013, 98041), 'archinfo.arch.Register', 'Register', (['"""dcr110"""', '(4)', '(29760)'], {}), "('dcr110', 4, 29760)\n", (98021, 98041), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98052, 98080), 'archinfo.arch.Register', 'Register', (['"""dcr111"""', '(4)', '(29764)'], {}), "('dcr111', 4, 29764)\n", (98060, 98080), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98091, 98119), 'archinfo.arch.Register', 'Register', (['"""dcr112"""', '(4)', '(29768)'], {}), "('dcr112', 4, 29768)\n", (98099, 98119), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98130, 98158), 'archinfo.arch.Register', 'Register', (['"""dcr113"""', '(4)', '(29772)'], {}), "('dcr113', 4, 29772)\n", (98138, 98158), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98169, 98197), 'archinfo.arch.Register', 'Register', (['"""dcr114"""', '(4)', '(29776)'], {}), "('dcr114', 4, 29776)\n", (98177, 98197), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98208, 98236), 'archinfo.arch.Register', 'Register', (['"""dcr115"""', '(4)', '(29780)'], {}), "('dcr115', 4, 29780)\n", (98216, 98236), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98247, 98275), 'archinfo.arch.Register', 'Register', (['"""dcr116"""', '(4)', '(29784)'], {}), "('dcr116', 4, 29784)\n", (98255, 98275), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98286, 98314), 'archinfo.arch.Register', 'Register', (['"""dcr117"""', '(4)', '(29788)'], {}), "('dcr117', 4, 29788)\n", (98294, 98314), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98325, 98353), 'archinfo.arch.Register', 'Register', (['"""dcr118"""', '(4)', '(29792)'], {}), "('dcr118', 4, 29792)\n", (98333, 98353), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98364, 98392), 'archinfo.arch.Register', 'Register', (['"""dcr119"""', '(4)', '(29796)'], {}), "('dcr119', 4, 29796)\n", (98372, 98392), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98403, 98431), 'archinfo.arch.Register', 'Register', (['"""dcr11a"""', '(4)', '(29800)'], {}), "('dcr11a', 4, 29800)\n", (98411, 98431), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98442, 98470), 'archinfo.arch.Register', 'Register', (['"""dcr11b"""', '(4)', '(29804)'], {}), "('dcr11b', 4, 29804)\n", (98450, 98470), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98481, 98509), 'archinfo.arch.Register', 'Register', (['"""dcr11c"""', '(4)', '(29808)'], {}), "('dcr11c', 4, 29808)\n", (98489, 98509), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98520, 98548), 'archinfo.arch.Register', 'Register', (['"""dcr11d"""', '(4)', '(29812)'], {}), "('dcr11d', 4, 29812)\n", (98528, 98548), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98559, 98587), 'archinfo.arch.Register', 'Register', (['"""dcr11e"""', '(4)', '(29816)'], {}), "('dcr11e', 4, 29816)\n", (98567, 98587), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98598, 98626), 'archinfo.arch.Register', 'Register', (['"""dcr11f"""', '(4)', '(29820)'], {}), "('dcr11f', 4, 29820)\n", (98606, 98626), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98637, 98665), 'archinfo.arch.Register', 'Register', (['"""dcr120"""', '(4)', '(29824)'], {}), "('dcr120', 4, 29824)\n", (98645, 98665), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98676, 98704), 'archinfo.arch.Register', 'Register', (['"""dcr121"""', '(4)', '(29828)'], {}), "('dcr121', 4, 29828)\n", (98684, 98704), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98715, 98743), 'archinfo.arch.Register', 'Register', (['"""dcr122"""', '(4)', '(29832)'], {}), "('dcr122', 4, 29832)\n", (98723, 98743), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98754, 98782), 'archinfo.arch.Register', 'Register', (['"""dcr123"""', '(4)', '(29836)'], {}), "('dcr123', 4, 29836)\n", (98762, 98782), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98793, 98821), 'archinfo.arch.Register', 'Register', (['"""dcr124"""', '(4)', '(29840)'], {}), "('dcr124', 4, 29840)\n", (98801, 98821), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98832, 98860), 'archinfo.arch.Register', 'Register', (['"""dcr125"""', '(4)', '(29844)'], {}), "('dcr125', 4, 29844)\n", (98840, 98860), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98871, 98899), 'archinfo.arch.Register', 'Register', (['"""dcr126"""', '(4)', '(29848)'], {}), "('dcr126', 4, 29848)\n", (98879, 98899), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98910, 98938), 'archinfo.arch.Register', 'Register', (['"""dcr127"""', '(4)', '(29852)'], {}), "('dcr127', 4, 29852)\n", (98918, 98938), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98949, 98977), 'archinfo.arch.Register', 'Register', (['"""dcr128"""', '(4)', '(29856)'], {}), "('dcr128', 4, 29856)\n", (98957, 98977), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((98988, 99016), 'archinfo.arch.Register', 'Register', (['"""dcr129"""', '(4)', '(29860)'], {}), "('dcr129', 4, 29860)\n", (98996, 99016), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99027, 99055), 'archinfo.arch.Register', 'Register', (['"""dcr12a"""', '(4)', '(29864)'], {}), "('dcr12a', 4, 29864)\n", (99035, 99055), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99066, 99094), 'archinfo.arch.Register', 'Register', (['"""dcr12b"""', '(4)', '(29868)'], {}), "('dcr12b', 4, 29868)\n", (99074, 99094), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99105, 99133), 'archinfo.arch.Register', 'Register', (['"""dcr12c"""', '(4)', '(29872)'], {}), "('dcr12c', 4, 29872)\n", (99113, 99133), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99144, 99172), 'archinfo.arch.Register', 'Register', (['"""dcr12d"""', '(4)', '(29876)'], {}), "('dcr12d', 4, 29876)\n", (99152, 99172), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99183, 99211), 'archinfo.arch.Register', 'Register', (['"""dcr12e"""', '(4)', '(29880)'], {}), "('dcr12e', 4, 29880)\n", (99191, 99211), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99222, 99250), 'archinfo.arch.Register', 'Register', (['"""dcr12f"""', '(4)', '(29884)'], {}), "('dcr12f', 4, 29884)\n", (99230, 99250), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99261, 99289), 'archinfo.arch.Register', 'Register', (['"""dcr130"""', '(4)', '(29888)'], {}), "('dcr130', 4, 29888)\n", (99269, 99289), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99300, 99328), 'archinfo.arch.Register', 'Register', (['"""dcr131"""', '(4)', '(29892)'], {}), "('dcr131', 4, 29892)\n", (99308, 99328), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99339, 99367), 'archinfo.arch.Register', 'Register', (['"""dcr132"""', '(4)', '(29896)'], {}), "('dcr132', 4, 29896)\n", (99347, 99367), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99378, 99406), 'archinfo.arch.Register', 'Register', (['"""dcr133"""', '(4)', '(29900)'], {}), "('dcr133', 4, 29900)\n", (99386, 99406), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99417, 99445), 'archinfo.arch.Register', 'Register', (['"""dcr134"""', '(4)', '(29904)'], {}), "('dcr134', 4, 29904)\n", (99425, 99445), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99456, 99484), 'archinfo.arch.Register', 'Register', (['"""dcr135"""', '(4)', '(29908)'], {}), "('dcr135', 4, 29908)\n", (99464, 99484), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99495, 99523), 'archinfo.arch.Register', 'Register', (['"""dcr136"""', '(4)', '(29912)'], {}), "('dcr136', 4, 29912)\n", (99503, 99523), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99534, 99562), 'archinfo.arch.Register', 'Register', (['"""dcr137"""', '(4)', '(29916)'], {}), "('dcr137', 4, 29916)\n", (99542, 99562), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99573, 99601), 'archinfo.arch.Register', 'Register', (['"""dcr138"""', '(4)', '(29920)'], {}), "('dcr138', 4, 29920)\n", (99581, 99601), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99612, 99640), 'archinfo.arch.Register', 'Register', (['"""dcr139"""', '(4)', '(29924)'], {}), "('dcr139', 4, 29924)\n", (99620, 99640), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99651, 99679), 'archinfo.arch.Register', 'Register', (['"""dcr13a"""', '(4)', '(29928)'], {}), "('dcr13a', 4, 29928)\n", (99659, 99679), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99690, 99718), 'archinfo.arch.Register', 'Register', (['"""dcr13b"""', '(4)', '(29932)'], {}), "('dcr13b', 4, 29932)\n", (99698, 99718), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99729, 99757), 'archinfo.arch.Register', 'Register', (['"""dcr13c"""', '(4)', '(29936)'], {}), "('dcr13c', 4, 29936)\n", (99737, 99757), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99768, 99796), 'archinfo.arch.Register', 'Register', (['"""dcr13d"""', '(4)', '(29940)'], {}), "('dcr13d', 4, 29940)\n", (99776, 99796), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99807, 99835), 'archinfo.arch.Register', 'Register', (['"""dcr13e"""', '(4)', '(29944)'], {}), "('dcr13e', 4, 29944)\n", (99815, 99835), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99846, 99874), 'archinfo.arch.Register', 'Register', (['"""dcr13f"""', '(4)', '(29948)'], {}), "('dcr13f', 4, 29948)\n", (99854, 99874), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99885, 99913), 'archinfo.arch.Register', 'Register', (['"""dcr140"""', '(4)', '(29952)'], {}), "('dcr140', 4, 29952)\n", (99893, 99913), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99924, 99952), 'archinfo.arch.Register', 'Register', (['"""dcr141"""', '(4)', '(29956)'], {}), "('dcr141', 4, 29956)\n", (99932, 99952), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((99963, 99991), 'archinfo.arch.Register', 'Register', (['"""dcr142"""', '(4)', '(29960)'], {}), "('dcr142', 4, 29960)\n", (99971, 99991), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100002, 100030), 'archinfo.arch.Register', 'Register', (['"""dcr143"""', '(4)', '(29964)'], {}), "('dcr143', 4, 29964)\n", (100010, 100030), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100041, 100069), 'archinfo.arch.Register', 'Register', (['"""dcr144"""', '(4)', '(29968)'], {}), "('dcr144', 4, 29968)\n", (100049, 100069), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100080, 100108), 'archinfo.arch.Register', 'Register', (['"""dcr145"""', '(4)', '(29972)'], {}), "('dcr145', 4, 29972)\n", (100088, 100108), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100119, 100147), 'archinfo.arch.Register', 'Register', (['"""dcr146"""', '(4)', '(29976)'], {}), "('dcr146', 4, 29976)\n", (100127, 100147), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100158, 100186), 'archinfo.arch.Register', 'Register', (['"""dcr147"""', '(4)', '(29980)'], {}), "('dcr147', 4, 29980)\n", (100166, 100186), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100197, 100225), 'archinfo.arch.Register', 'Register', (['"""dcr148"""', '(4)', '(29984)'], {}), "('dcr148', 4, 29984)\n", (100205, 100225), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100236, 100264), 'archinfo.arch.Register', 'Register', (['"""dcr149"""', '(4)', '(29988)'], {}), "('dcr149', 4, 29988)\n", (100244, 100264), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100275, 100303), 'archinfo.arch.Register', 'Register', (['"""dcr14a"""', '(4)', '(29992)'], {}), "('dcr14a', 4, 29992)\n", (100283, 100303), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100314, 100342), 'archinfo.arch.Register', 'Register', (['"""dcr14b"""', '(4)', '(29996)'], {}), "('dcr14b', 4, 29996)\n", (100322, 100342), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100353, 100381), 'archinfo.arch.Register', 'Register', (['"""dcr14c"""', '(4)', '(30000)'], {}), "('dcr14c', 4, 30000)\n", (100361, 100381), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100392, 100420), 'archinfo.arch.Register', 'Register', (['"""dcr14d"""', '(4)', '(30004)'], {}), "('dcr14d', 4, 30004)\n", (100400, 100420), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100431, 100459), 'archinfo.arch.Register', 'Register', (['"""dcr14e"""', '(4)', '(30008)'], {}), "('dcr14e', 4, 30008)\n", (100439, 100459), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100470, 100498), 'archinfo.arch.Register', 'Register', (['"""dcr14f"""', '(4)', '(30012)'], {}), "('dcr14f', 4, 30012)\n", (100478, 100498), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100509, 100537), 'archinfo.arch.Register', 'Register', (['"""dcr150"""', '(4)', '(30016)'], {}), "('dcr150', 4, 30016)\n", (100517, 100537), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100548, 100576), 'archinfo.arch.Register', 'Register', (['"""dcr151"""', '(4)', '(30020)'], {}), "('dcr151', 4, 30020)\n", (100556, 100576), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100587, 100615), 'archinfo.arch.Register', 'Register', (['"""dcr152"""', '(4)', '(30024)'], {}), "('dcr152', 4, 30024)\n", (100595, 100615), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100626, 100654), 'archinfo.arch.Register', 'Register', (['"""dcr153"""', '(4)', '(30028)'], {}), "('dcr153', 4, 30028)\n", (100634, 100654), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100665, 100693), 'archinfo.arch.Register', 'Register', (['"""dcr154"""', '(4)', '(30032)'], {}), "('dcr154', 4, 30032)\n", (100673, 100693), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100704, 100732), 'archinfo.arch.Register', 'Register', (['"""dcr155"""', '(4)', '(30036)'], {}), "('dcr155', 4, 30036)\n", (100712, 100732), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100743, 100771), 'archinfo.arch.Register', 'Register', (['"""dcr156"""', '(4)', '(30040)'], {}), "('dcr156', 4, 30040)\n", (100751, 100771), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100782, 100810), 'archinfo.arch.Register', 'Register', (['"""dcr157"""', '(4)', '(30044)'], {}), "('dcr157', 4, 30044)\n", (100790, 100810), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100821, 100849), 'archinfo.arch.Register', 'Register', (['"""dcr158"""', '(4)', '(30048)'], {}), "('dcr158', 4, 30048)\n", (100829, 100849), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100860, 100888), 'archinfo.arch.Register', 'Register', (['"""dcr159"""', '(4)', '(30052)'], {}), "('dcr159', 4, 30052)\n", (100868, 100888), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100899, 100927), 'archinfo.arch.Register', 'Register', (['"""dcr15a"""', '(4)', '(30056)'], {}), "('dcr15a', 4, 30056)\n", (100907, 100927), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100938, 100966), 'archinfo.arch.Register', 'Register', (['"""dcr15b"""', '(4)', '(30060)'], {}), "('dcr15b', 4, 30060)\n", (100946, 100966), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((100977, 101005), 'archinfo.arch.Register', 'Register', (['"""dcr15c"""', '(4)', '(30064)'], {}), "('dcr15c', 4, 30064)\n", (100985, 101005), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101016, 101044), 'archinfo.arch.Register', 'Register', (['"""dcr15d"""', '(4)', '(30068)'], {}), "('dcr15d', 4, 30068)\n", (101024, 101044), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101055, 101083), 'archinfo.arch.Register', 'Register', (['"""dcr15e"""', '(4)', '(30072)'], {}), "('dcr15e', 4, 30072)\n", (101063, 101083), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101094, 101122), 'archinfo.arch.Register', 'Register', (['"""dcr15f"""', '(4)', '(30076)'], {}), "('dcr15f', 4, 30076)\n", (101102, 101122), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101133, 101161), 'archinfo.arch.Register', 'Register', (['"""dcr160"""', '(4)', '(30080)'], {}), "('dcr160', 4, 30080)\n", (101141, 101161), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101172, 101200), 'archinfo.arch.Register', 'Register', (['"""dcr161"""', '(4)', '(30084)'], {}), "('dcr161', 4, 30084)\n", (101180, 101200), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101211, 101239), 'archinfo.arch.Register', 'Register', (['"""dcr162"""', '(4)', '(30088)'], {}), "('dcr162', 4, 30088)\n", (101219, 101239), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101250, 101278), 'archinfo.arch.Register', 'Register', (['"""dcr163"""', '(4)', '(30092)'], {}), "('dcr163', 4, 30092)\n", (101258, 101278), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101289, 101317), 'archinfo.arch.Register', 'Register', (['"""dcr164"""', '(4)', '(30096)'], {}), "('dcr164', 4, 30096)\n", (101297, 101317), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101328, 101356), 'archinfo.arch.Register', 'Register', (['"""dcr165"""', '(4)', '(30100)'], {}), "('dcr165', 4, 30100)\n", (101336, 101356), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101367, 101395), 'archinfo.arch.Register', 'Register', (['"""dcr166"""', '(4)', '(30104)'], {}), "('dcr166', 4, 30104)\n", (101375, 101395), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101406, 101434), 'archinfo.arch.Register', 'Register', (['"""dcr167"""', '(4)', '(30108)'], {}), "('dcr167', 4, 30108)\n", (101414, 101434), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101445, 101473), 'archinfo.arch.Register', 'Register', (['"""dcr168"""', '(4)', '(30112)'], {}), "('dcr168', 4, 30112)\n", (101453, 101473), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101484, 101512), 'archinfo.arch.Register', 'Register', (['"""dcr169"""', '(4)', '(30116)'], {}), "('dcr169', 4, 30116)\n", (101492, 101512), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101523, 101551), 'archinfo.arch.Register', 'Register', (['"""dcr16a"""', '(4)', '(30120)'], {}), "('dcr16a', 4, 30120)\n", (101531, 101551), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101562, 101590), 'archinfo.arch.Register', 'Register', (['"""dcr16b"""', '(4)', '(30124)'], {}), "('dcr16b', 4, 30124)\n", (101570, 101590), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101601, 101629), 'archinfo.arch.Register', 'Register', (['"""dcr16c"""', '(4)', '(30128)'], {}), "('dcr16c', 4, 30128)\n", (101609, 101629), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101640, 101668), 'archinfo.arch.Register', 'Register', (['"""dcr16d"""', '(4)', '(30132)'], {}), "('dcr16d', 4, 30132)\n", (101648, 101668), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101679, 101707), 'archinfo.arch.Register', 'Register', (['"""dcr16e"""', '(4)', '(30136)'], {}), "('dcr16e', 4, 30136)\n", (101687, 101707), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101718, 101746), 'archinfo.arch.Register', 'Register', (['"""dcr16f"""', '(4)', '(30140)'], {}), "('dcr16f', 4, 30140)\n", (101726, 101746), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101757, 101785), 'archinfo.arch.Register', 'Register', (['"""dcr170"""', '(4)', '(30144)'], {}), "('dcr170', 4, 30144)\n", (101765, 101785), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101796, 101824), 'archinfo.arch.Register', 'Register', (['"""dcr171"""', '(4)', '(30148)'], {}), "('dcr171', 4, 30148)\n", (101804, 101824), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101835, 101863), 'archinfo.arch.Register', 'Register', (['"""dcr172"""', '(4)', '(30152)'], {}), "('dcr172', 4, 30152)\n", (101843, 101863), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101874, 101902), 'archinfo.arch.Register', 'Register', (['"""dcr173"""', '(4)', '(30156)'], {}), "('dcr173', 4, 30156)\n", (101882, 101902), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101913, 101941), 'archinfo.arch.Register', 'Register', (['"""dcr174"""', '(4)', '(30160)'], {}), "('dcr174', 4, 30160)\n", (101921, 101941), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101952, 101980), 'archinfo.arch.Register', 'Register', (['"""dcr175"""', '(4)', '(30164)'], {}), "('dcr175', 4, 30164)\n", (101960, 101980), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((101991, 102019), 'archinfo.arch.Register', 'Register', (['"""dcr176"""', '(4)', '(30168)'], {}), "('dcr176', 4, 30168)\n", (101999, 102019), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102030, 102058), 'archinfo.arch.Register', 'Register', (['"""dcr177"""', '(4)', '(30172)'], {}), "('dcr177', 4, 30172)\n", (102038, 102058), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102069, 102097), 'archinfo.arch.Register', 'Register', (['"""dcr178"""', '(4)', '(30176)'], {}), "('dcr178', 4, 30176)\n", (102077, 102097), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102108, 102136), 'archinfo.arch.Register', 'Register', (['"""dcr179"""', '(4)', '(30180)'], {}), "('dcr179', 4, 30180)\n", (102116, 102136), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102147, 102175), 'archinfo.arch.Register', 'Register', (['"""dcr17a"""', '(4)', '(30184)'], {}), "('dcr17a', 4, 30184)\n", (102155, 102175), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102186, 102214), 'archinfo.arch.Register', 'Register', (['"""dcr17b"""', '(4)', '(30188)'], {}), "('dcr17b', 4, 30188)\n", (102194, 102214), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102225, 102253), 'archinfo.arch.Register', 'Register', (['"""dcr17c"""', '(4)', '(30192)'], {}), "('dcr17c', 4, 30192)\n", (102233, 102253), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102264, 102292), 'archinfo.arch.Register', 'Register', (['"""dcr17d"""', '(4)', '(30196)'], {}), "('dcr17d', 4, 30196)\n", (102272, 102292), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102303, 102331), 'archinfo.arch.Register', 'Register', (['"""dcr17e"""', '(4)', '(30200)'], {}), "('dcr17e', 4, 30200)\n", (102311, 102331), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102342, 102370), 'archinfo.arch.Register', 'Register', (['"""dcr17f"""', '(4)', '(30204)'], {}), "('dcr17f', 4, 30204)\n", (102350, 102370), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102381, 102409), 'archinfo.arch.Register', 'Register', (['"""dcr180"""', '(4)', '(30208)'], {}), "('dcr180', 4, 30208)\n", (102389, 102409), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102420, 102448), 'archinfo.arch.Register', 'Register', (['"""dcr181"""', '(4)', '(30212)'], {}), "('dcr181', 4, 30212)\n", (102428, 102448), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102459, 102487), 'archinfo.arch.Register', 'Register', (['"""dcr182"""', '(4)', '(30216)'], {}), "('dcr182', 4, 30216)\n", (102467, 102487), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102498, 102526), 'archinfo.arch.Register', 'Register', (['"""dcr183"""', '(4)', '(30220)'], {}), "('dcr183', 4, 30220)\n", (102506, 102526), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102537, 102565), 'archinfo.arch.Register', 'Register', (['"""dcr184"""', '(4)', '(30224)'], {}), "('dcr184', 4, 30224)\n", (102545, 102565), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102576, 102604), 'archinfo.arch.Register', 'Register', (['"""dcr185"""', '(4)', '(30228)'], {}), "('dcr185', 4, 30228)\n", (102584, 102604), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102615, 102643), 'archinfo.arch.Register', 'Register', (['"""dcr186"""', '(4)', '(30232)'], {}), "('dcr186', 4, 30232)\n", (102623, 102643), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102654, 102682), 'archinfo.arch.Register', 'Register', (['"""dcr187"""', '(4)', '(30236)'], {}), "('dcr187', 4, 30236)\n", (102662, 102682), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102693, 102721), 'archinfo.arch.Register', 'Register', (['"""dcr188"""', '(4)', '(30240)'], {}), "('dcr188', 4, 30240)\n", (102701, 102721), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102732, 102760), 'archinfo.arch.Register', 'Register', (['"""dcr189"""', '(4)', '(30244)'], {}), "('dcr189', 4, 30244)\n", (102740, 102760), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102771, 102799), 'archinfo.arch.Register', 'Register', (['"""dcr18a"""', '(4)', '(30248)'], {}), "('dcr18a', 4, 30248)\n", (102779, 102799), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102810, 102838), 'archinfo.arch.Register', 'Register', (['"""dcr18b"""', '(4)', '(30252)'], {}), "('dcr18b', 4, 30252)\n", (102818, 102838), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102849, 102877), 'archinfo.arch.Register', 'Register', (['"""dcr18c"""', '(4)', '(30256)'], {}), "('dcr18c', 4, 30256)\n", (102857, 102877), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102888, 102916), 'archinfo.arch.Register', 'Register', (['"""dcr18d"""', '(4)', '(30260)'], {}), "('dcr18d', 4, 30260)\n", (102896, 102916), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102927, 102955), 'archinfo.arch.Register', 'Register', (['"""dcr18e"""', '(4)', '(30264)'], {}), "('dcr18e', 4, 30264)\n", (102935, 102955), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((102966, 102994), 'archinfo.arch.Register', 'Register', (['"""dcr18f"""', '(4)', '(30268)'], {}), "('dcr18f', 4, 30268)\n", (102974, 102994), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103005, 103033), 'archinfo.arch.Register', 'Register', (['"""dcr190"""', '(4)', '(30272)'], {}), "('dcr190', 4, 30272)\n", (103013, 103033), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103044, 103072), 'archinfo.arch.Register', 'Register', (['"""dcr191"""', '(4)', '(30276)'], {}), "('dcr191', 4, 30276)\n", (103052, 103072), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103083, 103111), 'archinfo.arch.Register', 'Register', (['"""dcr192"""', '(4)', '(30280)'], {}), "('dcr192', 4, 30280)\n", (103091, 103111), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103122, 103150), 'archinfo.arch.Register', 'Register', (['"""dcr193"""', '(4)', '(30284)'], {}), "('dcr193', 4, 30284)\n", (103130, 103150), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103161, 103189), 'archinfo.arch.Register', 'Register', (['"""dcr194"""', '(4)', '(30288)'], {}), "('dcr194', 4, 30288)\n", (103169, 103189), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103200, 103228), 'archinfo.arch.Register', 'Register', (['"""dcr195"""', '(4)', '(30292)'], {}), "('dcr195', 4, 30292)\n", (103208, 103228), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103239, 103267), 'archinfo.arch.Register', 'Register', (['"""dcr196"""', '(4)', '(30296)'], {}), "('dcr196', 4, 30296)\n", (103247, 103267), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103278, 103306), 'archinfo.arch.Register', 'Register', (['"""dcr197"""', '(4)', '(30300)'], {}), "('dcr197', 4, 30300)\n", (103286, 103306), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103317, 103345), 'archinfo.arch.Register', 'Register', (['"""dcr198"""', '(4)', '(30304)'], {}), "('dcr198', 4, 30304)\n", (103325, 103345), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103356, 103384), 'archinfo.arch.Register', 'Register', (['"""dcr199"""', '(4)', '(30308)'], {}), "('dcr199', 4, 30308)\n", (103364, 103384), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103395, 103423), 'archinfo.arch.Register', 'Register', (['"""dcr19a"""', '(4)', '(30312)'], {}), "('dcr19a', 4, 30312)\n", (103403, 103423), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103434, 103462), 'archinfo.arch.Register', 'Register', (['"""dcr19b"""', '(4)', '(30316)'], {}), "('dcr19b', 4, 30316)\n", (103442, 103462), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103473, 103501), 'archinfo.arch.Register', 'Register', (['"""dcr19c"""', '(4)', '(30320)'], {}), "('dcr19c', 4, 30320)\n", (103481, 103501), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103512, 103540), 'archinfo.arch.Register', 'Register', (['"""dcr19d"""', '(4)', '(30324)'], {}), "('dcr19d', 4, 30324)\n", (103520, 103540), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103551, 103579), 'archinfo.arch.Register', 'Register', (['"""dcr19e"""', '(4)', '(30328)'], {}), "('dcr19e', 4, 30328)\n", (103559, 103579), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103590, 103618), 'archinfo.arch.Register', 'Register', (['"""dcr19f"""', '(4)', '(30332)'], {}), "('dcr19f', 4, 30332)\n", (103598, 103618), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103629, 103657), 'archinfo.arch.Register', 'Register', (['"""dcr1a0"""', '(4)', '(30336)'], {}), "('dcr1a0', 4, 30336)\n", (103637, 103657), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103668, 103696), 'archinfo.arch.Register', 'Register', (['"""dcr1a1"""', '(4)', '(30340)'], {}), "('dcr1a1', 4, 30340)\n", (103676, 103696), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103707, 103735), 'archinfo.arch.Register', 'Register', (['"""dcr1a2"""', '(4)', '(30344)'], {}), "('dcr1a2', 4, 30344)\n", (103715, 103735), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103746, 103774), 'archinfo.arch.Register', 'Register', (['"""dcr1a3"""', '(4)', '(30348)'], {}), "('dcr1a3', 4, 30348)\n", (103754, 103774), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103785, 103813), 'archinfo.arch.Register', 'Register', (['"""dcr1a4"""', '(4)', '(30352)'], {}), "('dcr1a4', 4, 30352)\n", (103793, 103813), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103824, 103852), 'archinfo.arch.Register', 'Register', (['"""dcr1a5"""', '(4)', '(30356)'], {}), "('dcr1a5', 4, 30356)\n", (103832, 103852), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103863, 103891), 'archinfo.arch.Register', 'Register', (['"""dcr1a6"""', '(4)', '(30360)'], {}), "('dcr1a6', 4, 30360)\n", (103871, 103891), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103902, 103930), 'archinfo.arch.Register', 'Register', (['"""dcr1a7"""', '(4)', '(30364)'], {}), "('dcr1a7', 4, 30364)\n", (103910, 103930), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103941, 103969), 'archinfo.arch.Register', 'Register', (['"""dcr1a8"""', '(4)', '(30368)'], {}), "('dcr1a8', 4, 30368)\n", (103949, 103969), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((103980, 104008), 'archinfo.arch.Register', 'Register', (['"""dcr1a9"""', '(4)', '(30372)'], {}), "('dcr1a9', 4, 30372)\n", (103988, 104008), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104019, 104047), 'archinfo.arch.Register', 'Register', (['"""dcr1aa"""', '(4)', '(30376)'], {}), "('dcr1aa', 4, 30376)\n", (104027, 104047), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104058, 104086), 'archinfo.arch.Register', 'Register', (['"""dcr1ab"""', '(4)', '(30380)'], {}), "('dcr1ab', 4, 30380)\n", (104066, 104086), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104097, 104125), 'archinfo.arch.Register', 'Register', (['"""dcr1ac"""', '(4)', '(30384)'], {}), "('dcr1ac', 4, 30384)\n", (104105, 104125), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104136, 104164), 'archinfo.arch.Register', 'Register', (['"""dcr1ad"""', '(4)', '(30388)'], {}), "('dcr1ad', 4, 30388)\n", (104144, 104164), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104175, 104203), 'archinfo.arch.Register', 'Register', (['"""dcr1ae"""', '(4)', '(30392)'], {}), "('dcr1ae', 4, 30392)\n", (104183, 104203), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104214, 104242), 'archinfo.arch.Register', 'Register', (['"""dcr1af"""', '(4)', '(30396)'], {}), "('dcr1af', 4, 30396)\n", (104222, 104242), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104253, 104281), 'archinfo.arch.Register', 'Register', (['"""dcr1b0"""', '(4)', '(30400)'], {}), "('dcr1b0', 4, 30400)\n", (104261, 104281), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104292, 104320), 'archinfo.arch.Register', 'Register', (['"""dcr1b1"""', '(4)', '(30404)'], {}), "('dcr1b1', 4, 30404)\n", (104300, 104320), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104331, 104359), 'archinfo.arch.Register', 'Register', (['"""dcr1b2"""', '(4)', '(30408)'], {}), "('dcr1b2', 4, 30408)\n", (104339, 104359), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104370, 104398), 'archinfo.arch.Register', 'Register', (['"""dcr1b3"""', '(4)', '(30412)'], {}), "('dcr1b3', 4, 30412)\n", (104378, 104398), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104409, 104437), 'archinfo.arch.Register', 'Register', (['"""dcr1b4"""', '(4)', '(30416)'], {}), "('dcr1b4', 4, 30416)\n", (104417, 104437), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104448, 104476), 'archinfo.arch.Register', 'Register', (['"""dcr1b5"""', '(4)', '(30420)'], {}), "('dcr1b5', 4, 30420)\n", (104456, 104476), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104487, 104515), 'archinfo.arch.Register', 'Register', (['"""dcr1b6"""', '(4)', '(30424)'], {}), "('dcr1b6', 4, 30424)\n", (104495, 104515), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104526, 104554), 'archinfo.arch.Register', 'Register', (['"""dcr1b7"""', '(4)', '(30428)'], {}), "('dcr1b7', 4, 30428)\n", (104534, 104554), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104565, 104593), 'archinfo.arch.Register', 'Register', (['"""dcr1b8"""', '(4)', '(30432)'], {}), "('dcr1b8', 4, 30432)\n", (104573, 104593), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104604, 104632), 'archinfo.arch.Register', 'Register', (['"""dcr1b9"""', '(4)', '(30436)'], {}), "('dcr1b9', 4, 30436)\n", (104612, 104632), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104643, 104671), 'archinfo.arch.Register', 'Register', (['"""dcr1ba"""', '(4)', '(30440)'], {}), "('dcr1ba', 4, 30440)\n", (104651, 104671), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104682, 104710), 'archinfo.arch.Register', 'Register', (['"""dcr1bb"""', '(4)', '(30444)'], {}), "('dcr1bb', 4, 30444)\n", (104690, 104710), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104721, 104749), 'archinfo.arch.Register', 'Register', (['"""dcr1bc"""', '(4)', '(30448)'], {}), "('dcr1bc', 4, 30448)\n", (104729, 104749), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104760, 104788), 'archinfo.arch.Register', 'Register', (['"""dcr1bd"""', '(4)', '(30452)'], {}), "('dcr1bd', 4, 30452)\n", (104768, 104788), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104799, 104827), 'archinfo.arch.Register', 'Register', (['"""dcr1be"""', '(4)', '(30456)'], {}), "('dcr1be', 4, 30456)\n", (104807, 104827), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104838, 104866), 'archinfo.arch.Register', 'Register', (['"""dcr1bf"""', '(4)', '(30460)'], {}), "('dcr1bf', 4, 30460)\n", (104846, 104866), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104877, 104905), 'archinfo.arch.Register', 'Register', (['"""dcr1c0"""', '(4)', '(30464)'], {}), "('dcr1c0', 4, 30464)\n", (104885, 104905), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104916, 104944), 'archinfo.arch.Register', 'Register', (['"""dcr1c1"""', '(4)', '(30468)'], {}), "('dcr1c1', 4, 30468)\n", (104924, 104944), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104955, 104983), 'archinfo.arch.Register', 'Register', (['"""dcr1c2"""', '(4)', '(30472)'], {}), "('dcr1c2', 4, 30472)\n", (104963, 104983), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((104994, 105022), 'archinfo.arch.Register', 'Register', (['"""dcr1c3"""', '(4)', '(30476)'], {}), "('dcr1c3', 4, 30476)\n", (105002, 105022), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105033, 105061), 'archinfo.arch.Register', 'Register', (['"""dcr1c4"""', '(4)', '(30480)'], {}), "('dcr1c4', 4, 30480)\n", (105041, 105061), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105072, 105100), 'archinfo.arch.Register', 'Register', (['"""dcr1c5"""', '(4)', '(30484)'], {}), "('dcr1c5', 4, 30484)\n", (105080, 105100), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105111, 105139), 'archinfo.arch.Register', 'Register', (['"""dcr1c6"""', '(4)', '(30488)'], {}), "('dcr1c6', 4, 30488)\n", (105119, 105139), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105150, 105178), 'archinfo.arch.Register', 'Register', (['"""dcr1c7"""', '(4)', '(30492)'], {}), "('dcr1c7', 4, 30492)\n", (105158, 105178), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105189, 105217), 'archinfo.arch.Register', 'Register', (['"""dcr1c8"""', '(4)', '(30496)'], {}), "('dcr1c8', 4, 30496)\n", (105197, 105217), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105228, 105256), 'archinfo.arch.Register', 'Register', (['"""dcr1c9"""', '(4)', '(30500)'], {}), "('dcr1c9', 4, 30500)\n", (105236, 105256), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105267, 105295), 'archinfo.arch.Register', 'Register', (['"""dcr1ca"""', '(4)', '(30504)'], {}), "('dcr1ca', 4, 30504)\n", (105275, 105295), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105306, 105334), 'archinfo.arch.Register', 'Register', (['"""dcr1cb"""', '(4)', '(30508)'], {}), "('dcr1cb', 4, 30508)\n", (105314, 105334), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105345, 105373), 'archinfo.arch.Register', 'Register', (['"""dcr1cc"""', '(4)', '(30512)'], {}), "('dcr1cc', 4, 30512)\n", (105353, 105373), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105384, 105412), 'archinfo.arch.Register', 'Register', (['"""dcr1cd"""', '(4)', '(30516)'], {}), "('dcr1cd', 4, 30516)\n", (105392, 105412), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105423, 105451), 'archinfo.arch.Register', 'Register', (['"""dcr1ce"""', '(4)', '(30520)'], {}), "('dcr1ce', 4, 30520)\n", (105431, 105451), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105462, 105490), 'archinfo.arch.Register', 'Register', (['"""dcr1cf"""', '(4)', '(30524)'], {}), "('dcr1cf', 4, 30524)\n", (105470, 105490), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105501, 105529), 'archinfo.arch.Register', 'Register', (['"""dcr1d0"""', '(4)', '(30528)'], {}), "('dcr1d0', 4, 30528)\n", (105509, 105529), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105540, 105568), 'archinfo.arch.Register', 'Register', (['"""dcr1d1"""', '(4)', '(30532)'], {}), "('dcr1d1', 4, 30532)\n", (105548, 105568), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105579, 105607), 'archinfo.arch.Register', 'Register', (['"""dcr1d2"""', '(4)', '(30536)'], {}), "('dcr1d2', 4, 30536)\n", (105587, 105607), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105618, 105646), 'archinfo.arch.Register', 'Register', (['"""dcr1d3"""', '(4)', '(30540)'], {}), "('dcr1d3', 4, 30540)\n", (105626, 105646), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105657, 105685), 'archinfo.arch.Register', 'Register', (['"""dcr1d4"""', '(4)', '(30544)'], {}), "('dcr1d4', 4, 30544)\n", (105665, 105685), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105696, 105724), 'archinfo.arch.Register', 'Register', (['"""dcr1d5"""', '(4)', '(30548)'], {}), "('dcr1d5', 4, 30548)\n", (105704, 105724), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105735, 105763), 'archinfo.arch.Register', 'Register', (['"""dcr1d6"""', '(4)', '(30552)'], {}), "('dcr1d6', 4, 30552)\n", (105743, 105763), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105774, 105802), 'archinfo.arch.Register', 'Register', (['"""dcr1d7"""', '(4)', '(30556)'], {}), "('dcr1d7', 4, 30556)\n", (105782, 105802), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105813, 105841), 'archinfo.arch.Register', 'Register', (['"""dcr1d8"""', '(4)', '(30560)'], {}), "('dcr1d8', 4, 30560)\n", (105821, 105841), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105852, 105880), 'archinfo.arch.Register', 'Register', (['"""dcr1d9"""', '(4)', '(30564)'], {}), "('dcr1d9', 4, 30564)\n", (105860, 105880), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105891, 105919), 'archinfo.arch.Register', 'Register', (['"""dcr1da"""', '(4)', '(30568)'], {}), "('dcr1da', 4, 30568)\n", (105899, 105919), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105930, 105958), 'archinfo.arch.Register', 'Register', (['"""dcr1db"""', '(4)', '(30572)'], {}), "('dcr1db', 4, 30572)\n", (105938, 105958), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((105969, 105997), 'archinfo.arch.Register', 'Register', (['"""dcr1dc"""', '(4)', '(30576)'], {}), "('dcr1dc', 4, 30576)\n", (105977, 105997), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106008, 106036), 'archinfo.arch.Register', 'Register', (['"""dcr1dd"""', '(4)', '(30580)'], {}), "('dcr1dd', 4, 30580)\n", (106016, 106036), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106047, 106075), 'archinfo.arch.Register', 'Register', (['"""dcr1de"""', '(4)', '(30584)'], {}), "('dcr1de', 4, 30584)\n", (106055, 106075), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106086, 106114), 'archinfo.arch.Register', 'Register', (['"""dcr1df"""', '(4)', '(30588)'], {}), "('dcr1df', 4, 30588)\n", (106094, 106114), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106125, 106153), 'archinfo.arch.Register', 'Register', (['"""dcr1e0"""', '(4)', '(30592)'], {}), "('dcr1e0', 4, 30592)\n", (106133, 106153), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106164, 106192), 'archinfo.arch.Register', 'Register', (['"""dcr1e1"""', '(4)', '(30596)'], {}), "('dcr1e1', 4, 30596)\n", (106172, 106192), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106203, 106231), 'archinfo.arch.Register', 'Register', (['"""dcr1e2"""', '(4)', '(30600)'], {}), "('dcr1e2', 4, 30600)\n", (106211, 106231), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106242, 106270), 'archinfo.arch.Register', 'Register', (['"""dcr1e3"""', '(4)', '(30604)'], {}), "('dcr1e3', 4, 30604)\n", (106250, 106270), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106281, 106309), 'archinfo.arch.Register', 'Register', (['"""dcr1e4"""', '(4)', '(30608)'], {}), "('dcr1e4', 4, 30608)\n", (106289, 106309), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106320, 106348), 'archinfo.arch.Register', 'Register', (['"""dcr1e5"""', '(4)', '(30612)'], {}), "('dcr1e5', 4, 30612)\n", (106328, 106348), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106359, 106387), 'archinfo.arch.Register', 'Register', (['"""dcr1e6"""', '(4)', '(30616)'], {}), "('dcr1e6', 4, 30616)\n", (106367, 106387), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106398, 106426), 'archinfo.arch.Register', 'Register', (['"""dcr1e7"""', '(4)', '(30620)'], {}), "('dcr1e7', 4, 30620)\n", (106406, 106426), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106437, 106465), 'archinfo.arch.Register', 'Register', (['"""dcr1e8"""', '(4)', '(30624)'], {}), "('dcr1e8', 4, 30624)\n", (106445, 106465), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106476, 106504), 'archinfo.arch.Register', 'Register', (['"""dcr1e9"""', '(4)', '(30628)'], {}), "('dcr1e9', 4, 30628)\n", (106484, 106504), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106515, 106543), 'archinfo.arch.Register', 'Register', (['"""dcr1ea"""', '(4)', '(30632)'], {}), "('dcr1ea', 4, 30632)\n", (106523, 106543), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106554, 106582), 'archinfo.arch.Register', 'Register', (['"""dcr1eb"""', '(4)', '(30636)'], {}), "('dcr1eb', 4, 30636)\n", (106562, 106582), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106593, 106621), 'archinfo.arch.Register', 'Register', (['"""dcr1ec"""', '(4)', '(30640)'], {}), "('dcr1ec', 4, 30640)\n", (106601, 106621), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106632, 106660), 'archinfo.arch.Register', 'Register', (['"""dcr1ed"""', '(4)', '(30644)'], {}), "('dcr1ed', 4, 30644)\n", (106640, 106660), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106671, 106699), 'archinfo.arch.Register', 'Register', (['"""dcr1ee"""', '(4)', '(30648)'], {}), "('dcr1ee', 4, 30648)\n", (106679, 106699), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106710, 106738), 'archinfo.arch.Register', 'Register', (['"""dcr1ef"""', '(4)', '(30652)'], {}), "('dcr1ef', 4, 30652)\n", (106718, 106738), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106749, 106777), 'archinfo.arch.Register', 'Register', (['"""dcr1f0"""', '(4)', '(30656)'], {}), "('dcr1f0', 4, 30656)\n", (106757, 106777), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106788, 106816), 'archinfo.arch.Register', 'Register', (['"""dcr1f1"""', '(4)', '(30660)'], {}), "('dcr1f1', 4, 30660)\n", (106796, 106816), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106827, 106855), 'archinfo.arch.Register', 'Register', (['"""dcr1f2"""', '(4)', '(30664)'], {}), "('dcr1f2', 4, 30664)\n", (106835, 106855), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106866, 106894), 'archinfo.arch.Register', 'Register', (['"""dcr1f3"""', '(4)', '(30668)'], {}), "('dcr1f3', 4, 30668)\n", (106874, 106894), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106905, 106933), 'archinfo.arch.Register', 'Register', (['"""dcr1f4"""', '(4)', '(30672)'], {}), "('dcr1f4', 4, 30672)\n", (106913, 106933), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106944, 106972), 'archinfo.arch.Register', 'Register', (['"""dcr1f5"""', '(4)', '(30676)'], {}), "('dcr1f5', 4, 30676)\n", (106952, 106972), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((106983, 107011), 'archinfo.arch.Register', 'Register', (['"""dcr1f6"""', '(4)', '(30680)'], {}), "('dcr1f6', 4, 30680)\n", (106991, 107011), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107022, 107050), 'archinfo.arch.Register', 'Register', (['"""dcr1f7"""', '(4)', '(30684)'], {}), "('dcr1f7', 4, 30684)\n", (107030, 107050), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107061, 107089), 'archinfo.arch.Register', 'Register', (['"""dcr1f8"""', '(4)', '(30688)'], {}), "('dcr1f8', 4, 30688)\n", (107069, 107089), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107100, 107128), 'archinfo.arch.Register', 'Register', (['"""dcr1f9"""', '(4)', '(30692)'], {}), "('dcr1f9', 4, 30692)\n", (107108, 107128), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107139, 107167), 'archinfo.arch.Register', 'Register', (['"""dcr1fa"""', '(4)', '(30696)'], {}), "('dcr1fa', 4, 30696)\n", (107147, 107167), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107178, 107206), 'archinfo.arch.Register', 'Register', (['"""dcr1fb"""', '(4)', '(30700)'], {}), "('dcr1fb', 4, 30700)\n", (107186, 107206), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107217, 107245), 'archinfo.arch.Register', 'Register', (['"""dcr1fc"""', '(4)', '(30704)'], {}), "('dcr1fc', 4, 30704)\n", (107225, 107245), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107256, 107284), 'archinfo.arch.Register', 'Register', (['"""dcr1fd"""', '(4)', '(30708)'], {}), "('dcr1fd', 4, 30708)\n", (107264, 107284), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107295, 107323), 'archinfo.arch.Register', 'Register', (['"""dcr1fe"""', '(4)', '(30712)'], {}), "('dcr1fe', 4, 30712)\n", (107303, 107323), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107334, 107362), 'archinfo.arch.Register', 'Register', (['"""dcr1ff"""', '(4)', '(30716)'], {}), "('dcr1ff', 4, 30716)\n", (107342, 107362), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107373, 107401), 'archinfo.arch.Register', 'Register', (['"""dcr200"""', '(4)', '(30720)'], {}), "('dcr200', 4, 30720)\n", (107381, 107401), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107412, 107440), 'archinfo.arch.Register', 'Register', (['"""dcr201"""', '(4)', '(30724)'], {}), "('dcr201', 4, 30724)\n", (107420, 107440), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107451, 107479), 'archinfo.arch.Register', 'Register', (['"""dcr202"""', '(4)', '(30728)'], {}), "('dcr202', 4, 30728)\n", (107459, 107479), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107490, 107518), 'archinfo.arch.Register', 'Register', (['"""dcr203"""', '(4)', '(30732)'], {}), "('dcr203', 4, 30732)\n", (107498, 107518), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107529, 107557), 'archinfo.arch.Register', 'Register', (['"""dcr204"""', '(4)', '(30736)'], {}), "('dcr204', 4, 30736)\n", (107537, 107557), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107568, 107596), 'archinfo.arch.Register', 'Register', (['"""dcr205"""', '(4)', '(30740)'], {}), "('dcr205', 4, 30740)\n", (107576, 107596), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107607, 107635), 'archinfo.arch.Register', 'Register', (['"""dcr206"""', '(4)', '(30744)'], {}), "('dcr206', 4, 30744)\n", (107615, 107635), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107646, 107674), 'archinfo.arch.Register', 'Register', (['"""dcr207"""', '(4)', '(30748)'], {}), "('dcr207', 4, 30748)\n", (107654, 107674), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107685, 107713), 'archinfo.arch.Register', 'Register', (['"""dcr208"""', '(4)', '(30752)'], {}), "('dcr208', 4, 30752)\n", (107693, 107713), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107724, 107752), 'archinfo.arch.Register', 'Register', (['"""dcr209"""', '(4)', '(30756)'], {}), "('dcr209', 4, 30756)\n", (107732, 107752), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107763, 107791), 'archinfo.arch.Register', 'Register', (['"""dcr20a"""', '(4)', '(30760)'], {}), "('dcr20a', 4, 30760)\n", (107771, 107791), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107802, 107830), 'archinfo.arch.Register', 'Register', (['"""dcr20b"""', '(4)', '(30764)'], {}), "('dcr20b', 4, 30764)\n", (107810, 107830), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107841, 107869), 'archinfo.arch.Register', 'Register', (['"""dcr20c"""', '(4)', '(30768)'], {}), "('dcr20c', 4, 30768)\n", (107849, 107869), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107880, 107908), 'archinfo.arch.Register', 'Register', (['"""dcr20d"""', '(4)', '(30772)'], {}), "('dcr20d', 4, 30772)\n", (107888, 107908), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107919, 107947), 'archinfo.arch.Register', 'Register', (['"""dcr20e"""', '(4)', '(30776)'], {}), "('dcr20e', 4, 30776)\n", (107927, 107947), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107958, 107986), 'archinfo.arch.Register', 'Register', (['"""dcr20f"""', '(4)', '(30780)'], {}), "('dcr20f', 4, 30780)\n", (107966, 107986), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((107997, 108025), 'archinfo.arch.Register', 'Register', (['"""dcr210"""', '(4)', '(30784)'], {}), "('dcr210', 4, 30784)\n", (108005, 108025), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108036, 108064), 'archinfo.arch.Register', 'Register', (['"""dcr211"""', '(4)', '(30788)'], {}), "('dcr211', 4, 30788)\n", (108044, 108064), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108075, 108103), 'archinfo.arch.Register', 'Register', (['"""dcr212"""', '(4)', '(30792)'], {}), "('dcr212', 4, 30792)\n", (108083, 108103), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108114, 108142), 'archinfo.arch.Register', 'Register', (['"""dcr213"""', '(4)', '(30796)'], {}), "('dcr213', 4, 30796)\n", (108122, 108142), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108153, 108181), 'archinfo.arch.Register', 'Register', (['"""dcr214"""', '(4)', '(30800)'], {}), "('dcr214', 4, 30800)\n", (108161, 108181), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108192, 108220), 'archinfo.arch.Register', 'Register', (['"""dcr215"""', '(4)', '(30804)'], {}), "('dcr215', 4, 30804)\n", (108200, 108220), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108231, 108259), 'archinfo.arch.Register', 'Register', (['"""dcr216"""', '(4)', '(30808)'], {}), "('dcr216', 4, 30808)\n", (108239, 108259), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108270, 108298), 'archinfo.arch.Register', 'Register', (['"""dcr217"""', '(4)', '(30812)'], {}), "('dcr217', 4, 30812)\n", (108278, 108298), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108309, 108337), 'archinfo.arch.Register', 'Register', (['"""dcr218"""', '(4)', '(30816)'], {}), "('dcr218', 4, 30816)\n", (108317, 108337), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108348, 108376), 'archinfo.arch.Register', 'Register', (['"""dcr219"""', '(4)', '(30820)'], {}), "('dcr219', 4, 30820)\n", (108356, 108376), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108387, 108415), 'archinfo.arch.Register', 'Register', (['"""dcr21a"""', '(4)', '(30824)'], {}), "('dcr21a', 4, 30824)\n", (108395, 108415), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108426, 108454), 'archinfo.arch.Register', 'Register', (['"""dcr21b"""', '(4)', '(30828)'], {}), "('dcr21b', 4, 30828)\n", (108434, 108454), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108465, 108493), 'archinfo.arch.Register', 'Register', (['"""dcr21c"""', '(4)', '(30832)'], {}), "('dcr21c', 4, 30832)\n", (108473, 108493), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108504, 108532), 'archinfo.arch.Register', 'Register', (['"""dcr21d"""', '(4)', '(30836)'], {}), "('dcr21d', 4, 30836)\n", (108512, 108532), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108543, 108571), 'archinfo.arch.Register', 'Register', (['"""dcr21e"""', '(4)', '(30840)'], {}), "('dcr21e', 4, 30840)\n", (108551, 108571), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108582, 108610), 'archinfo.arch.Register', 'Register', (['"""dcr21f"""', '(4)', '(30844)'], {}), "('dcr21f', 4, 30844)\n", (108590, 108610), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108621, 108649), 'archinfo.arch.Register', 'Register', (['"""dcr220"""', '(4)', '(30848)'], {}), "('dcr220', 4, 30848)\n", (108629, 108649), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108660, 108688), 'archinfo.arch.Register', 'Register', (['"""dcr221"""', '(4)', '(30852)'], {}), "('dcr221', 4, 30852)\n", (108668, 108688), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108699, 108727), 'archinfo.arch.Register', 'Register', (['"""dcr222"""', '(4)', '(30856)'], {}), "('dcr222', 4, 30856)\n", (108707, 108727), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108738, 108766), 'archinfo.arch.Register', 'Register', (['"""dcr223"""', '(4)', '(30860)'], {}), "('dcr223', 4, 30860)\n", (108746, 108766), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108777, 108805), 'archinfo.arch.Register', 'Register', (['"""dcr224"""', '(4)', '(30864)'], {}), "('dcr224', 4, 30864)\n", (108785, 108805), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108816, 108844), 'archinfo.arch.Register', 'Register', (['"""dcr225"""', '(4)', '(30868)'], {}), "('dcr225', 4, 30868)\n", (108824, 108844), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108855, 108883), 'archinfo.arch.Register', 'Register', (['"""dcr226"""', '(4)', '(30872)'], {}), "('dcr226', 4, 30872)\n", (108863, 108883), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108894, 108922), 'archinfo.arch.Register', 'Register', (['"""dcr227"""', '(4)', '(30876)'], {}), "('dcr227', 4, 30876)\n", (108902, 108922), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108933, 108961), 'archinfo.arch.Register', 'Register', (['"""dcr228"""', '(4)', '(30880)'], {}), "('dcr228', 4, 30880)\n", (108941, 108961), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((108972, 109000), 'archinfo.arch.Register', 'Register', (['"""dcr229"""', '(4)', '(30884)'], {}), "('dcr229', 4, 30884)\n", (108980, 109000), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109011, 109039), 'archinfo.arch.Register', 'Register', (['"""dcr22a"""', '(4)', '(30888)'], {}), "('dcr22a', 4, 30888)\n", (109019, 109039), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109050, 109078), 'archinfo.arch.Register', 'Register', (['"""dcr22b"""', '(4)', '(30892)'], {}), "('dcr22b', 4, 30892)\n", (109058, 109078), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109089, 109117), 'archinfo.arch.Register', 'Register', (['"""dcr22c"""', '(4)', '(30896)'], {}), "('dcr22c', 4, 30896)\n", (109097, 109117), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109128, 109156), 'archinfo.arch.Register', 'Register', (['"""dcr22d"""', '(4)', '(30900)'], {}), "('dcr22d', 4, 30900)\n", (109136, 109156), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109167, 109195), 'archinfo.arch.Register', 'Register', (['"""dcr22e"""', '(4)', '(30904)'], {}), "('dcr22e', 4, 30904)\n", (109175, 109195), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109206, 109234), 'archinfo.arch.Register', 'Register', (['"""dcr22f"""', '(4)', '(30908)'], {}), "('dcr22f', 4, 30908)\n", (109214, 109234), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109245, 109273), 'archinfo.arch.Register', 'Register', (['"""dcr230"""', '(4)', '(30912)'], {}), "('dcr230', 4, 30912)\n", (109253, 109273), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109284, 109312), 'archinfo.arch.Register', 'Register', (['"""dcr231"""', '(4)', '(30916)'], {}), "('dcr231', 4, 30916)\n", (109292, 109312), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109323, 109351), 'archinfo.arch.Register', 'Register', (['"""dcr232"""', '(4)', '(30920)'], {}), "('dcr232', 4, 30920)\n", (109331, 109351), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109362, 109390), 'archinfo.arch.Register', 'Register', (['"""dcr233"""', '(4)', '(30924)'], {}), "('dcr233', 4, 30924)\n", (109370, 109390), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109401, 109429), 'archinfo.arch.Register', 'Register', (['"""dcr234"""', '(4)', '(30928)'], {}), "('dcr234', 4, 30928)\n", (109409, 109429), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109440, 109468), 'archinfo.arch.Register', 'Register', (['"""dcr235"""', '(4)', '(30932)'], {}), "('dcr235', 4, 30932)\n", (109448, 109468), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109479, 109507), 'archinfo.arch.Register', 'Register', (['"""dcr236"""', '(4)', '(30936)'], {}), "('dcr236', 4, 30936)\n", (109487, 109507), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109518, 109546), 'archinfo.arch.Register', 'Register', (['"""dcr237"""', '(4)', '(30940)'], {}), "('dcr237', 4, 30940)\n", (109526, 109546), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109557, 109585), 'archinfo.arch.Register', 'Register', (['"""dcr238"""', '(4)', '(30944)'], {}), "('dcr238', 4, 30944)\n", (109565, 109585), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109596, 109624), 'archinfo.arch.Register', 'Register', (['"""dcr239"""', '(4)', '(30948)'], {}), "('dcr239', 4, 30948)\n", (109604, 109624), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109635, 109663), 'archinfo.arch.Register', 'Register', (['"""dcr23a"""', '(4)', '(30952)'], {}), "('dcr23a', 4, 30952)\n", (109643, 109663), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109674, 109702), 'archinfo.arch.Register', 'Register', (['"""dcr23b"""', '(4)', '(30956)'], {}), "('dcr23b', 4, 30956)\n", (109682, 109702), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109713, 109741), 'archinfo.arch.Register', 'Register', (['"""dcr23c"""', '(4)', '(30960)'], {}), "('dcr23c', 4, 30960)\n", (109721, 109741), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109752, 109780), 'archinfo.arch.Register', 'Register', (['"""dcr23d"""', '(4)', '(30964)'], {}), "('dcr23d', 4, 30964)\n", (109760, 109780), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109791, 109819), 'archinfo.arch.Register', 'Register', (['"""dcr23e"""', '(4)', '(30968)'], {}), "('dcr23e', 4, 30968)\n", (109799, 109819), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109830, 109858), 'archinfo.arch.Register', 'Register', (['"""dcr23f"""', '(4)', '(30972)'], {}), "('dcr23f', 4, 30972)\n", (109838, 109858), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109869, 109897), 'archinfo.arch.Register', 'Register', (['"""dcr240"""', '(4)', '(30976)'], {}), "('dcr240', 4, 30976)\n", (109877, 109897), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109908, 109936), 'archinfo.arch.Register', 'Register', (['"""dcr241"""', '(4)', '(30980)'], {}), "('dcr241', 4, 30980)\n", (109916, 109936), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109947, 109975), 'archinfo.arch.Register', 'Register', (['"""dcr242"""', '(4)', '(30984)'], {}), "('dcr242', 4, 30984)\n", (109955, 109975), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((109986, 110014), 'archinfo.arch.Register', 'Register', (['"""dcr243"""', '(4)', '(30988)'], {}), "('dcr243', 4, 30988)\n", (109994, 110014), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110025, 110053), 'archinfo.arch.Register', 'Register', (['"""dcr244"""', '(4)', '(30992)'], {}), "('dcr244', 4, 30992)\n", (110033, 110053), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110064, 110092), 'archinfo.arch.Register', 'Register', (['"""dcr245"""', '(4)', '(30996)'], {}), "('dcr245', 4, 30996)\n", (110072, 110092), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110103, 110131), 'archinfo.arch.Register', 'Register', (['"""dcr246"""', '(4)', '(31000)'], {}), "('dcr246', 4, 31000)\n", (110111, 110131), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110142, 110170), 'archinfo.arch.Register', 'Register', (['"""dcr247"""', '(4)', '(31004)'], {}), "('dcr247', 4, 31004)\n", (110150, 110170), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110181, 110209), 'archinfo.arch.Register', 'Register', (['"""dcr248"""', '(4)', '(31008)'], {}), "('dcr248', 4, 31008)\n", (110189, 110209), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110220, 110248), 'archinfo.arch.Register', 'Register', (['"""dcr249"""', '(4)', '(31012)'], {}), "('dcr249', 4, 31012)\n", (110228, 110248), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110259, 110287), 'archinfo.arch.Register', 'Register', (['"""dcr24a"""', '(4)', '(31016)'], {}), "('dcr24a', 4, 31016)\n", (110267, 110287), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110298, 110326), 'archinfo.arch.Register', 'Register', (['"""dcr24b"""', '(4)', '(31020)'], {}), "('dcr24b', 4, 31020)\n", (110306, 110326), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110337, 110365), 'archinfo.arch.Register', 'Register', (['"""dcr24c"""', '(4)', '(31024)'], {}), "('dcr24c', 4, 31024)\n", (110345, 110365), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110376, 110404), 'archinfo.arch.Register', 'Register', (['"""dcr24d"""', '(4)', '(31028)'], {}), "('dcr24d', 4, 31028)\n", (110384, 110404), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110415, 110443), 'archinfo.arch.Register', 'Register', (['"""dcr24e"""', '(4)', '(31032)'], {}), "('dcr24e', 4, 31032)\n", (110423, 110443), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110454, 110482), 'archinfo.arch.Register', 'Register', (['"""dcr24f"""', '(4)', '(31036)'], {}), "('dcr24f', 4, 31036)\n", (110462, 110482), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110493, 110521), 'archinfo.arch.Register', 'Register', (['"""dcr250"""', '(4)', '(31040)'], {}), "('dcr250', 4, 31040)\n", (110501, 110521), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110532, 110560), 'archinfo.arch.Register', 'Register', (['"""dcr251"""', '(4)', '(31044)'], {}), "('dcr251', 4, 31044)\n", (110540, 110560), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110571, 110599), 'archinfo.arch.Register', 'Register', (['"""dcr252"""', '(4)', '(31048)'], {}), "('dcr252', 4, 31048)\n", (110579, 110599), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110610, 110638), 'archinfo.arch.Register', 'Register', (['"""dcr253"""', '(4)', '(31052)'], {}), "('dcr253', 4, 31052)\n", (110618, 110638), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110649, 110677), 'archinfo.arch.Register', 'Register', (['"""dcr254"""', '(4)', '(31056)'], {}), "('dcr254', 4, 31056)\n", (110657, 110677), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110688, 110716), 'archinfo.arch.Register', 'Register', (['"""dcr255"""', '(4)', '(31060)'], {}), "('dcr255', 4, 31060)\n", (110696, 110716), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110727, 110755), 'archinfo.arch.Register', 'Register', (['"""dcr256"""', '(4)', '(31064)'], {}), "('dcr256', 4, 31064)\n", (110735, 110755), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110766, 110794), 'archinfo.arch.Register', 'Register', (['"""dcr257"""', '(4)', '(31068)'], {}), "('dcr257', 4, 31068)\n", (110774, 110794), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110805, 110833), 'archinfo.arch.Register', 'Register', (['"""dcr258"""', '(4)', '(31072)'], {}), "('dcr258', 4, 31072)\n", (110813, 110833), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110844, 110872), 'archinfo.arch.Register', 'Register', (['"""dcr259"""', '(4)', '(31076)'], {}), "('dcr259', 4, 31076)\n", (110852, 110872), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110883, 110911), 'archinfo.arch.Register', 'Register', (['"""dcr25a"""', '(4)', '(31080)'], {}), "('dcr25a', 4, 31080)\n", (110891, 110911), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110922, 110950), 'archinfo.arch.Register', 'Register', (['"""dcr25b"""', '(4)', '(31084)'], {}), "('dcr25b', 4, 31084)\n", (110930, 110950), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((110961, 110989), 'archinfo.arch.Register', 'Register', (['"""dcr25c"""', '(4)', '(31088)'], {}), "('dcr25c', 4, 31088)\n", (110969, 110989), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111000, 111028), 'archinfo.arch.Register', 'Register', (['"""dcr25d"""', '(4)', '(31092)'], {}), "('dcr25d', 4, 31092)\n", (111008, 111028), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111039, 111067), 'archinfo.arch.Register', 'Register', (['"""dcr25e"""', '(4)', '(31096)'], {}), "('dcr25e', 4, 31096)\n", (111047, 111067), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111078, 111106), 'archinfo.arch.Register', 'Register', (['"""dcr25f"""', '(4)', '(31100)'], {}), "('dcr25f', 4, 31100)\n", (111086, 111106), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111117, 111145), 'archinfo.arch.Register', 'Register', (['"""dcr260"""', '(4)', '(31104)'], {}), "('dcr260', 4, 31104)\n", (111125, 111145), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111156, 111184), 'archinfo.arch.Register', 'Register', (['"""dcr261"""', '(4)', '(31108)'], {}), "('dcr261', 4, 31108)\n", (111164, 111184), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111195, 111223), 'archinfo.arch.Register', 'Register', (['"""dcr262"""', '(4)', '(31112)'], {}), "('dcr262', 4, 31112)\n", (111203, 111223), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111234, 111262), 'archinfo.arch.Register', 'Register', (['"""dcr263"""', '(4)', '(31116)'], {}), "('dcr263', 4, 31116)\n", (111242, 111262), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111273, 111301), 'archinfo.arch.Register', 'Register', (['"""dcr264"""', '(4)', '(31120)'], {}), "('dcr264', 4, 31120)\n", (111281, 111301), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111312, 111340), 'archinfo.arch.Register', 'Register', (['"""dcr265"""', '(4)', '(31124)'], {}), "('dcr265', 4, 31124)\n", (111320, 111340), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111351, 111379), 'archinfo.arch.Register', 'Register', (['"""dcr266"""', '(4)', '(31128)'], {}), "('dcr266', 4, 31128)\n", (111359, 111379), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111390, 111418), 'archinfo.arch.Register', 'Register', (['"""dcr267"""', '(4)', '(31132)'], {}), "('dcr267', 4, 31132)\n", (111398, 111418), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111429, 111457), 'archinfo.arch.Register', 'Register', (['"""dcr268"""', '(4)', '(31136)'], {}), "('dcr268', 4, 31136)\n", (111437, 111457), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111468, 111496), 'archinfo.arch.Register', 'Register', (['"""dcr269"""', '(4)', '(31140)'], {}), "('dcr269', 4, 31140)\n", (111476, 111496), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111507, 111535), 'archinfo.arch.Register', 'Register', (['"""dcr26a"""', '(4)', '(31144)'], {}), "('dcr26a', 4, 31144)\n", (111515, 111535), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111546, 111574), 'archinfo.arch.Register', 'Register', (['"""dcr26b"""', '(4)', '(31148)'], {}), "('dcr26b', 4, 31148)\n", (111554, 111574), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111585, 111613), 'archinfo.arch.Register', 'Register', (['"""dcr26c"""', '(4)', '(31152)'], {}), "('dcr26c', 4, 31152)\n", (111593, 111613), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111624, 111652), 'archinfo.arch.Register', 'Register', (['"""dcr26d"""', '(4)', '(31156)'], {}), "('dcr26d', 4, 31156)\n", (111632, 111652), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111663, 111691), 'archinfo.arch.Register', 'Register', (['"""dcr26e"""', '(4)', '(31160)'], {}), "('dcr26e', 4, 31160)\n", (111671, 111691), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111702, 111730), 'archinfo.arch.Register', 'Register', (['"""dcr26f"""', '(4)', '(31164)'], {}), "('dcr26f', 4, 31164)\n", (111710, 111730), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111741, 111769), 'archinfo.arch.Register', 'Register', (['"""dcr270"""', '(4)', '(31168)'], {}), "('dcr270', 4, 31168)\n", (111749, 111769), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111780, 111808), 'archinfo.arch.Register', 'Register', (['"""dcr271"""', '(4)', '(31172)'], {}), "('dcr271', 4, 31172)\n", (111788, 111808), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111819, 111847), 'archinfo.arch.Register', 'Register', (['"""dcr272"""', '(4)', '(31176)'], {}), "('dcr272', 4, 31176)\n", (111827, 111847), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111858, 111886), 'archinfo.arch.Register', 'Register', (['"""dcr273"""', '(4)', '(31180)'], {}), "('dcr273', 4, 31180)\n", (111866, 111886), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111897, 111925), 'archinfo.arch.Register', 'Register', (['"""dcr274"""', '(4)', '(31184)'], {}), "('dcr274', 4, 31184)\n", (111905, 111925), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111936, 111964), 'archinfo.arch.Register', 'Register', (['"""dcr275"""', '(4)', '(31188)'], {}), "('dcr275', 4, 31188)\n", (111944, 111964), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((111975, 112003), 'archinfo.arch.Register', 'Register', (['"""dcr276"""', '(4)', '(31192)'], {}), "('dcr276', 4, 31192)\n", (111983, 112003), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112014, 112042), 'archinfo.arch.Register', 'Register', (['"""dcr277"""', '(4)', '(31196)'], {}), "('dcr277', 4, 31196)\n", (112022, 112042), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112053, 112081), 'archinfo.arch.Register', 'Register', (['"""dcr278"""', '(4)', '(31200)'], {}), "('dcr278', 4, 31200)\n", (112061, 112081), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112092, 112120), 'archinfo.arch.Register', 'Register', (['"""dcr279"""', '(4)', '(31204)'], {}), "('dcr279', 4, 31204)\n", (112100, 112120), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112131, 112159), 'archinfo.arch.Register', 'Register', (['"""dcr27a"""', '(4)', '(31208)'], {}), "('dcr27a', 4, 31208)\n", (112139, 112159), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112170, 112198), 'archinfo.arch.Register', 'Register', (['"""dcr27b"""', '(4)', '(31212)'], {}), "('dcr27b', 4, 31212)\n", (112178, 112198), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112209, 112237), 'archinfo.arch.Register', 'Register', (['"""dcr27c"""', '(4)', '(31216)'], {}), "('dcr27c', 4, 31216)\n", (112217, 112237), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112248, 112276), 'archinfo.arch.Register', 'Register', (['"""dcr27d"""', '(4)', '(31220)'], {}), "('dcr27d', 4, 31220)\n", (112256, 112276), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112287, 112315), 'archinfo.arch.Register', 'Register', (['"""dcr27e"""', '(4)', '(31224)'], {}), "('dcr27e', 4, 31224)\n", (112295, 112315), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112326, 112354), 'archinfo.arch.Register', 'Register', (['"""dcr27f"""', '(4)', '(31228)'], {}), "('dcr27f', 4, 31228)\n", (112334, 112354), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112365, 112393), 'archinfo.arch.Register', 'Register', (['"""dcr280"""', '(4)', '(31232)'], {}), "('dcr280', 4, 31232)\n", (112373, 112393), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112404, 112432), 'archinfo.arch.Register', 'Register', (['"""dcr281"""', '(4)', '(31236)'], {}), "('dcr281', 4, 31236)\n", (112412, 112432), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112443, 112471), 'archinfo.arch.Register', 'Register', (['"""dcr282"""', '(4)', '(31240)'], {}), "('dcr282', 4, 31240)\n", (112451, 112471), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112482, 112510), 'archinfo.arch.Register', 'Register', (['"""dcr283"""', '(4)', '(31244)'], {}), "('dcr283', 4, 31244)\n", (112490, 112510), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112521, 112549), 'archinfo.arch.Register', 'Register', (['"""dcr284"""', '(4)', '(31248)'], {}), "('dcr284', 4, 31248)\n", (112529, 112549), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112560, 112588), 'archinfo.arch.Register', 'Register', (['"""dcr285"""', '(4)', '(31252)'], {}), "('dcr285', 4, 31252)\n", (112568, 112588), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112599, 112627), 'archinfo.arch.Register', 'Register', (['"""dcr286"""', '(4)', '(31256)'], {}), "('dcr286', 4, 31256)\n", (112607, 112627), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112638, 112666), 'archinfo.arch.Register', 'Register', (['"""dcr287"""', '(4)', '(31260)'], {}), "('dcr287', 4, 31260)\n", (112646, 112666), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112677, 112705), 'archinfo.arch.Register', 'Register', (['"""dcr288"""', '(4)', '(31264)'], {}), "('dcr288', 4, 31264)\n", (112685, 112705), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112716, 112744), 'archinfo.arch.Register', 'Register', (['"""dcr289"""', '(4)', '(31268)'], {}), "('dcr289', 4, 31268)\n", (112724, 112744), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112755, 112783), 'archinfo.arch.Register', 'Register', (['"""dcr28a"""', '(4)', '(31272)'], {}), "('dcr28a', 4, 31272)\n", (112763, 112783), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112794, 112822), 'archinfo.arch.Register', 'Register', (['"""dcr28b"""', '(4)', '(31276)'], {}), "('dcr28b', 4, 31276)\n", (112802, 112822), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112833, 112861), 'archinfo.arch.Register', 'Register', (['"""dcr28c"""', '(4)', '(31280)'], {}), "('dcr28c', 4, 31280)\n", (112841, 112861), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112872, 112900), 'archinfo.arch.Register', 'Register', (['"""dcr28d"""', '(4)', '(31284)'], {}), "('dcr28d', 4, 31284)\n", (112880, 112900), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112911, 112939), 'archinfo.arch.Register', 'Register', (['"""dcr28e"""', '(4)', '(31288)'], {}), "('dcr28e', 4, 31288)\n", (112919, 112939), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112950, 112978), 'archinfo.arch.Register', 'Register', (['"""dcr28f"""', '(4)', '(31292)'], {}), "('dcr28f', 4, 31292)\n", (112958, 112978), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((112989, 113017), 'archinfo.arch.Register', 'Register', (['"""dcr290"""', '(4)', '(31296)'], {}), "('dcr290', 4, 31296)\n", (112997, 113017), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113028, 113056), 'archinfo.arch.Register', 'Register', (['"""dcr291"""', '(4)', '(31300)'], {}), "('dcr291', 4, 31300)\n", (113036, 113056), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113067, 113095), 'archinfo.arch.Register', 'Register', (['"""dcr292"""', '(4)', '(31304)'], {}), "('dcr292', 4, 31304)\n", (113075, 113095), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113106, 113134), 'archinfo.arch.Register', 'Register', (['"""dcr293"""', '(4)', '(31308)'], {}), "('dcr293', 4, 31308)\n", (113114, 113134), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113145, 113173), 'archinfo.arch.Register', 'Register', (['"""dcr294"""', '(4)', '(31312)'], {}), "('dcr294', 4, 31312)\n", (113153, 113173), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113184, 113212), 'archinfo.arch.Register', 'Register', (['"""dcr295"""', '(4)', '(31316)'], {}), "('dcr295', 4, 31316)\n", (113192, 113212), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113223, 113251), 'archinfo.arch.Register', 'Register', (['"""dcr296"""', '(4)', '(31320)'], {}), "('dcr296', 4, 31320)\n", (113231, 113251), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113262, 113290), 'archinfo.arch.Register', 'Register', (['"""dcr297"""', '(4)', '(31324)'], {}), "('dcr297', 4, 31324)\n", (113270, 113290), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113301, 113329), 'archinfo.arch.Register', 'Register', (['"""dcr298"""', '(4)', '(31328)'], {}), "('dcr298', 4, 31328)\n", (113309, 113329), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113340, 113368), 'archinfo.arch.Register', 'Register', (['"""dcr299"""', '(4)', '(31332)'], {}), "('dcr299', 4, 31332)\n", (113348, 113368), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113379, 113407), 'archinfo.arch.Register', 'Register', (['"""dcr29a"""', '(4)', '(31336)'], {}), "('dcr29a', 4, 31336)\n", (113387, 113407), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113418, 113446), 'archinfo.arch.Register', 'Register', (['"""dcr29b"""', '(4)', '(31340)'], {}), "('dcr29b', 4, 31340)\n", (113426, 113446), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113457, 113485), 'archinfo.arch.Register', 'Register', (['"""dcr29c"""', '(4)', '(31344)'], {}), "('dcr29c', 4, 31344)\n", (113465, 113485), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113496, 113524), 'archinfo.arch.Register', 'Register', (['"""dcr29d"""', '(4)', '(31348)'], {}), "('dcr29d', 4, 31348)\n", (113504, 113524), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113535, 113563), 'archinfo.arch.Register', 'Register', (['"""dcr29e"""', '(4)', '(31352)'], {}), "('dcr29e', 4, 31352)\n", (113543, 113563), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113574, 113602), 'archinfo.arch.Register', 'Register', (['"""dcr29f"""', '(4)', '(31356)'], {}), "('dcr29f', 4, 31356)\n", (113582, 113602), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113613, 113641), 'archinfo.arch.Register', 'Register', (['"""dcr2a0"""', '(4)', '(31360)'], {}), "('dcr2a0', 4, 31360)\n", (113621, 113641), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113652, 113680), 'archinfo.arch.Register', 'Register', (['"""dcr2a1"""', '(4)', '(31364)'], {}), "('dcr2a1', 4, 31364)\n", (113660, 113680), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113691, 113719), 'archinfo.arch.Register', 'Register', (['"""dcr2a2"""', '(4)', '(31368)'], {}), "('dcr2a2', 4, 31368)\n", (113699, 113719), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113730, 113758), 'archinfo.arch.Register', 'Register', (['"""dcr2a3"""', '(4)', '(31372)'], {}), "('dcr2a3', 4, 31372)\n", (113738, 113758), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113769, 113797), 'archinfo.arch.Register', 'Register', (['"""dcr2a4"""', '(4)', '(31376)'], {}), "('dcr2a4', 4, 31376)\n", (113777, 113797), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113808, 113836), 'archinfo.arch.Register', 'Register', (['"""dcr2a5"""', '(4)', '(31380)'], {}), "('dcr2a5', 4, 31380)\n", (113816, 113836), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113847, 113875), 'archinfo.arch.Register', 'Register', (['"""dcr2a6"""', '(4)', '(31384)'], {}), "('dcr2a6', 4, 31384)\n", (113855, 113875), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113886, 113914), 'archinfo.arch.Register', 'Register', (['"""dcr2a7"""', '(4)', '(31388)'], {}), "('dcr2a7', 4, 31388)\n", (113894, 113914), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113925, 113953), 'archinfo.arch.Register', 'Register', (['"""dcr2a8"""', '(4)', '(31392)'], {}), "('dcr2a8', 4, 31392)\n", (113933, 113953), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((113964, 113992), 'archinfo.arch.Register', 'Register', (['"""dcr2a9"""', '(4)', '(31396)'], {}), "('dcr2a9', 4, 31396)\n", (113972, 113992), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114003, 114031), 'archinfo.arch.Register', 'Register', (['"""dcr2aa"""', '(4)', '(31400)'], {}), "('dcr2aa', 4, 31400)\n", (114011, 114031), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114042, 114070), 'archinfo.arch.Register', 'Register', (['"""dcr2ab"""', '(4)', '(31404)'], {}), "('dcr2ab', 4, 31404)\n", (114050, 114070), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114081, 114109), 'archinfo.arch.Register', 'Register', (['"""dcr2ac"""', '(4)', '(31408)'], {}), "('dcr2ac', 4, 31408)\n", (114089, 114109), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114120, 114148), 'archinfo.arch.Register', 'Register', (['"""dcr2ad"""', '(4)', '(31412)'], {}), "('dcr2ad', 4, 31412)\n", (114128, 114148), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114159, 114187), 'archinfo.arch.Register', 'Register', (['"""dcr2ae"""', '(4)', '(31416)'], {}), "('dcr2ae', 4, 31416)\n", (114167, 114187), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114198, 114226), 'archinfo.arch.Register', 'Register', (['"""dcr2af"""', '(4)', '(31420)'], {}), "('dcr2af', 4, 31420)\n", (114206, 114226), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114237, 114265), 'archinfo.arch.Register', 'Register', (['"""dcr2b0"""', '(4)', '(31424)'], {}), "('dcr2b0', 4, 31424)\n", (114245, 114265), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114276, 114304), 'archinfo.arch.Register', 'Register', (['"""dcr2b1"""', '(4)', '(31428)'], {}), "('dcr2b1', 4, 31428)\n", (114284, 114304), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114315, 114343), 'archinfo.arch.Register', 'Register', (['"""dcr2b2"""', '(4)', '(31432)'], {}), "('dcr2b2', 4, 31432)\n", (114323, 114343), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114354, 114382), 'archinfo.arch.Register', 'Register', (['"""dcr2b3"""', '(4)', '(31436)'], {}), "('dcr2b3', 4, 31436)\n", (114362, 114382), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114393, 114421), 'archinfo.arch.Register', 'Register', (['"""dcr2b4"""', '(4)', '(31440)'], {}), "('dcr2b4', 4, 31440)\n", (114401, 114421), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114432, 114460), 'archinfo.arch.Register', 'Register', (['"""dcr2b5"""', '(4)', '(31444)'], {}), "('dcr2b5', 4, 31444)\n", (114440, 114460), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114471, 114499), 'archinfo.arch.Register', 'Register', (['"""dcr2b6"""', '(4)', '(31448)'], {}), "('dcr2b6', 4, 31448)\n", (114479, 114499), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114510, 114538), 'archinfo.arch.Register', 'Register', (['"""dcr2b7"""', '(4)', '(31452)'], {}), "('dcr2b7', 4, 31452)\n", (114518, 114538), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114549, 114577), 'archinfo.arch.Register', 'Register', (['"""dcr2b8"""', '(4)', '(31456)'], {}), "('dcr2b8', 4, 31456)\n", (114557, 114577), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114588, 114616), 'archinfo.arch.Register', 'Register', (['"""dcr2b9"""', '(4)', '(31460)'], {}), "('dcr2b9', 4, 31460)\n", (114596, 114616), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114627, 114655), 'archinfo.arch.Register', 'Register', (['"""dcr2ba"""', '(4)', '(31464)'], {}), "('dcr2ba', 4, 31464)\n", (114635, 114655), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114666, 114694), 'archinfo.arch.Register', 'Register', (['"""dcr2bb"""', '(4)', '(31468)'], {}), "('dcr2bb', 4, 31468)\n", (114674, 114694), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114705, 114733), 'archinfo.arch.Register', 'Register', (['"""dcr2bc"""', '(4)', '(31472)'], {}), "('dcr2bc', 4, 31472)\n", (114713, 114733), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114744, 114772), 'archinfo.arch.Register', 'Register', (['"""dcr2bd"""', '(4)', '(31476)'], {}), "('dcr2bd', 4, 31476)\n", (114752, 114772), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114783, 114811), 'archinfo.arch.Register', 'Register', (['"""dcr2be"""', '(4)', '(31480)'], {}), "('dcr2be', 4, 31480)\n", (114791, 114811), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114822, 114850), 'archinfo.arch.Register', 'Register', (['"""dcr2bf"""', '(4)', '(31484)'], {}), "('dcr2bf', 4, 31484)\n", (114830, 114850), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114861, 114889), 'archinfo.arch.Register', 'Register', (['"""dcr2c0"""', '(4)', '(31488)'], {}), "('dcr2c0', 4, 31488)\n", (114869, 114889), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114900, 114928), 'archinfo.arch.Register', 'Register', (['"""dcr2c1"""', '(4)', '(31492)'], {}), "('dcr2c1', 4, 31492)\n", (114908, 114928), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114939, 114967), 'archinfo.arch.Register', 'Register', (['"""dcr2c2"""', '(4)', '(31496)'], {}), "('dcr2c2', 4, 31496)\n", (114947, 114967), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((114978, 115006), 'archinfo.arch.Register', 'Register', (['"""dcr2c3"""', '(4)', '(31500)'], {}), "('dcr2c3', 4, 31500)\n", (114986, 115006), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115017, 115045), 'archinfo.arch.Register', 'Register', (['"""dcr2c4"""', '(4)', '(31504)'], {}), "('dcr2c4', 4, 31504)\n", (115025, 115045), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115056, 115084), 'archinfo.arch.Register', 'Register', (['"""dcr2c5"""', '(4)', '(31508)'], {}), "('dcr2c5', 4, 31508)\n", (115064, 115084), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115095, 115123), 'archinfo.arch.Register', 'Register', (['"""dcr2c6"""', '(4)', '(31512)'], {}), "('dcr2c6', 4, 31512)\n", (115103, 115123), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115134, 115162), 'archinfo.arch.Register', 'Register', (['"""dcr2c7"""', '(4)', '(31516)'], {}), "('dcr2c7', 4, 31516)\n", (115142, 115162), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115173, 115201), 'archinfo.arch.Register', 'Register', (['"""dcr2c8"""', '(4)', '(31520)'], {}), "('dcr2c8', 4, 31520)\n", (115181, 115201), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115212, 115240), 'archinfo.arch.Register', 'Register', (['"""dcr2c9"""', '(4)', '(31524)'], {}), "('dcr2c9', 4, 31524)\n", (115220, 115240), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115251, 115279), 'archinfo.arch.Register', 'Register', (['"""dcr2ca"""', '(4)', '(31528)'], {}), "('dcr2ca', 4, 31528)\n", (115259, 115279), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115290, 115318), 'archinfo.arch.Register', 'Register', (['"""dcr2cb"""', '(4)', '(31532)'], {}), "('dcr2cb', 4, 31532)\n", (115298, 115318), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115329, 115357), 'archinfo.arch.Register', 'Register', (['"""dcr2cc"""', '(4)', '(31536)'], {}), "('dcr2cc', 4, 31536)\n", (115337, 115357), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115368, 115396), 'archinfo.arch.Register', 'Register', (['"""dcr2cd"""', '(4)', '(31540)'], {}), "('dcr2cd', 4, 31540)\n", (115376, 115396), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115407, 115435), 'archinfo.arch.Register', 'Register', (['"""dcr2ce"""', '(4)', '(31544)'], {}), "('dcr2ce', 4, 31544)\n", (115415, 115435), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115446, 115474), 'archinfo.arch.Register', 'Register', (['"""dcr2cf"""', '(4)', '(31548)'], {}), "('dcr2cf', 4, 31548)\n", (115454, 115474), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115485, 115513), 'archinfo.arch.Register', 'Register', (['"""dcr2d0"""', '(4)', '(31552)'], {}), "('dcr2d0', 4, 31552)\n", (115493, 115513), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115524, 115552), 'archinfo.arch.Register', 'Register', (['"""dcr2d1"""', '(4)', '(31556)'], {}), "('dcr2d1', 4, 31556)\n", (115532, 115552), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115563, 115591), 'archinfo.arch.Register', 'Register', (['"""dcr2d2"""', '(4)', '(31560)'], {}), "('dcr2d2', 4, 31560)\n", (115571, 115591), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115602, 115630), 'archinfo.arch.Register', 'Register', (['"""dcr2d3"""', '(4)', '(31564)'], {}), "('dcr2d3', 4, 31564)\n", (115610, 115630), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115641, 115669), 'archinfo.arch.Register', 'Register', (['"""dcr2d4"""', '(4)', '(31568)'], {}), "('dcr2d4', 4, 31568)\n", (115649, 115669), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115680, 115708), 'archinfo.arch.Register', 'Register', (['"""dcr2d5"""', '(4)', '(31572)'], {}), "('dcr2d5', 4, 31572)\n", (115688, 115708), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115719, 115747), 'archinfo.arch.Register', 'Register', (['"""dcr2d6"""', '(4)', '(31576)'], {}), "('dcr2d6', 4, 31576)\n", (115727, 115747), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115758, 115786), 'archinfo.arch.Register', 'Register', (['"""dcr2d7"""', '(4)', '(31580)'], {}), "('dcr2d7', 4, 31580)\n", (115766, 115786), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115797, 115825), 'archinfo.arch.Register', 'Register', (['"""dcr2d8"""', '(4)', '(31584)'], {}), "('dcr2d8', 4, 31584)\n", (115805, 115825), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115836, 115864), 'archinfo.arch.Register', 'Register', (['"""dcr2d9"""', '(4)', '(31588)'], {}), "('dcr2d9', 4, 31588)\n", (115844, 115864), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115875, 115903), 'archinfo.arch.Register', 'Register', (['"""dcr2da"""', '(4)', '(31592)'], {}), "('dcr2da', 4, 31592)\n", (115883, 115903), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115914, 115942), 'archinfo.arch.Register', 'Register', (['"""dcr2db"""', '(4)', '(31596)'], {}), "('dcr2db', 4, 31596)\n", (115922, 115942), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115953, 115981), 'archinfo.arch.Register', 'Register', (['"""dcr2dc"""', '(4)', '(31600)'], {}), "('dcr2dc', 4, 31600)\n", (115961, 115981), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((115992, 116020), 'archinfo.arch.Register', 'Register', (['"""dcr2dd"""', '(4)', '(31604)'], {}), "('dcr2dd', 4, 31604)\n", (116000, 116020), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116031, 116059), 'archinfo.arch.Register', 'Register', (['"""dcr2de"""', '(4)', '(31608)'], {}), "('dcr2de', 4, 31608)\n", (116039, 116059), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116070, 116098), 'archinfo.arch.Register', 'Register', (['"""dcr2df"""', '(4)', '(31612)'], {}), "('dcr2df', 4, 31612)\n", (116078, 116098), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116109, 116137), 'archinfo.arch.Register', 'Register', (['"""dcr2e0"""', '(4)', '(31616)'], {}), "('dcr2e0', 4, 31616)\n", (116117, 116137), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116148, 116176), 'archinfo.arch.Register', 'Register', (['"""dcr2e1"""', '(4)', '(31620)'], {}), "('dcr2e1', 4, 31620)\n", (116156, 116176), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116187, 116215), 'archinfo.arch.Register', 'Register', (['"""dcr2e2"""', '(4)', '(31624)'], {}), "('dcr2e2', 4, 31624)\n", (116195, 116215), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116226, 116254), 'archinfo.arch.Register', 'Register', (['"""dcr2e3"""', '(4)', '(31628)'], {}), "('dcr2e3', 4, 31628)\n", (116234, 116254), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116265, 116293), 'archinfo.arch.Register', 'Register', (['"""dcr2e4"""', '(4)', '(31632)'], {}), "('dcr2e4', 4, 31632)\n", (116273, 116293), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116304, 116332), 'archinfo.arch.Register', 'Register', (['"""dcr2e5"""', '(4)', '(31636)'], {}), "('dcr2e5', 4, 31636)\n", (116312, 116332), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116343, 116371), 'archinfo.arch.Register', 'Register', (['"""dcr2e6"""', '(4)', '(31640)'], {}), "('dcr2e6', 4, 31640)\n", (116351, 116371), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116382, 116410), 'archinfo.arch.Register', 'Register', (['"""dcr2e7"""', '(4)', '(31644)'], {}), "('dcr2e7', 4, 31644)\n", (116390, 116410), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116421, 116449), 'archinfo.arch.Register', 'Register', (['"""dcr2e8"""', '(4)', '(31648)'], {}), "('dcr2e8', 4, 31648)\n", (116429, 116449), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116460, 116488), 'archinfo.arch.Register', 'Register', (['"""dcr2e9"""', '(4)', '(31652)'], {}), "('dcr2e9', 4, 31652)\n", (116468, 116488), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116499, 116527), 'archinfo.arch.Register', 'Register', (['"""dcr2ea"""', '(4)', '(31656)'], {}), "('dcr2ea', 4, 31656)\n", (116507, 116527), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116538, 116566), 'archinfo.arch.Register', 'Register', (['"""dcr2eb"""', '(4)', '(31660)'], {}), "('dcr2eb', 4, 31660)\n", (116546, 116566), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116577, 116605), 'archinfo.arch.Register', 'Register', (['"""dcr2ec"""', '(4)', '(31664)'], {}), "('dcr2ec', 4, 31664)\n", (116585, 116605), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116616, 116644), 'archinfo.arch.Register', 'Register', (['"""dcr2ed"""', '(4)', '(31668)'], {}), "('dcr2ed', 4, 31668)\n", (116624, 116644), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116655, 116683), 'archinfo.arch.Register', 'Register', (['"""dcr2ee"""', '(4)', '(31672)'], {}), "('dcr2ee', 4, 31672)\n", (116663, 116683), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116694, 116722), 'archinfo.arch.Register', 'Register', (['"""dcr2ef"""', '(4)', '(31676)'], {}), "('dcr2ef', 4, 31676)\n", (116702, 116722), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116733, 116761), 'archinfo.arch.Register', 'Register', (['"""dcr2f0"""', '(4)', '(31680)'], {}), "('dcr2f0', 4, 31680)\n", (116741, 116761), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116772, 116800), 'archinfo.arch.Register', 'Register', (['"""dcr2f1"""', '(4)', '(31684)'], {}), "('dcr2f1', 4, 31684)\n", (116780, 116800), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116811, 116839), 'archinfo.arch.Register', 'Register', (['"""dcr2f2"""', '(4)', '(31688)'], {}), "('dcr2f2', 4, 31688)\n", (116819, 116839), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116850, 116878), 'archinfo.arch.Register', 'Register', (['"""dcr2f3"""', '(4)', '(31692)'], {}), "('dcr2f3', 4, 31692)\n", (116858, 116878), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116889, 116917), 'archinfo.arch.Register', 'Register', (['"""dcr2f4"""', '(4)', '(31696)'], {}), "('dcr2f4', 4, 31696)\n", (116897, 116917), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116928, 116956), 'archinfo.arch.Register', 'Register', (['"""dcr2f5"""', '(4)', '(31700)'], {}), "('dcr2f5', 4, 31700)\n", (116936, 116956), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((116967, 116995), 'archinfo.arch.Register', 'Register', (['"""dcr2f6"""', '(4)', '(31704)'], {}), "('dcr2f6', 4, 31704)\n", (116975, 116995), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117006, 117034), 'archinfo.arch.Register', 'Register', (['"""dcr2f7"""', '(4)', '(31708)'], {}), "('dcr2f7', 4, 31708)\n", (117014, 117034), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117045, 117073), 'archinfo.arch.Register', 'Register', (['"""dcr2f8"""', '(4)', '(31712)'], {}), "('dcr2f8', 4, 31712)\n", (117053, 117073), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117084, 117112), 'archinfo.arch.Register', 'Register', (['"""dcr2f9"""', '(4)', '(31716)'], {}), "('dcr2f9', 4, 31716)\n", (117092, 117112), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117123, 117151), 'archinfo.arch.Register', 'Register', (['"""dcr2fa"""', '(4)', '(31720)'], {}), "('dcr2fa', 4, 31720)\n", (117131, 117151), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117162, 117190), 'archinfo.arch.Register', 'Register', (['"""dcr2fb"""', '(4)', '(31724)'], {}), "('dcr2fb', 4, 31724)\n", (117170, 117190), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117201, 117229), 'archinfo.arch.Register', 'Register', (['"""dcr2fc"""', '(4)', '(31728)'], {}), "('dcr2fc', 4, 31728)\n", (117209, 117229), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117240, 117268), 'archinfo.arch.Register', 'Register', (['"""dcr2fd"""', '(4)', '(31732)'], {}), "('dcr2fd', 4, 31732)\n", (117248, 117268), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117279, 117307), 'archinfo.arch.Register', 'Register', (['"""dcr2fe"""', '(4)', '(31736)'], {}), "('dcr2fe', 4, 31736)\n", (117287, 117307), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117318, 117346), 'archinfo.arch.Register', 'Register', (['"""dcr2ff"""', '(4)', '(31740)'], {}), "('dcr2ff', 4, 31740)\n", (117326, 117346), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117357, 117385), 'archinfo.arch.Register', 'Register', (['"""dcr300"""', '(4)', '(31744)'], {}), "('dcr300', 4, 31744)\n", (117365, 117385), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117396, 117424), 'archinfo.arch.Register', 'Register', (['"""dcr301"""', '(4)', '(31748)'], {}), "('dcr301', 4, 31748)\n", (117404, 117424), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117435, 117463), 'archinfo.arch.Register', 'Register', (['"""dcr302"""', '(4)', '(31752)'], {}), "('dcr302', 4, 31752)\n", (117443, 117463), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117474, 117502), 'archinfo.arch.Register', 'Register', (['"""dcr303"""', '(4)', '(31756)'], {}), "('dcr303', 4, 31756)\n", (117482, 117502), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117513, 117541), 'archinfo.arch.Register', 'Register', (['"""dcr304"""', '(4)', '(31760)'], {}), "('dcr304', 4, 31760)\n", (117521, 117541), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117552, 117580), 'archinfo.arch.Register', 'Register', (['"""dcr305"""', '(4)', '(31764)'], {}), "('dcr305', 4, 31764)\n", (117560, 117580), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117591, 117619), 'archinfo.arch.Register', 'Register', (['"""dcr306"""', '(4)', '(31768)'], {}), "('dcr306', 4, 31768)\n", (117599, 117619), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117630, 117658), 'archinfo.arch.Register', 'Register', (['"""dcr307"""', '(4)', '(31772)'], {}), "('dcr307', 4, 31772)\n", (117638, 117658), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117669, 117697), 'archinfo.arch.Register', 'Register', (['"""dcr308"""', '(4)', '(31776)'], {}), "('dcr308', 4, 31776)\n", (117677, 117697), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117708, 117736), 'archinfo.arch.Register', 'Register', (['"""dcr309"""', '(4)', '(31780)'], {}), "('dcr309', 4, 31780)\n", (117716, 117736), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117747, 117775), 'archinfo.arch.Register', 'Register', (['"""dcr30a"""', '(4)', '(31784)'], {}), "('dcr30a', 4, 31784)\n", (117755, 117775), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117786, 117814), 'archinfo.arch.Register', 'Register', (['"""dcr30b"""', '(4)', '(31788)'], {}), "('dcr30b', 4, 31788)\n", (117794, 117814), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117825, 117853), 'archinfo.arch.Register', 'Register', (['"""dcr30c"""', '(4)', '(31792)'], {}), "('dcr30c', 4, 31792)\n", (117833, 117853), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117864, 117892), 'archinfo.arch.Register', 'Register', (['"""dcr30d"""', '(4)', '(31796)'], {}), "('dcr30d', 4, 31796)\n", (117872, 117892), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117903, 117931), 'archinfo.arch.Register', 'Register', (['"""dcr30e"""', '(4)', '(31800)'], {}), "('dcr30e', 4, 31800)\n", (117911, 117931), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117942, 117970), 'archinfo.arch.Register', 'Register', (['"""dcr30f"""', '(4)', '(31804)'], {}), "('dcr30f', 4, 31804)\n", (117950, 117970), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((117981, 118009), 'archinfo.arch.Register', 'Register', (['"""dcr310"""', '(4)', '(31808)'], {}), "('dcr310', 4, 31808)\n", (117989, 118009), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118020, 118048), 'archinfo.arch.Register', 'Register', (['"""dcr311"""', '(4)', '(31812)'], {}), "('dcr311', 4, 31812)\n", (118028, 118048), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118059, 118087), 'archinfo.arch.Register', 'Register', (['"""dcr312"""', '(4)', '(31816)'], {}), "('dcr312', 4, 31816)\n", (118067, 118087), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118098, 118126), 'archinfo.arch.Register', 'Register', (['"""dcr313"""', '(4)', '(31820)'], {}), "('dcr313', 4, 31820)\n", (118106, 118126), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118137, 118165), 'archinfo.arch.Register', 'Register', (['"""dcr314"""', '(4)', '(31824)'], {}), "('dcr314', 4, 31824)\n", (118145, 118165), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118176, 118204), 'archinfo.arch.Register', 'Register', (['"""dcr315"""', '(4)', '(31828)'], {}), "('dcr315', 4, 31828)\n", (118184, 118204), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118215, 118243), 'archinfo.arch.Register', 'Register', (['"""dcr316"""', '(4)', '(31832)'], {}), "('dcr316', 4, 31832)\n", (118223, 118243), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118254, 118282), 'archinfo.arch.Register', 'Register', (['"""dcr317"""', '(4)', '(31836)'], {}), "('dcr317', 4, 31836)\n", (118262, 118282), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118293, 118321), 'archinfo.arch.Register', 'Register', (['"""dcr318"""', '(4)', '(31840)'], {}), "('dcr318', 4, 31840)\n", (118301, 118321), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118332, 118360), 'archinfo.arch.Register', 'Register', (['"""dcr319"""', '(4)', '(31844)'], {}), "('dcr319', 4, 31844)\n", (118340, 118360), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118371, 118399), 'archinfo.arch.Register', 'Register', (['"""dcr31a"""', '(4)', '(31848)'], {}), "('dcr31a', 4, 31848)\n", (118379, 118399), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118410, 118438), 'archinfo.arch.Register', 'Register', (['"""dcr31b"""', '(4)', '(31852)'], {}), "('dcr31b', 4, 31852)\n", (118418, 118438), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118449, 118477), 'archinfo.arch.Register', 'Register', (['"""dcr31c"""', '(4)', '(31856)'], {}), "('dcr31c', 4, 31856)\n", (118457, 118477), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118488, 118516), 'archinfo.arch.Register', 'Register', (['"""dcr31d"""', '(4)', '(31860)'], {}), "('dcr31d', 4, 31860)\n", (118496, 118516), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118527, 118555), 'archinfo.arch.Register', 'Register', (['"""dcr31e"""', '(4)', '(31864)'], {}), "('dcr31e', 4, 31864)\n", (118535, 118555), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118566, 118594), 'archinfo.arch.Register', 'Register', (['"""dcr31f"""', '(4)', '(31868)'], {}), "('dcr31f', 4, 31868)\n", (118574, 118594), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118605, 118633), 'archinfo.arch.Register', 'Register', (['"""dcr320"""', '(4)', '(31872)'], {}), "('dcr320', 4, 31872)\n", (118613, 118633), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118644, 118672), 'archinfo.arch.Register', 'Register', (['"""dcr321"""', '(4)', '(31876)'], {}), "('dcr321', 4, 31876)\n", (118652, 118672), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118683, 118711), 'archinfo.arch.Register', 'Register', (['"""dcr322"""', '(4)', '(31880)'], {}), "('dcr322', 4, 31880)\n", (118691, 118711), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118722, 118750), 'archinfo.arch.Register', 'Register', (['"""dcr323"""', '(4)', '(31884)'], {}), "('dcr323', 4, 31884)\n", (118730, 118750), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118761, 118789), 'archinfo.arch.Register', 'Register', (['"""dcr324"""', '(4)', '(31888)'], {}), "('dcr324', 4, 31888)\n", (118769, 118789), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118800, 118828), 'archinfo.arch.Register', 'Register', (['"""dcr325"""', '(4)', '(31892)'], {}), "('dcr325', 4, 31892)\n", (118808, 118828), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118839, 118867), 'archinfo.arch.Register', 'Register', (['"""dcr326"""', '(4)', '(31896)'], {}), "('dcr326', 4, 31896)\n", (118847, 118867), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118878, 118906), 'archinfo.arch.Register', 'Register', (['"""dcr327"""', '(4)', '(31900)'], {}), "('dcr327', 4, 31900)\n", (118886, 118906), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118917, 118945), 'archinfo.arch.Register', 'Register', (['"""dcr328"""', '(4)', '(31904)'], {}), "('dcr328', 4, 31904)\n", (118925, 118945), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118956, 118984), 'archinfo.arch.Register', 'Register', (['"""dcr329"""', '(4)', '(31908)'], {}), "('dcr329', 4, 31908)\n", (118964, 118984), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((118995, 119023), 'archinfo.arch.Register', 'Register', (['"""dcr32a"""', '(4)', '(31912)'], {}), "('dcr32a', 4, 31912)\n", (119003, 119023), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119034, 119062), 'archinfo.arch.Register', 'Register', (['"""dcr32b"""', '(4)', '(31916)'], {}), "('dcr32b', 4, 31916)\n", (119042, 119062), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119073, 119101), 'archinfo.arch.Register', 'Register', (['"""dcr32c"""', '(4)', '(31920)'], {}), "('dcr32c', 4, 31920)\n", (119081, 119101), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119112, 119140), 'archinfo.arch.Register', 'Register', (['"""dcr32d"""', '(4)', '(31924)'], {}), "('dcr32d', 4, 31924)\n", (119120, 119140), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119151, 119179), 'archinfo.arch.Register', 'Register', (['"""dcr32e"""', '(4)', '(31928)'], {}), "('dcr32e', 4, 31928)\n", (119159, 119179), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119190, 119218), 'archinfo.arch.Register', 'Register', (['"""dcr32f"""', '(4)', '(31932)'], {}), "('dcr32f', 4, 31932)\n", (119198, 119218), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119229, 119257), 'archinfo.arch.Register', 'Register', (['"""dcr330"""', '(4)', '(31936)'], {}), "('dcr330', 4, 31936)\n", (119237, 119257), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119268, 119296), 'archinfo.arch.Register', 'Register', (['"""dcr331"""', '(4)', '(31940)'], {}), "('dcr331', 4, 31940)\n", (119276, 119296), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119307, 119335), 'archinfo.arch.Register', 'Register', (['"""dcr332"""', '(4)', '(31944)'], {}), "('dcr332', 4, 31944)\n", (119315, 119335), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119346, 119374), 'archinfo.arch.Register', 'Register', (['"""dcr333"""', '(4)', '(31948)'], {}), "('dcr333', 4, 31948)\n", (119354, 119374), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119385, 119413), 'archinfo.arch.Register', 'Register', (['"""dcr334"""', '(4)', '(31952)'], {}), "('dcr334', 4, 31952)\n", (119393, 119413), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119424, 119452), 'archinfo.arch.Register', 'Register', (['"""dcr335"""', '(4)', '(31956)'], {}), "('dcr335', 4, 31956)\n", (119432, 119452), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119463, 119491), 'archinfo.arch.Register', 'Register', (['"""dcr336"""', '(4)', '(31960)'], {}), "('dcr336', 4, 31960)\n", (119471, 119491), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119502, 119530), 'archinfo.arch.Register', 'Register', (['"""dcr337"""', '(4)', '(31964)'], {}), "('dcr337', 4, 31964)\n", (119510, 119530), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119541, 119569), 'archinfo.arch.Register', 'Register', (['"""dcr338"""', '(4)', '(31968)'], {}), "('dcr338', 4, 31968)\n", (119549, 119569), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119580, 119608), 'archinfo.arch.Register', 'Register', (['"""dcr339"""', '(4)', '(31972)'], {}), "('dcr339', 4, 31972)\n", (119588, 119608), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119619, 119647), 'archinfo.arch.Register', 'Register', (['"""dcr33a"""', '(4)', '(31976)'], {}), "('dcr33a', 4, 31976)\n", (119627, 119647), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119658, 119686), 'archinfo.arch.Register', 'Register', (['"""dcr33b"""', '(4)', '(31980)'], {}), "('dcr33b', 4, 31980)\n", (119666, 119686), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119697, 119725), 'archinfo.arch.Register', 'Register', (['"""dcr33c"""', '(4)', '(31984)'], {}), "('dcr33c', 4, 31984)\n", (119705, 119725), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119736, 119764), 'archinfo.arch.Register', 'Register', (['"""dcr33d"""', '(4)', '(31988)'], {}), "('dcr33d', 4, 31988)\n", (119744, 119764), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119775, 119803), 'archinfo.arch.Register', 'Register', (['"""dcr33e"""', '(4)', '(31992)'], {}), "('dcr33e', 4, 31992)\n", (119783, 119803), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119814, 119842), 'archinfo.arch.Register', 'Register', (['"""dcr33f"""', '(4)', '(31996)'], {}), "('dcr33f', 4, 31996)\n", (119822, 119842), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119853, 119881), 'archinfo.arch.Register', 'Register', (['"""dcr340"""', '(4)', '(32000)'], {}), "('dcr340', 4, 32000)\n", (119861, 119881), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119892, 119920), 'archinfo.arch.Register', 'Register', (['"""dcr341"""', '(4)', '(32004)'], {}), "('dcr341', 4, 32004)\n", (119900, 119920), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119931, 119959), 'archinfo.arch.Register', 'Register', (['"""dcr342"""', '(4)', '(32008)'], {}), "('dcr342', 4, 32008)\n", (119939, 119959), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((119970, 119998), 'archinfo.arch.Register', 'Register', (['"""dcr343"""', '(4)', '(32012)'], {}), "('dcr343', 4, 32012)\n", (119978, 119998), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120009, 120037), 'archinfo.arch.Register', 'Register', (['"""dcr344"""', '(4)', '(32016)'], {}), "('dcr344', 4, 32016)\n", (120017, 120037), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120048, 120076), 'archinfo.arch.Register', 'Register', (['"""dcr345"""', '(4)', '(32020)'], {}), "('dcr345', 4, 32020)\n", (120056, 120076), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120087, 120115), 'archinfo.arch.Register', 'Register', (['"""dcr346"""', '(4)', '(32024)'], {}), "('dcr346', 4, 32024)\n", (120095, 120115), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120126, 120154), 'archinfo.arch.Register', 'Register', (['"""dcr347"""', '(4)', '(32028)'], {}), "('dcr347', 4, 32028)\n", (120134, 120154), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120165, 120193), 'archinfo.arch.Register', 'Register', (['"""dcr348"""', '(4)', '(32032)'], {}), "('dcr348', 4, 32032)\n", (120173, 120193), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120204, 120232), 'archinfo.arch.Register', 'Register', (['"""dcr349"""', '(4)', '(32036)'], {}), "('dcr349', 4, 32036)\n", (120212, 120232), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120243, 120271), 'archinfo.arch.Register', 'Register', (['"""dcr34a"""', '(4)', '(32040)'], {}), "('dcr34a', 4, 32040)\n", (120251, 120271), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120282, 120310), 'archinfo.arch.Register', 'Register', (['"""dcr34b"""', '(4)', '(32044)'], {}), "('dcr34b', 4, 32044)\n", (120290, 120310), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120321, 120349), 'archinfo.arch.Register', 'Register', (['"""dcr34c"""', '(4)', '(32048)'], {}), "('dcr34c', 4, 32048)\n", (120329, 120349), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120360, 120388), 'archinfo.arch.Register', 'Register', (['"""dcr34d"""', '(4)', '(32052)'], {}), "('dcr34d', 4, 32052)\n", (120368, 120388), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120399, 120427), 'archinfo.arch.Register', 'Register', (['"""dcr34e"""', '(4)', '(32056)'], {}), "('dcr34e', 4, 32056)\n", (120407, 120427), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120438, 120466), 'archinfo.arch.Register', 'Register', (['"""dcr34f"""', '(4)', '(32060)'], {}), "('dcr34f', 4, 32060)\n", (120446, 120466), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120477, 120505), 'archinfo.arch.Register', 'Register', (['"""dcr350"""', '(4)', '(32064)'], {}), "('dcr350', 4, 32064)\n", (120485, 120505), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120516, 120544), 'archinfo.arch.Register', 'Register', (['"""dcr351"""', '(4)', '(32068)'], {}), "('dcr351', 4, 32068)\n", (120524, 120544), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120555, 120583), 'archinfo.arch.Register', 'Register', (['"""dcr352"""', '(4)', '(32072)'], {}), "('dcr352', 4, 32072)\n", (120563, 120583), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120594, 120622), 'archinfo.arch.Register', 'Register', (['"""dcr353"""', '(4)', '(32076)'], {}), "('dcr353', 4, 32076)\n", (120602, 120622), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120633, 120661), 'archinfo.arch.Register', 'Register', (['"""dcr354"""', '(4)', '(32080)'], {}), "('dcr354', 4, 32080)\n", (120641, 120661), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120672, 120700), 'archinfo.arch.Register', 'Register', (['"""dcr355"""', '(4)', '(32084)'], {}), "('dcr355', 4, 32084)\n", (120680, 120700), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120711, 120739), 'archinfo.arch.Register', 'Register', (['"""dcr356"""', '(4)', '(32088)'], {}), "('dcr356', 4, 32088)\n", (120719, 120739), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120750, 120778), 'archinfo.arch.Register', 'Register', (['"""dcr357"""', '(4)', '(32092)'], {}), "('dcr357', 4, 32092)\n", (120758, 120778), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120789, 120817), 'archinfo.arch.Register', 'Register', (['"""dcr358"""', '(4)', '(32096)'], {}), "('dcr358', 4, 32096)\n", (120797, 120817), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120828, 120856), 'archinfo.arch.Register', 'Register', (['"""dcr359"""', '(4)', '(32100)'], {}), "('dcr359', 4, 32100)\n", (120836, 120856), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120867, 120895), 'archinfo.arch.Register', 'Register', (['"""dcr35a"""', '(4)', '(32104)'], {}), "('dcr35a', 4, 32104)\n", (120875, 120895), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120906, 120934), 'archinfo.arch.Register', 'Register', (['"""dcr35b"""', '(4)', '(32108)'], {}), "('dcr35b', 4, 32108)\n", (120914, 120934), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120945, 120973), 'archinfo.arch.Register', 'Register', (['"""dcr35c"""', '(4)', '(32112)'], {}), "('dcr35c', 4, 32112)\n", (120953, 120973), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((120984, 121012), 'archinfo.arch.Register', 'Register', (['"""dcr35d"""', '(4)', '(32116)'], {}), "('dcr35d', 4, 32116)\n", (120992, 121012), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121023, 121051), 'archinfo.arch.Register', 'Register', (['"""dcr35e"""', '(4)', '(32120)'], {}), "('dcr35e', 4, 32120)\n", (121031, 121051), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121062, 121090), 'archinfo.arch.Register', 'Register', (['"""dcr35f"""', '(4)', '(32124)'], {}), "('dcr35f', 4, 32124)\n", (121070, 121090), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121101, 121129), 'archinfo.arch.Register', 'Register', (['"""dcr360"""', '(4)', '(32128)'], {}), "('dcr360', 4, 32128)\n", (121109, 121129), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121140, 121168), 'archinfo.arch.Register', 'Register', (['"""dcr361"""', '(4)', '(32132)'], {}), "('dcr361', 4, 32132)\n", (121148, 121168), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121179, 121207), 'archinfo.arch.Register', 'Register', (['"""dcr362"""', '(4)', '(32136)'], {}), "('dcr362', 4, 32136)\n", (121187, 121207), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121218, 121246), 'archinfo.arch.Register', 'Register', (['"""dcr363"""', '(4)', '(32140)'], {}), "('dcr363', 4, 32140)\n", (121226, 121246), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121257, 121285), 'archinfo.arch.Register', 'Register', (['"""dcr364"""', '(4)', '(32144)'], {}), "('dcr364', 4, 32144)\n", (121265, 121285), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121296, 121324), 'archinfo.arch.Register', 'Register', (['"""dcr365"""', '(4)', '(32148)'], {}), "('dcr365', 4, 32148)\n", (121304, 121324), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121335, 121363), 'archinfo.arch.Register', 'Register', (['"""dcr366"""', '(4)', '(32152)'], {}), "('dcr366', 4, 32152)\n", (121343, 121363), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121374, 121402), 'archinfo.arch.Register', 'Register', (['"""dcr367"""', '(4)', '(32156)'], {}), "('dcr367', 4, 32156)\n", (121382, 121402), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121413, 121441), 'archinfo.arch.Register', 'Register', (['"""dcr368"""', '(4)', '(32160)'], {}), "('dcr368', 4, 32160)\n", (121421, 121441), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121452, 121480), 'archinfo.arch.Register', 'Register', (['"""dcr369"""', '(4)', '(32164)'], {}), "('dcr369', 4, 32164)\n", (121460, 121480), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121491, 121519), 'archinfo.arch.Register', 'Register', (['"""dcr36a"""', '(4)', '(32168)'], {}), "('dcr36a', 4, 32168)\n", (121499, 121519), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121530, 121558), 'archinfo.arch.Register', 'Register', (['"""dcr36b"""', '(4)', '(32172)'], {}), "('dcr36b', 4, 32172)\n", (121538, 121558), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121569, 121597), 'archinfo.arch.Register', 'Register', (['"""dcr36c"""', '(4)', '(32176)'], {}), "('dcr36c', 4, 32176)\n", (121577, 121597), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121608, 121636), 'archinfo.arch.Register', 'Register', (['"""dcr36d"""', '(4)', '(32180)'], {}), "('dcr36d', 4, 32180)\n", (121616, 121636), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121647, 121675), 'archinfo.arch.Register', 'Register', (['"""dcr36e"""', '(4)', '(32184)'], {}), "('dcr36e', 4, 32184)\n", (121655, 121675), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121686, 121714), 'archinfo.arch.Register', 'Register', (['"""dcr36f"""', '(4)', '(32188)'], {}), "('dcr36f', 4, 32188)\n", (121694, 121714), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121725, 121753), 'archinfo.arch.Register', 'Register', (['"""dcr370"""', '(4)', '(32192)'], {}), "('dcr370', 4, 32192)\n", (121733, 121753), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121764, 121792), 'archinfo.arch.Register', 'Register', (['"""dcr371"""', '(4)', '(32196)'], {}), "('dcr371', 4, 32196)\n", (121772, 121792), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121803, 121831), 'archinfo.arch.Register', 'Register', (['"""dcr372"""', '(4)', '(32200)'], {}), "('dcr372', 4, 32200)\n", (121811, 121831), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121842, 121870), 'archinfo.arch.Register', 'Register', (['"""dcr373"""', '(4)', '(32204)'], {}), "('dcr373', 4, 32204)\n", (121850, 121870), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121881, 121909), 'archinfo.arch.Register', 'Register', (['"""dcr374"""', '(4)', '(32208)'], {}), "('dcr374', 4, 32208)\n", (121889, 121909), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121920, 121948), 'archinfo.arch.Register', 'Register', (['"""dcr375"""', '(4)', '(32212)'], {}), "('dcr375', 4, 32212)\n", (121928, 121948), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121959, 121987), 'archinfo.arch.Register', 'Register', (['"""dcr376"""', '(4)', '(32216)'], {}), "('dcr376', 4, 32216)\n", (121967, 121987), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((121998, 122026), 'archinfo.arch.Register', 'Register', (['"""dcr377"""', '(4)', '(32220)'], {}), "('dcr377', 4, 32220)\n", (122006, 122026), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122037, 122065), 'archinfo.arch.Register', 'Register', (['"""dcr378"""', '(4)', '(32224)'], {}), "('dcr378', 4, 32224)\n", (122045, 122065), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122076, 122104), 'archinfo.arch.Register', 'Register', (['"""dcr379"""', '(4)', '(32228)'], {}), "('dcr379', 4, 32228)\n", (122084, 122104), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122115, 122143), 'archinfo.arch.Register', 'Register', (['"""dcr37a"""', '(4)', '(32232)'], {}), "('dcr37a', 4, 32232)\n", (122123, 122143), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122154, 122182), 'archinfo.arch.Register', 'Register', (['"""dcr37b"""', '(4)', '(32236)'], {}), "('dcr37b', 4, 32236)\n", (122162, 122182), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122193, 122221), 'archinfo.arch.Register', 'Register', (['"""dcr37c"""', '(4)', '(32240)'], {}), "('dcr37c', 4, 32240)\n", (122201, 122221), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122232, 122260), 'archinfo.arch.Register', 'Register', (['"""dcr37d"""', '(4)', '(32244)'], {}), "('dcr37d', 4, 32244)\n", (122240, 122260), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122271, 122299), 'archinfo.arch.Register', 'Register', (['"""dcr37e"""', '(4)', '(32248)'], {}), "('dcr37e', 4, 32248)\n", (122279, 122299), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122310, 122338), 'archinfo.arch.Register', 'Register', (['"""dcr37f"""', '(4)', '(32252)'], {}), "('dcr37f', 4, 32252)\n", (122318, 122338), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122349, 122377), 'archinfo.arch.Register', 'Register', (['"""dcr380"""', '(4)', '(32256)'], {}), "('dcr380', 4, 32256)\n", (122357, 122377), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122388, 122416), 'archinfo.arch.Register', 'Register', (['"""dcr381"""', '(4)', '(32260)'], {}), "('dcr381', 4, 32260)\n", (122396, 122416), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122427, 122455), 'archinfo.arch.Register', 'Register', (['"""dcr382"""', '(4)', '(32264)'], {}), "('dcr382', 4, 32264)\n", (122435, 122455), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122466, 122494), 'archinfo.arch.Register', 'Register', (['"""dcr383"""', '(4)', '(32268)'], {}), "('dcr383', 4, 32268)\n", (122474, 122494), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122505, 122533), 'archinfo.arch.Register', 'Register', (['"""dcr384"""', '(4)', '(32272)'], {}), "('dcr384', 4, 32272)\n", (122513, 122533), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122544, 122572), 'archinfo.arch.Register', 'Register', (['"""dcr385"""', '(4)', '(32276)'], {}), "('dcr385', 4, 32276)\n", (122552, 122572), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122583, 122611), 'archinfo.arch.Register', 'Register', (['"""dcr386"""', '(4)', '(32280)'], {}), "('dcr386', 4, 32280)\n", (122591, 122611), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122622, 122650), 'archinfo.arch.Register', 'Register', (['"""dcr387"""', '(4)', '(32284)'], {}), "('dcr387', 4, 32284)\n", (122630, 122650), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122661, 122689), 'archinfo.arch.Register', 'Register', (['"""dcr388"""', '(4)', '(32288)'], {}), "('dcr388', 4, 32288)\n", (122669, 122689), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122700, 122728), 'archinfo.arch.Register', 'Register', (['"""dcr389"""', '(4)', '(32292)'], {}), "('dcr389', 4, 32292)\n", (122708, 122728), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122739, 122767), 'archinfo.arch.Register', 'Register', (['"""dcr38a"""', '(4)', '(32296)'], {}), "('dcr38a', 4, 32296)\n", (122747, 122767), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122778, 122806), 'archinfo.arch.Register', 'Register', (['"""dcr38b"""', '(4)', '(32300)'], {}), "('dcr38b', 4, 32300)\n", (122786, 122806), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122817, 122845), 'archinfo.arch.Register', 'Register', (['"""dcr38c"""', '(4)', '(32304)'], {}), "('dcr38c', 4, 32304)\n", (122825, 122845), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122856, 122884), 'archinfo.arch.Register', 'Register', (['"""dcr38d"""', '(4)', '(32308)'], {}), "('dcr38d', 4, 32308)\n", (122864, 122884), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122895, 122923), 'archinfo.arch.Register', 'Register', (['"""dcr38e"""', '(4)', '(32312)'], {}), "('dcr38e', 4, 32312)\n", (122903, 122923), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122934, 122962), 'archinfo.arch.Register', 'Register', (['"""dcr38f"""', '(4)', '(32316)'], {}), "('dcr38f', 4, 32316)\n", (122942, 122962), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((122973, 123001), 'archinfo.arch.Register', 'Register', (['"""dcr390"""', '(4)', '(32320)'], {}), "('dcr390', 4, 32320)\n", (122981, 123001), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123012, 123040), 'archinfo.arch.Register', 'Register', (['"""dcr391"""', '(4)', '(32324)'], {}), "('dcr391', 4, 32324)\n", (123020, 123040), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123051, 123079), 'archinfo.arch.Register', 'Register', (['"""dcr392"""', '(4)', '(32328)'], {}), "('dcr392', 4, 32328)\n", (123059, 123079), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123090, 123118), 'archinfo.arch.Register', 'Register', (['"""dcr393"""', '(4)', '(32332)'], {}), "('dcr393', 4, 32332)\n", (123098, 123118), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123129, 123157), 'archinfo.arch.Register', 'Register', (['"""dcr394"""', '(4)', '(32336)'], {}), "('dcr394', 4, 32336)\n", (123137, 123157), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123168, 123196), 'archinfo.arch.Register', 'Register', (['"""dcr395"""', '(4)', '(32340)'], {}), "('dcr395', 4, 32340)\n", (123176, 123196), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123207, 123235), 'archinfo.arch.Register', 'Register', (['"""dcr396"""', '(4)', '(32344)'], {}), "('dcr396', 4, 32344)\n", (123215, 123235), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123246, 123274), 'archinfo.arch.Register', 'Register', (['"""dcr397"""', '(4)', '(32348)'], {}), "('dcr397', 4, 32348)\n", (123254, 123274), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123285, 123313), 'archinfo.arch.Register', 'Register', (['"""dcr398"""', '(4)', '(32352)'], {}), "('dcr398', 4, 32352)\n", (123293, 123313), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123324, 123352), 'archinfo.arch.Register', 'Register', (['"""dcr399"""', '(4)', '(32356)'], {}), "('dcr399', 4, 32356)\n", (123332, 123352), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123363, 123391), 'archinfo.arch.Register', 'Register', (['"""dcr39a"""', '(4)', '(32360)'], {}), "('dcr39a', 4, 32360)\n", (123371, 123391), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123402, 123430), 'archinfo.arch.Register', 'Register', (['"""dcr39b"""', '(4)', '(32364)'], {}), "('dcr39b', 4, 32364)\n", (123410, 123430), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123441, 123469), 'archinfo.arch.Register', 'Register', (['"""dcr39c"""', '(4)', '(32368)'], {}), "('dcr39c', 4, 32368)\n", (123449, 123469), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123480, 123508), 'archinfo.arch.Register', 'Register', (['"""dcr39d"""', '(4)', '(32372)'], {}), "('dcr39d', 4, 32372)\n", (123488, 123508), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123519, 123547), 'archinfo.arch.Register', 'Register', (['"""dcr39e"""', '(4)', '(32376)'], {}), "('dcr39e', 4, 32376)\n", (123527, 123547), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123558, 123586), 'archinfo.arch.Register', 'Register', (['"""dcr39f"""', '(4)', '(32380)'], {}), "('dcr39f', 4, 32380)\n", (123566, 123586), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123597, 123625), 'archinfo.arch.Register', 'Register', (['"""dcr3a0"""', '(4)', '(32384)'], {}), "('dcr3a0', 4, 32384)\n", (123605, 123625), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123636, 123664), 'archinfo.arch.Register', 'Register', (['"""dcr3a1"""', '(4)', '(32388)'], {}), "('dcr3a1', 4, 32388)\n", (123644, 123664), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123675, 123703), 'archinfo.arch.Register', 'Register', (['"""dcr3a2"""', '(4)', '(32392)'], {}), "('dcr3a2', 4, 32392)\n", (123683, 123703), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123714, 123742), 'archinfo.arch.Register', 'Register', (['"""dcr3a3"""', '(4)', '(32396)'], {}), "('dcr3a3', 4, 32396)\n", (123722, 123742), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123753, 123781), 'archinfo.arch.Register', 'Register', (['"""dcr3a4"""', '(4)', '(32400)'], {}), "('dcr3a4', 4, 32400)\n", (123761, 123781), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123792, 123820), 'archinfo.arch.Register', 'Register', (['"""dcr3a5"""', '(4)', '(32404)'], {}), "('dcr3a5', 4, 32404)\n", (123800, 123820), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123831, 123859), 'archinfo.arch.Register', 'Register', (['"""dcr3a6"""', '(4)', '(32408)'], {}), "('dcr3a6', 4, 32408)\n", (123839, 123859), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123870, 123898), 'archinfo.arch.Register', 'Register', (['"""dcr3a7"""', '(4)', '(32412)'], {}), "('dcr3a7', 4, 32412)\n", (123878, 123898), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123909, 123937), 'archinfo.arch.Register', 'Register', (['"""dcr3a8"""', '(4)', '(32416)'], {}), "('dcr3a8', 4, 32416)\n", (123917, 123937), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123948, 123976), 'archinfo.arch.Register', 'Register', (['"""dcr3a9"""', '(4)', '(32420)'], {}), "('dcr3a9', 4, 32420)\n", (123956, 123976), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((123987, 124015), 'archinfo.arch.Register', 'Register', (['"""dcr3aa"""', '(4)', '(32424)'], {}), "('dcr3aa', 4, 32424)\n", (123995, 124015), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124026, 124054), 'archinfo.arch.Register', 'Register', (['"""dcr3ab"""', '(4)', '(32428)'], {}), "('dcr3ab', 4, 32428)\n", (124034, 124054), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124065, 124093), 'archinfo.arch.Register', 'Register', (['"""dcr3ac"""', '(4)', '(32432)'], {}), "('dcr3ac', 4, 32432)\n", (124073, 124093), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124104, 124132), 'archinfo.arch.Register', 'Register', (['"""dcr3ad"""', '(4)', '(32436)'], {}), "('dcr3ad', 4, 32436)\n", (124112, 124132), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124143, 124171), 'archinfo.arch.Register', 'Register', (['"""dcr3ae"""', '(4)', '(32440)'], {}), "('dcr3ae', 4, 32440)\n", (124151, 124171), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124182, 124210), 'archinfo.arch.Register', 'Register', (['"""dcr3af"""', '(4)', '(32444)'], {}), "('dcr3af', 4, 32444)\n", (124190, 124210), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124221, 124249), 'archinfo.arch.Register', 'Register', (['"""dcr3b0"""', '(4)', '(32448)'], {}), "('dcr3b0', 4, 32448)\n", (124229, 124249), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124260, 124288), 'archinfo.arch.Register', 'Register', (['"""dcr3b1"""', '(4)', '(32452)'], {}), "('dcr3b1', 4, 32452)\n", (124268, 124288), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124299, 124327), 'archinfo.arch.Register', 'Register', (['"""dcr3b2"""', '(4)', '(32456)'], {}), "('dcr3b2', 4, 32456)\n", (124307, 124327), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124338, 124366), 'archinfo.arch.Register', 'Register', (['"""dcr3b3"""', '(4)', '(32460)'], {}), "('dcr3b3', 4, 32460)\n", (124346, 124366), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124377, 124405), 'archinfo.arch.Register', 'Register', (['"""dcr3b4"""', '(4)', '(32464)'], {}), "('dcr3b4', 4, 32464)\n", (124385, 124405), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124416, 124444), 'archinfo.arch.Register', 'Register', (['"""dcr3b5"""', '(4)', '(32468)'], {}), "('dcr3b5', 4, 32468)\n", (124424, 124444), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124455, 124483), 'archinfo.arch.Register', 'Register', (['"""dcr3b6"""', '(4)', '(32472)'], {}), "('dcr3b6', 4, 32472)\n", (124463, 124483), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124494, 124522), 'archinfo.arch.Register', 'Register', (['"""dcr3b7"""', '(4)', '(32476)'], {}), "('dcr3b7', 4, 32476)\n", (124502, 124522), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124533, 124561), 'archinfo.arch.Register', 'Register', (['"""dcr3b8"""', '(4)', '(32480)'], {}), "('dcr3b8', 4, 32480)\n", (124541, 124561), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124572, 124600), 'archinfo.arch.Register', 'Register', (['"""dcr3b9"""', '(4)', '(32484)'], {}), "('dcr3b9', 4, 32484)\n", (124580, 124600), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124611, 124639), 'archinfo.arch.Register', 'Register', (['"""dcr3ba"""', '(4)', '(32488)'], {}), "('dcr3ba', 4, 32488)\n", (124619, 124639), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124650, 124678), 'archinfo.arch.Register', 'Register', (['"""dcr3bb"""', '(4)', '(32492)'], {}), "('dcr3bb', 4, 32492)\n", (124658, 124678), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124689, 124717), 'archinfo.arch.Register', 'Register', (['"""dcr3bc"""', '(4)', '(32496)'], {}), "('dcr3bc', 4, 32496)\n", (124697, 124717), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124728, 124756), 'archinfo.arch.Register', 'Register', (['"""dcr3bd"""', '(4)', '(32500)'], {}), "('dcr3bd', 4, 32500)\n", (124736, 124756), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124767, 124795), 'archinfo.arch.Register', 'Register', (['"""dcr3be"""', '(4)', '(32504)'], {}), "('dcr3be', 4, 32504)\n", (124775, 124795), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124806, 124834), 'archinfo.arch.Register', 'Register', (['"""dcr3bf"""', '(4)', '(32508)'], {}), "('dcr3bf', 4, 32508)\n", (124814, 124834), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124845, 124873), 'archinfo.arch.Register', 'Register', (['"""dcr3c0"""', '(4)', '(32512)'], {}), "('dcr3c0', 4, 32512)\n", (124853, 124873), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124884, 124912), 'archinfo.arch.Register', 'Register', (['"""dcr3c1"""', '(4)', '(32516)'], {}), "('dcr3c1', 4, 32516)\n", (124892, 124912), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124923, 124951), 'archinfo.arch.Register', 'Register', (['"""dcr3c2"""', '(4)', '(32520)'], {}), "('dcr3c2', 4, 32520)\n", (124931, 124951), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((124962, 124990), 'archinfo.arch.Register', 'Register', (['"""dcr3c3"""', '(4)', '(32524)'], {}), "('dcr3c3', 4, 32524)\n", (124970, 124990), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125001, 125029), 'archinfo.arch.Register', 'Register', (['"""dcr3c4"""', '(4)', '(32528)'], {}), "('dcr3c4', 4, 32528)\n", (125009, 125029), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125040, 125068), 'archinfo.arch.Register', 'Register', (['"""dcr3c5"""', '(4)', '(32532)'], {}), "('dcr3c5', 4, 32532)\n", (125048, 125068), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125079, 125107), 'archinfo.arch.Register', 'Register', (['"""dcr3c6"""', '(4)', '(32536)'], {}), "('dcr3c6', 4, 32536)\n", (125087, 125107), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125118, 125146), 'archinfo.arch.Register', 'Register', (['"""dcr3c7"""', '(4)', '(32540)'], {}), "('dcr3c7', 4, 32540)\n", (125126, 125146), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125157, 125185), 'archinfo.arch.Register', 'Register', (['"""dcr3c8"""', '(4)', '(32544)'], {}), "('dcr3c8', 4, 32544)\n", (125165, 125185), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125196, 125224), 'archinfo.arch.Register', 'Register', (['"""dcr3c9"""', '(4)', '(32548)'], {}), "('dcr3c9', 4, 32548)\n", (125204, 125224), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125235, 125263), 'archinfo.arch.Register', 'Register', (['"""dcr3ca"""', '(4)', '(32552)'], {}), "('dcr3ca', 4, 32552)\n", (125243, 125263), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125274, 125302), 'archinfo.arch.Register', 'Register', (['"""dcr3cb"""', '(4)', '(32556)'], {}), "('dcr3cb', 4, 32556)\n", (125282, 125302), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125313, 125341), 'archinfo.arch.Register', 'Register', (['"""dcr3cc"""', '(4)', '(32560)'], {}), "('dcr3cc', 4, 32560)\n", (125321, 125341), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125352, 125380), 'archinfo.arch.Register', 'Register', (['"""dcr3cd"""', '(4)', '(32564)'], {}), "('dcr3cd', 4, 32564)\n", (125360, 125380), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125391, 125419), 'archinfo.arch.Register', 'Register', (['"""dcr3ce"""', '(4)', '(32568)'], {}), "('dcr3ce', 4, 32568)\n", (125399, 125419), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125430, 125458), 'archinfo.arch.Register', 'Register', (['"""dcr3cf"""', '(4)', '(32572)'], {}), "('dcr3cf', 4, 32572)\n", (125438, 125458), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125469, 125497), 'archinfo.arch.Register', 'Register', (['"""dcr3d0"""', '(4)', '(32576)'], {}), "('dcr3d0', 4, 32576)\n", (125477, 125497), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125508, 125536), 'archinfo.arch.Register', 'Register', (['"""dcr3d1"""', '(4)', '(32580)'], {}), "('dcr3d1', 4, 32580)\n", (125516, 125536), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125547, 125575), 'archinfo.arch.Register', 'Register', (['"""dcr3d2"""', '(4)', '(32584)'], {}), "('dcr3d2', 4, 32584)\n", (125555, 125575), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125586, 125614), 'archinfo.arch.Register', 'Register', (['"""dcr3d3"""', '(4)', '(32588)'], {}), "('dcr3d3', 4, 32588)\n", (125594, 125614), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125625, 125653), 'archinfo.arch.Register', 'Register', (['"""dcr3d4"""', '(4)', '(32592)'], {}), "('dcr3d4', 4, 32592)\n", (125633, 125653), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125664, 125692), 'archinfo.arch.Register', 'Register', (['"""dcr3d5"""', '(4)', '(32596)'], {}), "('dcr3d5', 4, 32596)\n", (125672, 125692), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125703, 125731), 'archinfo.arch.Register', 'Register', (['"""dcr3d6"""', '(4)', '(32600)'], {}), "('dcr3d6', 4, 32600)\n", (125711, 125731), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125742, 125770), 'archinfo.arch.Register', 'Register', (['"""dcr3d7"""', '(4)', '(32604)'], {}), "('dcr3d7', 4, 32604)\n", (125750, 125770), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125781, 125809), 'archinfo.arch.Register', 'Register', (['"""dcr3d8"""', '(4)', '(32608)'], {}), "('dcr3d8', 4, 32608)\n", (125789, 125809), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125820, 125848), 'archinfo.arch.Register', 'Register', (['"""dcr3d9"""', '(4)', '(32612)'], {}), "('dcr3d9', 4, 32612)\n", (125828, 125848), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125859, 125887), 'archinfo.arch.Register', 'Register', (['"""dcr3da"""', '(4)', '(32616)'], {}), "('dcr3da', 4, 32616)\n", (125867, 125887), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125898, 125926), 'archinfo.arch.Register', 'Register', (['"""dcr3db"""', '(4)', '(32620)'], {}), "('dcr3db', 4, 32620)\n", (125906, 125926), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125937, 125965), 'archinfo.arch.Register', 'Register', (['"""dcr3dc"""', '(4)', '(32624)'], {}), "('dcr3dc', 4, 32624)\n", (125945, 125965), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((125976, 126004), 'archinfo.arch.Register', 'Register', (['"""dcr3dd"""', '(4)', '(32628)'], {}), "('dcr3dd', 4, 32628)\n", (125984, 126004), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126015, 126043), 'archinfo.arch.Register', 'Register', (['"""dcr3de"""', '(4)', '(32632)'], {}), "('dcr3de', 4, 32632)\n", (126023, 126043), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126054, 126082), 'archinfo.arch.Register', 'Register', (['"""dcr3df"""', '(4)', '(32636)'], {}), "('dcr3df', 4, 32636)\n", (126062, 126082), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126093, 126121), 'archinfo.arch.Register', 'Register', (['"""dcr3e0"""', '(4)', '(32640)'], {}), "('dcr3e0', 4, 32640)\n", (126101, 126121), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126132, 126160), 'archinfo.arch.Register', 'Register', (['"""dcr3e1"""', '(4)', '(32644)'], {}), "('dcr3e1', 4, 32644)\n", (126140, 126160), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126171, 126199), 'archinfo.arch.Register', 'Register', (['"""dcr3e2"""', '(4)', '(32648)'], {}), "('dcr3e2', 4, 32648)\n", (126179, 126199), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126210, 126238), 'archinfo.arch.Register', 'Register', (['"""dcr3e3"""', '(4)', '(32652)'], {}), "('dcr3e3', 4, 32652)\n", (126218, 126238), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126249, 126277), 'archinfo.arch.Register', 'Register', (['"""dcr3e4"""', '(4)', '(32656)'], {}), "('dcr3e4', 4, 32656)\n", (126257, 126277), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126288, 126316), 'archinfo.arch.Register', 'Register', (['"""dcr3e5"""', '(4)', '(32660)'], {}), "('dcr3e5', 4, 32660)\n", (126296, 126316), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126327, 126355), 'archinfo.arch.Register', 'Register', (['"""dcr3e6"""', '(4)', '(32664)'], {}), "('dcr3e6', 4, 32664)\n", (126335, 126355), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126366, 126394), 'archinfo.arch.Register', 'Register', (['"""dcr3e7"""', '(4)', '(32668)'], {}), "('dcr3e7', 4, 32668)\n", (126374, 126394), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126405, 126433), 'archinfo.arch.Register', 'Register', (['"""dcr3e8"""', '(4)', '(32672)'], {}), "('dcr3e8', 4, 32672)\n", (126413, 126433), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126444, 126472), 'archinfo.arch.Register', 'Register', (['"""dcr3e9"""', '(4)', '(32676)'], {}), "('dcr3e9', 4, 32676)\n", (126452, 126472), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126483, 126511), 'archinfo.arch.Register', 'Register', (['"""dcr3ea"""', '(4)', '(32680)'], {}), "('dcr3ea', 4, 32680)\n", (126491, 126511), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126522, 126550), 'archinfo.arch.Register', 'Register', (['"""dcr3eb"""', '(4)', '(32684)'], {}), "('dcr3eb', 4, 32684)\n", (126530, 126550), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126561, 126589), 'archinfo.arch.Register', 'Register', (['"""dcr3ec"""', '(4)', '(32688)'], {}), "('dcr3ec', 4, 32688)\n", (126569, 126589), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126600, 126628), 'archinfo.arch.Register', 'Register', (['"""dcr3ed"""', '(4)', '(32692)'], {}), "('dcr3ed', 4, 32692)\n", (126608, 126628), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126639, 126667), 'archinfo.arch.Register', 'Register', (['"""dcr3ee"""', '(4)', '(32696)'], {}), "('dcr3ee', 4, 32696)\n", (126647, 126667), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126678, 126706), 'archinfo.arch.Register', 'Register', (['"""dcr3ef"""', '(4)', '(32700)'], {}), "('dcr3ef', 4, 32700)\n", (126686, 126706), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126717, 126745), 'archinfo.arch.Register', 'Register', (['"""dcr3f0"""', '(4)', '(32704)'], {}), "('dcr3f0', 4, 32704)\n", (126725, 126745), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126756, 126784), 'archinfo.arch.Register', 'Register', (['"""dcr3f1"""', '(4)', '(32708)'], {}), "('dcr3f1', 4, 32708)\n", (126764, 126784), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126795, 126823), 'archinfo.arch.Register', 'Register', (['"""dcr3f2"""', '(4)', '(32712)'], {}), "('dcr3f2', 4, 32712)\n", (126803, 126823), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126834, 126862), 'archinfo.arch.Register', 'Register', (['"""dcr3f3"""', '(4)', '(32716)'], {}), "('dcr3f3', 4, 32716)\n", (126842, 126862), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126873, 126901), 'archinfo.arch.Register', 'Register', (['"""dcr3f4"""', '(4)', '(32720)'], {}), "('dcr3f4', 4, 32720)\n", (126881, 126901), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126912, 126940), 'archinfo.arch.Register', 'Register', (['"""dcr3f5"""', '(4)', '(32724)'], {}), "('dcr3f5', 4, 32724)\n", (126920, 126940), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126951, 126979), 'archinfo.arch.Register', 'Register', (['"""dcr3f6"""', '(4)', '(32728)'], {}), "('dcr3f6', 4, 32728)\n", (126959, 126979), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((126990, 127018), 'archinfo.arch.Register', 'Register', (['"""dcr3f7"""', '(4)', '(32732)'], {}), "('dcr3f7', 4, 32732)\n", (126998, 127018), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((127029, 127057), 'archinfo.arch.Register', 'Register', (['"""dcr3f8"""', '(4)', '(32736)'], {}), "('dcr3f8', 4, 32736)\n", (127037, 127057), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((127068, 127096), 'archinfo.arch.Register', 'Register', (['"""dcr3f9"""', '(4)', '(32740)'], {}), "('dcr3f9', 4, 32740)\n", (127076, 127096), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((127107, 127135), 'archinfo.arch.Register', 'Register', (['"""dcr3fa"""', '(4)', '(32744)'], {}), "('dcr3fa', 4, 32744)\n", (127115, 127135), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((127146, 127174), 'archinfo.arch.Register', 'Register', (['"""dcr3fb"""', '(4)', '(32748)'], {}), "('dcr3fb', 4, 32748)\n", (127154, 127174), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((127185, 127213), 'archinfo.arch.Register', 'Register', (['"""dcr3fc"""', '(4)', '(32752)'], {}), "('dcr3fc', 4, 32752)\n", (127193, 127213), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((127224, 127252), 'archinfo.arch.Register', 'Register', (['"""dcr3fd"""', '(4)', '(32756)'], {}), "('dcr3fd', 4, 32756)\n", (127232, 127252), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((127263, 127291), 'archinfo.arch.Register', 'Register', (['"""dcr3fe"""', '(4)', '(32760)'], {}), "('dcr3fe', 4, 32760)\n", (127271, 127291), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((127302, 127330), 'archinfo.arch.Register', 'Register', (['"""dcr3ff"""', '(4)', '(32764)'], {}), "('dcr3ff', 4, 32764)\n", (127310, 127330), False, 'from archinfo.arch import register_arch, Endness, Register\n'), ((127341, 127366), 'archinfo.arch.Register', 'Register', (['"""acc"""', '(8)', '(65536)'], {}), "('acc', 8, 65536)\n", (127349, 127366), False, 'from archinfo.arch import register_arch, Endness, Register\n')]
sieben/makesense
makesense/graph.py
485e71903bcc9446482f21bb5d0c7a392ca1efca
# -*- coding: utf-8 -*- import json import pdb import os from os.path import join as pj import networkx as nx import pandas as pd from networkx.readwrite.json_graph import node_link_data def chain(): g = nx.Graph() # Horizontal for i in range(11, 15): g.add_edge(i, i + 1) for i in range(7, 10): g.add_edge(i, i + 1) for i in range(4, 6): g.add_edge(i, i + 1) for i in range(2, 3): g.add_edge(i, i + 1) g.add_node(1) # Trans height g.add_edge(1, 2) g.add_edge(1, 3) g.add_edge(2, 4) g.add_edge(2, 5) g.add_edge(3, 5) g.add_edge(3, 6) g.add_edge(4, 7) g.add_edge(4, 8) g.add_edge(5, 8) g.add_edge(5, 9) g.add_edge(6, 9) g.add_edge(6, 10) g.add_edge(7, 11) g.add_edge(7, 12) g.add_edge(8, 12) g.add_edge(8, 13) g.add_edge(9, 13) g.add_edge(9, 14) g.add_edge(10, 14) g.add_edge(10, 15) def tree(): with open("graph_radio.json", "w") as f: f.write(json_graph.dumps(g,sort_keys=True, indent=4, separators=(',', ': ') )) # Drawing pos = nx.spectral_layout(g) nx.draw(g, pos, node_color="g") nx.draw_networkx_nodes(g, pos, nodelist=[1], node_color="b") plt.savefig("topology_tree.pdf", format="pdf") plt.show() def plot_graph_chain(folder): g = nx.DiGraph() N = 7 for i in range(1, N): g.add_edge(i + 1, i) g.add_node(1, root=True) with open("radio_tree.json", "w") as f: f.write(json_graph.dumps(g, sort_keys=True, indent=4, separators=(',', ': '))) pos = nx.circular_layout(g) nx.draw(g, pos=pos) nx.draw_networkx_nodes(g, pos, node_color='g') nx.draw_networkx_nodes(g, pos, nodelist=[1], node_color='b') nx.draw_networkx_edges(g, pos, edge_color="r", arrows=True) plt.savefig(pj(folder, "topology_chain.pdf"), format="pdf") def flower(): g = wheel_graph(7) g.add_edge(6, 1) g.add_edge(7, 6) g.add_edge(8, 7) with open("radio_graph.json", "w") as f: f.write(json_graph.dumps(g, sort_keys=True, indent=4, separators=(',', ': '))) pos = nx.spring_layout(g) nx.draw(g, pos=pos) nx.draw_networkx_nodes(g,pos, node_color='g') nx.draw_networkx_nodes(g,pos, nodelist=[8], node_color='b') #nx.draw_networkx_edges(g, pos, edge_color="r", arrows=True) plt.savefig("topology_fleur.pdf", format="pdf") plt.show() def plot_graph(self): """ Plot the transmission graph of the simulation. TODO: Draw arrows and have a directed graph. http://goo.gl/Z697dH TODO: Graph with big nodes for big transmissions """ fig = plt.figure() ax1 = fig.add_subplot(111) ax1.set_title("Transmission / RPL tree") ax1.axis("off") val_color = {"udp_server": 0.5714285714285714} pos = {node: data["pos"] for node, data in self.radio_tree.nodes(data=True)} # color for all nodes node_color = [val_color.get(data["mote_type"], 0.25) for node, data in self.radio_tree.nodes(data=True)] # Drawing the nodes nx.draw_networkx_nodes(self.radio_tree, pos, node_color=node_color, ax=ax1) nx.draw_networkx_labels(self.radio_tree, pos, ax=ax1) # Drawing radio edges nx.draw_networkx_edges(self.radio_tree, pos, edgelist=self.radio_tree.edges(), width=8, alpha=0.5, ax=ax1) # Adding the depth of each node. with open(PJ(self.result_dir, "depth.csv")) as depth_f: reader = DictReader(depth_f) for row in reader: node = int(row["node"]) depth = row["depth"] ax1.text(pos[node][0] + 5, pos[node][1] + 5, depth, bbox=dict(facecolor='red', alpha=0.5), horizontalalignment='center') # Drawing RPL edges nx.draw_networkx_edges( self.rpl_tree, pos, edge_color='r', nodelist=[], arrows=True, ax=ax1) img_path = PJ(self.img_dir, "graph.pdf") fig.savefig(img_path, format="pdf") update_report(self.result_dir, "plot_graph", { "img_src": "img/graph.pdf", "comment": """ When the edge is thick it means edges are in an RPL instance. Otherwise it means that the two nodes can see each others. """, "text": """ We generate a random geometric graph then use information coming to the RPL root to construct the gateway representation of the RPL tree. We add into this tree representation the traffic generated. """}) def transmission_graph(self): """ Plot the transmission graph of the simulation. """ settings = self.settings["transmission_graph"] output_path = pj(self.result_folder_path, *settings["output_path"]) fig_rplinfo, ax_transmission_graph = plt.subplots() net = nx.Graph() # nodes mote_types = self.settings["mote_types"] motes = self.settings["motes"] position = {} for mote in motes: mote_type = mote["mote_type"] mote_id = mote["mote_id"] position[mote_id] = (mote["x"], mote["y"]) mote_types[mote_type] \ .setdefault("nodes", []) \ .append(mote["mote_id"]) # edges transmitting_range = self.settings["transmitting_range"] for couple in itertools.product(motes, motes): if 0 < distance(couple) <= transmitting_range: net.add_edge(couple[0]["mote_id"], couple[1]["mote_id"]) for mote_type in mote_types: color = mote_types[mote_type]["color"] nodelist = mote_types[mote_type]["nodes"] nx.draw_networkx_nodes(net, position, nodelist=nodelist, node_color=color, ax=ax_transmission_graph) nx.draw_networkx_edges(net, pos=position, ax=ax_transmission_graph) # labels nx.draw_networkx_labels(net, position, ax=ax_transmission_graph) plt.axis('off') plt.savefig(output_path) # save as PNG return ax_transmission_graph def rpl_graph(folder): """ Build up the RPL representation at the gateway """ output_folder = pj(folder, "results", "graph") if not os.path.exists(output_folder): os.makedirs(output_folder) df = pd.read_csv(pj(folder, "results", "messages.csv")) parent_df = df[df.message_type == "parent"] rpl_graph = nx.DiGraph() for c, p in parent_df.iterrows(): rpl_graph.add_edge(p["mote_id"], p["node"]) with open(pj(output_folder, "rpl_graph.json"), "w") as f: f.write(json.dumps(node_link_data(rpl_graph), sort_keys=True, indent=4))
[((213, 223), 'networkx.Graph', 'nx.Graph', ([], {}), '()\n', (221, 223), True, 'import networkx as nx\n'), ((1131, 1152), 'networkx.spectral_layout', 'nx.spectral_layout', (['g'], {}), '(g)\n', (1149, 1152), True, 'import networkx as nx\n'), ((1157, 1188), 'networkx.draw', 'nx.draw', (['g', 'pos'], {'node_color': '"""g"""'}), "(g, pos, node_color='g')\n", (1164, 1188), True, 'import networkx as nx\n'), ((1193, 1253), 'networkx.draw_networkx_nodes', 'nx.draw_networkx_nodes', (['g', 'pos'], {'nodelist': '[1]', 'node_color': '"""b"""'}), "(g, pos, nodelist=[1], node_color='b')\n", (1215, 1253), True, 'import networkx as nx\n'), ((1360, 1372), 'networkx.DiGraph', 'nx.DiGraph', ([], {}), '()\n', (1370, 1372), True, 'import networkx as nx\n'), ((1629, 1650), 'networkx.circular_layout', 'nx.circular_layout', (['g'], {}), '(g)\n', (1647, 1650), True, 'import networkx as nx\n'), ((1655, 1674), 'networkx.draw', 'nx.draw', (['g'], {'pos': 'pos'}), '(g, pos=pos)\n', (1662, 1674), True, 'import networkx as nx\n'), ((1679, 1725), 'networkx.draw_networkx_nodes', 'nx.draw_networkx_nodes', (['g', 'pos'], {'node_color': '"""g"""'}), "(g, pos, node_color='g')\n", (1701, 1725), True, 'import networkx as nx\n'), ((1730, 1790), 'networkx.draw_networkx_nodes', 'nx.draw_networkx_nodes', (['g', 'pos'], {'nodelist': '[1]', 'node_color': '"""b"""'}), "(g, pos, nodelist=[1], node_color='b')\n", (1752, 1790), True, 'import networkx as nx\n'), ((1796, 1855), 'networkx.draw_networkx_edges', 'nx.draw_networkx_edges', (['g', 'pos'], {'edge_color': '"""r"""', 'arrows': '(True)'}), "(g, pos, edge_color='r', arrows=True)\n", (1818, 1855), True, 'import networkx as nx\n'), ((2184, 2203), 'networkx.spring_layout', 'nx.spring_layout', (['g'], {}), '(g)\n', (2200, 2203), True, 'import networkx as nx\n'), ((2208, 2227), 'networkx.draw', 'nx.draw', (['g'], {'pos': 'pos'}), '(g, pos=pos)\n', (2215, 2227), True, 'import networkx as nx\n'), ((2232, 2278), 'networkx.draw_networkx_nodes', 'nx.draw_networkx_nodes', (['g', 'pos'], {'node_color': '"""g"""'}), "(g, pos, node_color='g')\n", (2254, 2278), True, 'import networkx as nx\n'), ((2309, 2369), 'networkx.draw_networkx_nodes', 'nx.draw_networkx_nodes', (['g', 'pos'], {'nodelist': '[8]', 'node_color': '"""b"""'}), "(g, pos, nodelist=[8], node_color='b')\n", (2331, 2369), True, 'import networkx as nx\n'), ((3223, 3298), 'networkx.draw_networkx_nodes', 'nx.draw_networkx_nodes', (['self.radio_tree', 'pos'], {'node_color': 'node_color', 'ax': 'ax1'}), '(self.radio_tree, pos, node_color=node_color, ax=ax1)\n', (3245, 3298), True, 'import networkx as nx\n'), ((3303, 3356), 'networkx.draw_networkx_labels', 'nx.draw_networkx_labels', (['self.radio_tree', 'pos'], {'ax': 'ax1'}), '(self.radio_tree, pos, ax=ax1)\n', (3326, 3356), True, 'import networkx as nx\n'), ((3958, 4054), 'networkx.draw_networkx_edges', 'nx.draw_networkx_edges', (['self.rpl_tree', 'pos'], {'edge_color': '"""r"""', 'nodelist': '[]', 'arrows': '(True)', 'ax': 'ax1'}), "(self.rpl_tree, pos, edge_color='r', nodelist=[],\n arrows=True, ax=ax1)\n", (3980, 4054), True, 'import networkx as nx\n'), ((4829, 4882), 'os.path.join', 'pj', (['self.result_folder_path', "*settings['output_path']"], {}), "(self.result_folder_path, *settings['output_path'])\n", (4831, 4882), True, 'from os.path import join as pj\n'), ((4951, 4961), 'networkx.Graph', 'nx.Graph', ([], {}), '()\n', (4959, 4961), True, 'import networkx as nx\n'), ((5938, 6005), 'networkx.draw_networkx_edges', 'nx.draw_networkx_edges', (['net'], {'pos': 'position', 'ax': 'ax_transmission_graph'}), '(net, pos=position, ax=ax_transmission_graph)\n', (5960, 6005), True, 'import networkx as nx\n'), ((6024, 6088), 'networkx.draw_networkx_labels', 'nx.draw_networkx_labels', (['net', 'position'], {'ax': 'ax_transmission_graph'}), '(net, position, ax=ax_transmission_graph)\n', (6047, 6088), True, 'import networkx as nx\n'), ((6299, 6329), 'os.path.join', 'pj', (['folder', '"""results"""', '"""graph"""'], {}), "(folder, 'results', 'graph')\n", (6301, 6329), True, 'from os.path import join as pj\n'), ((6533, 6545), 'networkx.DiGraph', 'nx.DiGraph', ([], {}), '()\n', (6543, 6545), True, 'import networkx as nx\n'), ((1873, 1905), 'os.path.join', 'pj', (['folder', '"""topology_chain.pdf"""'], {}), "(folder, 'topology_chain.pdf')\n", (1875, 1905), True, 'from os.path import join as pj\n'), ((5740, 5844), 'networkx.draw_networkx_nodes', 'nx.draw_networkx_nodes', (['net', 'position'], {'nodelist': 'nodelist', 'node_color': 'color', 'ax': 'ax_transmission_graph'}), '(net, position, nodelist=nodelist, node_color=color,\n ax=ax_transmission_graph)\n', (5762, 5844), True, 'import networkx as nx\n'), ((6341, 6370), 'os.path.exists', 'os.path.exists', (['output_folder'], {}), '(output_folder)\n', (6355, 6370), False, 'import os\n'), ((6380, 6406), 'os.makedirs', 'os.makedirs', (['output_folder'], {}), '(output_folder)\n', (6391, 6406), False, 'import os\n'), ((6429, 6466), 'os.path.join', 'pj', (['folder', '"""results"""', '"""messages.csv"""'], {}), "(folder, 'results', 'messages.csv')\n", (6431, 6466), True, 'from os.path import join as pj\n'), ((6651, 6686), 'os.path.join', 'pj', (['output_folder', '"""rpl_graph.json"""'], {}), "(output_folder, 'rpl_graph.json')\n", (6653, 6686), True, 'from os.path import join as pj\n'), ((6726, 6751), 'networkx.readwrite.json_graph.node_link_data', 'node_link_data', (['rpl_graph'], {}), '(rpl_graph)\n', (6740, 6751), False, 'from networkx.readwrite.json_graph import node_link_data\n')]
tdiprima/code
recipes/Python/52228_Remote_control_with_telnetlib/recipe-52228.py
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
# auto_telnet.py - remote control via telnet import os, sys, string, telnetlib from getpass import getpass class AutoTelnet: def __init__(self, user_list, cmd_list, **kw): self.host = kw.get('host', 'localhost') self.timeout = kw.get('timeout', 600) self.command_prompt = kw.get('command_prompt', "$ ") self.passwd = {} for user in user_list: self.passwd[user] = getpass("Enter user '%s' password: " % user) self.telnet = telnetlib.Telnet() for user in user_list: self.telnet.open(self.host) ok = self.action(user, cmd_list) if not ok: print "Unable to process:", user self.telnet.close() def action(self, user, cmd_list): t = self.telnet t.write("\n") login_prompt = "login: " response = t.read_until(login_prompt, 5) if string.count(response, login_prompt): print response else: return 0 password_prompt = "Password:" t.write("%s\n" % user) response = t.read_until(password_prompt, 3) if string.count(response, password_prompt): print response else: return 0 t.write("%s\n" % self.passwd[user]) response = t.read_until(self.command_prompt, 5) if not string.count(response, self.command_prompt): return 0 for cmd in cmd_list: t.write("%s\n" % cmd) response = t.read_until(self.command_prompt, self.timeout) if not string.count(response, self.command_prompt): return 0 print response return 1 if __name__ == '__main__': basename = os.path.splitext(os.path.basename(sys.argv[0]))[0] logname = os.environ.get("LOGNAME", os.environ.get("USERNAME")) host = 'localhost' import getopt optlist, user_list = getopt.getopt(sys.argv[1:], 'c:f:h:') usage = """ usage: %s [-h host] [-f cmdfile] [-c "command"] user1 user2 ... -c command -f command file -h host (default: '%s') Example: %s -c "echo $HOME" %s """ % (basename, host, basename, logname) if len(sys.argv) < 2: print usage sys.exit(1) cmd_list = [] for (opt, optarg) in optlist: if opt == '-f': for r in open(optarg).readlines(): if string.rstrip(r): cmd_list.append(r) elif opt == '-c': command = optarg if command[0] == '"' and command[-1] == '"': command = command[1:-1] cmd_list.append(command) elif opt == '-h': host = optarg autoTelnet = AutoTelnet(user_list, cmd_list, host=host)
[]
mimbres/FFTNet
FFTNet_dilconv.py
3a6bfb4731bab2e0a59fc3a1ddb55f19f84aeba2
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon May 7 09:46:10 2018 @author: sungkyun FFTNet model using 2x1 dil-conv """ import numpy as np import torch import torch.nn as nn import torch.nn.functional as F # Models with Preset (for convenience) ''' dim_input: dimension of input (256 for 8-bit mu-law input) num_layer: number of layers (11 in paper). receptive field = 2^11 (2,048) io_ch: number of input(=output) channels in each fft layers skip_ch: number of skip-channels, only required for fft-residual net. Annotations: B: batch dimension C: channel dimension L: length dimension ''' def fftnet_base(input_dim=256, num_layer=11, io_ch=256): return FFTNet(input_dim=input_dim, num_layer=num_layer, io_ch=io_ch, skip_ch=0, bias=True) def fftnet_residual(input_dim=256, num_layer=11, io_ch=256, skip_ch=256): return FFTNet(input_dim=input_dim, num_layer=num_layer, io_ch=io_ch, skip_ch=skip_ch, bais=True) # FFT_Block: define a basic FFT Block ''' FFT_Block: - using 2x1 dilated-conv, instead of LR split 1x1 conv. - described in the paper, section 2.2. - in case of the first layer used in the first FFT_Block, we use nn.embedding layer for one-hot index(0-255) entries. ''' class FFT_Block(nn.Module): def __init__(self, cond_dim=26, io_ch=int, recep_sz=int, bias=True): super(FFT_Block, self).__init__() self.cond_dim=cond_dim # Number of dimensions of condition input self.io_ch = io_ch self.recep_sz = recep_sz # Size of receptive field: i.e., the 1st layer has receptive field of 2^11(=2,048). 2nd has 2^10. self.bias = bias # If True, use bias in 1x1 conv. self.dilation = int(recep_sz / 2) self.conv_2x1_LR = nn.Conv1d(in_channels=self.io_ch, out_channels=self.io_ch, kernel_size=2, stride=1, dilation=self.dilation, bias=self.bias) self.conv_2x1_VLR = nn.Conv1d(in_channels=self.cond_dim, out_channels=self.io_ch, kernel_size=2, stride=1, dilation=self.dilation, bias=self.bias) self.conv_1x1_last = nn.Conv1d(in_channels=self.io_ch, out_channels=self.io_ch, kernel_size=1, stride=1, bias=self.bias) return None def forward(self, x, cond): z = self.conv_2x1_LR(x) # Eq(1), z = w_L*x_L + w_R*x_R z = z + self.conv_2x1_VLR(cond) # Eq(2), z = (WL ∗ xL + WR ∗ xR) + (VL ∗ hL + VR ∗ hR) x = F.relu(self.conv_1x1_last(F.relu(z))) # x = ReLU(conv1x1(ReLU(z))) return x ''' FFTNet: - [11 FFT_blocks] --> [FC_layer] --> [softmax] ''' class FFTNet(nn.Module): def __init__(self, input_dim=256, cond_dim=26, num_layer=11, io_ch=256, skip_ch=0, bias=True): super(FFTNet, self).__init__() self.input_dim = input_dim # 256 (=num_classes) self.cond_dim = cond_dim # 26 self.num_layer = num_layer # 11 self.io_ch = io_ch # 256 ch. in the paper self.skip_ch = skip_ch # Not implemented yet (no skip channel in the paper) self.bias = bias # If True, use bias in 2x1 conv. self.max_recep_sz = int(pow(2, self.num_layer)) # 2^11, max receptive field size # Embedding layer: one-hot_index -> embedding -> 256ch output self.input_embedding_layer = nn.Embedding(num_embeddings=self.input_dim, embedding_dim=self.io_ch) # Constructing FFT Blocks: blocks = nn.ModuleList() for l in range(self.num_layer): recep_sz = int(pow(2, self.num_layer-l)) # 1024, 512, ... 2 blocks.append( FFT_Block(cond_dim=self.cond_dim, io_ch=self.io_ch, recep_sz=recep_sz, bias=self.bias) ) self.fft_blocks=blocks # Final FC layer: self.fc = nn.Linear(in_features=self.io_ch, out_features=self.io_ch) return None def forward(self, x, cond, gen_mod=False): # Padding x: zpad_sz = int(self.max_recep_sz) x = F.pad(x, (zpad_sz, 0), 'constant', 128) # 128? or 0? # Embedding(x): x = self.input_embedding_layer(x) # In : BxL, Out: BxLxC x = x.permute(0,2,1) # Out: BxCxL # FFT_Blocks: for l in range(self.num_layer): # Padding cond: zpad_sz = int(self.max_recep_sz/pow(2, l)) padded_cond = F.pad(cond, (zpad_sz, 0), 'constant', 0) x = self.fft_blocks[l](x, padded_cond) if gen_mod is True: x = x[:,:,-1] # In generator mode, take the last one sample only. x = x.reshape(-1, 1, self.io_ch) # (BxC) --> (Bx1xC) else: x = x[:,:,:-1] # In training mode, right-omit 1 is required. x = x.permute(0,2,1) # (BxCxL) --> (BxLxC) x = self.fc(x) # (BxLxC) # NOTE: in PyTorch, softmax() is included in CE loss. return x
[((1832, 1959), 'torch.nn.Conv1d', 'nn.Conv1d', ([], {'in_channels': 'self.io_ch', 'out_channels': 'self.io_ch', 'kernel_size': '(2)', 'stride': '(1)', 'dilation': 'self.dilation', 'bias': 'self.bias'}), '(in_channels=self.io_ch, out_channels=self.io_ch, kernel_size=2,\n stride=1, dilation=self.dilation, bias=self.bias)\n', (1841, 1959), True, 'import torch.nn as nn\n'), ((2022, 2152), 'torch.nn.Conv1d', 'nn.Conv1d', ([], {'in_channels': 'self.cond_dim', 'out_channels': 'self.io_ch', 'kernel_size': '(2)', 'stride': '(1)', 'dilation': 'self.dilation', 'bias': 'self.bias'}), '(in_channels=self.cond_dim, out_channels=self.io_ch, kernel_size=2,\n stride=1, dilation=self.dilation, bias=self.bias)\n', (2031, 2152), True, 'import torch.nn as nn\n'), ((2216, 2319), 'torch.nn.Conv1d', 'nn.Conv1d', ([], {'in_channels': 'self.io_ch', 'out_channels': 'self.io_ch', 'kernel_size': '(1)', 'stride': '(1)', 'bias': 'self.bias'}), '(in_channels=self.io_ch, out_channels=self.io_ch, kernel_size=1,\n stride=1, bias=self.bias)\n', (2225, 2319), True, 'import torch.nn as nn\n'), ((3637, 3706), 'torch.nn.Embedding', 'nn.Embedding', ([], {'num_embeddings': 'self.input_dim', 'embedding_dim': 'self.io_ch'}), '(num_embeddings=self.input_dim, embedding_dim=self.io_ch)\n', (3649, 3706), True, 'import torch.nn as nn\n'), ((3828, 3843), 'torch.nn.ModuleList', 'nn.ModuleList', ([], {}), '()\n', (3841, 3843), True, 'import torch.nn as nn\n'), ((4273, 4331), 'torch.nn.Linear', 'nn.Linear', ([], {'in_features': 'self.io_ch', 'out_features': 'self.io_ch'}), '(in_features=self.io_ch, out_features=self.io_ch)\n', (4282, 4331), True, 'import torch.nn as nn\n'), ((4501, 4540), 'torch.nn.functional.pad', 'F.pad', (['x', '(zpad_sz, 0)', '"""constant"""', '(128)'], {}), "(x, (zpad_sz, 0), 'constant', 128)\n", (4506, 4540), True, 'import torch.nn.functional as F\n'), ((4931, 4971), 'torch.nn.functional.pad', 'F.pad', (['cond', '(zpad_sz, 0)', '"""constant"""', '(0)'], {}), "(cond, (zpad_sz, 0), 'constant', 0)\n", (4936, 4971), True, 'import torch.nn.functional as F\n'), ((2644, 2653), 'torch.nn.functional.relu', 'F.relu', (['z'], {}), '(z)\n', (2650, 2653), True, 'import torch.nn.functional as F\n')]
SNEWS2/snewpdag
snewpdag/plugins/Copy.py
57f886cf08e1acd8af48ee486a1c2400e2b77b8b
""" Copy - copy fields into other (possibly new) fields configuration: on: list of 'alert', 'revoke', 'report', 'reset' (optional: def 'alert' only) cp: ( (in,out), ... ) Field names take the form of dir1/dir2/dir3, which in the payload will be data[dir1][dir2][dir3] """ import logging from snewpdag.dag import Node class Copy(Node): def __init__(self, cp, **kwargs): self.cp = [] for op in cp: src = op[0].split('/') dst = op[1].split('/') self.cp.append( [src, dst[:-1], dst[-1]] ) self.on = kwargs.pop('on', [ 'alert' ]) super().__init__(**kwargs) def copy(self, data): for op in self.cp: v = data # should just follow references for k in op[0]: if k in v: v = v[k] else: logging.warning('Field {} not found from source {}'.format(k, op[0])) continue # v should now hold the value to be copied d = data for k in op[1]: if k not in d: d[k] = {} d = d[k] d[op[2]] = v return data def alert(self, data): return self.copy(data) if 'alert' in self.on else True def revoke(self, data): return self.copy(data) if 'revoke' in self.on else True def reset(self, data): return self.copy(data) if 'reset' in self.on else True def report(self, data): return self.copy(data) if 'report' in self.on else True
[]
BuildWeek-AirBnB-Optimal-Price/application
pages/aboutus.py
c65e1ec3db309dd3afbcf9429d16489ccda534d8
''' houses each team member's link to personal GitHub io or website or blog space RJProctor ''' # Imports from 3rd party libraries import dash import dash_bootstrap_components as dbc import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output from app import app # 1 column layout # https://dash-bootstrap-components.opensource.faculty.ai/l/components/layout column1 = dbc.Col( [ dcc.Markdown( """ ## The Team: Select a link to learn more about each of our team members. """ ), ], ) # create footer column2 = dbc.Col( [ dcc.Markdown( """ **Debbie Cohen** https://github.com/dscohen75/dscohen75.github.io https://medium.com/@debbiecohen_22419 **Moe Fa** --- **Eduardo Padilla** https://medium.com/@eprecendez --- **R. Jeannine Proctor** https://jproctor-rebecca.github.io/ https://medium.com/@jproctor.m.ed.tn --- **Code Review Team Members:** Taylor Curran, Regina Dircio, Robert Giuffrie, Ryan Herr, Brendon Hoss, Anika Nacey, Tomas Phillips, Raymond Tan, and Rebecca Duke-Wiesenberg """ ), ], ) layout = dbc.Row([column1, column2])
[((1535, 1562), 'dash_bootstrap_components.Row', 'dbc.Row', (['[column1, column2]'], {}), '([column1, column2])\n', (1542, 1562), True, 'import dash_bootstrap_components as dbc\n'), ((450, 608), 'dash_core_components.Markdown', 'dcc.Markdown', (['"""\n ## The Team: \n Select a link to learn more about each of our \n team members. \n """'], {}), '(\n """\n ## The Team: \n Select a link to learn more about each of our \n team members. \n """\n )\n', (462, 608), True, 'import dash_core_components as dcc\n'), ((682, 1498), 'dash_core_components.Markdown', 'dcc.Markdown', (['"""\n **Debbie Cohen**\n\n https://github.com/dscohen75/dscohen75.github.io\n\n https://medium.com/@debbiecohen_22419\n \n **Moe Fa**\n\n ---\n \n **Eduardo Padilla**\n\n https://medium.com/@eprecendez\n\n ---\n\n **R. Jeannine Proctor**\n\n https://jproctor-rebecca.github.io/\n\n https://medium.com/@jproctor.m.ed.tn\n\n ---\n\n **Code Review Team Members:**\n\n Taylor Curran,\n Regina Dircio,\n Robert Giuffrie,\n Ryan Herr,\n Brendon Hoss,\n Anika Nacey,\n Tomas Phillips,\n Raymond Tan,\n and\n Rebecca Duke-Wiesenberg\n \n """'], {}), '(\n """\n **Debbie Cohen**\n\n https://github.com/dscohen75/dscohen75.github.io\n\n https://medium.com/@debbiecohen_22419\n \n **Moe Fa**\n\n ---\n \n **Eduardo Padilla**\n\n https://medium.com/@eprecendez\n\n ---\n\n **R. Jeannine Proctor**\n\n https://jproctor-rebecca.github.io/\n\n https://medium.com/@jproctor.m.ed.tn\n\n ---\n\n **Code Review Team Members:**\n\n Taylor Curran,\n Regina Dircio,\n Robert Giuffrie,\n Ryan Herr,\n Brendon Hoss,\n Anika Nacey,\n Tomas Phillips,\n Raymond Tan,\n and\n Rebecca Duke-Wiesenberg\n \n """\n )\n', (694, 1498), True, 'import dash_core_components as dcc\n')]
eyantra/FireBird_Swiss_Knife
Codes/Python32/Lib/importlib/test/extension/test_path_hook.py
cac322cf28e2d690b86ba28a75e87551e5e47988
from importlib import _bootstrap from . import util import collections import imp import sys import unittest class PathHookTests(unittest.TestCase): """Test the path hook for extension modules.""" # XXX Should it only succeed for pre-existing directories? # XXX Should it only work for directories containing an extension module? def hook(self, entry): return _bootstrap._file_path_hook(entry) def test_success(self): # Path hook should handle a directory where a known extension module # exists. self.assertTrue(hasattr(self.hook(util.PATH), 'find_module')) def test_main(): from test.support import run_unittest run_unittest(PathHookTests) if __name__ == '__main__': test_main()
[((682, 709), 'test.support.run_unittest', 'run_unittest', (['PathHookTests'], {}), '(PathHookTests)\n', (694, 709), False, 'from test.support import run_unittest\n'), ((389, 422), 'importlib._bootstrap._file_path_hook', '_bootstrap._file_path_hook', (['entry'], {}), '(entry)\n', (415, 422), False, 'from importlib import _bootstrap\n')]
dcragusa/WeeklyPythonExerciseB2
3. count_words/solution.py
a7da3830e27891060dcfb0804c81f52b1f250ce8
import os from glob import iglob from concurrent.futures import ThreadPoolExecutor def count_words_file(path): if not os.path.isfile(path): return 0 with open(path) as file: return sum(len(line.split()) for line in file) def count_words_sequential(pattern): return sum(map(count_words_file, iglob(pattern))) def count_words_threading(pattern): with ThreadPoolExecutor() as pool: return sum(pool.map(count_words_file, iglob(pattern)))
[((124, 144), 'os.path.isfile', 'os.path.isfile', (['path'], {}), '(path)\n', (138, 144), False, 'import os\n'), ((387, 407), 'concurrent.futures.ThreadPoolExecutor', 'ThreadPoolExecutor', ([], {}), '()\n', (405, 407), False, 'from concurrent.futures import ThreadPoolExecutor\n'), ((323, 337), 'glob.iglob', 'iglob', (['pattern'], {}), '(pattern)\n', (328, 337), False, 'from glob import iglob\n'), ((463, 477), 'glob.iglob', 'iglob', (['pattern'], {}), '(pattern)\n', (468, 477), False, 'from glob import iglob\n')]
cirobarradov/kafka-connect-hdfs-datalab
kafka-connect-azblob/docs/autoreload.py
7e2b23bdb78b34f9934b8d56618a8035b75f6f54
#!/usr/bin/env python from livereload import Server, shell server = Server() server.watch('*.rst', shell('make html')) server.serve()
[((72, 80), 'livereload.Server', 'Server', ([], {}), '()\n', (78, 80), False, 'from livereload import Server, shell\n'), ((104, 122), 'livereload.shell', 'shell', (['"""make html"""'], {}), "('make html')\n", (109, 122), False, 'from livereload import Server, shell\n')]
atom-zh/Keras-TextClassification
keras_textclassification/conf/path_config.py
26c549e8e23c6a10905c2dcef7eef557dc43c932
# -*- coding: UTF-8 -*- # !/usr/bin/python # @time :2019/6/5 21:04 # @author :Mo # @function :file of path import os import pathlib import sys # 项目的根目录 path_root = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) path_root = path_root.replace('\\', '/') path_top = str(pathlib.Path(os.path.abspath(__file__)).parent.parent.parent) path_top = path_top.replace('\\', '/') # path of embedding path_embedding_user_dict = path_root + '/data/embeddings/user_dict.txt' path_embedding_random_char = path_root + '/data/embeddings/term_char.txt' path_embedding_random_word = path_root + '/data/embeddings/term_word.txt' path_embedding_bert = path_root + '/data/embeddings/chinese_L-12_H-768_A-12/' path_embedding_xlnet = path_root + '/data/embeddings/chinese_xlnet_mid_L-24_H-768_A-12/' path_embedding_albert = path_root + '/data/embeddings/albert_base_zh' path_embedding_vector_word2vec_char = path_root + '/data/embeddings/multi_label_char.vec' path_embedding_vector_word2vec_word = path_root + '/data/embeddings/multi_label_word.vec' path_embedding_vector_word2vec_char_bin = path_root + '/data/embeddings/multi_label_char.bin' path_embedding_vector_word2vec_word_bin = path_root + '/data/embeddings/multi_label_word.bin' # classify data of baidu qa 2019 path_baidu_qa_2019_train = path_root + '/data/baidu_qa_2019/baike_qa_train.csv' path_baidu_qa_2019_valid = path_root + '/data/baidu_qa_2019/baike_qa_valid.csv' # 今日头条新闻多标签分类 path_byte_multi_news_train = path_root + '/data/byte_multi_news/train.csv' path_byte_multi_news_valid = path_root + '/data/byte_multi_news/valid.csv' path_byte_multi_news_label = path_root + '/data/byte_multi_news/labels.csv' # classify data of baidu qa 2019 path_sim_webank_train = path_root + '/data/sim_webank/train.csv' path_sim_webank_valid = path_root + '/data/sim_webank/valid.csv' path_sim_webank_test = path_root + '/data/sim_webank/test.csv' # classfiy multi labels 2021 path_multi_label_train = path_root + '/data/multi_label/train.csv' path_multi_label_valid = path_root + '/data/multi_label/valid.csv' path_multi_label_labels = path_root + '/data/multi_label/labels.csv' path_multi_label_tests = path_root + '/data/multi_label/tests.csv' # 路径抽象层 path_label = path_multi_label_labels path_train = path_multi_label_train path_valid = path_multi_label_valid path_tests = path_multi_label_tests path_edata = path_root + "/../out/error_data.csv" # fast_text config path_out = path_top + "/out/" # 模型目录 path_model_dir = path_root + "/data/model/fast_text/" # 语料地址 path_model = path_root + '/data/model/fast_text/model_fast_text.h5' # 超参数保存地址 path_hyper_parameters = path_root + '/data/model/fast_text/hyper_parameters.json' # embedding微调保存地址 path_fineture = path_root + "/data/model/fast_text/embedding_trainable.h5" # 保持 分类-标签 索引 path_category = path_root + '/data/multi_label/category2labels.json' # l2i_i2l path_l2i_i2l = path_root + '/data/multi_label/l2i_i2l.json'
[((212, 237), 'os.path.dirname', 'os.path.dirname', (['__file__'], {}), '(__file__)\n', (227, 237), False, 'import os\n'), ((324, 349), 'os.path.abspath', 'os.path.abspath', (['__file__'], {}), '(__file__)\n', (339, 349), False, 'import os\n')]
robertopreste/apyhgnc
tests/test_apyhgnc.py
26efa764a2262cfa12c8a2f0f077569e7f3e4e79
#!/usr/bin/env python # -*- coding: UTF-8 -*- # Created by Roberto Preste import pytest import asyncio from pandas.testing import assert_frame_equal from apyhgnc import apyhgnc # apyhgnc.info def test_info_searchableFields(searchable_fields): result = apyhgnc.info().searchableFields assert result == searchable_fields def test_info_storedFields(stored_fields): result = apyhgnc.info().storedFields assert result == stored_fields def test_info_url(): result = apyhgnc.info().url assert result == "http://rest.genenames.org/info" # apyhgnc.fetch def test_fetch_symbol_znf3(df_fetch_symbol_znf3): result = apyhgnc.fetch("symbol", "ZNF3") assert_frame_equal(result, df_fetch_symbol_znf3) def test_fetch_symbol_znf3_async(df_fetch_symbol_znf3): loop = asyncio.get_event_loop() result = loop.run_until_complete( apyhgnc.afetch("symbol", "ZNF3") ) assert_frame_equal(result, df_fetch_symbol_znf3) # apyhgnc.search def test_search_all_braf(df_search_all_braf): result = apyhgnc.search("BRAF") assert_frame_equal(result, df_search_all_braf) def test_search_all_braf_async(df_search_all_braf): loop = asyncio.get_event_loop() result = loop.run_until_complete( apyhgnc.asearch("BRAF") ) assert_frame_equal(result, df_search_all_braf) def test_search_symbol_braf(df_search_symbol_braf): result = apyhgnc.search("symbol", "BRAF") assert_frame_equal(result, df_search_symbol_braf) def test_search_symbol_braf_async(df_search_symbol_braf): loop = asyncio.get_event_loop() result = loop.run_until_complete( apyhgnc.asearch("symbol", "BRAF") ) assert_frame_equal(result, df_search_symbol_braf) def test_search_symbols_braf_znf3(df_search_symbols_braf_znf3): result = apyhgnc.search(symbol=["BRAF", "ZNF3"]) assert_frame_equal(result, df_search_symbols_braf_znf3) def test_search_symbols_braf_znf3_async(df_search_symbols_braf_znf3): loop = asyncio.get_event_loop() result = loop.run_until_complete( apyhgnc.asearch(symbol=["BRAF", "ZNF3"]) ) assert_frame_equal(result, df_search_symbols_braf_znf3) def test_search_symbol_and_status(df_search_symbol_and_status): result = apyhgnc.search(symbol="BRAF", status="Approved") assert_frame_equal(result, df_search_symbol_and_status) def test_search_symbol_and_status_async(df_search_symbol_and_status): loop = asyncio.get_event_loop() result = loop.run_until_complete( apyhgnc.asearch(symbol="BRAF", status="Approved") ) assert_frame_equal(result, df_search_symbol_and_status)
[((642, 673), 'apyhgnc.apyhgnc.fetch', 'apyhgnc.fetch', (['"""symbol"""', '"""ZNF3"""'], {}), "('symbol', 'ZNF3')\n", (655, 673), False, 'from apyhgnc import apyhgnc\n'), ((678, 726), 'pandas.testing.assert_frame_equal', 'assert_frame_equal', (['result', 'df_fetch_symbol_znf3'], {}), '(result, df_fetch_symbol_znf3)\n', (696, 726), False, 'from pandas.testing import assert_frame_equal\n'), ((796, 820), 'asyncio.get_event_loop', 'asyncio.get_event_loop', ([], {}), '()\n', (818, 820), False, 'import asyncio\n'), ((910, 958), 'pandas.testing.assert_frame_equal', 'assert_frame_equal', (['result', 'df_fetch_symbol_znf3'], {}), '(result, df_fetch_symbol_znf3)\n', (928, 958), False, 'from pandas.testing import assert_frame_equal\n'), ((1038, 1060), 'apyhgnc.apyhgnc.search', 'apyhgnc.search', (['"""BRAF"""'], {}), "('BRAF')\n", (1052, 1060), False, 'from apyhgnc import apyhgnc\n'), ((1065, 1111), 'pandas.testing.assert_frame_equal', 'assert_frame_equal', (['result', 'df_search_all_braf'], {}), '(result, df_search_all_braf)\n', (1083, 1111), False, 'from pandas.testing import assert_frame_equal\n'), ((1177, 1201), 'asyncio.get_event_loop', 'asyncio.get_event_loop', ([], {}), '()\n', (1199, 1201), False, 'import asyncio\n'), ((1282, 1328), 'pandas.testing.assert_frame_equal', 'assert_frame_equal', (['result', 'df_search_all_braf'], {}), '(result, df_search_all_braf)\n', (1300, 1328), False, 'from pandas.testing import assert_frame_equal\n'), ((1396, 1428), 'apyhgnc.apyhgnc.search', 'apyhgnc.search', (['"""symbol"""', '"""BRAF"""'], {}), "('symbol', 'BRAF')\n", (1410, 1428), False, 'from apyhgnc import apyhgnc\n'), ((1433, 1482), 'pandas.testing.assert_frame_equal', 'assert_frame_equal', (['result', 'df_search_symbol_braf'], {}), '(result, df_search_symbol_braf)\n', (1451, 1482), False, 'from pandas.testing import assert_frame_equal\n'), ((1554, 1578), 'asyncio.get_event_loop', 'asyncio.get_event_loop', ([], {}), '()\n', (1576, 1578), False, 'import asyncio\n'), ((1669, 1718), 'pandas.testing.assert_frame_equal', 'assert_frame_equal', (['result', 'df_search_symbol_braf'], {}), '(result, df_search_symbol_braf)\n', (1687, 1718), False, 'from pandas.testing import assert_frame_equal\n'), ((1798, 1837), 'apyhgnc.apyhgnc.search', 'apyhgnc.search', ([], {'symbol': "['BRAF', 'ZNF3']"}), "(symbol=['BRAF', 'ZNF3'])\n", (1812, 1837), False, 'from apyhgnc import apyhgnc\n'), ((1842, 1897), 'pandas.testing.assert_frame_equal', 'assert_frame_equal', (['result', 'df_search_symbols_braf_znf3'], {}), '(result, df_search_symbols_braf_znf3)\n', (1860, 1897), False, 'from pandas.testing import assert_frame_equal\n'), ((1981, 2005), 'asyncio.get_event_loop', 'asyncio.get_event_loop', ([], {}), '()\n', (2003, 2005), False, 'import asyncio\n'), ((2103, 2158), 'pandas.testing.assert_frame_equal', 'assert_frame_equal', (['result', 'df_search_symbols_braf_znf3'], {}), '(result, df_search_symbols_braf_znf3)\n', (2121, 2158), False, 'from pandas.testing import assert_frame_equal\n'), ((2238, 2286), 'apyhgnc.apyhgnc.search', 'apyhgnc.search', ([], {'symbol': '"""BRAF"""', 'status': '"""Approved"""'}), "(symbol='BRAF', status='Approved')\n", (2252, 2286), False, 'from apyhgnc import apyhgnc\n'), ((2291, 2346), 'pandas.testing.assert_frame_equal', 'assert_frame_equal', (['result', 'df_search_symbol_and_status'], {}), '(result, df_search_symbol_and_status)\n', (2309, 2346), False, 'from pandas.testing import assert_frame_equal\n'), ((2430, 2454), 'asyncio.get_event_loop', 'asyncio.get_event_loop', ([], {}), '()\n', (2452, 2454), False, 'import asyncio\n'), ((2561, 2616), 'pandas.testing.assert_frame_equal', 'assert_frame_equal', (['result', 'df_search_symbol_and_status'], {}), '(result, df_search_symbol_and_status)\n', (2579, 2616), False, 'from pandas.testing import assert_frame_equal\n'), ((259, 273), 'apyhgnc.apyhgnc.info', 'apyhgnc.info', ([], {}), '()\n', (271, 273), False, 'from apyhgnc import apyhgnc\n'), ((388, 402), 'apyhgnc.apyhgnc.info', 'apyhgnc.info', ([], {}), '()\n', (400, 402), False, 'from apyhgnc import apyhgnc\n'), ((487, 501), 'apyhgnc.apyhgnc.info', 'apyhgnc.info', ([], {}), '()\n', (499, 501), False, 'from apyhgnc import apyhgnc\n'), ((867, 899), 'apyhgnc.apyhgnc.afetch', 'apyhgnc.afetch', (['"""symbol"""', '"""ZNF3"""'], {}), "('symbol', 'ZNF3')\n", (881, 899), False, 'from apyhgnc import apyhgnc\n'), ((1248, 1271), 'apyhgnc.apyhgnc.asearch', 'apyhgnc.asearch', (['"""BRAF"""'], {}), "('BRAF')\n", (1263, 1271), False, 'from apyhgnc import apyhgnc\n'), ((1625, 1658), 'apyhgnc.apyhgnc.asearch', 'apyhgnc.asearch', (['"""symbol"""', '"""BRAF"""'], {}), "('symbol', 'BRAF')\n", (1640, 1658), False, 'from apyhgnc import apyhgnc\n'), ((2052, 2092), 'apyhgnc.apyhgnc.asearch', 'apyhgnc.asearch', ([], {'symbol': "['BRAF', 'ZNF3']"}), "(symbol=['BRAF', 'ZNF3'])\n", (2067, 2092), False, 'from apyhgnc import apyhgnc\n'), ((2501, 2550), 'apyhgnc.apyhgnc.asearch', 'apyhgnc.asearch', ([], {'symbol': '"""BRAF"""', 'status': '"""Approved"""'}), "(symbol='BRAF', status='Approved')\n", (2516, 2550), False, 'from apyhgnc import apyhgnc\n')]
magnium/pybdaq
bdaq/tools/extract_enums.py
8511cff42b7f953c105e7a78c8c62f6deb2430ec
import os.path import argparse from xml.etree import ElementTree as ET class ExtractedEnum(object): def __init__(self, tag_name, value_names): self.tag_name = tag_name self.value_names = value_names def write_pxd(self, file_): file_.write("\n ctypedef enum {}:\n".format(self.tag_name)) for name in self.value_names: file_.write(" " * 8 + "{}\n".format(name)) def write_pyx(self, file_): file_.write("\nclass {}(enum.Enum):\n".format(self.tag_name)) for name in self.value_names: file_.write(" " * 4 + "{0} = _c.{0}\n".format(name)) @staticmethod def from_xml(element, typedefs): value_names = [v.attrib["name"] for v in element.findall("EnumValue")] return ExtractedEnum( typedefs[element.attrib["id"]], value_names) def find_enums(file_or_path): # parse XML tree = ET.parse(file_or_path) # extract typedefs typedefs = {} for element in tree.findall("Typedef"): typedefs[element.attrib["type"]] = element.attrib["name"] # extract enums enums = [] for element in tree.findall("Enumeration"): enums.append(ExtractedEnum.from_xml(element, typedefs)) print "Found {} enums to extract.".format(len(enums)) return enums def write_cython(pyx_file, pxd_file, enums): # write pxd file header pxd_file.write("# GENERATED FILE; DO NOT MODIFY\n\n") pxd_file.write( 'cdef extern from "bdaqctrl.h" namespace "Automation::BDaq":') # write pyx file header pyx_file.write("# GENERATED FILE; DO NOT MODIFY\n\n") pyx_file.write("import enum\n\n") pyx_file.write("cimport wrapper_enums_c as _c\n\n") # write enums for extracted in enums: print "Extracting definition of {}...".format(extracted.tag_name) extracted.write_pyx(pyx_file) extracted.write_pxd(pxd_file) print "Done extracting definitions." def main(): # parse script arguments parser = argparse.ArgumentParser( description="Extract enum definitions from header.") parser.add_argument( "--xml-in", default="bdaqctrl.h.xml", help="path to gccxml result") parser.add_argument( "--path-out", default=".", help="path to output directory") args = parser.parse_args() # extract enums enums = find_enums(args.xml_in) out_pyx_path = os.path.join(args.path_out, "wrapper_enums.pyx") out_pxd_path = os.path.join(args.path_out, "wrapper_enums_c.pxd") with open(out_pyx_path, "wb") as out_pyx_file: with open(out_pxd_path, "wb") as out_pxd_file: write_cython(out_pyx_file, out_pxd_file, enums) if __name__ == "__main__": main()
[]
SebaB29/Python
Objetos/biblioteca.py
8fe7b375e200d2a629e3ef83a2356002621267a6
class Libro: def __init__(self, titulo, autor): """...""" self.titulo = titulo self.autor = autor def obtener_titulo(self): """...""" return str(self.titulo) def obtener_autor(self): """...""" return str(self.autor) class Biblioteca: def __init__(self): """...""" self.coleccion = set() def agregar_libro(self, libro): """...""" self.coleccion.add((libro.titulo, libro.autor)) def sacar_libro(self, titulo, autor): """...""" if not (titulo, autor) in self.coleccion: raise Exception("El libro no esta en la colección") self.coleccion.remove((titulo, autor)) return f"Libro: {titulo}, Autor: {autor}" def contiene_libro(self, titulo, autor): """...""" return (titulo, autor) in self.coleccion libro = Libro("HyP", "JK") libro1 = Libro("La Isla M", "JCortazar") libro2 = Libro("El tunel", "Sabato") biblio = Biblioteca() biblio.agregar_libro(libro) biblio.agregar_libro(libro1) biblio.agregar_libro(libro2) print(biblio.contiene_libro("HyP", "JK")) print(biblio.sacar_libro("HyP", "JK")) print(biblio.contiene_libro("HyP", "JK"))
[]
Harvard-ATG/visualizing_russian_tools
parser_tool/tests/test_htmlgenerator.py
e8e5cf8c5b7eee0b6855594ad41b3ccd70a2d467
# -*- coding: utf-8 -*- import unittest from xml.etree import ElementTree as ET from parser_tool import tokenizer from parser_tool import htmlgenerator class TestHtmlGenerator(unittest.TestCase): def _maketokendict(self, **kwargs): token_text = kwargs.get("token", "") token_dict = { "token": token_text, "index": kwargs.get("index", 0), "offset": kwargs.get("offset", 0), "tokentype": kwargs.get("tokentype", tokenizer.TOKEN_WORD), "canonical": kwargs.get("canonical", tokenizer.canonical(token_text)), "form_ids": kwargs.get("form_ids", []), "level": kwargs.get("level", ""), } return token_dict def test_render_token_russian_word(self): token_text = "первоку́рсник" token_dict = self._maketokendict(token=token_text, tokentype=tokenizer.TOKEN_RUS, level="3A", form_ids=["174128"]) rendered = htmlgenerator.render_token(token_dict) node_type, el = rendered['node_type'], rendered['element'] self.assertEqual(htmlgenerator.ELEMENT_NODE, node_type) self.assertEqual("span", el.tag) self.assertEqual({ "class": "word parsed level3", "data-form-ids": ",".join(token_dict['form_ids']), "data-level": token_dict['level'] }, el.attrib) self.assertEqual(token_text, el.text) def test_render_token_english_word(self): token_text = "hypothetical" token_dict = self._maketokendict(token=token_text, tokentype=tokenizer.TOKEN_WORD) rendered = htmlgenerator.render_token(token_dict) node_type, el = rendered['node_type'], rendered['element'] self.assertEqual(htmlgenerator.ELEMENT_NODE, node_type) self.assertEqual("span", el.tag) self.assertEqual({"class": "word"}, el.attrib) self.assertEqual(token_text, el.text) def test_render_token_with_multiple_spaces(self): token_text = " " * 3 expected_text = token_text.replace(" ", "\u00A0\u00A0") token_dict = self._maketokendict(token=token_text, tokentype=tokenizer.TOKEN_SPACE) rendered = htmlgenerator.render_token(token_dict) self.assertEqual(htmlgenerator.TEXT_NODE, rendered['node_type']) self.assertEqual(expected_text, rendered['text']) def test_render_token_with_punctuation(self): token_text = "')." expected_text = token_text token_dict = self._maketokendict(token=token_text, tokentype=tokenizer.TOKEN_SPACE) rendered = htmlgenerator.render_token(token_dict) self.assertEqual(htmlgenerator.TEXT_NODE, rendered['node_type']) self.assertEqual(expected_text, rendered['text']) def test_tokens_with_leading_punct_to_html(self): # (собака) dog tokens = [ self._maketokendict(token="(", tokentype=tokenizer.TOKEN_PUNCT), self._maketokendict(token="собака", tokentype=tokenizer.TOKEN_RUS, level="1E", form_ids=["7599"]), self._maketokendict(token=")", tokentype=tokenizer.TOKEN_RUS), self._maketokendict(token=" ", tokentype=tokenizer.TOKEN_SPACE), self._maketokendict(token="dog", tokentype=tokenizer.TOKEN_WORD), ] html = htmlgenerator.tokens2html(tokens) expected_html = '<pre class="words">(<span data-form-ids="7599" data-level="1E" class="word parsed level1">собака</span><span class="word">)</span> <span class="word">dog</span></pre>' self.assertEqual(expected_html, html) def test_tokens2html(self): tokens = [ self._maketokendict(token="A", tokentype=tokenizer.TOKEN_WORD), self._maketokendict(token=" ", tokentype=tokenizer.TOKEN_SPACE), self._maketokendict(token="первоку́рсник", tokentype=tokenizer.TOKEN_RUS, level="3A", form_ids=["174128"]), self._maketokendict(token=" ", tokentype=tokenizer.TOKEN_SPACE), self._maketokendict(token="|", tokentype=tokenizer.TOKEN_PUNCT), self._maketokendict(token="первоку́рсница", tokentype=tokenizer.TOKEN_RUS, level="3A", form_ids=["174128"]), self._maketokendict(token=" ", tokentype=tokenizer.TOKEN_SPACE), ] html = htmlgenerator.tokens2html(tokens) root = ET.fromstring(html) # Check the root element (e.g. container) self.assertEqual("pre", root.tag) self.assertEqual({"class": "words"}, root.attrib) # Check that we have the expected number of child elements (1 element for each word or russian token) expected_word_elements = sum([1 for t in tokens if t['tokentype'] in (tokenizer.TOKEN_WORD, tokenizer.TOKEN_RUS)]) self.assertEqual(expected_word_elements, len(root)) # Now check the first few tokens... # 1) Check that the first child contains the text of the first token self.assertEqual(tokens[0]['token'], root[0].text) self.assertEqual("span", root[0].tag) self.assertEqual({"class": "word"}, root[0].attrib) # 2) Check that the first child's tail contains the text of the second token since it's a space token self.assertEqual(tokens[1]['token'], root[0].tail) # 3) Check that the second child contains the text of the third token self.assertEqual(tokens[2]['token'], root[1].text) self.assertEqual("span", root[1].tag) self.assertEqual({'class': 'word parsed level3', 'data-form-ids': '174128', 'data-level': '3A'}, root[1].attrib)
[((948, 986), 'parser_tool.htmlgenerator.render_token', 'htmlgenerator.render_token', (['token_dict'], {}), '(token_dict)\n', (974, 986), False, 'from parser_tool import htmlgenerator\n'), ((1600, 1638), 'parser_tool.htmlgenerator.render_token', 'htmlgenerator.render_token', (['token_dict'], {}), '(token_dict)\n', (1626, 1638), False, 'from parser_tool import htmlgenerator\n'), ((2173, 2211), 'parser_tool.htmlgenerator.render_token', 'htmlgenerator.render_token', (['token_dict'], {}), '(token_dict)\n', (2199, 2211), False, 'from parser_tool import htmlgenerator\n'), ((2568, 2606), 'parser_tool.htmlgenerator.render_token', 'htmlgenerator.render_token', (['token_dict'], {}), '(token_dict)\n', (2594, 2606), False, 'from parser_tool import htmlgenerator\n'), ((3283, 3316), 'parser_tool.htmlgenerator.tokens2html', 'htmlgenerator.tokens2html', (['tokens'], {}), '(tokens)\n', (3308, 3316), False, 'from parser_tool import htmlgenerator\n'), ((4266, 4299), 'parser_tool.htmlgenerator.tokens2html', 'htmlgenerator.tokens2html', (['tokens'], {}), '(tokens)\n', (4291, 4299), False, 'from parser_tool import htmlgenerator\n'), ((4315, 4334), 'xml.etree.ElementTree.fromstring', 'ET.fromstring', (['html'], {}), '(html)\n', (4328, 4334), True, 'from xml.etree import ElementTree as ET\n'), ((554, 585), 'parser_tool.tokenizer.canonical', 'tokenizer.canonical', (['token_text'], {}), '(token_text)\n', (573, 585), False, 'from parser_tool import tokenizer\n')]
threefoldtech/Threefold-Circles
taiga/hooks/gitlab/migrations/0002_auto_20150703_1102.py
cbc433796b25cf7af9a295af65d665a4a279e2d6
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.core.files import File def update_gitlab_system_user_photo_to_v2(apps, schema_editor): # We get the model from the versioned app registry; # if we directly import it, it'll be the wrong version User = apps.get_model("users", "User") db_alias = schema_editor.connection.alias try: user = User.objects.using(db_alias).get(username__startswith="gitlab-", is_active=False, is_system=True) f = open("taiga/hooks/gitlab/migrations/logo-v2.png", "rb") user.photo.save("logo.png", File(f)) user.save() except User.DoesNotExist: pass def update_gitlab_system_user_photo_to_v1(apps, schema_editor): # We get the model from the versioned app registry; # if we directly import it, it'll be the wrong version User = apps.get_model("users", "User") db_alias = schema_editor.connection.alias try: user = User.objects.using(db_alias).get(username__startswith="gitlab-", is_active=False, is_system=True) f = open("taiga/hooks/gitlab/migrations/logo.png", "rb") user.photo.save("logo.png", File(f)) user.save() except User.DoesNotExist: pass class Migration(migrations.Migration): dependencies = [ ('gitlab', '0001_initial'), ('users', '0011_user_theme'), ] operations = [ migrations.RunPython(update_gitlab_system_user_photo_to_v2, update_gitlab_system_user_photo_to_v1), ]
[((1637, 1739), 'django.db.migrations.RunPython', 'migrations.RunPython', (['update_gitlab_system_user_photo_to_v2', 'update_gitlab_system_user_photo_to_v1'], {}), '(update_gitlab_system_user_photo_to_v2,\n update_gitlab_system_user_photo_to_v1)\n', (1657, 1739), False, 'from django.db import models, migrations\n'), ((733, 740), 'django.core.files.File', 'File', (['f'], {}), '(f)\n', (737, 740), False, 'from django.core.files import File\n'), ((1394, 1401), 'django.core.files.File', 'File', (['f'], {}), '(f)\n', (1398, 1401), False, 'from django.core.files import File\n')]
michalgagat/plugins_oauth
external_plugin_deps.bzl
47cc344013bd43a4ac508c578f2d93f37a166ee6
load("//tools/bzl:maven_jar.bzl", "maven_jar") def external_plugin_deps(omit_commons_codec = True): JACKSON_VERS = "2.10.2" maven_jar( name = "scribejava-core", artifact = "com.github.scribejava:scribejava-core:6.9.0", sha1 = "ed761f450d8382f75787e8fee9ae52e7ec768747", ) maven_jar( name = "jackson-annotations", artifact = "com.fasterxml.jackson.core:jackson-annotations:" + JACKSON_VERS, sha1 = "3a13b6105946541b8d4181a0506355b5fae63260", ) maven_jar( name = "jackson-databind", artifact = "com.fasterxml.jackson.core:jackson-databind:" + JACKSON_VERS, sha1 = "0528de95f198afafbcfb0c09d2e43b6e0ea663ec", deps = [ "@jackson-annotations//jar", ], ) if not omit_commons_codec: maven_jar( name = "commons-codec", artifact = "commons-codec:commons-codec:1.4", sha1 = "4216af16d38465bbab0f3dff8efa14204f7a399a", )
[]
emiliocarcanobringas/11.-Operaciones_entero_con_float_python
11.-Operaciones_entero_con_float_python.py
faf3bf2fae3b7a990e0d20483ac9ac219dcb7857
# Este programa muestra la suma de dos variables, de tipo int y float print("Este programa muestra la suma de dos variables, de tipo int y float") print("También muestra que la variable que realiza la operación es de tipo float") numero1 = 7 numero2 = 3.1416 sumadeambos = numero1 + numero2 print("El resultado de la suma es: ") print(sumadeambos) print(type(sumadeambos)) # Este programa fue escrito por Emilio Carcaño Bringas
[]
basiralab/RG-Select
main_gat.py
074274f61667611205724c4423fc498ee4a0a9d0
# -*- coding: utf-8 -*- from sklearn import preprocessing from torch.autograd import Variable from models_gat import GAT import os import torch import numpy as np import argparse import pickle import sklearn.metrics as metrics import cross_val import time import random torch.manual_seed(0) np.random.seed(0) random.seed(0) device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu') def evaluate(dataset, model_GAT, args, threshold_value, model_name): """ Parameters ---------- dataset : dataloader (dataloader for the validation/test dataset). model_GCN : nn model (GAT model). args : arguments threshold_value : float (threshold for adjacency matrices). Description ---------- This methods performs the evaluation of the model on test/validation dataset Returns ------- test accuracy. """ model_GAT.eval() labels = [] preds = [] for batch_idx, data in enumerate(dataset): adj = Variable(data['adj'].float(), requires_grad=False).to(device) labels.append(data['label'].long().numpy()) adj = torch.squeeze(adj) features = np.identity(adj.shape[0]) features = Variable(torch.from_numpy(features).float(), requires_grad=False).cpu() if args.threshold in ["median", "mean"]: adj = torch.where(adj > threshold_value, torch.tensor([1.0]), torch.tensor([0.0])) ypred = model_GAT(features, adj) _, indices = torch.max(ypred, 1) preds.append(indices.cpu().data.numpy()) labels = np.hstack(labels) preds = np.hstack(preds) simple_r = {'labels':labels,'preds':preds} with open("./gat/Labels_and_preds/"+model_name+".pickle", 'wb') as f: pickle.dump(simple_r, f) result = {'prec': metrics.precision_score(labels, preds, average='macro'), 'recall': metrics.recall_score(labels, preds, average='macro'), 'acc': metrics.accuracy_score(labels, preds), 'F1': metrics.f1_score(labels, preds, average="micro")} if args.evaluation_method == 'model assessment': name = 'Test' if args.evaluation_method == 'model selection': name = 'Validation' print(name, " accuracy:", result['acc']) return result['acc'] def minmax_sc(x): min_max_scaler = preprocessing.MinMaxScaler() x = min_max_scaler.fit_transform(x) return x def train(args, train_dataset, val_dataset, model_GAT, threshold_value, model_name): """ Parameters ---------- args : arguments train_dataset : dataloader (dataloader for the validation/test dataset). val_dataset : dataloader (dataloader for the validation/test dataset). model_GAT : nn model (GAT model). threshold_value : float (threshold for adjacency matrices). Description ---------- This methods performs the training of the model on train dataset and calls evaluate() method for evaluation. Returns ------- test accuracy. """ params = list(model_GAT.parameters()) optimizer = torch.optim.Adam(params, lr=args.lr, weight_decay=args.weight_decay) test_accs = [] train_loss=[] val_acc=[] for epoch in range(args.num_epochs): print("Epoch ",epoch) print("Size of Training Set:" + str(len(train_dataset))) print("Size of Validation Set:" + str(len(val_dataset))) model_GAT.train() total_time = 0 avg_loss = 0.0 preds = [] labels = [] for batch_idx, data in enumerate(train_dataset): begin_time = time.time() adj = Variable(data['adj'].float(), requires_grad=False).to(device) label = Variable(data['label'].long()).to(device) #adj_id = Variable(data['id'].int()).to(device) adj = torch.squeeze(adj) features = np.identity(adj.shape[0]) features = Variable(torch.from_numpy(features).float(), requires_grad=False).cpu() if args.threshold in ["median", "mean"]: adj = torch.where(adj > threshold_value, torch.tensor([1.0]), torch.tensor([0.0])) ypred = model_GAT(features, adj) _, indices = torch.max(ypred, 1) preds.append(indices.cpu().data.numpy()) labels.append(data['label'].long().numpy()) loss = model_GAT.loss(ypred, label) model_GAT.zero_grad() loss.backward() #nn.utils.clip_grad_norm_(model_DIFFPOOL.parameters(), args.clip) optimizer.step() avg_loss += loss elapsed = time.time() - begin_time total_time += elapsed if epoch == args.num_epochs-1: model_GAT.is_trained = True preds = np.hstack(preds) labels = np.hstack(labels) print("Train accuracy : ", np.mean( preds == labels )) test_acc = evaluate(val_dataset, model_GAT, args, threshold_value, model_name) print('Avg loss: ', avg_loss, '; epoch time: ', total_time) test_accs.append(test_acc) train_loss.append(avg_loss) val_acc.append(test_acc) path = './gat/weights/W_'+model_name+'.pickle' if os.path.exists(path): os.remove(path) os.rename('GAT_W.pickle',path) los_p = {'loss':train_loss} with open("./gat/training_loss/Training_loss_"+model_name+".pickle", 'wb') as f: pickle.dump(los_p, f) torch.save(model_GAT,"./gat/models/GAT_"+model_name+".pt") return test_acc def load_data(args): """ Parameters ---------- args : arguments Description ---------- This methods loads the adjacency matrices representing the args.view -th view in dataset Returns ------- List of dictionaries{adj, label, id} """ #Load graphs and labels with open('data/'+args.dataset+'/'+args.dataset+'_edges','rb') as f: multigraphs = pickle.load(f) with open('data/'+args.dataset+'/'+args.dataset+'_labels','rb') as f: labels = pickle.load(f) adjacencies = [multigraphs[i][:,:,args.view] for i in range(len(multigraphs))] #Normalize inputs if args.NormalizeInputGraphs==True: for subject in range(len(adjacencies)): adjacencies[subject] = minmax_sc(adjacencies[subject]) #Create List of Dictionaries G_list=[] for i in range(len(labels)): G_element = {"adj": adjacencies[i],"label": labels[i],"id": i,} G_list.append(G_element) return G_list def arg_parse(dataset, view, num_shots=2, cv_number=5): """ arguments definition method """ parser = argparse.ArgumentParser(description='Graph Classification') parser.add_argument('--mode', type=str, default='train', choices=['train', 'test']) parser.add_argument('--v', type=str, default=1) parser.add_argument('--data', type=str, default='Sample_dataset', choices = [ f.path[5:] for f in os.scandir("data") if f.is_dir() ]) parser.add_argument('--dataset', type=str, default=dataset, help='Dataset') parser.add_argument('--view', type=int, default=view, help = 'view index in the dataset') parser.add_argument('--num_epochs', type=int, default=1, #50 help='Training Epochs') parser.add_argument('--num_shots', type=int, default=num_shots, #100 help='number of shots') parser.add_argument('--cv_number', type=int, default=cv_number, help='number of validation folds.') parser.add_argument('--NormalizeInputGraphs', default=False, action='store_true', help='Normalize Input adjacency matrices of graphs') parser.add_argument('--evaluation_method', type=str, default='model assessment', help='evaluation method, possible values : model selection, model assessment') parser.add_argument('--threshold', dest='threshold', default='mean', help='threshold the graph adjacency matrix. Possible values: no_threshold, median, mean') parser.add_argument('--no-cuda', action='store_true', default=False, help='Disables CUDA training.') parser.add_argument('--num-classes', dest='num_classes', type=int, default=2, help='Number of label classes') parser.add_argument('--lr', type=float, default=0.001, help='Initial learning rate.') parser.add_argument('--weight_decay', type=float, default=5e-4, help='Weight decay (L2 loss on parameters).') parser.add_argument('--hidden', type=int, default=8, help='Number of hidden units.') parser.add_argument('--nb_heads', type=int, default=8, help='Number of head attentions.') parser.add_argument('--dropout', type=float, default=0.8, help='Dropout rate (1 - keep probability).') parser.add_argument('--alpha', type=float, default=0.2, help='Alpha for the leaky_relu.') return parser.parse_args() def benchmark_task(args, model_name): """ Parameters ---------- args : Arguments Description ---------- Initiates the model and performs train/test or train/validation splits and calls train() to execute training and evaluation. Returns ------- test_accs : test accuracies (list) """ G_list = load_data(args) num_nodes = G_list[0]['adj'].shape[0] test_accs = [] folds = cross_val.stratify_splits(G_list,args) [random.shuffle(folds[i]) for i in range(len(folds))] for i in range(args.cv_number): train_set, validation_set, test_set = cross_val.datasets_splits(folds, args, i) if args.evaluation_method =='model selection': train_dataset, val_dataset, threshold_value = cross_val.model_selection_split(train_set, validation_set, args) if args.evaluation_method =='model assessment': train_dataset, val_dataset, threshold_value = cross_val.model_assessment_split(train_set, validation_set, test_set, args) print("CV : ",i) model_GAT = GAT(nfeat=num_nodes, nhid=args.hidden, nclass=args.num_classes, dropout=args.dropout, nheads=args.nb_heads, alpha=args.alpha) test_acc = train(args, train_dataset, val_dataset, model_GAT, threshold_value, model_name+"_CV_"+str(i)+"_view_"+str(args.view)) test_accs.append(test_acc) return test_accs def test_scores(dataset, view, model_name, cv_number): args = arg_parse(dataset, view, cv_number=cv_number) print("Main : ",args) test_accs = benchmark_task(args, model_name) print("test accuracies ",test_accs) return test_accs def two_shot_trainer(dataset, view, num_shots): args = arg_parse(dataset, view, num_shots=num_shots) torch.manual_seed(0) np.random.seed(0) random.seed(0) start = time.time() for i in range(args.num_shots): model = "gat" model_name = "Few_Shot_"+dataset+"_"+model + str(i) print("Shot : ",i) with open('./Two_shot_samples_views/'+dataset+'_view_'+str(view)+'_shot_'+str(i)+'_train','rb') as f: train_set = pickle.load(f) with open('./Two_shot_samples_views/'+dataset+'_view_'+str(view)+'_shot_'+str(i)+'_test','rb') as f: test_set = pickle.load(f) num_nodes = train_set[0]['adj'].shape[0] model_GAT = GAT(nfeat=num_nodes, nhid=args.hidden, nclass=args.num_classes, dropout=args.dropout, nheads=args.nb_heads, alpha=args.alpha) train_dataset, val_dataset, threshold_value = cross_val.two_shot_loader(train_set, test_set, args) test_acc = train(args, train_dataset, val_dataset, model_GAT, threshold_value, model_name+"_view_"+str(view)) print("Test accuracy:"+str(test_acc)) print('load data using ------>', time.time()-start)
[((273, 293), 'torch.manual_seed', 'torch.manual_seed', (['(0)'], {}), '(0)\n', (290, 293), False, 'import torch\n'), ((294, 311), 'numpy.random.seed', 'np.random.seed', (['(0)'], {}), '(0)\n', (308, 311), True, 'import numpy as np\n'), ((312, 326), 'random.seed', 'random.seed', (['(0)'], {}), '(0)\n', (323, 326), False, 'import random\n'), ((1597, 1614), 'numpy.hstack', 'np.hstack', (['labels'], {}), '(labels)\n', (1606, 1614), True, 'import numpy as np\n'), ((1627, 1643), 'numpy.hstack', 'np.hstack', (['preds'], {}), '(preds)\n', (1636, 1643), True, 'import numpy as np\n'), ((2350, 2378), 'sklearn.preprocessing.MinMaxScaler', 'preprocessing.MinMaxScaler', ([], {}), '()\n', (2376, 2378), False, 'from sklearn import preprocessing\n'), ((3095, 3163), 'torch.optim.Adam', 'torch.optim.Adam', (['params'], {'lr': 'args.lr', 'weight_decay': 'args.weight_decay'}), '(params, lr=args.lr, weight_decay=args.weight_decay)\n', (3111, 3163), False, 'import torch\n'), ((5362, 5382), 'os.path.exists', 'os.path.exists', (['path'], {}), '(path)\n', (5376, 5382), False, 'import os\n'), ((5421, 5452), 'os.rename', 'os.rename', (['"""GAT_W.pickle"""', 'path'], {}), "('GAT_W.pickle', path)\n", (5430, 5452), False, 'import os\n'), ((5604, 5667), 'torch.save', 'torch.save', (['model_GAT', "('./gat/models/GAT_' + model_name + '.pt')"], {}), "(model_GAT, './gat/models/GAT_' + model_name + '.pt')\n", (5614, 5667), False, 'import torch\n'), ((6808, 6867), 'argparse.ArgumentParser', 'argparse.ArgumentParser', ([], {'description': '"""Graph Classification"""'}), "(description='Graph Classification')\n", (6831, 6867), False, 'import argparse\n'), ((9774, 9813), 'cross_val.stratify_splits', 'cross_val.stratify_splits', (['G_list', 'args'], {}), '(G_list, args)\n', (9799, 9813), False, 'import cross_val\n'), ((11209, 11229), 'torch.manual_seed', 'torch.manual_seed', (['(0)'], {}), '(0)\n', (11226, 11229), False, 'import torch\n'), ((11234, 11251), 'numpy.random.seed', 'np.random.seed', (['(0)'], {}), '(0)\n', (11248, 11251), True, 'import numpy as np\n'), ((11256, 11270), 'random.seed', 'random.seed', (['(0)'], {}), '(0)\n', (11267, 11270), False, 'import random\n'), ((11285, 11296), 'time.time', 'time.time', ([], {}), '()\n', (11294, 11296), False, 'import time\n'), ((362, 387), 'torch.cuda.is_available', 'torch.cuda.is_available', ([], {}), '()\n', (385, 387), False, 'import torch\n'), ((1125, 1143), 'torch.squeeze', 'torch.squeeze', (['adj'], {}), '(adj)\n', (1138, 1143), False, 'import torch\n'), ((1172, 1197), 'numpy.identity', 'np.identity', (['adj.shape[0]'], {}), '(adj.shape[0])\n', (1183, 1197), True, 'import numpy as np\n'), ((1514, 1533), 'torch.max', 'torch.max', (['ypred', '(1)'], {}), '(ypred, 1)\n', (1523, 1533), False, 'import torch\n'), ((1772, 1796), 'pickle.dump', 'pickle.dump', (['simple_r', 'f'], {}), '(simple_r, f)\n', (1783, 1796), False, 'import pickle\n'), ((1820, 1875), 'sklearn.metrics.precision_score', 'metrics.precision_score', (['labels', 'preds'], {'average': '"""macro"""'}), "(labels, preds, average='macro')\n", (1843, 1875), True, 'import sklearn.metrics as metrics\n'), ((1901, 1953), 'sklearn.metrics.recall_score', 'metrics.recall_score', (['labels', 'preds'], {'average': '"""macro"""'}), "(labels, preds, average='macro')\n", (1921, 1953), True, 'import sklearn.metrics as metrics\n'), ((1976, 2013), 'sklearn.metrics.accuracy_score', 'metrics.accuracy_score', (['labels', 'preds'], {}), '(labels, preds)\n', (1998, 2013), True, 'import sklearn.metrics as metrics\n'), ((2035, 2083), 'sklearn.metrics.f1_score', 'metrics.f1_score', (['labels', 'preds'], {'average': '"""micro"""'}), "(labels, preds, average='micro')\n", (2051, 2083), True, 'import sklearn.metrics as metrics\n'), ((4915, 4931), 'numpy.hstack', 'np.hstack', (['preds'], {}), '(preds)\n', (4924, 4931), True, 'import numpy as np\n'), ((4949, 4966), 'numpy.hstack', 'np.hstack', (['labels'], {}), '(labels)\n', (4958, 4966), True, 'import numpy as np\n'), ((5392, 5407), 'os.remove', 'os.remove', (['path'], {}), '(path)\n', (5401, 5407), False, 'import os\n'), ((5578, 5599), 'pickle.dump', 'pickle.dump', (['los_p', 'f'], {}), '(los_p, f)\n', (5589, 5599), False, 'import pickle\n'), ((6090, 6104), 'pickle.load', 'pickle.load', (['f'], {}), '(f)\n', (6101, 6104), False, 'import pickle\n'), ((6204, 6218), 'pickle.load', 'pickle.load', (['f'], {}), '(f)\n', (6215, 6218), False, 'import pickle\n'), ((9818, 9842), 'random.shuffle', 'random.shuffle', (['folds[i]'], {}), '(folds[i])\n', (9832, 9842), False, 'import random\n'), ((9953, 9994), 'cross_val.datasets_splits', 'cross_val.datasets_splits', (['folds', 'args', 'i'], {}), '(folds, args, i)\n', (9978, 9994), False, 'import cross_val\n'), ((10427, 10557), 'models_gat.GAT', 'GAT', ([], {'nfeat': 'num_nodes', 'nhid': 'args.hidden', 'nclass': 'args.num_classes', 'dropout': 'args.dropout', 'nheads': 'args.nb_heads', 'alpha': 'args.alpha'}), '(nfeat=num_nodes, nhid=args.hidden, nclass=args.num_classes, dropout=\n args.dropout, nheads=args.nb_heads, alpha=args.alpha)\n', (10430, 10557), False, 'from models_gat import GAT\n'), ((11830, 11960), 'models_gat.GAT', 'GAT', ([], {'nfeat': 'num_nodes', 'nhid': 'args.hidden', 'nclass': 'args.num_classes', 'dropout': 'args.dropout', 'nheads': 'args.nb_heads', 'alpha': 'args.alpha'}), '(nfeat=num_nodes, nhid=args.hidden, nclass=args.num_classes, dropout=\n args.dropout, nheads=args.nb_heads, alpha=args.alpha)\n', (11833, 11960), False, 'from models_gat import GAT\n'), ((12104, 12156), 'cross_val.two_shot_loader', 'cross_val.two_shot_loader', (['train_set', 'test_set', 'args'], {}), '(train_set, test_set, args)\n', (12129, 12156), False, 'import cross_val\n'), ((3637, 3648), 'time.time', 'time.time', ([], {}), '()\n', (3646, 3648), False, 'import time\n'), ((3895, 3913), 'torch.squeeze', 'torch.squeeze', (['adj'], {}), '(adj)\n', (3908, 3913), False, 'import torch\n'), ((3938, 3963), 'numpy.identity', 'np.identity', (['adj.shape[0]'], {}), '(adj.shape[0])\n', (3949, 3963), True, 'import numpy as np\n'), ((4333, 4352), 'torch.max', 'torch.max', (['ypred', '(1)'], {}), '(ypred, 1)\n', (4342, 4352), False, 'import torch\n'), ((5002, 5026), 'numpy.mean', 'np.mean', (['(preds == labels)'], {}), '(preds == labels)\n', (5009, 5026), True, 'import numpy as np\n'), ((10117, 10181), 'cross_val.model_selection_split', 'cross_val.model_selection_split', (['train_set', 'validation_set', 'args'], {}), '(train_set, validation_set, args)\n', (10148, 10181), False, 'import cross_val\n'), ((10305, 10380), 'cross_val.model_assessment_split', 'cross_val.model_assessment_split', (['train_set', 'validation_set', 'test_set', 'args'], {}), '(train_set, validation_set, test_set, args)\n', (10337, 10380), False, 'import cross_val\n'), ((11581, 11595), 'pickle.load', 'pickle.load', (['f'], {}), '(f)\n', (11592, 11595), False, 'import pickle\n'), ((11728, 11742), 'pickle.load', 'pickle.load', (['f'], {}), '(f)\n', (11739, 11742), False, 'import pickle\n'), ((1400, 1419), 'torch.tensor', 'torch.tensor', (['[1.0]'], {}), '([1.0])\n', (1412, 1419), False, 'import torch\n'), ((1421, 1440), 'torch.tensor', 'torch.tensor', (['[0.0]'], {}), '([0.0])\n', (1433, 1440), False, 'import torch\n'), ((4743, 4754), 'time.time', 'time.time', ([], {}), '()\n', (4752, 4754), False, 'import time\n'), ((12380, 12391), 'time.time', 'time.time', ([], {}), '()\n', (12389, 12391), False, 'import time\n'), ((4182, 4201), 'torch.tensor', 'torch.tensor', (['[1.0]'], {}), '([1.0])\n', (4194, 4201), False, 'import torch\n'), ((4203, 4222), 'torch.tensor', 'torch.tensor', (['[0.0]'], {}), '([0.0])\n', (4215, 4222), False, 'import torch\n'), ((7125, 7143), 'os.scandir', 'os.scandir', (['"""data"""'], {}), "('data')\n", (7135, 7143), False, 'import os\n'), ((1235, 1261), 'torch.from_numpy', 'torch.from_numpy', (['features'], {}), '(features)\n', (1251, 1261), False, 'import torch\n'), ((3996, 4022), 'torch.from_numpy', 'torch.from_numpy', (['features'], {}), '(features)\n', (4012, 4022), False, 'import torch\n')]
jeikabu/lumberyard
dev/Gems/CloudGemDefectReporter/v1/AWS/common-code/Python/piexif/_dump.py
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
import copy import numbers import struct from ._common import * from ._exif import * TIFF_HEADER_LENGTH = 8 def dump(exif_dict_original): """ py:function:: piexif.load(data) Return exif as bytes. :param dict exif: Exif data({"0th":dict, "Exif":dict, "GPS":dict, "Interop":dict, "1st":dict, "thumbnail":bytes}) :return: Exif :rtype: bytes """ exif_dict = copy.deepcopy(exif_dict_original) header = b"Exif\x00\x00\x4d\x4d\x00\x2a\x00\x00\x00\x08" exif_is = False gps_is = False interop_is = False first_is = False if "0th" in exif_dict: zeroth_ifd = exif_dict["0th"] else: zeroth_ifd = {} if (("Exif" in exif_dict) and len(exif_dict["Exif"]) or ("Interop" in exif_dict) and len(exif_dict["Interop"]) ): zeroth_ifd[ImageIFD.ExifTag] = 1 exif_is = True exif_ifd = exif_dict["Exif"] if ("Interop" in exif_dict) and len(exif_dict["Interop"]): exif_ifd[ExifIFD. InteroperabilityTag] = 1 interop_is = True interop_ifd = exif_dict["Interop"] elif ExifIFD. InteroperabilityTag in exif_ifd: exif_ifd.pop(ExifIFD.InteroperabilityTag) elif ImageIFD.ExifTag in zeroth_ifd: zeroth_ifd.pop(ImageIFD.ExifTag) if ("GPS" in exif_dict) and len(exif_dict["GPS"]): zeroth_ifd[ImageIFD.GPSTag] = 1 gps_is = True gps_ifd = exif_dict["GPS"] elif ImageIFD.GPSTag in zeroth_ifd: zeroth_ifd.pop(ImageIFD.GPSTag) if (("1st" in exif_dict) and ("thumbnail" in exif_dict) and (exif_dict["thumbnail"] is not None)): first_is = True exif_dict["1st"][ImageIFD.JPEGInterchangeFormat] = 1 exif_dict["1st"][ImageIFD.JPEGInterchangeFormatLength] = 1 first_ifd = exif_dict["1st"] zeroth_set = _dict_to_bytes(zeroth_ifd, "0th", 0) zeroth_length = (len(zeroth_set[0]) + exif_is * 12 + gps_is * 12 + 4 + len(zeroth_set[1])) if exif_is: exif_set = _dict_to_bytes(exif_ifd, "Exif", zeroth_length) exif_length = len(exif_set[0]) + interop_is * 12 + len(exif_set[1]) else: exif_bytes = b"" exif_length = 0 if gps_is: gps_set = _dict_to_bytes(gps_ifd, "GPS", zeroth_length + exif_length) gps_bytes = b"".join(gps_set) gps_length = len(gps_bytes) else: gps_bytes = b"" gps_length = 0 if interop_is: offset = zeroth_length + exif_length + gps_length interop_set = _dict_to_bytes(interop_ifd, "Interop", offset) interop_bytes = b"".join(interop_set) interop_length = len(interop_bytes) else: interop_bytes = b"" interop_length = 0 if first_is: offset = zeroth_length + exif_length + gps_length + interop_length first_set = _dict_to_bytes(first_ifd, "1st", offset) thumbnail = _get_thumbnail(exif_dict["thumbnail"]) thumbnail_max_size = 64000 if len(thumbnail) > thumbnail_max_size: raise ValueError("Given thumbnail is too large. max 64kB") else: first_bytes = b"" if exif_is: pointer_value = TIFF_HEADER_LENGTH + zeroth_length pointer_str = struct.pack(">I", pointer_value) key = ImageIFD.ExifTag key_str = struct.pack(">H", key) type_str = struct.pack(">H", TYPES.Long) length_str = struct.pack(">I", 1) exif_pointer = key_str + type_str + length_str + pointer_str else: exif_pointer = b"" if gps_is: pointer_value = TIFF_HEADER_LENGTH + zeroth_length + exif_length pointer_str = struct.pack(">I", pointer_value) key = ImageIFD.GPSTag key_str = struct.pack(">H", key) type_str = struct.pack(">H", TYPES.Long) length_str = struct.pack(">I", 1) gps_pointer = key_str + type_str + length_str + pointer_str else: gps_pointer = b"" if interop_is: pointer_value = (TIFF_HEADER_LENGTH + zeroth_length + exif_length + gps_length) pointer_str = struct.pack(">I", pointer_value) key = ExifIFD.InteroperabilityTag key_str = struct.pack(">H", key) type_str = struct.pack(">H", TYPES.Long) length_str = struct.pack(">I", 1) interop_pointer = key_str + type_str + length_str + pointer_str else: interop_pointer = b"" if first_is: pointer_value = (TIFF_HEADER_LENGTH + zeroth_length + exif_length + gps_length + interop_length) first_ifd_pointer = struct.pack(">L", pointer_value) thumbnail_pointer = (pointer_value + len(first_set[0]) + 24 + 4 + len(first_set[1])) thumbnail_p_bytes = (b"\x02\x01\x00\x04\x00\x00\x00\x01" + struct.pack(">L", thumbnail_pointer)) thumbnail_length_bytes = (b"\x02\x02\x00\x04\x00\x00\x00\x01" + struct.pack(">L", len(thumbnail))) first_bytes = (first_set[0] + thumbnail_p_bytes + thumbnail_length_bytes + b"\x00\x00\x00\x00" + first_set[1] + thumbnail) else: first_ifd_pointer = b"\x00\x00\x00\x00" zeroth_bytes = (zeroth_set[0] + exif_pointer + gps_pointer + first_ifd_pointer + zeroth_set[1]) if exif_is: exif_bytes = exif_set[0] + interop_pointer + exif_set[1] return (header + zeroth_bytes + exif_bytes + gps_bytes + interop_bytes + first_bytes) def _get_thumbnail(jpeg): segments = split_into_segments(jpeg) while (b"\xff\xe0" <= segments[1][0:2] <= b"\xff\xef"): segments.pop(1) thumbnail = b"".join(segments) return thumbnail def _pack_byte(*args): return struct.pack("B" * len(args), *args) def _pack_signed_byte(*args): return struct.pack("b" * len(args), *args) def _pack_short(*args): return struct.pack(">" + "H" * len(args), *args) def _pack_signed_short(*args): return struct.pack(">" + "h" * len(args), *args) def _pack_long(*args): return struct.pack(">" + "L" * len(args), *args) def _pack_slong(*args): return struct.pack(">" + "l" * len(args), *args) def _pack_float(*args): return struct.pack(">" + "f" * len(args), *args) def _pack_double(*args): return struct.pack(">" + "d" * len(args), *args) def _value_to_bytes(raw_value, value_type, offset): four_bytes_over = b"" value_str = b"" if value_type == TYPES.Byte: length = len(raw_value) if length <= 4: value_str = (_pack_byte(*raw_value) + b"\x00" * (4 - length)) else: value_str = struct.pack(">I", offset) four_bytes_over = _pack_byte(*raw_value) elif value_type == TYPES.Short: length = len(raw_value) if length <= 2: value_str = (_pack_short(*raw_value) + b"\x00\x00" * (2 - length)) else: value_str = struct.pack(">I", offset) four_bytes_over = _pack_short(*raw_value) elif value_type == TYPES.Long: length = len(raw_value) if length <= 1: value_str = _pack_long(*raw_value) else: value_str = struct.pack(">I", offset) four_bytes_over = _pack_long(*raw_value) elif value_type == TYPES.SLong: length = len(raw_value) if length <= 1: value_str = _pack_slong(*raw_value) else: value_str = struct.pack(">I", offset) four_bytes_over = _pack_slong(*raw_value) elif value_type == TYPES.Ascii: try: new_value = raw_value.encode("latin1") + b"\x00" except: try: new_value = raw_value + b"\x00" except TypeError: raise ValueError("Got invalid type to convert.") length = len(new_value) if length > 4: value_str = struct.pack(">I", offset) four_bytes_over = new_value else: value_str = new_value + b"\x00" * (4 - length) elif value_type == TYPES.Rational: if isinstance(raw_value[0], numbers.Integral): length = 1 num, den = raw_value new_value = struct.pack(">L", num) + struct.pack(">L", den) elif isinstance(raw_value[0], tuple): length = len(raw_value) new_value = b"" for n, val in enumerate(raw_value): num, den = val new_value += (struct.pack(">L", num) + struct.pack(">L", den)) value_str = struct.pack(">I", offset) four_bytes_over = new_value elif value_type == TYPES.SRational: if isinstance(raw_value[0], numbers.Integral): length = 1 num, den = raw_value new_value = struct.pack(">l", num) + struct.pack(">l", den) elif isinstance(raw_value[0], tuple): length = len(raw_value) new_value = b"" for n, val in enumerate(raw_value): num, den = val new_value += (struct.pack(">l", num) + struct.pack(">l", den)) value_str = struct.pack(">I", offset) four_bytes_over = new_value elif value_type == TYPES.Undefined: length = len(raw_value) if length > 4: value_str = struct.pack(">I", offset) try: four_bytes_over = b"" + raw_value except TypeError: raise ValueError("Got invalid type to convert.") else: try: value_str = raw_value + b"\x00" * (4 - length) except TypeError: raise ValueError("Got invalid type to convert.") elif value_type == TYPES.SByte: # Signed Byte length = len(raw_value) if length <= 4: value_str = (_pack_signed_byte(*raw_value) + b"\x00" * (4 - length)) else: value_str = struct.pack(">I", offset) four_bytes_over = _pack_signed_byte(*raw_value) elif value_type == TYPES.SShort: # Signed Short length = len(raw_value) if length <= 2: value_str = (_pack_signed_short(*raw_value) + b"\x00\x00" * (2 - length)) else: value_str = struct.pack(">I", offset) four_bytes_over = _pack_signed_short(*raw_value) elif value_type == TYPES.Float: length = len(raw_value) if length <= 1: value_str = _pack_float(*raw_value) else: value_str = struct.pack(">I", offset) four_bytes_over = _pack_float(*raw_value) elif value_type == TYPES.DFloat: # Double length = len(raw_value) value_str = struct.pack(">I", offset) four_bytes_over = _pack_double(*raw_value) length_str = struct.pack(">I", length) return length_str, value_str, four_bytes_over def _dict_to_bytes(ifd_dict, ifd, ifd_offset): tag_count = len(ifd_dict) entry_header = struct.pack(">H", tag_count) if ifd in ("0th", "1st"): entries_length = 2 + tag_count * 12 + 4 else: entries_length = 2 + tag_count * 12 entries = b"" values = b"" for n, key in enumerate(sorted(ifd_dict)): if (ifd == "0th") and (key in (ImageIFD.ExifTag, ImageIFD.GPSTag)): continue elif (ifd == "Exif") and (key == ExifIFD.InteroperabilityTag): continue elif (ifd == "1st") and (key in (ImageIFD.JPEGInterchangeFormat, ImageIFD.JPEGInterchangeFormatLength)): continue raw_value = ifd_dict[key] key_str = struct.pack(">H", key) value_type = TAGS[ifd][key]["type"] type_str = struct.pack(">H", value_type) four_bytes_over = b"" if isinstance(raw_value, numbers.Integral) or isinstance(raw_value, float): raw_value = (raw_value,) offset = TIFF_HEADER_LENGTH + entries_length + ifd_offset + len(values) try: length_str, value_str, four_bytes_over = _value_to_bytes(raw_value, value_type, offset) except ValueError: raise ValueError( '"dump" got wrong type of exif value.\n' + '{0} in {1} IFD. Got as {2}.'.format(key, ifd, type(ifd_dict[key])) ) entries += key_str + type_str + length_str + value_str values += four_bytes_over return (entry_header + entries, values)
[((393, 426), 'copy.deepcopy', 'copy.deepcopy', (['exif_dict_original'], {}), '(exif_dict_original)\n', (406, 426), False, 'import copy\n'), ((11003, 11028), 'struct.pack', 'struct.pack', (['""">I"""', 'length'], {}), "('>I', length)\n", (11014, 11028), False, 'import struct\n'), ((11176, 11204), 'struct.pack', 'struct.pack', (['""">H"""', 'tag_count'], {}), "('>H', tag_count)\n", (11187, 11204), False, 'import struct\n'), ((3255, 3287), 'struct.pack', 'struct.pack', (['""">I"""', 'pointer_value'], {}), "('>I', pointer_value)\n", (3266, 3287), False, 'import struct\n'), ((3337, 3359), 'struct.pack', 'struct.pack', (['""">H"""', 'key'], {}), "('>H', key)\n", (3348, 3359), False, 'import struct\n'), ((3379, 3408), 'struct.pack', 'struct.pack', (['""">H"""', 'TYPES.Long'], {}), "('>H', TYPES.Long)\n", (3390, 3408), False, 'import struct\n'), ((3430, 3450), 'struct.pack', 'struct.pack', (['""">I"""', '(1)'], {}), "('>I', 1)\n", (3441, 3450), False, 'import struct\n'), ((3667, 3699), 'struct.pack', 'struct.pack', (['""">I"""', 'pointer_value'], {}), "('>I', pointer_value)\n", (3678, 3699), False, 'import struct\n'), ((3748, 3770), 'struct.pack', 'struct.pack', (['""">H"""', 'key'], {}), "('>H', key)\n", (3759, 3770), False, 'import struct\n'), ((3790, 3819), 'struct.pack', 'struct.pack', (['""">H"""', 'TYPES.Long'], {}), "('>H', TYPES.Long)\n", (3801, 3819), False, 'import struct\n'), ((3841, 3861), 'struct.pack', 'struct.pack', (['""">I"""', '(1)'], {}), "('>I', 1)\n", (3852, 3861), False, 'import struct\n'), ((4120, 4152), 'struct.pack', 'struct.pack', (['""">I"""', 'pointer_value'], {}), "('>I', pointer_value)\n", (4131, 4152), False, 'import struct\n'), ((4213, 4235), 'struct.pack', 'struct.pack', (['""">H"""', 'key'], {}), "('>H', key)\n", (4224, 4235), False, 'import struct\n'), ((4255, 4284), 'struct.pack', 'struct.pack', (['""">H"""', 'TYPES.Long'], {}), "('>H', TYPES.Long)\n", (4266, 4284), False, 'import struct\n'), ((4306, 4326), 'struct.pack', 'struct.pack', (['""">I"""', '(1)'], {}), "('>I', 1)\n", (4317, 4326), False, 'import struct\n'), ((4614, 4646), 'struct.pack', 'struct.pack', (['""">L"""', 'pointer_value'], {}), "('>L', pointer_value)\n", (4625, 4646), False, 'import struct\n'), ((11796, 11818), 'struct.pack', 'struct.pack', (['""">H"""', 'key'], {}), "('>H', key)\n", (11807, 11818), False, 'import struct\n'), ((11882, 11911), 'struct.pack', 'struct.pack', (['""">H"""', 'value_type'], {}), "('>H', value_type)\n", (11893, 11911), False, 'import struct\n'), ((4865, 4901), 'struct.pack', 'struct.pack', (['""">L"""', 'thumbnail_pointer'], {}), "('>L', thumbnail_pointer)\n", (4876, 4901), False, 'import struct\n'), ((6748, 6773), 'struct.pack', 'struct.pack', (['""">I"""', 'offset'], {}), "('>I', offset)\n", (6759, 6773), False, 'import struct\n'), ((7064, 7089), 'struct.pack', 'struct.pack', (['""">I"""', 'offset'], {}), "('>I', offset)\n", (7075, 7089), False, 'import struct\n'), ((7320, 7345), 'struct.pack', 'struct.pack', (['""">I"""', 'offset'], {}), "('>I', offset)\n", (7331, 7345), False, 'import struct\n'), ((7577, 7602), 'struct.pack', 'struct.pack', (['""">I"""', 'offset'], {}), "('>I', offset)\n", (7588, 7602), False, 'import struct\n'), ((8022, 8047), 'struct.pack', 'struct.pack', (['""">I"""', 'offset'], {}), "('>I', offset)\n", (8033, 8047), False, 'import struct\n'), ((8703, 8728), 'struct.pack', 'struct.pack', (['""">I"""', 'offset'], {}), "('>I', offset)\n", (8714, 8728), False, 'import struct\n'), ((9308, 9333), 'struct.pack', 'struct.pack', (['""">I"""', 'offset'], {}), "('>I', offset)\n", (9319, 9333), False, 'import struct\n'), ((8335, 8357), 'struct.pack', 'struct.pack', (['""">L"""', 'num'], {}), "('>L', num)\n", (8346, 8357), False, 'import struct\n'), ((8360, 8382), 'struct.pack', 'struct.pack', (['""">L"""', 'den'], {}), "('>L', den)\n", (8371, 8382), False, 'import struct\n'), ((8940, 8962), 'struct.pack', 'struct.pack', (['""">l"""', 'num'], {}), "('>l', num)\n", (8951, 8962), False, 'import struct\n'), ((8965, 8987), 'struct.pack', 'struct.pack', (['""">l"""', 'den'], {}), "('>l', den)\n", (8976, 8987), False, 'import struct\n'), ((9489, 9514), 'struct.pack', 'struct.pack', (['""">I"""', 'offset'], {}), "('>I', offset)\n", (9500, 9514), False, 'import struct\n'), ((8602, 8624), 'struct.pack', 'struct.pack', (['""">L"""', 'num'], {}), "('>L', num)\n", (8613, 8624), False, 'import struct\n'), ((8659, 8681), 'struct.pack', 'struct.pack', (['""">L"""', 'den'], {}), "('>L', den)\n", (8670, 8681), False, 'import struct\n'), ((10119, 10144), 'struct.pack', 'struct.pack', (['""">I"""', 'offset'], {}), "('>I', offset)\n", (10130, 10144), False, 'import struct\n'), ((9207, 9229), 'struct.pack', 'struct.pack', (['""">l"""', 'num'], {}), "('>l', num)\n", (9218, 9229), False, 'import struct\n'), ((9264, 9286), 'struct.pack', 'struct.pack', (['""">l"""', 'den'], {}), "('>l', den)\n", (9275, 9286), False, 'import struct\n'), ((10465, 10490), 'struct.pack', 'struct.pack', (['""">I"""', 'offset'], {}), "('>I', offset)\n", (10476, 10490), False, 'import struct\n'), ((10730, 10755), 'struct.pack', 'struct.pack', (['""">I"""', 'offset'], {}), "('>I', offset)\n", (10741, 10755), False, 'import struct\n'), ((10908, 10933), 'struct.pack', 'struct.pack', (['""">I"""', 'offset'], {}), "('>I', offset)\n", (10919, 10933), False, 'import struct\n')]
mrahman4782/portalhoop
portal.py
29e87ccaca5544590aa9ed20096c3628c1ab57b1
import pygame import random from pygame import * pygame.init() width, height = 740, 500 screen = pygame.display.set_mode((width, height)) player = [pygame.transform.scale(pygame.image.load("Resources/Balljump-1(2).png"), (100,100)), pygame.transform.scale(pygame.image.load("Resources/Balljump-1.png"),(100,100))] launch = [pygame.transform.scale(pygame.image.load("Resources/Balljump-1.png"), (100,100)), pygame.transform.scale(pygame.image.load("Resources/Balljump-1(2).png"), (100,100)),pygame.transform.scale(pygame.image.load("Resources/Balljump-2.png"), (100,100)),pygame.transform.scale(pygame.image.load("Resources/Balljump-3.png"), (100,100)), pygame.transform.scale(pygame.image.load("Resources/Balljump-4.png"),(100,100))] shoot = [pygame.transform.scale(pygame.image.load("Resources/Balljump-5.png"), (100, 100)), pygame.transform.scale(pygame.image.load("Resources/Balljump-6.png"), (100, 100))] ball = pygame.transform.scale(pygame.image.load("Resources/ball.png"), (100,100)) blue = (0, 0, 128) white = (255, 255, 255) janimation, danimation, movable, motionactivate, limit_reached, nojump = False, False, False, False, False, False jumplock = True ballrelease, ballregain = False, False fr = pygame.time.Clock() c = 0 i = 0 p = 0 x, y = 0, 300 score = 0 a, b, rpos = 0, 0, 0 xpos, ypos = 17, 313 # Background image source: https://www.freepik.com/free-vector/floral-ornamental-abstract-background_6189902.htm#page=1&query=black%20background&position=40 background = pygame.image.load("Resources/back.jpg") gamestart = False def basketball(): #Draw basketball global rpos, xpos, ypos, ballregain if gamestart == True and ballrelease == False: if nojump == True: if c % 2 == 0: screen.blit(ball, (xpos, ypos + 24)) if c % 2 == 1: screen.blit(ball, (xpos + 2 , ypos )) if nojump == False and motionactivate == True: if p // 4 == 0: screen.blit(ball, (xpos, ypos)) if p // 4 == 1: screen.blit(ball, (xpos-2, ypos-5)) if p // 4 == 2: screen.blit(ball, (xpos-2, ypos-7)) if p // 4 == 3: screen.blit(ball, (xpos-2, ypos-11)) if p// 4 == 4: screen.blit(ball, (xpos-2, ypos-13)) if janimation == True: rpos = y -13 screen.blit(ball, (xpos, rpos)) rposNew = 400 - rpos if gamestart == True and ballrelease == True: if rpos <= 325: screen.blit(ball, (xpos, rpos)) if xpos <= 700: ballregain = False xpos += (rposNew / 20) print("rpos is: " + str(rpos) + " xpos is: " + str(xpos)) rpos = (-1*((xpos/600)**2))+((xpos)/150)+rpos if xpos > 700 or rpos > 325: xpos = 17 ballregain = True def player_animations(): # Animations while the user makes no input global c global player global i if nojump == True: if c % 2 == 0 and i<= 10: if i<10: screen.blit(player[c], (0, 300)) i += 1 if i == 10: c += 1 i += 1 elif c % 2 == 1 and i<= 20: if i>10 and i<20: screen.blit(player[c], (0, 300)) i += 1 if i == 20: c -= 1 i += 1 elif i>20: i = 0 screen.blit(player[c], (0, 300)) if nojump == False: screen.fill(0) def screen_text(): global score global nojump global movable if nojump == True: font = pygame.font.Font("Resources/android.ttf", 16) text2 = font.render("Hold space to throw the ball", True, white) textRect2 = text2.get_rect() textRect2.center = (width // 2, height // 2 + 200) screen.blit(text2, textRect2) movable = True font = pygame.font.Font("Resources/android.ttf", 16) text2 = font.render("Score: "+ str(score), True, white) textRect2 = text2.get_rect() textRect2.center = (width // 2 - 300, height // 2 - 200) screen.blit(text2, textRect2) def player_jump(): # Initial animations before the player jumps global p, nojump, movable, x, y, janimation, danimation, a, b, motionactivate, limit_reached global jumplock, ballrelease, ballregain if movable == True and keypress[K_SPACE]: #print(pygame.time.get_ticks()) motionactivate = True #print(nojump) #if p >= 19: # p = 0 if motionactivate == True: #screen.fill(0) nojump = False if p < 21: screen.blit(launch[p // 4], (0, 300)) p += 1 if p == 20: a = pygame.time.get_ticks() janimation = True p += 1 #elif keypress[K_SPACE]: # what to do when jump is completed if janimation == True and limit_reached == False: if keypress[K_SPACE] and pygame.KEYDOWN and jumplock == True: b = pygame.time.get_ticks() if y > 239: y = ((b - a) / -25) + 310 if y >= 305: screen.fill(0) screen.blit(shoot[0], (x, y)) if y < 305 and y > 240: screen.blit(shoot[1], (x,y)) if y <= 239: screen.blit(shoot[0], (x, y)) danimation = True limit_reached = True #print(danimation) if event.type == pygame.KEYUP: if event.key == K_SPACE: danimation = True motionactivate = False ballrelease = True if danimation == True: jumplock = False if danimation == True or limit_reached == True: #print("poopc "+ str(y)) if y < 310: screen.blit(shoot[0], (x, y)) y += 2 # # print("zag") #print("poop: " + str(pygame.KEYUP) + " key down is: " + str(pygame.KEYDOWN)) if y >= 310: nojump = True danimation = False janimation = False movable = False limit_reached = False p = 0 jumplock = True if ballregain == True: ballrelease = False #print("y value is: "+ str(y)+ " a is: "+ str(a) + " b is: "+ str(b)) while 1: keypress = pygame.key.get_pressed() fr.tick(30) screen.fill(0) if keypress[K_RETURN]: gamestart = True if gamestart == False: #screen.fill(0) screen.blit(background, (0,0)) # Draw opening texts font = pygame.font.Font("Resources/android.ttf", 64) text = font.render("Portal Hoop", True, white) textRect = text.get_rect() textRect.center = (width // 2, height // 2 - 100) screen.blit(text, textRect) font = pygame.font.Font("Resources/android.ttf", 18) text2 = font.render("Press Return to start", True, white) textRect2 = text2.get_rect() textRect2.center = (width // 2, height // 2 + 100) screen.blit(text2, textRect2) nojump = True # Check if any if gamestart == True: #screen.fill(0) player_animations() player_jump() basketball() screen_text() pygame.display.flip() pygame.display.set_caption("Portal Hoop") for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() exit(0)
[((127, 140), 'pygame.init', 'pygame.init', ([], {}), '()\n', (138, 140), False, 'import pygame\n'), ((176, 216), 'pygame.display.set_mode', 'pygame.display.set_mode', (['(width, height)'], {}), '((width, height))\n', (199, 216), False, 'import pygame\n'), ((1288, 1307), 'pygame.time.Clock', 'pygame.time.Clock', ([], {}), '()\n', (1305, 1307), False, 'import pygame\n'), ((1564, 1603), 'pygame.image.load', 'pygame.image.load', (['"""Resources/back.jpg"""'], {}), "('Resources/back.jpg')\n", (1581, 1603), False, 'import pygame\n'), ((1018, 1057), 'pygame.image.load', 'pygame.image.load', (['"""Resources/ball.png"""'], {}), "('Resources/ball.png')\n", (1035, 1057), False, 'import pygame\n'), ((4238, 4283), 'pygame.font.Font', 'pygame.font.Font', (['"""Resources/android.ttf"""', '(16)'], {}), "('Resources/android.ttf', 16)\n", (4254, 4283), False, 'import pygame\n'), ((6834, 6858), 'pygame.key.get_pressed', 'pygame.key.get_pressed', ([], {}), '()\n', (6856, 6858), False, 'import pygame\n'), ((7807, 7828), 'pygame.display.flip', 'pygame.display.flip', ([], {}), '()\n', (7826, 7828), False, 'import pygame\n'), ((7833, 7874), 'pygame.display.set_caption', 'pygame.display.set_caption', (['"""Portal Hoop"""'], {}), "('Portal Hoop')\n", (7859, 7874), False, 'import pygame\n'), ((7892, 7910), 'pygame.event.get', 'pygame.event.get', ([], {}), '()\n', (7908, 7910), False, 'import pygame\n'), ((250, 298), 'pygame.image.load', 'pygame.image.load', (['"""Resources/Balljump-1(2).png"""'], {}), "('Resources/Balljump-1(2).png')\n", (267, 298), False, 'import pygame\n'), ((335, 380), 'pygame.image.load', 'pygame.image.load', (['"""Resources/Balljump-1.png"""'], {}), "('Resources/Balljump-1.png')\n", (352, 380), False, 'import pygame\n'), ((426, 471), 'pygame.image.load', 'pygame.image.load', (['"""Resources/Balljump-1.png"""'], {}), "('Resources/Balljump-1.png')\n", (443, 471), False, 'import pygame\n'), ((508, 556), 'pygame.image.load', 'pygame.image.load', (['"""Resources/Balljump-1(2).png"""'], {}), "('Resources/Balljump-1(2).png')\n", (525, 556), False, 'import pygame\n'), ((592, 637), 'pygame.image.load', 'pygame.image.load', (['"""Resources/Balljump-2.png"""'], {}), "('Resources/Balljump-2.png')\n", (609, 637), False, 'import pygame\n'), ((673, 718), 'pygame.image.load', 'pygame.image.load', (['"""Resources/Balljump-3.png"""'], {}), "('Resources/Balljump-3.png')\n", (690, 718), False, 'import pygame\n'), ((755, 800), 'pygame.image.load', 'pygame.image.load', (['"""Resources/Balljump-4.png"""'], {}), "('Resources/Balljump-4.png')\n", (772, 800), False, 'import pygame\n'), ((845, 890), 'pygame.image.load', 'pygame.image.load', (['"""Resources/Balljump-5.png"""'], {}), "('Resources/Balljump-5.png')\n", (862, 890), False, 'import pygame\n'), ((928, 973), 'pygame.image.load', 'pygame.image.load', (['"""Resources/Balljump-6.png"""'], {}), "('Resources/Balljump-6.png')\n", (945, 973), False, 'import pygame\n'), ((3950, 3995), 'pygame.font.Font', 'pygame.font.Font', (['"""Resources/android.ttf"""', '(16)'], {}), "('Resources/android.ttf', 16)\n", (3966, 3995), False, 'import pygame\n'), ((7083, 7128), 'pygame.font.Font', 'pygame.font.Font', (['"""Resources/android.ttf"""', '(64)'], {}), "('Resources/android.ttf', 64)\n", (7099, 7128), False, 'import pygame\n'), ((7329, 7374), 'pygame.font.Font', 'pygame.font.Font', (['"""Resources/android.ttf"""', '(18)'], {}), "('Resources/android.ttf', 18)\n", (7345, 7374), False, 'import pygame\n'), ((5095, 5118), 'pygame.time.get_ticks', 'pygame.time.get_ticks', ([], {}), '()\n', (5116, 5118), False, 'import pygame\n'), ((5427, 5450), 'pygame.time.get_ticks', 'pygame.time.get_ticks', ([], {}), '()\n', (5448, 5450), False, 'import pygame\n'), ((7962, 7975), 'pygame.quit', 'pygame.quit', ([], {}), '()\n', (7973, 7975), False, 'import pygame\n')]
tdimnet/integrations-core
datadog_cluster_agent/tests/test_datadog_cluster_agent.py
a78133a3b71a1b8377fa214d121a98647031ab06
# (C) Datadog, Inc. 2021-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) from typing import Any, Dict from datadog_checks.base.stubs.aggregator import AggregatorStub from datadog_checks.datadog_cluster_agent import DatadogClusterAgentCheck from datadog_checks.dev.utils import get_metadata_metrics NAMESPACE = 'datadog.cluster_agent' METRICS = [ 'admission_webhooks.certificate_expiry', 'admission_webhooks.mutation_attempts', 'admission_webhooks.mutation_errors', 'admission_webhooks.reconcile_errors', 'admission_webhooks.reconcile_success', 'admission_webhooks.webhooks_received', 'aggregator.flush', 'aggregator.processed', 'api_requests', 'cluster_checks.busyness', 'cluster_checks.configs_dangling', 'cluster_checks.configs_dispatched', 'cluster_checks.failed_stats_collection', 'cluster_checks.nodes_reporting', 'cluster_checks.rebalancing_decisions', 'cluster_checks.rebalancing_duration_seconds', 'cluster_checks.successful_rebalancing_moves', 'cluster_checks.updating_stats_duration_seconds', 'datadog.rate_limit_queries.limit', 'datadog.rate_limit_queries.period', 'datadog.rate_limit_queries.remaining', 'datadog.rate_limit_queries.reset', 'datadog.requests', 'external_metrics', 'external_metrics.datadog_metrics', 'external_metrics.delay_seconds', 'external_metrics.processed_value', 'secret_backend.elapsed', 'go.goroutines', 'go.memstats.alloc_bytes', 'go.threads', ] def test_check(aggregator, instance, mock_metrics_endpoint): # type: (AggregatorStub, Dict[str, Any]) -> None check = DatadogClusterAgentCheck('datadog_cluster_agent', {}, [instance]) # dry run to build mapping for label joins check.check(instance) check.check(instance) for metric in METRICS: aggregator.assert_metric(NAMESPACE + '.' + metric) aggregator.assert_metric_has_tag_prefix(NAMESPACE + '.' + metric, 'is_leader:') aggregator.assert_all_metrics_covered() aggregator.assert_metrics_using_metadata(get_metadata_metrics())
[((1681, 1746), 'datadog_checks.datadog_cluster_agent.DatadogClusterAgentCheck', 'DatadogClusterAgentCheck', (['"""datadog_cluster_agent"""', '{}', '[instance]'], {}), "('datadog_cluster_agent', {}, [instance])\n", (1705, 1746), False, 'from datadog_checks.datadog_cluster_agent import DatadogClusterAgentCheck\n'), ((2113, 2135), 'datadog_checks.dev.utils.get_metadata_metrics', 'get_metadata_metrics', ([], {}), '()\n', (2133, 2135), False, 'from datadog_checks.dev.utils import get_metadata_metrics\n')]
fameshpatel/olfactorybulb
prev_ob_models/KaplanLansner2014/plotting_and_analysis/plot_results.py
8d7a644b4560309ef177c0590ff73ed4c2432604
import pylab import numpy import sys if (len(sys.argv) < 2): fn = raw_input("Please enter data file to be plotted\n") else: fn = sys.argv[1] data = np.loadtxt(fn) # if the first line contains crap use skiprows=1 #data = np.loadtxt(fn, skiprows=1) fig = pylab.figure() ax = fig.add_subplot(111) # if you want to use multiple figures in one, use #ax1 = fig.add_subplot(211) #ax2 = fig.add_subplot(212) # and if (data.ndim == 1): x_axis = numpy.arange(data.size) ax.plot(x_axis, data) else: # ax.errorbar(data[:,0], data[:,1], yerr=data[:, 2]) # print 'mean y-value:', data[:, 1].mean() ax.plot(data[:, 0], data[:, 1], ls='-', lw=3, c='b') # ax.scatter(data[:,0], data[:,2]) # ax.plot(data[:,3], data[:,6]) # saving: # fig.savefig('output_figure.png') # otherwise nothing is shown pylab.show()
[((265, 279), 'pylab.figure', 'pylab.figure', ([], {}), '()\n', (277, 279), False, 'import pylab\n'), ((830, 842), 'pylab.show', 'pylab.show', ([], {}), '()\n', (840, 842), False, 'import pylab\n'), ((458, 481), 'numpy.arange', 'numpy.arange', (['data.size'], {}), '(data.size)\n', (470, 481), False, 'import numpy\n')]
ecmwf/pyeccodes
pyeccodes/defs/grib2/tables/15/3_11_table.py
dce2c72d3adcc0cb801731366be53327ce13a00b
def load(h): return ({'abbr': 0, 'code': 0, 'title': 'There is no appended list'}, {'abbr': 1, 'code': 1, 'title': 'Numbers define number of points corresponding to full coordinate ' 'circles (i.e. parallels), coordinate values on each circle are ' 'multiple of the circle mesh, and extreme coordinate values given ' 'in grid definition (i.e. extreme longitudes) may not be reached in ' 'all rows'}, {'abbr': 2, 'code': 2, 'title': 'Numbers define number of points corresponding to coordinate lines ' 'delimited by extreme coordinate values given in grid definition ' '(i.e. extreme longitudes) which are present in each row'}, {'abbr': 3, 'code': 3, 'title': 'Numbers define the actual latitudes for each row in the grid. The ' 'list of numbers are integer values of the valid latitudes in ' 'microdegrees (scaled by 10-6) or in unit equal to the ratio of the ' 'basic angle and the subdivisions number for each row, in the same ' 'order as specified in the scanning mode flag', 'units': 'bit no. 2'}, {'abbr': None, 'code': 255, 'title': 'Missing'})
[]
zacharyfrederick/deep_q_gaf
lib/take2/main.py
6b712b17a6c89c1cba0d22e18fa336369c521d4e
from __future__ import division from lib import env_config from lib.senior_env import BetterEnvironment from keras.optimizers import Adam from rl.agents.dqn import DQNAgent from rl.policy import LinearAnnealedPolicy, BoltzmannQPolicy, EpsGreedyQPolicy from rl.memory import SequentialMemory from lib import models import random choices = [0,1,2] def gen_action(): return random.choice(choices) if __name__ == '__main__': config_ = env_config.EnvConfig('config/debug.json') env = BetterEnvironment(config_) INPUT_SHAPE = (30, 180) WINDOW_LENGTH = 4 model = models.build_paper_model() # Get the environment and extract the number of actions. nb_actions = 3 # Next, we build our model. We use the same model that was described by Mnih et al. (2015). input_shape = (WINDOW_LENGTH,) + INPUT_SHAPE # Finally, we configure and compile our agent. You can use every built-in Keras optimizer and # even the metrics! memory = SequentialMemory(limit=10000000, window_length=WINDOW_LENGTH) # Select a policy. We use eps-greedy action selection, which means that a random action is selected # with probability eps. We anneal eps from 1.0 to 0.1 over the course of 1M steps. This is done so that # the agent initially explores the environment (high eps) and then gradually sticks to what it knows # (low eps). We also set a dedicated eps value that is used during testing. Note that we set it to 0.05 # so that the agent still performs some random actions. This ensures that the agent cannot get stuck. policy = LinearAnnealedPolicy(EpsGreedyQPolicy(), attr='eps', value_max=1., value_min=.1, value_test=.05, nb_steps=1000000) # The trade-off between exploration and exploitation is difficult and an on-going research topic. # If you want, you can experiment with the parameters or use a different policy. Another popular one # is Boltzmann-style exploration: # policy = BoltzmannQPolicy(tau=1.) # Feel free to give it a try! dqn = DQNAgent(model=model, nb_actions=nb_actions, policy=policy, memory=memory, nb_steps_warmup=50000, gamma=.99, target_model_update=10000, train_interval=4, delta_clip=1.) dqn.compile(Adam(lr=.00025), metrics=['mae']) # Okay, now it's time to learn something! We capture the interrupt exception so that training # can be prematurely aborted. Notice that now you can use the built-in Keras callbacks! weights_filename = 'dqn_{}_weights.h5f'.format('god_help_me.weights') dqn.fit(env, nb_steps=100000, log_interval=10000) print(env.portfolio.print_portfolio_results())
[((378, 400), 'random.choice', 'random.choice', (['choices'], {}), '(choices)\n', (391, 400), False, 'import random\n'), ((443, 484), 'lib.env_config.EnvConfig', 'env_config.EnvConfig', (['"""config/debug.json"""'], {}), "('config/debug.json')\n", (463, 484), False, 'from lib import env_config\n'), ((495, 521), 'lib.senior_env.BetterEnvironment', 'BetterEnvironment', (['config_'], {}), '(config_)\n', (512, 521), False, 'from lib.senior_env import BetterEnvironment\n'), ((586, 612), 'lib.models.build_paper_model', 'models.build_paper_model', ([], {}), '()\n', (610, 612), False, 'from lib import models\n'), ((977, 1038), 'rl.memory.SequentialMemory', 'SequentialMemory', ([], {'limit': '(10000000)', 'window_length': 'WINDOW_LENGTH'}), '(limit=10000000, window_length=WINDOW_LENGTH)\n', (993, 1038), False, 'from rl.memory import SequentialMemory\n'), ((2064, 2242), 'rl.agents.dqn.DQNAgent', 'DQNAgent', ([], {'model': 'model', 'nb_actions': 'nb_actions', 'policy': 'policy', 'memory': 'memory', 'nb_steps_warmup': '(50000)', 'gamma': '(0.99)', 'target_model_update': '(10000)', 'train_interval': '(4)', 'delta_clip': '(1.0)'}), '(model=model, nb_actions=nb_actions, policy=policy, memory=memory,\n nb_steps_warmup=50000, gamma=0.99, target_model_update=10000,\n train_interval=4, delta_clip=1.0)\n', (2072, 2242), False, 'from rl.agents.dqn import DQNAgent\n'), ((1605, 1623), 'rl.policy.EpsGreedyQPolicy', 'EpsGreedyQPolicy', ([], {}), '()\n', (1621, 1623), False, 'from rl.policy import LinearAnnealedPolicy, BoltzmannQPolicy, EpsGreedyQPolicy\n'), ((2281, 2297), 'keras.optimizers.Adam', 'Adam', ([], {'lr': '(0.00025)'}), '(lr=0.00025)\n', (2285, 2297), False, 'from keras.optimizers import Adam\n')]
ShepardPower/PyMCBuilder
src/clcore.py
b247151864cc6b7bca0dc23aa87cdbb44b52defc
# I'm just the one that executes the instructions! import sys, math, json, operator, time import mcpi.minecraft as minecraft from PIL import Image as pillow from blockid import get_block import mcpi.block as block import functions as pymc from tqdm import tqdm import tkinter as tk # Functions # Main code mc = minecraft.Minecraft.create() try: json_file = open("blocks.json") json_put = json.load(json_file) except: pymc.chat(mc, "blocks.json not found, exiting!", 0) sys.exit(1) try: rim = pillow.open(sys.argv[1]) except: pymc.chat(mc, "bad image, exiting!", 0) sys.exit(1) orders = [] used = [] imwid, imhei = rim.size if imhei > 200: maxheight = 200 rim.thumbnail((200, maxheight), pillow.ANTIALIAS) imwid, imhei = rim.size pymc.chat(mc, "image is over 200 pixels, reducing height.", 1) rim.convert('RGB') im = rim.load() pbar = tqdm(total=imhei*imwid) for hei in range(imhei): for wid in range(imwid): smal = pymc.comp_pixel((im[wid, hei][0], im[wid, hei][1], im[wid, hei][2]), json_put) im[wid, hei] = smal[1] used.append(str(smal[2])) pbar.update(1) pbar.close() rim.save("result.GIF") # The result json_file.close() oldPos = mc.player.getPos() playerPos = [round(oldPos.x), round(oldPos.y), round(oldPos.z)] pymc.chat(mc, "Ready!") pbar = tqdm(total=imhei*imwid) num_temp = imhei*imwid-1 for hei in range(imhei): for wid in range(imwid): #print(used[wid + (imhei * hei)]) gblock = get_block(used[num_temp]) mc.setBlock(playerPos[0]+wid, playerPos[1]+hei, playerPos[2], gblock) num_temp -= 1 pbar.update(1) pbar.close() pymc.chat(mc, "Done!!") pymc.chat(mc, "Please star us on github if you like the result!", 2)
[((313, 341), 'mcpi.minecraft.Minecraft.create', 'minecraft.Minecraft.create', ([], {}), '()\n', (339, 341), True, 'import mcpi.minecraft as minecraft\n'), ((883, 908), 'tqdm.tqdm', 'tqdm', ([], {'total': '(imhei * imwid)'}), '(total=imhei * imwid)\n', (887, 908), False, 'from tqdm import tqdm\n'), ((1304, 1327), 'functions.chat', 'pymc.chat', (['mc', '"""Ready!"""'], {}), "(mc, 'Ready!')\n", (1313, 1327), True, 'import functions as pymc\n'), ((1335, 1360), 'tqdm.tqdm', 'tqdm', ([], {'total': '(imhei * imwid)'}), '(total=imhei * imwid)\n', (1339, 1360), False, 'from tqdm import tqdm\n'), ((1659, 1682), 'functions.chat', 'pymc.chat', (['mc', '"""Done!!"""'], {}), "(mc, 'Done!!')\n", (1668, 1682), True, 'import functions as pymc\n'), ((1683, 1751), 'functions.chat', 'pymc.chat', (['mc', '"""Please star us on github if you like the result!"""', '(2)'], {}), "(mc, 'Please star us on github if you like the result!', 2)\n", (1692, 1751), True, 'import functions as pymc\n'), ((398, 418), 'json.load', 'json.load', (['json_file'], {}), '(json_file)\n', (407, 418), False, 'import sys, math, json, operator, time\n'), ((514, 538), 'PIL.Image.open', 'pillow.open', (['sys.argv[1]'], {}), '(sys.argv[1])\n', (525, 538), True, 'from PIL import Image as pillow\n'), ((776, 838), 'functions.chat', 'pymc.chat', (['mc', '"""image is over 200 pixels, reducing height."""', '(1)'], {}), "(mc, 'image is over 200 pixels, reducing height.', 1)\n", (785, 838), True, 'import functions as pymc\n'), ((431, 482), 'functions.chat', 'pymc.chat', (['mc', '"""blocks.json not found, exiting!"""', '(0)'], {}), "(mc, 'blocks.json not found, exiting!', 0)\n", (440, 482), True, 'import functions as pymc\n'), ((487, 498), 'sys.exit', 'sys.exit', (['(1)'], {}), '(1)\n', (495, 498), False, 'import sys, math, json, operator, time\n'), ((551, 590), 'functions.chat', 'pymc.chat', (['mc', '"""bad image, exiting!"""', '(0)'], {}), "(mc, 'bad image, exiting!', 0)\n", (560, 590), True, 'import functions as pymc\n'), ((595, 606), 'sys.exit', 'sys.exit', (['(1)'], {}), '(1)\n', (603, 606), False, 'import sys, math, json, operator, time\n'), ((976, 1054), 'functions.comp_pixel', 'pymc.comp_pixel', (['(im[wid, hei][0], im[wid, hei][1], im[wid, hei][2])', 'json_put'], {}), '((im[wid, hei][0], im[wid, hei][1], im[wid, hei][2]), json_put)\n', (991, 1054), True, 'import functions as pymc\n'), ((1497, 1522), 'blockid.get_block', 'get_block', (['used[num_temp]'], {}), '(used[num_temp])\n', (1506, 1522), False, 'from blockid import get_block\n')]
987Frogh/project-makehuman
gaphor/tools/gaphorconvert.py
3afc838b03c50f8e574d8c87cb71de4435a18a6d
#!/usr/bin/python import optparse import os import re import sys import cairo from gaphas.painter import Context, ItemPainter from gaphas.view import View import gaphor.UML as UML from gaphor.application import Application from gaphor.storage import storage def pkg2dir(package): """ Return directory path from UML package class. """ name = [] while package: name.insert(0, package.name) package = package.package return "/".join(name) def paint(view, cr): view.painter.paint(Context(cairo=cr, items=view.canvas.get_all_items(), area=None)) def main(argv=sys.argv[1:]): def message(msg): """ Print message if user set verbose mode. """ if options.verbose: print(msg, file=sys.stderr) usage = "usage: %prog [options] file1 file2..." parser = optparse.OptionParser(usage=usage) parser.add_option( "-v", "--verbose", dest="verbose", action="store_true", help="verbose output" ) parser.add_option( "-u", "--use-underscores", dest="underscores", action="store_true", help="use underscores instead of spaces for output filenames", ) parser.add_option( "-d", "--dir", dest="dir", metavar="directory", help="output to directory" ) parser.add_option( "-f", "--format", dest="format", metavar="format", help="output file format, default pdf", default="pdf", choices=["pdf", "svg", "png"], ) parser.add_option( "-r", "--regex", dest="regex", metavar="regex", help="process diagrams which name matches given regular expresion;" " name includes package name; regular expressions are case insensitive", ) (options, args) = parser.parse_args(argv) if not args: parser.print_help() Application.init( services=["event_manager", "component_registry", "element_factory"] ) factory = Application.get_service("element_factory") name_re = None if options.regex: name_re = re.compile(options.regex, re.I) # we should have some gaphor files to be processed at this point for model in args: message(f"loading model {model}") storage.load(model, factory) message("ready for rendering") for diagram in factory.select(lambda e: e.isKindOf(UML.Diagram)): odir = pkg2dir(diagram.package) # just diagram name dname = diagram.name # full diagram name including package path pname = f"{odir}/{dname}" if options.underscores: odir = odir.replace(" ", "_") dname = dname.replace(" ", "_") if name_re and not name_re.search(pname): message(f"skipping {pname}") continue if options.dir: odir = f"{options.dir}/{odir}" outfilename = f"{odir}/{dname}.{options.format}" if not os.path.exists(odir): message(f"creating dir {odir}") os.makedirs(odir) message(f"rendering: {pname} -> {outfilename}...") view = View(diagram.canvas) view.painter = ItemPainter() tmpsurface = cairo.ImageSurface(cairo.FORMAT_ARGB32, 0, 0) tmpcr = cairo.Context(tmpsurface) view.update_bounding_box(tmpcr) tmpcr.show_page() tmpsurface.flush() w, h = view.bounding_box.width, view.bounding_box.height if options.format == "pdf": surface = cairo.PDFSurface(outfilename, w, h) elif options.format == "svg": surface = cairo.SVGSurface(outfilename, w, h) elif options.format == "png": surface = cairo.ImageSurface( cairo.FORMAT_ARGB32, int(w + 1), int(h + 1) ) else: assert False, f"unknown format {options.format}" cr = cairo.Context(surface) view.matrix.translate(-view.bounding_box.x, -view.bounding_box.y) paint(view, cr) cr.show_page() if options.format == "png": surface.write_to_png(outfilename) surface.flush() surface.finish()
[((852, 886), 'optparse.OptionParser', 'optparse.OptionParser', ([], {'usage': 'usage'}), '(usage=usage)\n', (873, 886), False, 'import optparse\n'), ((1901, 1990), 'gaphor.application.Application.init', 'Application.init', ([], {'services': "['event_manager', 'component_registry', 'element_factory']"}), "(services=['event_manager', 'component_registry',\n 'element_factory'])\n", (1917, 1990), False, 'from gaphor.application import Application\n'), ((2015, 2057), 'gaphor.application.Application.get_service', 'Application.get_service', (['"""element_factory"""'], {}), "('element_factory')\n", (2038, 2057), False, 'from gaphor.application import Application\n'), ((2118, 2149), 're.compile', 're.compile', (['options.regex', 're.I'], {}), '(options.regex, re.I)\n', (2128, 2149), False, 'import re\n'), ((2293, 2321), 'gaphor.storage.storage.load', 'storage.load', (['model', 'factory'], {}), '(model, factory)\n', (2305, 2321), False, 'from gaphor.storage import storage\n'), ((3241, 3261), 'gaphas.view.View', 'View', (['diagram.canvas'], {}), '(diagram.canvas)\n', (3245, 3261), False, 'from gaphas.view import View\n'), ((3289, 3302), 'gaphas.painter.ItemPainter', 'ItemPainter', ([], {}), '()\n', (3300, 3302), False, 'from gaphas.painter import Context, ItemPainter\n'), ((3329, 3374), 'cairo.ImageSurface', 'cairo.ImageSurface', (['cairo.FORMAT_ARGB32', '(0)', '(0)'], {}), '(cairo.FORMAT_ARGB32, 0, 0)\n', (3347, 3374), False, 'import cairo\n'), ((3395, 3420), 'cairo.Context', 'cairo.Context', (['tmpsurface'], {}), '(tmpsurface)\n', (3408, 3420), False, 'import cairo\n'), ((4072, 4094), 'cairo.Context', 'cairo.Context', (['surface'], {}), '(surface)\n', (4085, 4094), False, 'import cairo\n'), ((3053, 3073), 'os.path.exists', 'os.path.exists', (['odir'], {}), '(odir)\n', (3067, 3073), False, 'import os\n'), ((3139, 3156), 'os.makedirs', 'os.makedirs', (['odir'], {}), '(odir)\n', (3150, 3156), False, 'import os\n'), ((3662, 3697), 'cairo.PDFSurface', 'cairo.PDFSurface', (['outfilename', 'w', 'h'], {}), '(outfilename, w, h)\n', (3678, 3697), False, 'import cairo\n'), ((3766, 3801), 'cairo.SVGSurface', 'cairo.SVGSurface', (['outfilename', 'w', 'h'], {}), '(outfilename, w, h)\n', (3782, 3801), False, 'import cairo\n')]
prettyirrelevant/zeta-python-sdk
zeta_python_sdk/exceptions.py
536967259c89d380b8853b1cfd0621c50143b8b9
class InvalidSideException(Exception): """Invalid side""" class NotSupportedException(Exception): """Not supported by dummy wallet""" class InvalidProductException(Exception): """Invalid product type""" class OutOfBoundsException(Exception): """Attempt to access memory outside buffer bounds"""
[]
a-buntjer/tsib
test/test_ID.py
9d6ddcdca55c9b8afb5324c0da8d0910cb1a326e
# -*- coding: utf-8 -*- """ Created on Fri Apr 08 11:33:01 2016 @author: Leander Kotzur """ import tsib def test_get_ID(): # parameterize a building bdgcfg = tsib.BuildingConfiguration( { "refurbishment": False, "nightReduction": False, "occControl": False, "capControl": True, "n_persons": 2, "roofOrientation": 0.0, "n_apartments": 1, "latitude": 49., "longitude": 12., } ) bdgObj = tsib.Building(configurator=bdgcfg) print('ID is : ' + str(bdgObj.ID)) return def test_set_ID(): # parameterize a building bdgcfg = tsib.BuildingConfiguration( { "buildingYear": 1980, "n_persons": 2, "roofOrientation": 0.0, "n_apartments": 2, "a_ref": 300., "surrounding": "Detached", "latitude": 52., "longitude": 13., } ) bdgObj = tsib.Building(configurator=bdgcfg) bdgObj.ID = 'custom' if not bdgObj.ID == 'custom': raise ValueError() return
[((170, 396), 'tsib.BuildingConfiguration', 'tsib.BuildingConfiguration', (["{'refurbishment': False, 'nightReduction': False, 'occControl': False,\n 'capControl': True, 'n_persons': 2, 'roofOrientation': 0.0,\n 'n_apartments': 1, 'latitude': 49.0, 'longitude': 12.0}"], {}), "({'refurbishment': False, 'nightReduction': False,\n 'occControl': False, 'capControl': True, 'n_persons': 2,\n 'roofOrientation': 0.0, 'n_apartments': 1, 'latitude': 49.0,\n 'longitude': 12.0})\n", (196, 396), False, 'import tsib\n'), ((530, 564), 'tsib.Building', 'tsib.Building', ([], {'configurator': 'bdgcfg'}), '(configurator=bdgcfg)\n', (543, 564), False, 'import tsib\n'), ((680, 877), 'tsib.BuildingConfiguration', 'tsib.BuildingConfiguration', (["{'buildingYear': 1980, 'n_persons': 2, 'roofOrientation': 0.0,\n 'n_apartments': 2, 'a_ref': 300.0, 'surrounding': 'Detached',\n 'latitude': 52.0, 'longitude': 13.0}"], {}), "({'buildingYear': 1980, 'n_persons': 2,\n 'roofOrientation': 0.0, 'n_apartments': 2, 'a_ref': 300.0,\n 'surrounding': 'Detached', 'latitude': 52.0, 'longitude': 13.0})\n", (706, 877), False, 'import tsib\n'), ((1001, 1035), 'tsib.Building', 'tsib.Building', ([], {'configurator': 'bdgcfg'}), '(configurator=bdgcfg)\n', (1014, 1035), False, 'import tsib\n')]
alexbarcelo/dislib
dislib/model_selection/_search.py
989f81f235ae30b17410a8d805df258c7d931b38
from abc import ABC, abstractmethod from collections import defaultdict from collections.abc import Sequence from functools import partial from itertools import product import numpy as np from pycompss.api.api import compss_wait_on from scipy.stats import rankdata from sklearn import clone from sklearn.model_selection import ParameterGrid, ParameterSampler from numpy.ma import MaskedArray from dislib.model_selection._split import infer_cv from dislib.model_selection._validation import check_scorer, fit_and_score, \ validate_score, aggregate_score_dicts class BaseSearchCV(ABC): """Abstract base class for hyper parameter search with cross-validation.""" def __init__(self, estimator, scoring=None, cv=None, refit=True): self.estimator = estimator self.scoring = scoring self.cv = cv self.refit = refit @abstractmethod def _run_search(self, evaluate_candidates): """Abstract method to perform the search. The parameter `evaluate_candidates` is a function that evaluates a ParameterGrid at a time """ pass def fit(self, x, y=None, **fit_params): """Run fit with all sets of parameters. Parameters ---------- x : ds-array Training data samples. y : ds-array, optional (default = None) Training data labels or values. **fit_params : dict of string -> object Parameters passed to the ``fit`` method of the estimator """ estimator = self.estimator cv = infer_cv(self.cv) scorers, refit_metric = self._infer_scorers() base_estimator = clone(estimator) n_splits = None all_candidate_params = [] all_out = [] def evaluate_candidates(candidate_params): """Evaluate some parameters""" candidate_params = list(candidate_params) out = [fit_and_score(clone(base_estimator), train, validation, scorer=scorers, parameters=parameters, fit_params=fit_params) for parameters, (train, validation) in product(candidate_params, cv.split(x, y))] nonlocal n_splits n_splits = cv.get_n_splits() all_candidate_params.extend(candidate_params) all_out.extend(out) self._run_search(evaluate_candidates) for params_result in all_out: scores = params_result[0] for scorer_name, score in scores.items(): score = compss_wait_on(score) scores[scorer_name] = validate_score(score, scorer_name) results = self._format_results(all_candidate_params, scorers, n_splits, all_out) # For multi-metric evaluation, store the best_index_, best_params_ and # best_score_ iff refit is one of the scorer names # In single metric evaluation, refit_metric is "score" if self.refit or not self.multimetric_: # If callable, refit is expected to return the index of the best # parameter set. if callable(self.refit): self.best_index_ = self.refit(results) if not isinstance(self.best_index_, (int, np.integer)): raise TypeError('best_index_ returned is not an integer') if (self.best_index_ < 0 or self.best_index_ >= len(results["params"])): raise IndexError('best_index_ index out of range') else: self.best_index_ = results["rank_test_%s" % refit_metric].argmin() self.best_score_ = results["mean_test_%s" % refit_metric][ self.best_index_] self.best_params_ = results["params"][self.best_index_] if self.refit: self.best_estimator_ = clone(base_estimator).set_params( **self.best_params_) self.best_estimator_.fit(x, y, **fit_params) # Store the only scorer not as a dict for single metric evaluation self.scorer_ = scorers if self.multimetric_ else scorers['score'] self.cv_results_ = results self.n_splits_ = n_splits return self @staticmethod def _format_results(candidate_params, scorers, n_splits, out): n_candidates = len(candidate_params) (test_score_dicts,) = zip(*out) test_scores = aggregate_score_dicts(test_score_dicts) results = {} def _store(key_name, array, splits=False, rank=False): """A small helper to store the scores/times to the cv_results_""" array = np.array(array, dtype=np.float64).reshape(n_candidates, n_splits) if splits: for split_i in range(n_splits): # Uses closure to alter the results results["split%d_%s" % (split_i, key_name)] = array[:, split_i] array_means = np.mean(array, axis=1) results['mean_%s' % key_name] = array_means array_stds = np.std(array, axis=1) results['std_%s' % key_name] = array_stds if rank: results["rank_%s" % key_name] = np.asarray( rankdata(-array_means, method='min'), dtype=np.int32) # Use one MaskedArray and mask all the places where the param is not # applicable for that candidate. Use defaultdict as each candidate may # not contain all the params param_results = defaultdict(partial(MaskedArray, np.empty(n_candidates, ), mask=True, dtype=object)) for cand_i, params in enumerate(candidate_params): for name, value in params.items(): # An all masked empty array gets created for the key # `"param_%s" % name` at the first occurrence of `name`. # Setting the value at an index also unmasks that index param_results["param_%s" % name][cand_i] = value results.update(param_results) # Store a list of param dicts at the key 'params' results['params'] = candidate_params for scorer_name in scorers.keys(): _store('test_%s' % scorer_name, test_scores[scorer_name], splits=True, rank=True) return results def _infer_scorers(self): estimator = self.estimator scoring = self.scoring refit = self.refit if scoring is None or callable(scoring): scorers = {"score": check_scorer(estimator, scoring)} refit_metric = 'score' self.multimetric_ = False elif isinstance(scoring, dict): scorers = {key: check_scorer(estimator, scorer) for key, scorer in scoring.items()} if refit is not False and ( not isinstance(refit, str) or refit not in scorers) and not callable(refit): raise ValueError("For multi-metric scoring, the parameter " "refit must be set to a scorer key or a " "callable to refit an estimator with the " "best parameter setting on the whole " "data and make the best_* attributes " "available for that metric. If this is " "not needed, refit should be set to " "False explicitly. %r was passed." % refit) refit_metric = refit self.multimetric_ = True else: raise ValueError('scoring is not valid') return scorers, refit_metric class GridSearchCV(BaseSearchCV): """Exhaustive search over specified parameter values for an estimator. GridSearchCV implements a "fit" and a "score" method. The parameters of the estimator used to apply these methods are optimized by cross-validated grid-search over a parameter grid. Parameters ---------- estimator : estimator object. This is assumed to implement the scikit-learn estimator interface. Either estimator needs to provide a ``score`` function, or ``scoring`` must be passed. param_grid : dict or list of dictionaries Dictionary with parameters names (string) as keys and lists of parameter settings to try as values, or a list of such dictionaries, in which case the grids spanned by each dictionary in the list are explored. This enables searching over any sequence of parameter settings. scoring : callable, dict or None, optional (default=None) A callable to evaluate the predictions on the test set. It should take 3 parameters, estimator, x and y, and return a score (higher meaning better). For evaluating multiple metrics, give a dict with names as keys and callables as values. If None, the estimator's score method is used. cv : int or cv generator, optional (default=None) Determines the cross-validation splitting strategy. Possible inputs for cv are: - None, to use the default 5-fold cross validation, - integer, to specify the number of folds in a `KFold`, - custom cv generator. refit : boolean, string, or callable, optional (default=True) Refit an estimator using the best found parameters on the whole dataset. For multiple metric evaluation, this needs to be a string denoting the scorer that would be used to find the best parameters for refitting the estimator at the end. Where there are considerations other than maximum score in choosing a best estimator, ``refit`` can be set to a function which returns the selected ``best_index_`` given ``cv_results_``. The refitted estimator is made available at the ``best_estimator_`` attribute and permits using ``predict`` directly on this ``GridSearchCV`` instance. Also for multiple metric evaluation, the attributes ``best_index_``, ``best_score_`` and ``best_params_`` will only be available if ``refit`` is set and all of them will be determined w.r.t this specific scorer. ``best_score_`` is not returned if refit is callable. See ``scoring`` parameter to know more about multiple metric evaluation. Examples -------- >>> import dislib as ds >>> from dislib.model_selection import GridSearchCV >>> from dislib.classification import RandomForestClassifier >>> import numpy as np >>> from sklearn import datasets >>> >>> >>> if __name__ == '__main__': >>> x_np, y_np = datasets.load_iris(return_X_y=True) >>> x = ds.array(x_np, (30, 4)) >>> y = ds.array(y_np[:, np.newaxis], (30, 1)) >>> param_grid = {'n_estimators': (2, 4), 'max_depth': range(3, 5)} >>> rf = RandomForestClassifier() >>> searcher = GridSearchCV(rf, param_grid) >>> searcher.fit(x, y) >>> searcher.cv_results_ Attributes ---------- cv_results_ : dict of numpy (masked) ndarrays A dict with keys as column headers and values as columns, that can be imported into a pandas ``DataFrame``. For instance the below given table: +------------+------------+-----------------+---+---------+ |param_kernel|param_degree|split0_test_score|...|rank_t...| +============+============+=================+===+=========+ | 'poly' | 2 | 0.80 |...| 2 | +------------+------------+-----------------+---+---------+ | 'poly' | 3 | 0.70 |...| 4 | +------------+------------+-----------------+---+---------+ | 'rbf' | -- | 0.80 |...| 3 | +------------+------------+-----------------+---+---------+ | 'rbf' | -- | 0.93 |...| 1 | +------------+------------+-----------------+---+---------+ will be represented by a ``cv_results_`` dict of:: { 'param_kernel': masked_array(data = ['poly', 'poly', 'rbf', 'rbf'], mask = [False False False False]...), 'param_degree': masked_array(data = [2.0 3.0 -- --], mask = [False False True True]...), 'split0_test_score' : [0.80, 0.70, 0.80, 0.93], 'split1_test_score' : [0.82, 0.50, 0.68, 0.78], 'split2_test_score' : [0.79, 0.55, 0.71, 0.93], ... 'mean_test_score' : [0.81, 0.60, 0.75, 0.85], 'std_test_score' : [0.01, 0.10, 0.05, 0.08], 'rank_test_score' : [2, 4, 3, 1], 'params' : [{'kernel': 'poly', 'degree': 2}, ...], } NOTES: The key ``'params'`` is used to store a list of parameter settings dicts for all the parameter candidates. The ``mean_fit_time``, ``std_fit_time``, ``mean_score_time`` and ``std_score_time`` are all in seconds. For multi-metric evaluation, the scores for all the scorers are available in the ``cv_results_`` dict at the keys ending with that scorer's name (``'_<scorer_name>'``) instead of ``'_score'`` shown above ('split0_test_precision', 'mean_train_precision' etc.). best_estimator_ : estimator or dict Estimator that was chosen by the search, i.e. estimator which gave highest score (or smallest loss if specified) on the left out data. Not available if ``refit=False``. See ``refit`` parameter for more information on allowed values. best_score_ : float Mean cross-validated score of the best_estimator For multi-metric evaluation, this is present only if ``refit`` is specified. best_params_ : dict Parameter setting that gave the best results on the hold out data. For multi-metric evaluation, this is present only if ``refit`` is specified. best_index_ : int The index (of the ``cv_results_`` arrays) which corresponds to the best candidate parameter setting. The dict at ``search.cv_results_['params'][search.best_index_]`` gives the parameter setting for the best model, that gives the highest mean score (``search.best_score_``). For multi-metric evaluation, this is present only if ``refit`` is specified. scorer_ : function or a dict Scorer function used on the held out data to choose the best parameters for the model. For multi-metric evaluation, this attribute holds the validated ``scoring`` dict which maps the scorer key to the scorer callable. n_splits_ : int The number of cross-validation splits (folds/iterations). """ def __init__(self, estimator, param_grid, scoring=None, cv=None, refit=True): super().__init__(estimator=estimator, scoring=scoring, cv=cv, refit=refit) self.param_grid = param_grid self._check_param_grid(param_grid) def _run_search(self, evaluate_candidates): evaluate_candidates(ParameterGrid(self.param_grid)) @staticmethod def _check_param_grid(param_grid): if hasattr(param_grid, 'items'): param_grid = [param_grid] for p in param_grid: for name, v in p.items(): if isinstance(v, np.ndarray) and v.ndim > 1: raise ValueError("Parameter array should be " "one-dimensional.") if (isinstance(v, str) or not isinstance(v, (np.ndarray, Sequence))): raise ValueError( "Parameter values for parameter ({0}) need " "to be a sequence (but not a string) or" " np.ndarray.".format(name)) if len(v) == 0: raise ValueError( "Parameter values for parameter ({0}) need " "to be a non-empty sequence.".format(name)) class RandomizedSearchCV(BaseSearchCV): """Randomized search on hyper parameters. RandomizedSearchCV implements a "fit" and a "score" method. The parameters of the estimator used to apply these methods are optimized by cross-validated search over parameter settings. In contrast to GridSearchCV, not all parameter values are tried out, but rather a fixed number of parameter settings is sampled from the specified distributions. The number of parameter settings that are tried is given by n_iter. If all parameters are presented as a list, sampling without replacement is performed. If at least one parameter is given as a distribution, sampling with replacement is used. Parameters ---------- estimator : estimator object. This is assumed to implement the scikit-learn estimator interface. Either estimator needs to provide a ``score`` function, or ``scoring`` must be passed. param_distributions : dict Dictionary with parameters names (string) as keys and distributions or lists of parameters to try. Distributions must provide a ``rvs`` method for sampling (such as those from scipy.stats.distributions). If a list is given, it is sampled uniformly. n_iter : int, optional (default=10) Number of parameter settings that are sampled. scoring : callable, dict or None, optional (default=None) A callable to evaluate the predictions on the test set. It should take 3 parameters, estimator, x and y, and return a score (higher meaning better). For evaluating multiple metrics, give a dict with names as keys and callables as values. If None, the estimator's score method is used. cv : int or cv generator, optional (default=None) Determines the cross-validation splitting strategy. Possible inputs for cv are: - None, to use the default 5-fold cross validation, - integer, to specify the number of folds in a `KFold`, - custom cv generator. refit : boolean, string, or callable, optional (default=True) Refit an estimator using the best found parameters on the whole dataset. For multiple metric evaluation, this needs to be a string denoting the scorer that would be used to find the best parameters for refitting the estimator at the end. Where there are considerations other than maximum score in choosing a best estimator, ``refit`` can be set to a function which returns the selected ``best_index_`` given ``cv_results_``. The refitted estimator is made available at the ``best_estimator_`` attribute and permits using ``predict`` directly on this ``GridSearchCV`` instance. Also for multiple metric evaluation, the attributes ``best_index_``, ``best_score_`` and ``best_params_`` will only be available if ``refit`` is set and all of them will be determined w.r.t this specific scorer. ``best_score_`` is not returned if refit is callable. See ``scoring`` parameter to know more about multiple metric evaluation. random_state : int, RandomState instance or None, optional, default=None Pseudo random number generator state used for random sampling of params in param_distributions. This is not passed to each estimator. If int, random_state is the seed used by the random number generator; If RandomState instance, random_state is the random number generator; If None, the random number generator is the RandomState instance used by `np.random`. Examples -------- >>> import dislib as ds >>> from dislib.model_selection import RandomizedSearchCV >>> from dislib.classification import CascadeSVM >>> import numpy as np >>> import scipy.stats as stats >>> from sklearn import datasets >>> >>> >>> if __name__ == '__main__': >>> x_np, y_np = datasets.load_iris(return_X_y=True) >>> # Pre-shuffling required for CSVM >>> p = np.random.permutation(len(x_np)) >>> x = ds.array(x_np[p], (30, 4)) >>> y = ds.array((y_np[p] == 0)[:, np.newaxis], (30, 1)) >>> param_distributions = {'c': stats.expon(scale=0.5), >>> 'gamma': stats.expon(scale=10)} >>> csvm = CascadeSVM() >>> searcher = RandomizedSearchCV(csvm, param_distributions, n_iter=10) >>> searcher.fit(x, y) >>> searcher.cv_results_ Attributes ---------- cv_results_ : dict of numpy (masked) ndarrays A dict with keys as column headers and values as columns, that can be imported into a pandas ``DataFrame``. For instance the below given table +---------+-------------+-------------------+---+---------------+ | param_c | param_gamma | split0_test_score |...|rank_test_score| +=========+=============+===================+===+===============+ | 0.193 | 1.883 | 0.82 |...| 3 | +---------+-------------+-------------------+---+---------------+ | 1.452 | 0.327 | 0.81 |...| 2 | +---------+-------------+-------------------+---+---------------+ | 0.926 | 3.452 | 0.94 |...| 1 | +---------+-------------+-------------------+---+---------------+ will be represented by a ``cv_results_`` dict of:: { 'param_kernel' : masked_array(data = ['rbf', 'rbf', 'rbf'], mask = False), 'param_gamma' : masked_array(data = [0.1 0.2 0.3], mask = False), 'split0_test_score' : [0.82, 0.81, 0.94], 'split1_test_score' : [0.66, 0.75, 0.79], 'split2_test_score' : [0.82, 0.87, 0.84], ... 'mean_test_score' : [0.76, 0.84, 0.86], 'std_test_score' : [0.01, 0.20, 0.04], 'rank_test_score' : [3, 2, 1], 'params' : [{'c' : 0.193, 'gamma' : 1.883}, ...], } NOTE The key ``'params'`` is used to store a list of parameter settings dicts for all the parameter candidates. The ``mean_fit_time``, ``std_fit_time``, ``mean_score_time`` and ``std_score_time`` are all in seconds. For multi-metric evaluation, the scores for all the scorers are available in the ``cv_results_`` dict at the keys ending with that scorer's name (``'_<scorer_name>'``) instead of ``'_score'`` shown above. ('split0_test_precision', 'mean_train_precision' etc.) best_estimator_ : estimator or dict Estimator that was chosen by the search, i.e. estimator which gave highest score (or smallest loss if specified) on the left out data. Not available if ``refit=False``. For multi-metric evaluation, this attribute is present only if ``refit`` is specified. See ``refit`` parameter for more information on allowed values. best_score_ : float Mean cross-validated score of the best_estimator. For multi-metric evaluation, this is not available if ``refit`` is ``False``. See ``refit`` parameter for more information. best_params_ : dict Parameter setting that gave the best results on the hold out data. For multi-metric evaluation, this is not available if ``refit`` is ``False``. See ``refit`` parameter for more information. best_index_ : int The index (of the ``cv_results_`` arrays) which corresponds to the best candidate parameter setting. The dict at ``search.cv_results_['params'][search.best_index_]`` gives the parameter setting for the best model, that gives the highest mean score (``search.best_score_``). For multi-metric evaluation, this is not available if ``refit`` is ``False``. See ``refit`` parameter for more information. scorer_ : function or a dict Scorer function used on the held out data to choose the best parameters for the model. For multi-metric evaluation, this attribute holds the validated ``scoring`` dict which maps the scorer key to the scorer callable. n_splits_ : int The number of cross-validation splits (folds/iterations). """ def __init__(self, estimator, param_distributions, n_iter=10, scoring=None, cv=None, refit=True, random_state=None): super().__init__(estimator=estimator, scoring=scoring, cv=cv, refit=refit) self.param_distributions = param_distributions self.n_iter = n_iter self.random_state = random_state def _run_search(self, evaluate_candidates): """Search n_iter candidates from param_distributions""" ps = ParameterSampler(self.param_distributions, self.n_iter, random_state=self.random_state) evaluate_candidates(ps)
[((1557, 1574), 'dislib.model_selection._split.infer_cv', 'infer_cv', (['self.cv'], {}), '(self.cv)\n', (1565, 1574), False, 'from dislib.model_selection._split import infer_cv\n'), ((1656, 1672), 'sklearn.clone', 'clone', (['estimator'], {}), '(estimator)\n', (1661, 1672), False, 'from sklearn import clone\n'), ((4545, 4584), 'dislib.model_selection._validation.aggregate_score_dicts', 'aggregate_score_dicts', (['test_score_dicts'], {}), '(test_score_dicts)\n', (4566, 4584), False, 'from dislib.model_selection._validation import check_scorer, fit_and_score, validate_score, aggregate_score_dicts\n'), ((25641, 25733), 'sklearn.model_selection.ParameterSampler', 'ParameterSampler', (['self.param_distributions', 'self.n_iter'], {'random_state': 'self.random_state'}), '(self.param_distributions, self.n_iter, random_state=self.\n random_state)\n', (25657, 25733), False, 'from sklearn.model_selection import ParameterGrid, ParameterSampler\n'), ((5163, 5185), 'numpy.mean', 'np.mean', (['array'], {'axis': '(1)'}), '(array, axis=1)\n', (5170, 5185), True, 'import numpy as np\n'), ((5267, 5288), 'numpy.std', 'np.std', (['array'], {'axis': '(1)'}), '(array, axis=1)\n', (5273, 5288), True, 'import numpy as np\n'), ((15703, 15733), 'sklearn.model_selection.ParameterGrid', 'ParameterGrid', (['self.param_grid'], {}), '(self.param_grid)\n', (15716, 15733), False, 'from sklearn.model_selection import ParameterGrid, ParameterSampler\n'), ((2591, 2612), 'pycompss.api.api.compss_wait_on', 'compss_wait_on', (['score'], {}), '(score)\n', (2605, 2612), False, 'from pycompss.api.api import compss_wait_on\n'), ((2651, 2685), 'dislib.model_selection._validation.validate_score', 'validate_score', (['score', 'scorer_name'], {}), '(score, scorer_name)\n', (2665, 2685), False, 'from dislib.model_selection._validation import check_scorer, fit_and_score, validate_score, aggregate_score_dicts\n'), ((5794, 5816), 'numpy.empty', 'np.empty', (['n_candidates'], {}), '(n_candidates)\n', (5802, 5816), True, 'import numpy as np\n'), ((6847, 6879), 'dislib.model_selection._validation.check_scorer', 'check_scorer', (['estimator', 'scoring'], {}), '(estimator, scoring)\n', (6859, 6879), False, 'from dislib.model_selection._validation import check_scorer, fit_and_score, validate_score, aggregate_score_dicts\n'), ((1936, 1957), 'sklearn.clone', 'clone', (['base_estimator'], {}), '(base_estimator)\n', (1941, 1957), False, 'from sklearn import clone\n'), ((3981, 4002), 'sklearn.clone', 'clone', (['base_estimator'], {}), '(base_estimator)\n', (3986, 4002), False, 'from sklearn import clone\n'), ((4769, 4802), 'numpy.array', 'np.array', (['array'], {'dtype': 'np.float64'}), '(array, dtype=np.float64)\n', (4777, 4802), True, 'import numpy as np\n'), ((5445, 5481), 'scipy.stats.rankdata', 'rankdata', (['(-array_means)'], {'method': '"""min"""'}), "(-array_means, method='min')\n", (5453, 5481), False, 'from scipy.stats import rankdata\n'), ((7022, 7053), 'dislib.model_selection._validation.check_scorer', 'check_scorer', (['estimator', 'scorer'], {}), '(estimator, scorer)\n', (7034, 7053), False, 'from dislib.model_selection._validation import check_scorer, fit_and_score, validate_score, aggregate_score_dicts\n')]
robseed/botanist
webapp/ui/tests/test_parse_search_results.py
2f4fbab5d26499105a5057c86e0e6e37a2e8a727
import os from django.test import TestCase from mock import patch from ui.views import parse_search_results FIXTURES_ROOT = os.path.join(os.path.dirname(__file__), 'fixtures') FX = lambda *relpath: os.path.join(FIXTURES_ROOT, *relpath) @patch('ui.views.get_repo_type') @patch('ui.views.CODE_ROOT', '/opt/botanist/repos') class ParseSearchResults(TestCase): def test_duplicate_repositories_in_github_and_bitbucket(self, get_repo_type): def se(filepath): if 'bitbucket' in filepath: return 'hg' elif 'github' in filepath: return 'git' else: raise Exception('thats odd') get_repo_type.side_effect = se with open(FX('duplicate_repositories_in_github_and_bitbucket.results.txt')) as f: output = f.read() results, count = parse_search_results(output, 'AbstractSendTimeJob', True) self.assertEqual(2, count) self.assertListEqual(['bitbucket', 'github'], results['sproutjobs'].keys()) self.assertEqual('public abstract class AbstractJob implements Job {', results['sproutjobs']['bitbucket']['files']['src/main/java/com/sproutsocial/AbstractJob.java'][0]['srcline']) self.assertEqual('public abstract class AbstractJob implements Job {', results['sproutjobs']['github']['files']['src/main/java/com/sproutsocial/AbstractJob.java'][0]['srcline'])
[((242, 273), 'mock.patch', 'patch', (['"""ui.views.get_repo_type"""'], {}), "('ui.views.get_repo_type')\n", (247, 273), False, 'from mock import patch\n'), ((275, 325), 'mock.patch', 'patch', (['"""ui.views.CODE_ROOT"""', '"""/opt/botanist/repos"""'], {}), "('ui.views.CODE_ROOT', '/opt/botanist/repos')\n", (280, 325), False, 'from mock import patch\n'), ((141, 166), 'os.path.dirname', 'os.path.dirname', (['__file__'], {}), '(__file__)\n', (156, 166), False, 'import os\n'), ((202, 239), 'os.path.join', 'os.path.join', (['FIXTURES_ROOT', '*relpath'], {}), '(FIXTURES_ROOT, *relpath)\n', (214, 239), False, 'import os\n'), ((856, 913), 'ui.views.parse_search_results', 'parse_search_results', (['output', '"""AbstractSendTimeJob"""', '(True)'], {}), "(output, 'AbstractSendTimeJob', True)\n", (876, 913), False, 'from ui.views import parse_search_results\n')]
Clariteia/api_gateway_common
minos/api_gateway/common/exceptions.py
e68095f31091699fc6cc4537bd6acf97a8dc6c3e
""" Copyright (C) 2021 Clariteia SL This file is part of minos framework. Minos framework can not be copied and/or distributed without the express permission of Clariteia SL. """ from typing import ( Any, Type, ) class MinosException(Exception): """Exception class for import packages or modules""" __slots__ = "_message" def __init__(self, error_message: str): self._message = error_message def __repr__(self): return f"{type(self).__name__}(message={repr(self._message)})" def __str__(self) -> str: """represent in a string format the error message passed during the instantiation""" return self._message class MinosImportException(MinosException): pass class MinosProtocolException(MinosException): pass class MinosMessageException(MinosException): pass class MinosConfigException(MinosException): """Base config exception.""" class MinosConfigDefaultAlreadySetException(MinosConfigException): """Exception to be raised when some config is already set as default.""" class MinosRepositoryException(MinosException): """Base repository exception.""" class MinosRepositoryAggregateNotFoundException(MinosRepositoryException): """Exception to be raised when some aggregate is not found on the repository.""" class MinosRepositoryDeletedAggregateException(MinosRepositoryException): """Exception to be raised when some aggregate is already deleted from the repository.""" class MinosRepositoryManuallySetAggregateIdException(MinosRepositoryException): """Exception to be raised when some aggregate is trying to be created with a manually set id.""" class MinosRepositoryManuallySetAggregateVersionException(MinosRepositoryException): """Exception to be raised when some aggregate is trying to be created with a manually set version.""" class MinosRepositoryUnknownActionException(MinosRepositoryException): """Exception to be raised when some entry tries to perform an unknown action.""" class MinosRepositoryNonProvidedException(MinosRepositoryException): """Exception to be raised when a repository is needed but none is set.""" class MinosModelException(MinosException): """Exception to be raised when some mandatory condition is not satisfied by a model.""" pass class EmptyMinosModelSequenceException(MinosModelException): """Exception to be raised when a sequence must be not empty, but it is empty.""" pass class MultiTypeMinosModelSequenceException(MinosModelException): """Exception to be raised when a sequence doesn't satisfy the condition to have the same type for each item.""" pass class MinosModelAttributeException(MinosException): """Base model attributes exception.""" pass class MinosReqAttributeException(MinosModelAttributeException): """Exception to be raised when some required attributes are not provided.""" pass class MinosTypeAttributeException(MinosModelAttributeException): """Exception to be raised when there are any mismatching between the expected and observed attribute type.""" def __init__(self, name: str, target_type: Type, value: Any): self.name = name self.target_type = target_type self.value = value super().__init__( f"The {repr(target_type)} expected type for {repr(name)} does not match with " f"the given data type: {type(value)}" ) class MinosMalformedAttributeException(MinosModelAttributeException): """Exception to be raised when there are any kind of problems with the type definition.""" pass class MinosParseAttributeException(MinosModelAttributeException): """Exception to be raised when there are any kind of problems with the parsing logic.""" def __init__(self, name: str, value: Any, exception: Exception): self.name = name self.value = value self.exception = exception super().__init__(f"{repr(exception)} was raised while parsing {repr(name)} field with {repr(value)} value.") class MinosAttributeValidationException(MinosModelAttributeException): """Exception to be raised when some fields are not valid.""" def __init__(self, name: str, value: Any): self.name = name self.value = value super().__init__(f"{repr(value)} value does not pass the {repr(name)} field validation.")
[]
burgerdev/hostload
tsdl/tools/extensions.py
93142628bb32923c5e6f3a8b791488d72a5c9077
""" Extensions for pylearn2 training algorithms. Those are either reimplemented to suit the execution model of this package, or new ones for recording metrics. """ import os import cPickle as pkl import numpy as np from pylearn2.train_extensions import TrainExtension from .abcs import Buildable class BuildableTrainExtension(TrainExtension, Buildable): """ makes a pylearn2 TrainExtension buildable """ @classmethod def build(cls, config, parent=None, graph=None, workingdir=None): """ build an instance of this class with given configuration dict """ config_copy = config.copy() if "wd" not in config_copy: config_copy["wd"] = workingdir obj = super(BuildableTrainExtension, cls).build(config_copy) return obj def __init__(self, **kwargs): if "workingdir" in kwargs: self._wd = kwargs["workingdir"] super(BuildableTrainExtension, self).__init__() @classmethod def get_default_config(cls): """ override to provide your own default configuration """ conf = super(BuildableTrainExtension, cls).get_default_config() conf["wd"] = None return conf class PersistentTrainExtension(BuildableTrainExtension): """ abstract extension that can store its results (on disk, probably) """ def store(self): """ store the findings of this extension """ pass class WeightKeeper(PersistentTrainExtension): """ keeps track of the model's weights at each monitor step This model stores weights *per monitor step* - the list grows large pretty quickly. """ _weights = [] def on_monitor(self, model, dataset, algorithm): """ save the model's weights """ self._weights.append(model.get_param_values()) def setup(self, model, dataset, algorithm): """ initialize the weight list """ self._weights = [] def get_weights(self): """ get weights history """ return self._weights def store(self): path = os.path.join(self._wd, "weightkeeper.pkl") with open(path, "w") as file_: pkl.dump(self._weights, file_) class ProgressMonitor(PersistentTrainExtension): """ Makes the monitor channel's history accessible to us. """ _progress = np.NaN @classmethod def get_default_config(cls): config = super(ProgressMonitor, cls).get_default_config() config["channel"] = "valid_objective" return config def on_monitor(self, model, dataset, algorithm): """ save the desired channel """ monitor = model.monitor channels = monitor.channels channel = channels[self._channel] self._progress = channel.val_record def get_progress(self): """ get the value's history """ return self._progress def store(self): filename = "progress_{}.pkl".format(self._channel) path = os.path.join(self._wd, filename) with open(path, "w") as file_: pkl.dump(self._progress, file_) class MonitorBasedSaveBest(BuildableTrainExtension): """ similar to pylearn2's MonitorBasedSaveBest, but avoids memory hogging (see https://github.com/lisa-lab/pylearn2/issues/1567) """ best_cost = np.inf best_params = None @classmethod def get_default_config(cls): config = super(MonitorBasedSaveBest, cls).get_default_config() config["channel"] = "valid_objective" return config def setup(self, model, dataset, algorithm): self.best_cost = np.inf self.best_params = model.get_param_values() def on_monitor(self, model, dataset, algorithm): """ Looks whether the model performs better than earlier. If it's the case, saves the model. Parameters ---------- model : pylearn2.models.model.Model model.monitor must contain a channel with name given by self.channel_name dataset : pylearn2.datasets.dataset.Dataset Not used algorithm : TrainingAlgorithm Not used """ monitor = model.monitor channels = monitor.channels channel = channels[self._channel] val_record = channel.val_record new_cost = val_record[-1] if new_cost < self.best_cost: self.best_cost = new_cost self.best_params = model.get_param_values()
[((2160, 2202), 'os.path.join', 'os.path.join', (['self._wd', '"""weightkeeper.pkl"""'], {}), "(self._wd, 'weightkeeper.pkl')\n", (2172, 2202), False, 'import os\n'), ((3095, 3127), 'os.path.join', 'os.path.join', (['self._wd', 'filename'], {}), '(self._wd, filename)\n', (3107, 3127), False, 'import os\n'), ((2254, 2284), 'cPickle.dump', 'pkl.dump', (['self._weights', 'file_'], {}), '(self._weights, file_)\n', (2262, 2284), True, 'import cPickle as pkl\n'), ((3179, 3210), 'cPickle.dump', 'pkl.dump', (['self._progress', 'file_'], {}), '(self._progress, file_)\n', (3187, 3210), True, 'import cPickle as pkl\n')]
Cooomma/nogi-backup-blog
nogi/utils/post_extractor.py
19868511d2b0f0c4d06bf4a88981bbfadc4121e4
import asyncio from io import BytesIO import logging import os import random import time from typing import List from urllib.parse import urlparse import aiohttp from aiohttp import ClientSession, TCPConnector import requests from requests import Response from tqdm import tqdm from nogi import REQUEST_HEADERS from nogi.db.nogi_blog_content import NogiBlogContent from nogi.db.nogi_blog_summary import NogiBlogSummary from nogi.storages.gcs import GCS from nogi.utils.parsers import PostParser, generate_post_key logger = logging.getLogger() HEADERS = { 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36' } class PostExecutor: def __init__(self, member: dict, summary_db: NogiBlogSummary, content_db: NogiBlogContent, gcs_client: GCS, bucket: str, concurrent: int = 4): self._waiting_limit = concurrent self.member = member # DB self.summary_db = summary_db self.content_db = content_db # GCS Storage self.bucket = bucket self.storage = gcs_client self.storage_blog_post_prefix = os.path.join(member['roma_name'], 'post') self.storage_blog_image_prefix = os.path.join(member['roma_name'], 'img') # Tasks self.todos = self.summary_db.get_missing_blog_url(member['id']) @staticmethod def db_transform(post_url: str, obj: dict, **kwargs) -> dict: return dict( member_id=kwargs.get('member_id'), blog_key=generate_post_key(post_url), url=post_url, title=obj['title'], content=obj['content'], image_gcs_paths=kwargs.get('image_gcs_paths'), post_gcs_path=kwargs.get('post_gcs_path'), blog_created_at=int(obj['created_at'].timestamp())) @staticmethod def _get_hd_image(url: str) -> BytesIO: first_layer_response: Response = requests.get(url, headers=HEADERS) logger.debug(first_layer_response.cookies) resp = requests.get( url=url.replace('http://dcimg.awalker.jp/v/', 'http://dcimg.awalker.jp/i/'), cookies=first_layer_response.cookies) logger.debug(resp.status_code) logger.debug(resp.headers) return BytesIO(resp.content) if resp.status_code == 200 else BytesIO(bytes=b'') def backup_images(self, image_urls: List[dict]) -> List[str]: downloaded_image_urls = list() for url in image_urls: image_gcs_path = os.path.join(self.storage_blog_image_prefix, '/'.join(urlparse(url['image_url']).path.split('/')[-5:])) if url['high_resolution_url'] != url['image_url']: hd_image = self._get_hd_image(url['high_resolution_url']) if hd_image: self.storage.upload_stream( bucket=self.bucket, blob_name=image_gcs_path, content=hd_image.read(), content_type='image/jpeg' ) else: image = requests.get(url=url['image_url']) if image.status_code != 200: logger.warning('Image Request Fail: %s', url) continue self.storage.upload_stream( bucket=self.bucket, blob_name=image_gcs_path, content=image.content, content_type='image/jpeg' ) downloaded_image_urls.append(url) return downloaded_image_urls async def backup_content(self, session: ClientSession, post_url: str) -> str: post_gcs_path = os.path.join(self.storage_blog_post_prefix, '/'.join(urlparse(post_url).path.split('/')[-3:])) try: async with session.get(url=post_url, headers=REQUEST_HEADERS) as response: self.storage.upload_stream( bucket=self.bucket, blob_name=post_gcs_path, content=await response.read(), content_type='text/html') return post_gcs_path except aiohttp.client_exceptions.InvalidURL: print('Invalid URL: %s' % post_url) except aiohttp.client_exceptions.ClientConnectorError: print('Client Connector Error: %s' % post_url) @staticmethod def crawl_post(url: str) -> None: return PostParser(requests.get(url, headers=REQUEST_HEADERS).text).to_dict() async def _run(self, url: str): try: async with aiohttp.ClientSession(connector=TCPConnector(verify_ssl=False)) as session: post_gcs_path = await self.backup_content(session, url) post = self.crawl_post(url) images_gcs_paths = self.backup_images(post['image_urls']) result = self.db_transform( post_url=url, obj=post, member_id=self.member['id'], image_gcs_paths=images_gcs_paths, post_gcs_path=post_gcs_path) self.content_db.upsert_crawled_post(result) self.summary_db.update_crawled_result(result) except aiohttp.client_exceptions.InvalidURL: print('Invalid URL: %s' % url) except aiohttp.client_exceptions.ClientConnectorError: print('Client Connector Error: %s' % url) except Exception: import traceback print('Error URL: %s' % url) print(traceback.format_exc()) def run(self): loop = asyncio.get_event_loop() if self.todos: tasks = [] for url in tqdm(self.todos, desc='Current Member: {}'.format(self.member['kanji_name']), ncols=120): tasks.append(asyncio.ensure_future(self._run(url))) if len(tasks) > self._waiting_limit: loop.run_until_complete(asyncio.gather(*tasks)) tasks = [] if tasks: loop.run_until_complete(asyncio.gather(*tasks)) slepp_second = random.randint(1, 15) print('Sleep for %s second' % slepp_second) time.sleep(slepp_second)
[((526, 545), 'logging.getLogger', 'logging.getLogger', ([], {}), '()\n', (543, 545), False, 'import logging\n'), ((1157, 1198), 'os.path.join', 'os.path.join', (["member['roma_name']", '"""post"""'], {}), "(member['roma_name'], 'post')\n", (1169, 1198), False, 'import os\n'), ((1240, 1280), 'os.path.join', 'os.path.join', (["member['roma_name']", '"""img"""'], {}), "(member['roma_name'], 'img')\n", (1252, 1280), False, 'import os\n'), ((1949, 1983), 'requests.get', 'requests.get', (['url'], {'headers': 'HEADERS'}), '(url, headers=HEADERS)\n', (1961, 1983), False, 'import requests\n'), ((5556, 5580), 'asyncio.get_event_loop', 'asyncio.get_event_loop', ([], {}), '()\n', (5578, 5580), False, 'import asyncio\n'), ((2292, 2313), 'io.BytesIO', 'BytesIO', (['resp.content'], {}), '(resp.content)\n', (2299, 2313), False, 'from io import BytesIO\n'), ((2346, 2364), 'io.BytesIO', 'BytesIO', ([], {'bytes': "b''"}), "(bytes=b'')\n", (2353, 2364), False, 'from io import BytesIO\n'), ((6074, 6095), 'random.randint', 'random.randint', (['(1)', '(15)'], {}), '(1, 15)\n', (6088, 6095), False, 'import random\n'), ((6164, 6188), 'time.sleep', 'time.sleep', (['slepp_second'], {}), '(slepp_second)\n', (6174, 6188), False, 'import time\n'), ((1544, 1571), 'nogi.utils.parsers.generate_post_key', 'generate_post_key', (['post_url'], {}), '(post_url)\n', (1561, 1571), False, 'from nogi.utils.parsers import PostParser, generate_post_key\n'), ((3148, 3182), 'requests.get', 'requests.get', ([], {'url': "url['image_url']"}), "(url=url['image_url'])\n", (3160, 3182), False, 'import requests\n'), ((5497, 5519), 'traceback.format_exc', 'traceback.format_exc', ([], {}), '()\n', (5517, 5519), False, 'import traceback\n'), ((6022, 6044), 'asyncio.gather', 'asyncio.gather', (['*tasks'], {}), '(*tasks)\n', (6036, 6044), False, 'import asyncio\n'), ((4470, 4512), 'requests.get', 'requests.get', (['url'], {'headers': 'REQUEST_HEADERS'}), '(url, headers=REQUEST_HEADERS)\n', (4482, 4512), False, 'import requests\n'), ((4634, 4664), 'aiohttp.TCPConnector', 'TCPConnector', ([], {'verify_ssl': '(False)'}), '(verify_ssl=False)\n', (4646, 4664), False, 'from aiohttp import ClientSession, TCPConnector\n'), ((5905, 5927), 'asyncio.gather', 'asyncio.gather', (['*tasks'], {}), '(*tasks)\n', (5919, 5927), False, 'import asyncio\n'), ((3803, 3821), 'urllib.parse.urlparse', 'urlparse', (['post_url'], {}), '(post_url)\n', (3811, 3821), False, 'from urllib.parse import urlparse\n'), ((2627, 2653), 'urllib.parse.urlparse', 'urlparse', (["url['image_url']"], {}), "(url['image_url'])\n", (2635, 2653), False, 'from urllib.parse import urlparse\n')]
threefoldtech/threebot_prebuilt
sandbox/lib/jumpscale/JumpscaleLibsExtra/sal_zos/gateway/dhcp.py
1f0e1c65c14cef079cd80f73927d7c8318755c48
from Jumpscale import j import signal from .. import templates DNSMASQ = "/bin/dnsmasq --conf-file=/etc/dnsmasq.conf -d" class DHCP: def __init__(self, container, domain, networks): self.container = container self.domain = domain self.networks = networks def apply_config(self): dnsmasq = templates.render("dnsmasq.conf", domain=self.domain, networks=self.networks) self.container.upload_content("/etc/dnsmasq.conf", dnsmasq) dhcp = templates.render("dhcp", networks=self.networks) self.container.upload_content("/etc/dhcp", dhcp) self.stop() self.container.client.system(DNSMASQ, id="dhcp.{}".format(self.container.name)) # check if command is listening for dhcp if not j.tools.timer.execute_until(self.is_running, 10): raise j.exceptions.Base("Failed to run dnsmasq") def is_running(self): for port in self.container.client.info.port(): if port["network"] == "udp" and port["port"] == 53: return True def stop(self): for process in self.container.client.process.list(): if "dnsmasq" in process["cmdline"]: self.container.client.process.kill(process["pid"], signal.SIGKILL) if not j.tools.timer.execute_until(lambda: not self.is_running(), 10): raise j.exceptions.Base("Failed to stop DNSMASQ")
[((774, 822), 'Jumpscale.j.tools.timer.execute_until', 'j.tools.timer.execute_until', (['self.is_running', '(10)'], {}), '(self.is_running, 10)\n', (801, 822), False, 'from Jumpscale import j\n'), ((842, 884), 'Jumpscale.j.exceptions.Base', 'j.exceptions.Base', (['"""Failed to run dnsmasq"""'], {}), "('Failed to run dnsmasq')\n", (859, 884), False, 'from Jumpscale import j\n'), ((1385, 1428), 'Jumpscale.j.exceptions.Base', 'j.exceptions.Base', (['"""Failed to stop DNSMASQ"""'], {}), "('Failed to stop DNSMASQ')\n", (1402, 1428), False, 'from Jumpscale import j\n')]
breeze-shared-inc/python_training_01
answer/a4_type.py
7e918b37adbce062ae279f060bc25cfacda2fb85
hensu_int = 17 #数字 hensu_float = 1.7 #小数点(浮動小数点) hensu_str = "HelloWorld" #文字列 hensu_bool = True #真偽 hensu_list = [] #リスト hensu_tuple = () #タプル hensu_dict = {} #辞書(ディクト)型 print(type(hensu_int)) print(type(hensu_float)) print(type(hensu_str)) print(type(hensu_bool)) print(type(hensu_list)) print(type(hensu_tuple)) print(type(hensu_dict))
[]
UrsaLeo/LEDdebug
LEDdebug/examples/led-demo.py
228af02468e4f3b617a50e6195931a623a4ad848
#!/usr/bin/env python3 """UrsaLeo LEDdebug board LED demo Turn the LED's on one at a time, then all off""" import time ON = 1 OFF = 0 DELAY = 0.5 # seconds try: from LEDdebug import LEDdebug except ImportError: try: import sys import os sys.path.append("..") sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'LEDdebug')) from LEDdebug import LEDdebug except ImportError: print('LEDdebug import failed') exit(0) def main(): # Create device device = LEDdebug() # Turn on each LED in succession for led in range(1, 7): device.set_led(led, ON) print(f'Turning LED{led} on') time.sleep(DELAY) print('Turning all LEDs off') # Turn all the lights of before leaving! device.set_leds(OFF) if __name__ == '__main__': main()
[((570, 580), 'LEDdebug.LEDdebug', 'LEDdebug', ([], {}), '()\n', (578, 580), False, 'from LEDdebug import LEDdebug\n'), ((725, 742), 'time.sleep', 'time.sleep', (['DELAY'], {}), '(DELAY)\n', (735, 742), False, 'import time\n'), ((276, 297), 'sys.path.append', 'sys.path.append', (['""".."""'], {}), "('..')\n", (291, 297), False, 'import sys\n'), ((335, 360), 'os.path.dirname', 'os.path.dirname', (['__file__'], {}), '(__file__)\n', (350, 360), False, 'import os\n')]
Nitin-Mane/SARS-CoV-2-xDNN-Classifier
modules/server.py
abb6a82b8ee89a041b0e26e14ec1e416c4561266
#!/usr/bin/env python ################################################################################### ## ## Project: COVID -19 xDNN Classifier 2020 ## Version: 1.0.0 ## Module: Server ## Desription: The COVID -19 xDNN Classifier 2020 server. ## License: MIT ## Copyright: 2021, Asociacion De Investigacion En Inteligencia Artificial Para ## La Leucemia Peter Moss. ## Author: Nitin Mane ## Maintainer: Nitin Mane ## ## Modified: 2021-2-19 ## ################################################################################### ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files(the "Software"), to deal ## in the Software without restriction, including without limitation the rights ## to use, copy, modify, merge, publish, distribute, sublicense, and / or sell ## copies of the Software, and to permit persons to whom the Software is ## furnished to do so, subject to the following conditions: ## ## The above copyright notice and this permission notice shall be included in all ## copies or substantial portions of the Software. ## ## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ## IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ## FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ## AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ## LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ## OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ## SOFTWARE. ## ################################################################################### import cv2 import json import jsonpickle import os import requests import time import numpy as np import tensorflow as tf from modules.AbstractServer import AbstractServer from flask import Flask, request, Response from io import BytesIO from PIL import Image from tensorflow.keras.preprocessing import image from tensorflow.keras.applications.vgg16 import preprocess_input class server(AbstractServer): """ COVID 19 xDNN Classifier 2020 Server. This object represents the COVID 19 xDNN Classifier 2020 Server. """ def predict(self, req): """ Classifies an image sent via HTTP. """ if len(req.files) != 0: img = Image.open(req.files['file'].stream).convert('RGB') else: img = Image.open(BytesIO(req.data)).convert('RGB') img = img.resize((224, 224), Image.ANTIALIAS) np_img = tf.keras.preprocessing.image.img_to_array(img) np_img.transpose(1, 2, 0) #img = keras.preprocessing.image.img_to_array(img) #img = np.array([img]) # Convert single image to a batch. img = np.expand_dims(np_img, axis=0) img = preprocess_input(img) #prediction = self.predict(img) #img = img.resize((224, 224), Image.ANTIALIAS) #img = image.img_to_array(img) #img = np.expand_dims(img, axis=0) #img = preprocess_input(img) #img = img.reshape((1,224,224,3)) return self.model.predict(img) def request(self, img_path): """ Sends image to the inference API endpoint. """ self.helpers.logger.info("Sending request for: " + img_path) _, img_encoded = cv2.imencode('.png', cv2.imread(img_path)) response = requests.post( self.addr, data=img_encoded.tostring(), headers=self.headers) response = json.loads(response.text) return response def start(self): """ Starts the server. """ app = Flask(self.helpers.credentials["iotJumpWay"]["name"]) @app.route('/Inference', methods=['POST']) def Inference(): """ Responds to HTTP POST requests. """ self.mqtt.publish("States", { "Type": "Prediction", "Name": self.helpers.credentials["iotJumpWay"]["name"], "State": "Processing", "Message": "Processing data" }) message = "" prediction = self.predict(request) print(prediction) if prediction == 1: message = "Acute Lymphoblastic Leukemia detected!" diagnosis = "Positive" elif prediction == 0: message = "Acute Lymphoblastic Leukemia not detected!" diagnosis = "Negative" self.mqtt.publish("States", { "Type": "Prediction", "Name": self.helpers.credentials["iotJumpWay"]["name"], "State": diagnosis, "Message": message }) resp = jsonpickle.encode({ 'Response': 'OK', 'Message': message, 'Diagnosis': diagnosis }) return Response(response=resp, status=200, mimetype="application/json") app.run(host=self.helpers.credentials["server"]["ip"], port=self.helpers.credentials["server"]["port"]) def test(self): """ Tests the trained model via HTTP. """ totaltime = 0 files = 0 tp = 0 fp = 0 tn = 0 fn = 0 self.addr = "http://" + self.helpers.credentials["server"]["ip"] + \ ':'+str(self.helpers.credentials["server"]["port"]) + '/Inference' self.headers = {'content-type': 'image/jpeg'} for testFile in os.listdir(self.model.testing_dir): if os.path.splitext(testFile)[1] in self.model.valid: start = time.time() prediction = self.request(self.model.testing_dir + "/" + testFile) print(prediction) end = time.time() benchmark = end - start totaltime += benchmark msg = "" status = "" outcome = "" if prediction["Diagnosis"] == "Positive" and "Non-Covid" in testFile: fp += 1 status = "incorrectly" outcome = "(False Positive)" elif prediction["Diagnosis"] == "Negative" and "Non-Covid" in testFile: tn += 1 status = "correctly" outcome = "(True Negative)" elif prediction["Diagnosis"] == "Positive" and "Covid" in testFile: tp += 1 status = "correctly" outcome = "(True Positive)" elif prediction["Diagnosis"] == "Negative" and "Covid" in testFile: fn += 1 status = "incorrectly" outcome = "(False Negative)" files += 1 self.helpers.logger.info("COVID-19 xDNN Classifier " + status + " detected " + outcome + " in " + str(benchmark) + " seconds.") self.helpers.logger.info("Images Classified: " + str(files)) self.helpers.logger.info("True Positives: " + str(tp)) self.helpers.logger.info("False Positives: " + str(fp)) self.helpers.logger.info("True Negatives: " + str(tn)) self.helpers.logger.info("False Negatives: " + str(fn)) self.helpers.logger.info("Total Time Taken: " + str(totaltime))
[((2531, 2577), 'tensorflow.keras.preprocessing.image.img_to_array', 'tf.keras.preprocessing.image.img_to_array', (['img'], {}), '(img)\n', (2572, 2577), True, 'import tensorflow as tf\n'), ((2728, 2758), 'numpy.expand_dims', 'np.expand_dims', (['np_img'], {'axis': '(0)'}), '(np_img, axis=0)\n', (2742, 2758), True, 'import numpy as np\n'), ((2767, 2788), 'tensorflow.keras.applications.vgg16.preprocess_input', 'preprocess_input', (['img'], {}), '(img)\n', (2783, 2788), False, 'from tensorflow.keras.applications.vgg16 import preprocess_input\n'), ((3361, 3386), 'json.loads', 'json.loads', (['response.text'], {}), '(response.text)\n', (3371, 3386), False, 'import json\n'), ((3463, 3516), 'flask.Flask', 'Flask', (["self.helpers.credentials['iotJumpWay']['name']"], {}), "(self.helpers.credentials['iotJumpWay']['name'])\n", (3468, 3516), False, 'from flask import Flask, request, Response\n'), ((4911, 4945), 'os.listdir', 'os.listdir', (['self.model.testing_dir'], {}), '(self.model.testing_dir)\n', (4921, 4945), False, 'import os\n'), ((3233, 3253), 'cv2.imread', 'cv2.imread', (['img_path'], {}), '(img_path)\n', (3243, 3253), False, 'import cv2\n'), ((4288, 4373), 'jsonpickle.encode', 'jsonpickle.encode', (["{'Response': 'OK', 'Message': message, 'Diagnosis': diagnosis}"], {}), "({'Response': 'OK', 'Message': message, 'Diagnosis':\n diagnosis})\n", (4305, 4373), False, 'import jsonpickle\n'), ((4398, 4462), 'flask.Response', 'Response', ([], {'response': 'resp', 'status': '(200)', 'mimetype': '"""application/json"""'}), "(response=resp, status=200, mimetype='application/json')\n", (4406, 4462), False, 'from flask import Flask, request, Response\n'), ((5017, 5028), 'time.time', 'time.time', ([], {}), '()\n', (5026, 5028), False, 'import time\n'), ((5132, 5143), 'time.time', 'time.time', ([], {}), '()\n', (5141, 5143), False, 'import time\n'), ((2357, 2393), 'PIL.Image.open', 'Image.open', (["req.files['file'].stream"], {}), "(req.files['file'].stream)\n", (2367, 2393), False, 'from PIL import Image\n'), ((4953, 4979), 'os.path.splitext', 'os.path.splitext', (['testFile'], {}), '(testFile)\n', (4969, 4979), False, 'import os\n'), ((2437, 2454), 'io.BytesIO', 'BytesIO', (['req.data'], {}), '(req.data)\n', (2444, 2454), False, 'from io import BytesIO\n')]
all-of-us/raw-data-repository
rdr_service/lib_fhir/fhirclient_3_0_0/models/allergyintolerance_tests.py
d28ad957557587b03ff9c63d55dd55e0508f91d8
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 3.0.0.11832 on 2017-03-22. # 2017, SMART Health IT. import io import json import os import unittest from . import allergyintolerance from .fhirdate import FHIRDate class AllergyIntoleranceTests(unittest.TestCase): def instantiate_from(self, filename): datadir = os.environ.get('FHIR_UNITTEST_DATADIR') or '' with io.open(os.path.join(datadir, filename), 'r', encoding='utf-8') as handle: js = json.load(handle) self.assertEqual("AllergyIntolerance", js["resourceType"]) return allergyintolerance.AllergyIntolerance(js) def testAllergyIntolerance1(self): inst = self.instantiate_from("allergyintolerance-example.json") self.assertIsNotNone(inst, "Must have instantiated a AllergyIntolerance instance") self.implAllergyIntolerance1(inst) js = inst.as_json() self.assertEqual("AllergyIntolerance", js["resourceType"]) inst2 = allergyintolerance.AllergyIntolerance(js) self.implAllergyIntolerance1(inst2) def implAllergyIntolerance1(self, inst): self.assertEqual(inst.assertedDate.date, FHIRDate("2014-10-09T14:58:00+11:00").date) self.assertEqual(inst.assertedDate.as_json(), "2014-10-09T14:58:00+11:00") self.assertEqual(inst.category[0], "food") self.assertEqual(inst.clinicalStatus, "active") self.assertEqual(inst.code.coding[0].code, "227493005") self.assertEqual(inst.code.coding[0].display, "Cashew nuts") self.assertEqual(inst.code.coding[0].system, "http://snomed.info/sct") self.assertEqual(inst.criticality, "high") self.assertEqual(inst.id, "example") self.assertEqual(inst.identifier[0].system, "http://acme.com/ids/patients/risks") self.assertEqual(inst.identifier[0].value, "49476534") self.assertEqual(inst.lastOccurrence.date, FHIRDate("2012-06").date) self.assertEqual(inst.lastOccurrence.as_json(), "2012-06") self.assertEqual(inst.note[0].text, "The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract.") self.assertEqual(inst.onsetDateTime.date, FHIRDate("2004").date) self.assertEqual(inst.onsetDateTime.as_json(), "2004") self.assertEqual(inst.reaction[0].description, "Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered") self.assertEqual(inst.reaction[0].exposureRoute.coding[0].code, "34206005") self.assertEqual(inst.reaction[0].exposureRoute.coding[0].display, "Subcutaneous route") self.assertEqual(inst.reaction[0].exposureRoute.coding[0].system, "http://snomed.info/sct") self.assertEqual(inst.reaction[0].manifestation[0].coding[0].code, "39579001") self.assertEqual(inst.reaction[0].manifestation[0].coding[0].display, "Anaphylactic reaction") self.assertEqual(inst.reaction[0].manifestation[0].coding[0].system, "http://snomed.info/sct") self.assertEqual(inst.reaction[0].onset.date, FHIRDate("2012-06-12").date) self.assertEqual(inst.reaction[0].onset.as_json(), "2012-06-12") self.assertEqual(inst.reaction[0].severity, "severe") self.assertEqual(inst.reaction[0].substance.coding[0].code, "1160593") self.assertEqual(inst.reaction[0].substance.coding[0].display, "cashew nut allergenic extract Injectable Product") self.assertEqual(inst.reaction[0].substance.coding[0].system, "http://www.nlm.nih.gov/research/umls/rxnorm") self.assertEqual(inst.reaction[1].manifestation[0].coding[0].code, "64305001") self.assertEqual(inst.reaction[1].manifestation[0].coding[0].display, "Urticaria") self.assertEqual(inst.reaction[1].manifestation[0].coding[0].system, "http://snomed.info/sct") self.assertEqual(inst.reaction[1].note[0].text, "The patient reports that the onset of urticaria was within 15 minutes of eating cashews.") self.assertEqual(inst.reaction[1].onset.date, FHIRDate("2004").date) self.assertEqual(inst.reaction[1].onset.as_json(), "2004") self.assertEqual(inst.reaction[1].severity, "moderate") self.assertEqual(inst.text.status, "generated") self.assertEqual(inst.type, "allergy") self.assertEqual(inst.verificationStatus, "confirmed")
[((351, 390), 'os.environ.get', 'os.environ.get', (['"""FHIR_UNITTEST_DATADIR"""'], {}), "('FHIR_UNITTEST_DATADIR')\n", (365, 390), False, 'import os\n'), ((502, 519), 'json.load', 'json.load', (['handle'], {}), '(handle)\n', (511, 519), False, 'import json\n'), ((418, 449), 'os.path.join', 'os.path.join', (['datadir', 'filename'], {}), '(datadir, filename)\n', (430, 449), False, 'import os\n')]
PyDee/Spiders
jsparse/meijiexia/meijiexia.py
6fc0a414060032b5ba4332302285e3fcc9a6113e
import time import random import requests from lxml import etree import pymongo from .url_file import mjx_weibo, mjx_dy, mjx_ks, mjx_xhs class DBMongo: def __init__(self): self.my_client = pymongo.MongoClient("mongodb://localhost:27017/") # 连接数据库 self.db = self.my_client["mcn"] def insert_2_xt(self, success_item, collection_name): try: collection = self.db[collection_name] collection.insert_one(success_item) # 数据写入mongoDB print('success!!!') except: print('写入数据失败') class MJX: def __init__(self): self.db = DBMongo() self.headers = { 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'zh-CN,zh;q=0.9', 'Cache-Control': 'max-age=0', 'Connection': 'keep-alive', 'Cookie': 'accessId=defba4d0-9ab2-11e8-b156-7b8f577687be; qimo_seokeywords_defba4d0-9ab2-11e8-b156-7b8f577687be=; href=https%3A%2F%2Fwww.meijiexia.com%2Fmedias-118.html; ci_session=ccb97bb846cd5e0ce6538c2cc8f11ca7abc296ee; Hm_lvt_c96abf7da979015953d1d22702db6de8=1591685037,1592274339,1592278224; qimo_seosource_defba4d0-9ab2-11e8-b156-7b8f577687be=%E7%AB%99%E5%86%85; Hm_lpvt_c96abf7da979015953d1d22702db6de8=1592278238; pageViewNum=34', 'Host': 'www.meijiexia.com', 'Referer': 'https://www.meijiexia.com/medias-118.html', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Upgrade-Insecure-Requests': '1', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36', } def get_response(self, url, collection): proxy = self.get_proxy() proxies = { "http": "http://{}:{}".format(proxy.get('IP'), proxy.get('Port')), "https": "http://{}:{}".format(proxy.get('IP'), proxy.get('Port')), } ret = requests.get(url, headers=self.headers, proxies=proxies) response = etree.HTML(ret.text) tr_list = response.xpath('//tbody[@id="qu-con"]/tr') for tr in tr_list: item = dict() user_id = tr.xpath('./td[@class="td1"]/input/@value')[0] nick_name = tr.xpath('./td[@class="td2"]/div[@class="itemMsg"]//a/text()')[0] place = tr.xpath('./td[@class="td3"]/text()')[0] fans_num = tr.xpath('./td[@class="td6"]/p[@class="num"]/text()')[0] price_list = tr.xpath('./td[@class="td4"]/p') for price_element in price_list: classify = price_element.xpath( './span[@class="money"]/preceding-sibling::span[1]/text()')[0] price = price_element.xpath('./span[@class="money"]/text()')[0] item[classify.strip()] = price.strip() item['fans_num'] = fans_num.strip() item['user_id'] = user_id.strip() item['nick_name'] = nick_name.strip() item['place'] = place.strip() item['plant'] = collection.split('mjx_')[1] self.db.insert_2_xt(item, collection) @staticmethod def get_proxy(): proxy = [{"IP": "180.123.199.105", "Port": 21730}] return random.choice(proxy) def run(self): urls = '' for item in {'mjx_weibo': mjx_weibo, 'mjx_dy': mjx_dy, 'mjx_ks': mjx_ks, 'mjx_xhs': mjx_xhs}.keys(): if item == 'mjx_weibo': urls = mjx_weibo if item == 'mjx_dy': urls = mjx_dy if item == 'mjx_ks': urls = mjx_ks if item == 'mjx_xhs': urls = mjx_xhs for url in urls: time.sleep(3) print(url) self.get_response(url, item) if __name__ == '__main__': mjx = MJX() mjx.run()
[((203, 252), 'pymongo.MongoClient', 'pymongo.MongoClient', (['"""mongodb://localhost:27017/"""'], {}), "('mongodb://localhost:27017/')\n", (222, 252), False, 'import pymongo\n'), ((2201, 2257), 'requests.get', 'requests.get', (['url'], {'headers': 'self.headers', 'proxies': 'proxies'}), '(url, headers=self.headers, proxies=proxies)\n', (2213, 2257), False, 'import requests\n'), ((2278, 2298), 'lxml.etree.HTML', 'etree.HTML', (['ret.text'], {}), '(ret.text)\n', (2288, 2298), False, 'from lxml import etree\n'), ((3488, 3508), 'random.choice', 'random.choice', (['proxy'], {}), '(proxy)\n', (3501, 3508), False, 'import random\n'), ((3962, 3975), 'time.sleep', 'time.sleep', (['(3)'], {}), '(3)\n', (3972, 3975), False, 'import time\n')]
jamster112233/ICS_IDS
MLModules/ABD/B_PCAQDA.py
dac6abc3c8d6e840a21adedcb9e8dcfaa304b499
import numpy as np from keras.utils import np_utils import pandas as pd import sys from sklearn.preprocessing import LabelEncoder from sklearn.discriminant_analysis import QuadraticDiscriminantAnalysis as QDA from sklearn.decomposition import PCA import os from sklearn.externals import joblib from sklearn.metrics import f1_score trainName = sys.argv[1] testName = sys.argv[2] # Create an object called iris with the iris Data dftrain = pd.read_csv(filepath_or_buffer=trainName, header=None, sep=',') dftest = pd.read_csv(filepath_or_buffer=testName, header=None, sep=',') cols = ['Proto'] for i in range(1,dftrain.shape[1]): cols.append('Byte' + str(i)) dftrain.columns=cols dftrain.dropna(how="all", inplace=True) dftrain.tail() dftest.columns=cols dftest.dropna(how="all", inplace=True) dftest.tail() Xtrain = dftrain.ix[:,1:dftrain.shape[1]].values Ytrain = dftrain.ix[:,0].values Xtest = dftest.ix[:,1:dftrain.shape[1]].values Ytest = dftest.ix[:,0].values encoder = LabelEncoder() encoder.fit(Ytrain) encYtrain = encoder.transform(Ytrain) encoder = LabelEncoder() encoder.fit(Ytest) encYtest = encoder.transform(Ytest) directory = "models/ABD/QDA/" if not os.path.exists(directory): os.makedirs(directory) logfile = directory + "log-0.csv" with open(logfile, "w") as file: file.write("PCAlevel,acc,val_acc,f1\n") fscores = [] accs = [] for q in xrange(1,151): pca = PCA(n_components=q) Xtrain_pca = pca.fit_transform(Xtrain) Xtest_pca = pca.transform(Xtest) clf = QDA(priors=None, reg_param=0.0) clf.fit(Xtrain_pca, encYtrain) trainPred = clf.predict(Xtrain_pca) testPred = clf.predict(Xtest_pca) score = 0.0 for i in xrange(0, len(trainPred)): if trainPred[i] == encYtrain[i]: score += 1 trainAcc = float(score) / len(trainPred) score = 0.0 for i in xrange(0, len(testPred)): if testPred[i] == encYtest[i]: score += 1 testAcc = float(score) / len(testPred) f1 = f1_score(encYtest, testPred) accs.append(testAcc) fscores.append(f1) print("Train " + str(trainAcc)) print("Test " + str(testAcc)) print("F1 " + str(f1)) with open(logfile, "a") as file: file.write(str(q) + "," + str(trainAcc) + "," + str(testAcc) + "," + str(f1) + "\n") if q == 2: joblib.dump(clf, 'QDA2.pkl') print("Val Acc max" + str(max(accs))) print("FMAX " + str(max(fscores))) # print(str(q) + ":" + str((float(score)/len(classesPred)*100)) + "%") # # preds = classesPred # if(len(preds) > 0): # preds = np.array(list(encoder.inverse_transform(preds))) # # df = pd.crosstab(dftest['Proto'], preds, rownames=['Actual Protocol'], colnames=['Predicted Protocol']) # df.to_csv('ConfusionMatrixLDA.csv')
[((440, 503), 'pandas.read_csv', 'pd.read_csv', ([], {'filepath_or_buffer': 'trainName', 'header': 'None', 'sep': '""","""'}), "(filepath_or_buffer=trainName, header=None, sep=',')\n", (451, 503), True, 'import pandas as pd\n'), ((513, 575), 'pandas.read_csv', 'pd.read_csv', ([], {'filepath_or_buffer': 'testName', 'header': 'None', 'sep': '""","""'}), "(filepath_or_buffer=testName, header=None, sep=',')\n", (524, 575), True, 'import pandas as pd\n'), ((984, 998), 'sklearn.preprocessing.LabelEncoder', 'LabelEncoder', ([], {}), '()\n', (996, 998), False, 'from sklearn.preprocessing import LabelEncoder\n'), ((1068, 1082), 'sklearn.preprocessing.LabelEncoder', 'LabelEncoder', ([], {}), '()\n', (1080, 1082), False, 'from sklearn.preprocessing import LabelEncoder\n'), ((1176, 1201), 'os.path.exists', 'os.path.exists', (['directory'], {}), '(directory)\n', (1190, 1201), False, 'import os\n'), ((1207, 1229), 'os.makedirs', 'os.makedirs', (['directory'], {}), '(directory)\n', (1218, 1229), False, 'import os\n'), ((1400, 1419), 'sklearn.decomposition.PCA', 'PCA', ([], {'n_components': 'q'}), '(n_components=q)\n', (1403, 1419), False, 'from sklearn.decomposition import PCA\n'), ((1511, 1542), 'sklearn.discriminant_analysis.QuadraticDiscriminantAnalysis', 'QDA', ([], {'priors': 'None', 'reg_param': '(0.0)'}), '(priors=None, reg_param=0.0)\n', (1514, 1542), True, 'from sklearn.discriminant_analysis import QuadraticDiscriminantAnalysis as QDA\n'), ((1994, 2022), 'sklearn.metrics.f1_score', 'f1_score', (['encYtest', 'testPred'], {}), '(encYtest, testPred)\n', (2002, 2022), False, 'from sklearn.metrics import f1_score\n'), ((2324, 2352), 'sklearn.externals.joblib.dump', 'joblib.dump', (['clf', '"""QDA2.pkl"""'], {}), "(clf, 'QDA2.pkl')\n", (2335, 2352), False, 'from sklearn.externals import joblib\n')]
203Null/Gravity-Rush-2-Save-Loader
GR2-Save-Loader.py
40cf8a1748449c0e019a2e57ac2b8eccd50d8917
import struct import json from collections import OrderedDict file_path = "data0002.bin" show_offset = True show_hash = False loaded_data = 0 def unpack(upstream_data_set): global loaded_data loaded_data = loaded_data + 1 currentCursor = file.tell() print(hex(file.tell())) file.seek(int.from_bytes(file.read(4), byteorder='little'), 0) variable_name = file.read(200).split(b'\x00')[0].decode('UTF8') #Use UTF8 because some strings are in Japanese print(hex(file.tell())) print(variable_name) file.seek(currentCursor + 4, 0) type = int.from_bytes(file.read(4), byteorder='little') data_location = file.tell() if type == 0x08: # List list_length = int.from_bytes(file.read(4), byteorder='little') name_hash = file.read(4).hex() data_location = file.tell() value = {} for i in range(0, list_length): unpack(value) value = OrderedDict(sorted(value.items())) else: if type % 0x10 == 0x0b: # String string_length = int.from_bytes(file.read(4), byteorder='little') - 1 data_location = type // 0x10 file.seek(data_location, 0) try: value = file.read(string_length).decode('UTF8') except: value = "ERROR EXTRACTING STRING" file.seek(currentCursor + 0x0c, 0) elif type == 0x09: # Float value = struct.unpack('f', file.read(4))[0] elif type == 0x0C: # Boolean value = int.from_bytes(file.read(1), byteorder='little') > 0 file.seek(3, 1) else: value = file.read(4).hex() print("Warring!!! Unknow type!!! %s at %s with value %s" % (hex(type), hex(file.tell()-8), value)) print() name_hash = file.read(4).hex() if variable_name == None: variable_name = hex(data_location) else: if show_hash: variable_name = variable_name = "%s %s" % (variable_name, name_hash) if show_offset: variable_name = variable_name = "%s %s" % (variable_name, hex(data_location)) print(value) upstream_data_set[variable_name] = value file = open(file_path, mode='rb') data = file.read() data_set = OrderedDict() if len(data) > 0x40 and data[0:4] == b'ggdL': file.seek(0x0c, 0) numOfData = int.from_bytes(file.read(4), byteorder='little') while loaded_data < numOfData: unpack(data_set) print() print(data_set) print() print("Complete with %i/%i data" % (loaded_data, numOfData)) with open(r"%s.txt" % (file_path.split('.')[0]), 'w', encoding='utf-8') as json_file: json.dump(data_set, json_file, indent=4, ensure_ascii=False) else: print("File Incorrect")
[((2328, 2341), 'collections.OrderedDict', 'OrderedDict', ([], {}), '()\n', (2339, 2341), False, 'from collections import OrderedDict\n'), ((2754, 2814), 'json.dump', 'json.dump', (['data_set', 'json_file'], {'indent': '(4)', 'ensure_ascii': '(False)'}), '(data_set, json_file, indent=4, ensure_ascii=False)\n', (2763, 2814), False, 'import json\n')]
itzsoumyadip/vs
python/Recursion.py
acf32cd0bacb26e62854060e0acf5eb41b7a68c8
## to change recursion limit import sys print(sys.getrecursionlimit()) #Return the current value of the recursion limit #1000 ## change the limit sys.setrecursionlimit(2000) # change value of the recursion limit #2000 i=0 def greet(): global i i+=1 print('hellow',i) greet() greet() # hellow 1996 then error
[((152, 179), 'sys.setrecursionlimit', 'sys.setrecursionlimit', (['(2000)'], {}), '(2000)\n', (173, 179), False, 'import sys\n'), ((49, 72), 'sys.getrecursionlimit', 'sys.getrecursionlimit', ([], {}), '()\n', (70, 72), False, 'import sys\n')]
andywar65/starter-fullstack
pages/tests/test_views.py
683d6282eb02a9b967d15cd254976e67549672e9
from django.test import TestCase, override_settings from django.urls import reverse from pages.models import Article, HomePage @override_settings(USE_I18N=False) class PageViewTest(TestCase): @classmethod def setUpTestData(cls): print("\nTest page views") # Set up non-modified objects used by all test methods HomePage.objects.create(title="Title") Article.objects.create(title="First", date="2022-04-09") def test_homepage_view(self): response = self.client.get(reverse("home")) self.assertEqual(response.status_code, 200) print("\n-Test Homepage status 200") self.assertTemplateUsed(response, "pages/home.html") print("\n-Test Homepage template") def test_no_homepage(self): HomePage.objects.all().delete() response = self.client.get(reverse("home")) self.assertEqual(response.status_code, 404) print("\n-Test Homepage status 404") def test_article_template(self): response = self.client.get( reverse( "pages:article_detail", kwargs={"year": 2022, "month": 4, "day": 9, "slug": "first"}, ) ) self.assertEqual(response.status_code, 200) print("\n-Test Article status 200") self.assertTemplateUsed(response, "pages/article_detail.html") print("\n-Test Article template")
[((131, 164), 'django.test.override_settings', 'override_settings', ([], {'USE_I18N': '(False)'}), '(USE_I18N=False)\n', (148, 164), False, 'from django.test import TestCase, override_settings\n'), ((346, 384), 'pages.models.HomePage.objects.create', 'HomePage.objects.create', ([], {'title': '"""Title"""'}), "(title='Title')\n", (369, 384), False, 'from pages.models import Article, HomePage\n'), ((393, 449), 'pages.models.Article.objects.create', 'Article.objects.create', ([], {'title': '"""First"""', 'date': '"""2022-04-09"""'}), "(title='First', date='2022-04-09')\n", (415, 449), False, 'from pages.models import Article, HomePage\n'), ((520, 535), 'django.urls.reverse', 'reverse', (['"""home"""'], {}), "('home')\n", (527, 535), False, 'from django.urls import reverse\n'), ((846, 861), 'django.urls.reverse', 'reverse', (['"""home"""'], {}), "('home')\n", (853, 861), False, 'from django.urls import reverse\n'), ((1046, 1143), 'django.urls.reverse', 'reverse', (['"""pages:article_detail"""'], {'kwargs': "{'year': 2022, 'month': 4, 'day': 9, 'slug': 'first'}"}), "('pages:article_detail', kwargs={'year': 2022, 'month': 4, 'day': 9,\n 'slug': 'first'})\n", (1053, 1143), False, 'from django.urls import reverse\n'), ((779, 801), 'pages.models.HomePage.objects.all', 'HomePage.objects.all', ([], {}), '()\n', (799, 801), False, 'from pages.models import Article, HomePage\n')]
sunliwen/poco
poco/services/batch/server.py
a4b8c4ede63711eea42a444fb9d922c350855364
#!/usr/bin/env python import logging import sys sys.path.append("../../") sys.path.append("pylib") import time import datetime import pymongo import uuid import os import subprocess import os.path import settings from common.utils import getSiteDBCollection sys.path.insert(0, "../../") class LoggingManager: def __init__(self): self.h_console = None self.h_file = None logging.getLogger('').setLevel(logging.INFO) def reconfig_h_console(self, site_id, calculation_id): if self.h_console is not None: self.h_console.flush() logging.getLogger('').removeHandler(self.h_console) self.h_console = logging.StreamHandler() self.h_console.setLevel(logging.INFO) formatter = logging.Formatter("%(asctime)s|" + calculation_id + "|%(levelname)s|%(name)s|%(message)s", datefmt="%Y-%m-%d %H:%M:%S") self.h_console.setFormatter(formatter) logging.getLogger('').addHandler(self.h_console) def getLogFilePath(self, site_id, calculation_id): site_log_dir = os.path.join(settings.log_dir, site_id) if not os.path.isdir(site_log_dir): os.makedirs(site_log_dir) formatted_date_time = datetime.datetime.now().strftime("%Y%m%d_%H%M%S") log_file_name = "%s_%s.log" % (formatted_date_time, calculation_id) log_file_path = os.path.join(site_log_dir, log_file_name) return log_file_path def reconfig_h_file(self, site_id, calculation_id): if self.h_file is not None: self.h_file.flush() self.h_file.close() logging.getLogger('').removeHandler(self.h_file) self.h_file = logging.FileHandler( self.getLogFilePath(site_id, calculation_id)) self.h_file.setLevel(logging.INFO) formatter = logging.Formatter( "%(asctime)s|%(levelname)s|%(name)s|%(message)s", datefmt="%Y-%m-%d %H:%M:%S") self.h_file.setFormatter(formatter) logging.getLogger('').addHandler(self.h_file) def reconfig(self, site_id, calculation_id): self.reconfig_h_console(site_id, calculation_id) self.reconfig_h_file(site_id, calculation_id) logging_manager = LoggingManager() def getLogger(): return logging.getLogger("Batch Server") def getBaseWorkDir(site_id, calculation_id): site_work_dir = os.path.join(settings.work_dir, site_id) formatted_date_time = datetime.datetime.now().strftime("%Y%m%d_%H%M%S") calculation_work_dir_name = "%s_%s" % (formatted_date_time, calculation_id) calculation_work_dir_path = os.path.join( site_work_dir, calculation_work_dir_name) os.makedirs(calculation_work_dir_path) return calculation_work_dir_path def getConnection(): if(settings.replica_set): return pymongo.MongoReplicaSetClient(settings.mongodb_host, replicaSet=settings.replica_set) else: return pymongo.Connection(settings.mongodb_host) connection = getConnection() class ShellExecutionError(Exception): pass class BaseFlow: def __init__(self, name): self.name = name self.jobs = [] self.dependencies = [] def dependOn(self, flow): self.parent = flow flow.dependencies.append(self) def getWorkDir(self): work_dir = os.path.join(BASE_WORK_DIR, self.name) if not os.path.exists(work_dir): os.makedirs(work_dir) return work_dir def getWorkFile(self, file_name): return os.path.join(self.getWorkDir(), file_name) def __call__(self): global CALC_SUCC writeFlowBegin(SITE_ID, self.__class__.__name__) if self.__class__.__name__ in DISABLEDFLOWS: getLogger().info("Flow Skipped: %s" % self.__class__.__name__) writeFlowEnd(SITE_ID, self.__class__.__name__, is_successful=True, is_skipped=True) return True else: for job_callable in self.jobs: if not self._execJob(job_callable): writeFlowEnd( SITE_ID, self.__class__.__name__, is_successful=False, is_skipped=False, err_msg="SOME_JOBS_FAILED") CALC_SUCC = False return False writeFlowEnd(SITE_ID, self.__class__.__name__, is_successful=True, is_skipped=False) # execute downlines for dependency in self.dependencies: dependency() return True def _exec_shell(self, command): getLogger().info("Execute %s" % command) #ret_code = os.system(command) # if ret_code != 0: # raise ShellExecutionError("Shell Execution Failed, ret_code=%s" % ret_code) ret_code = subprocess.call(command, shell=True) if ret_code != 0: getLogger().error("Failed %s" % sys.stderr) raise ShellExecutionError( "Shell Execution Failed, ret_code=%s" % ret_code) def _execJob(self, callable): try: getLogger().info("Start Job: %s.%s" % (self.__class__.__name__, callable.__name__)) callable() getLogger().info("Job Succ: %s.%s" % (self.__class__.__name__, callable.__name__)) return True except: getLogger( ).critical("An Exception happened while running Job: %s" % callable, exc_info=True) # TODO: send message (email, sms) # TODO: record exception info. writeFailedJob(SITE_ID, self.__class__.__name__, callable.__name__) return False class PreprocessingFlow(BaseFlow): def __init__(self): BaseFlow.__init__(self, "preprocessing") self.jobs += [self.do_backfill, self.do_reverse_reversed_backfilled_raw_logs] def do_backfill(self): from preprocessing import backfiller last_ts = None # FIXME: load correct last_ts from somewhere bf = backfiller.BackFiller(connection, SITE_ID, last_ts, self.getWorkFile("reversed_backfilled_raw_logs")) last_ts = bf.start() # FIXME: save last_ts somewhere def do_reverse_reversed_backfilled_raw_logs(self): input_path = self.getWorkFile("reversed_backfilled_raw_logs") output_path = self.getWorkFile("backfilled_raw_logs") self._exec_shell("%s <%s >%s" % (settings.tac_command, input_path, output_path)) class HiveBasedStatisticsFlow(BaseFlow): def __init__(self): BaseFlow.__init__(self, "hive-based-statistics") self.jobs += [self.do_hive_based_calculations] # Begin Hive Based Calculations def do_hive_based_calculations(self): from statistics.hive_based_calculations import hive_based_calculations backfilled_raw_logs_path = self.parent.getWorkFile( "backfilled_raw_logs") hive_based_calculations( connection, SITE_ID, self.getWorkDir(), backfilled_raw_logs_path) # # End Hive Based Calculations class BaseSimilarityCalcFlow(BaseFlow): def __init__(self, type): BaseFlow.__init__(self, "similarities-calc:%s" % type) self.type = type self.jobs += self.getExtractUserItemMatrixJobs( ) + [self.do_sort_user_item_matrix, self.do_calc_item_prefer_count, self.do_calc_user_count, self.do_emit_cooccurances, self.do_sort_cooccurances, self.do_count_cooccurances, self.do_format_cooccurances_counts, self.do_calc_item_similarities, self.do_make_item_similarities_bi_directional, self.do_sort_item_similarities_bi_directional, self.do_extract_top_n, self.do_upload_item_similarities_result] def do_sort_user_item_matrix(self): input_path = self.getWorkFile("user_item_matrix") output_path = self.getWorkFile("user_item_matrix_sorted") self._exec_shell("sort -T /cube/services/batch/temp %s > %s" % (input_path, output_path)) def do_calc_item_prefer_count(self): if SITE["algorithm_type"] == "llh": input_path = self.getWorkFile("user_item_matrix_sorted") output_path = self.getWorkFile("item_prefer_count") self._exec_shell( "cut -d , -f 2 %s | sort -T /cube/services/batch/temp | uniq -c > %s" % (input_path, output_path)) def do_calc_user_count(self): if SITE["algorithm_type"] == "llh": input_path = self.getWorkFile("user_item_matrix_sorted") output_path = self.getWorkFile("user_count") self._exec_shell("cut -d , -f 1 %s | uniq | wc -l > %s" % (input_path, output_path)) def do_emit_cooccurances(self): from similarity_calculation.amazon.emit_cooccurances import emit_cooccurances input_path = self.getWorkFile("user_item_matrix_sorted") output_path = self.getWorkFile("cooccurances_not_sorted") emit_cooccurances(input_path, output_path) def do_sort_cooccurances(self): input_path = self.getWorkFile("cooccurances_not_sorted") output_path = self.getWorkFile("cooccurances_sorted") self._exec_shell("sort -T /cube/services/batch/temp %s > %s" % (input_path, output_path)) def do_count_cooccurances(self): input_path = self.getWorkFile("cooccurances_sorted") output_path = self.getWorkFile("cooccurances_counts_raw") self._exec_shell("uniq -c %s > %s" % (input_path, output_path)) def do_format_cooccurances_counts(self): from similarity_calculation.amazon.format_item_similarities import format_item_similarities input_path = self.getWorkFile("cooccurances_counts_raw") output_path = self.getWorkFile("cooccurances_counts_formatted") format_item_similarities(input_path, output_path) def do_calc_item_similarities(self): if SITE["algorithm_type"] == "llh": from similarity_calculation.loglikelihood.calc_loglikelihood import calc_loglikelihood cooccurances_counts_path = self.getWorkFile( "cooccurances_counts_formatted") user_counts_path = self.getWorkFile("user_count") item_prefer_count_path = self.getWorkFile("item_prefer_count") output_path = self.getWorkFile("item_similarities_formatted") calc_loglikelihood(cooccurances_counts_path, user_counts_path, item_prefer_count_path, output_path) else: input_path = self.getWorkFile("cooccurances_counts_formatted") output_path = self.getWorkFile("item_similarities_formatted") self._exec_shell("mv %s %s" % (input_path, output_path)) def do_make_item_similarities_bi_directional(self): from similarity_calculation.make_similarities_bidirectional import make_similarities_bidirectional input_path = self.getWorkFile("item_similarities_formatted") output_path = self.getWorkFile("item_similarities_bi_directional") make_similarities_bidirectional(input_path, output_path) def do_sort_item_similarities_bi_directional(self): input_path = self.getWorkFile("item_similarities_bi_directional") output_path = self.getWorkFile( "item_similarities_bi_directional_sorted") self._exec_shell("sort -T /cube/services/batch/temp %s > %s" % (input_path, output_path)) def do_extract_top_n(self): from similarity_calculation.extract_top_n import extract_top_n input_path = self.getWorkFile( "item_similarities_bi_directional_sorted") output_path = self.getWorkFile("item_similarities_top_n") n = 20 extract_top_n(input_path, output_path, n) def do_upload_item_similarities_result(self): from common.utils import UploadItemSimilarities input_path = self.getWorkFile("item_similarities_top_n") uis = UploadItemSimilarities(connection, SITE_ID, self.type) uis(input_path) class VSimiliarityCalcFlow(BaseSimilarityCalcFlow): def __init__(self): BaseSimilarityCalcFlow.__init__(self, "V") def getExtractUserItemMatrixJobs(self): return [self.do_extract_user_item_matrix, self.do_de_duplicate_user_item_matrix] def do_extract_user_item_matrix(self): from preprocessing.extract_user_item_matrix import v_extract_user_item_matrix input_path = self.parent.getWorkFile("backfilled_raw_logs") output_path = self.getWorkFile("user_item_matrix_maybe_dup") v_extract_user_item_matrix(input_path, output_path) def do_de_duplicate_user_item_matrix(self): input_path = self.getWorkFile("user_item_matrix_maybe_dup") output_path = self.getWorkFile("user_item_matrix") self._exec_shell("sort -T /cube/services/batch/temp < %s | uniq > %s" % (input_path, output_path)) class PLOSimilarityCalcFlow(BaseSimilarityCalcFlow): def __init__(self): BaseSimilarityCalcFlow.__init__(self, "PLO") def getExtractUserItemMatrixJobs(self): return [self.do_extract_user_item_matrix, self.do_de_duplicate_user_item_matrix] def do_extract_user_item_matrix(self): from preprocessing.extract_user_item_matrix import plo_extract_user_item_matrix input_path = self.parent.getWorkFile("backfilled_raw_logs") output_path = self.getWorkFile("user_item_matrix_maybe_dup") plo_extract_user_item_matrix(input_path, output_path) def do_de_duplicate_user_item_matrix(self): input_path = self.getWorkFile("user_item_matrix_maybe_dup") output_path = self.getWorkFile("user_item_matrix") self._exec_shell("sort -T /cube/services/batch/temp < %s | uniq > %s" % (input_path, output_path)) class BuyTogetherSimilarityFlow(BaseSimilarityCalcFlow): def __init__(self): BaseSimilarityCalcFlow.__init__(self, "BuyTogether") def getExtractUserItemMatrixJobs(self): return [self.do_extract_user_item_matrix, self.do_de_duplicate_user_item_matrix] def do_extract_user_item_matrix(self): from preprocessing.extract_user_item_matrix import buytogether_extract_user_item_matrix input_path = self.parent.getWorkFile("backfilled_raw_logs") output_path = self.getWorkFile("user_item_matrix_maybe_dup") buytogether_extract_user_item_matrix(input_path, output_path) def do_de_duplicate_user_item_matrix(self): input_path = self.getWorkFile("user_item_matrix_maybe_dup") output_path = self.getWorkFile("user_item_matrix") self._exec_shell("sort -T /cube/services/batch/temp < %s | uniq > %s" % (input_path, output_path)) class ViewedUltimatelyBuyFlow(BaseFlow): def __init__(self): BaseFlow.__init__(self, "ViewedUltimatelyBuy") self.jobs += [self.do_extract_user_view_buy_logs, self.do_sort_user_view_buy_logs, self.do_pair_view_buy, self.count_pairs, self.do_extract_user_item_matrix, self.do_de_duplicate_user_item_matrix, self.count_item_view, self.upload_viewed_ultimately_buy] def do_extract_user_view_buy_logs(self): from viewed_ultimately_buy.extract_user_view_buy_logs import extract_user_view_buy_logs input_path = self.parent.getWorkFile("backfilled_raw_logs") output_path = self.getWorkFile("user_view_buy_logs") extract_user_view_buy_logs(input_path, output_path) def do_sort_user_view_buy_logs(self): input_path = self.getWorkFile("user_view_buy_logs") output_path = self.getWorkFile("user_view_buy_logs_sorted") self._exec_shell("sort -T /cube/services/batch/temp <%s >%s" % (input_path, output_path)) def do_pair_view_buy(self): from viewed_ultimately_buy.pair_view_buy import pair_view_buy input_path = self.getWorkFile("user_view_buy_logs_sorted") output_path = self.getWorkFile("view_buy_pairs") pair_view_buy(input_path, output_path) def count_pairs(self): input_path = self.getWorkFile("view_buy_pairs") output_path = self.getWorkFile("view_buy_pairs_counted") self._exec_shell("sort -T /cube/services/batch/temp <%s | uniq -c >%s" % (input_path, output_path)) def do_extract_user_item_matrix(self): from preprocessing.extract_user_item_matrix import v_extract_user_item_matrix input_path = self.parent.getWorkFile("backfilled_raw_logs") output_path = self.getWorkFile("user_item_matrix_maybe_dup") v_extract_user_item_matrix(input_path, output_path) def do_de_duplicate_user_item_matrix(self): input_path = self.getWorkFile("user_item_matrix_maybe_dup") output_path = self.getWorkFile("user_item_matrix") self._exec_shell("sort -T /cube/services/batch/temp < %s | uniq > %s" % (input_path, output_path)) def count_item_view(self): # FIXME a hack input_path = self.getWorkFile("user_item_matrix") output_path = self.getWorkFile("item_view_times") self._exec_shell( "cut -d , -f 2 <%s | sort -T /cube/services/batch/temp | uniq -c >%s" % (input_path, output_path)) def upload_viewed_ultimately_buy(self): from viewed_ultimately_buy.upload_viewed_ultimately_buy import upload_viewed_ultimately_buy item_view_times_path = self.getWorkFile("item_view_times") view_buy_pairs_counted_path = self.getWorkFile( "view_buy_pairs_counted") upload_viewed_ultimately_buy( connection, SITE_ID, item_view_times_path, view_buy_pairs_counted_path) class EDMRelatedPreprocessingFlow(BaseFlow): def __init__(self): BaseFlow.__init__(self, "ViewedUltimatelyBuy") self.jobs += [self.do_update_user_orders_collection, self.do_generate_edm_emailing_list] def do_update_user_orders_collection(self): from edm_calculations import doUpdateUserOrdersCollection doUpdateUserOrdersCollection(connection, SITE_ID) def do_generate_edm_emailing_list(self): from edm_calculations import generateEdmEmailingList generateEdmEmailingList(connection, SITE_ID) class BeginFlow(BaseFlow): def __init__(self): BaseFlow.__init__(self, "Root") self.jobs += [self.begin] def begin(self): pass # TODO: removed items' similarities should also be removed. begin_flow = BeginFlow() preprocessing_flow = PreprocessingFlow() preprocessing_flow.dependOn(begin_flow) hive_based_statistics_flow = HiveBasedStatisticsFlow() hive_based_statistics_flow.dependOn(preprocessing_flow) v_similarity_calc_flow = VSimiliarityCalcFlow() v_similarity_calc_flow.dependOn(preprocessing_flow) plo_similarity_calc_flow = PLOSimilarityCalcFlow() plo_similarity_calc_flow.dependOn(preprocessing_flow) buy_together_similarity_flow = BuyTogetherSimilarityFlow() buy_together_similarity_flow.dependOn(preprocessing_flow) viewed_ultimately_buy_flow = ViewedUltimatelyBuyFlow() viewed_ultimately_buy_flow.dependOn(preprocessing_flow) #edm_related_preprocessing_flow = EDMRelatedPreprocessingFlow() # edm_related_preprocessing_flow.dependOn(preprocessing_flow) def createCalculationRecord(site_id): calculation_id = str(uuid.uuid4()) record = { "calculation_id": calculation_id, "begin_datetime": datetime.datetime.now(), "flows": {}} calculation_records = getSiteDBCollection( connection, site_id, "calculation_records") calculation_records.save(record) return calculation_id def getCalculationRecord(site_id, calculation_id): calculation_records = getSiteDBCollection( connection, site_id, "calculation_records") return calculation_records.find_one({"calculation_id": calculation_id}) def updateCalculationRecord(site_id, record): calculation_records = getSiteDBCollection( connection, site_id, "calculation_records") calculation_records.save(record) def writeFailedJob(site_id, flow_name, failed_job_name): record = getCalculationRecord(SITE_ID, CALCULATION_ID) flow_record = record["flows"][flow_name] flow_record["failed_job_name"] = failed_job_name updateCalculationRecord(SITE_ID, record) def writeFlowBegin(site_id, flow_name): record = getCalculationRecord(SITE_ID, CALCULATION_ID) logging.info("FlowBegin: %s" % (flow_name, )) record["flows"][flow_name] = {"begin_datetime": datetime.datetime.now()} updateCalculationRecord(SITE_ID, record) def writeFlowEnd(site_id, flow_name, is_successful, is_skipped, err_msg=None): record = getCalculationRecord(SITE_ID, CALCULATION_ID) logging.info("FlowEnd: %s" % (flow_name, )) flow_record = record["flows"][flow_name] flow_record["end_datetime"] = datetime.datetime.now() flow_record["is_successful"] = is_successful flow_record["is_skipped"] = is_skipped if not is_successful: flow_record["err_msg"] = err_msg updateCalculationRecord(SITE_ID, record) def writeCalculationEnd(site_id, is_successful, err_msg=None): record = getCalculationRecord(SITE_ID, CALCULATION_ID) record["end_datetime"] = datetime.datetime.now() record["is_successful"] = is_successful if not is_successful: record["err_msg"] = err_msg updateCalculationRecord(SITE_ID, record) def getManualCalculationSites(): result = [] for site in loadSites(connection): manual_calculation_list = connection[ "tjb-db"]["manual_calculation_list"] record_in_db = manual_calculation_list.find_one( {"site_id": site["site_id"]}) if record_in_db is not None: result.append(site) return result def updateSiteLastUpdateTs(site_id): sites = connection["tjb-db"]["sites"] sites.update({"site_id": site_id}, {"$set": {"last_update_ts": time.time()}}) def is_time_okay_for_automatic_calculation(): now = datetime.datetime.now() return now.hour >= 0 and now.hour < 6 def loadSites(connection, site_ids=None): c_sites = connection["tjb-db"]["sites"] if site_ids: return [site for site in c_sites.find({'available': 'on'}) if site["site_id"] in site_ids] else: return [site for site in c_sites.find({'available': 'on'})] def workOnSite(site, is_manual_calculation=False): calculation_result = None # Pop a job manual_calculation_list = connection["tjb-db"]["manual_calculation_list"] record_in_db = manual_calculation_list.find_one( {"site_id": site["site_id"]}) if record_in_db is not None: manual_calculation_list.remove(record_in_db) # Proceed the job now = time.time() is_time_interval_okay_for_auto = (site.get("last_update_ts", None) is None or now - site.get("last_update_ts") > site["calc_interval"]) # print site["site_id"], is_time_interval_okay_for_auto, # is_time_okay_for_automatic_calculation() is_automatic_calculation_okay = is_time_okay_for_automatic_calculation( ) and is_time_interval_okay_for_auto if is_manual_calculation or is_automatic_calculation_okay: global SITE global SITE_ID global DISABLEDFLOWS global CALCULATION_ID global CALC_SUCC global BASE_WORK_DIR SITE = site SITE_ID = site["site_id"] DISABLEDFLOWS = site.get("disabledFlows", []) CALC_SUCC = True CALCULATION_ID = createCalculationRecord(SITE_ID) logging_manager.reconfig(SITE_ID, CALCULATION_ID) BASE_WORK_DIR = getBaseWorkDir(SITE_ID, CALCULATION_ID) try: try: getLogger().info("BEGIN CALCULATION ON:%s, CALCULATION_ID:%s" % (SITE_ID, CALCULATION_ID)) # Begin workflow to do calculations begin_flow() writeCalculationEnd( SITE_ID, CALC_SUCC, err_msg="SOME_FLOWS_FAILED") if CALC_SUCC: calculation_result = "SUCC" else: calculation_result = "FAIL" except: getLogger().critical("Unexpected Exception:", exc_info=True) writeCalculationEnd(SITE_ID, False, "UNEXPECTED_EXCEPTION") calculation_result = "FAIL" finally: getLogger( ).info("END CALCULATION ON:%s, RESULT:%s, CALCULATION_ID:%s" % (SITE_ID, calculation_result, CALCULATION_ID)) # FIXME: save last_update_ts updateSiteLastUpdateTs(site["site_id"]) return calculation_result def workOnSiteWithRetries(site, is_manual_calculation=False, max_attempts=2): current_attempts = 0 while current_attempts < max_attempts: calculation_result = workOnSite(site, is_manual_calculation) if calculation_result != "FAIL": break current_attempts += 1 if __name__ == "__main__": os.environ["PATH"] = "%s:%s" % (getattr(settings, "extra_shell_path", ""), os.environ["PATH"]) while True: #site_ids = ["test_with_gdian_data"] for site in loadSites(connection): for site in getManualCalculationSites(): workOnSiteWithRetries(site, is_manual_calculation=True) workOnSiteWithRetries(site) sleep_seconds = 1 time.sleep(sleep_seconds)
[((48, 73), 'sys.path.append', 'sys.path.append', (['"""../../"""'], {}), "('../../')\n", (63, 73), False, 'import sys\n'), ((74, 98), 'sys.path.append', 'sys.path.append', (['"""pylib"""'], {}), "('pylib')\n", (89, 98), False, 'import sys\n'), ((260, 288), 'sys.path.insert', 'sys.path.insert', (['(0)', '"""../../"""'], {}), "(0, '../../')\n", (275, 288), False, 'import sys\n'), ((2293, 2326), 'logging.getLogger', 'logging.getLogger', (['"""Batch Server"""'], {}), "('Batch Server')\n", (2310, 2326), False, 'import logging\n'), ((2394, 2434), 'os.path.join', 'os.path.join', (['settings.work_dir', 'site_id'], {}), '(settings.work_dir, site_id)\n', (2406, 2434), False, 'import os\n'), ((2623, 2677), 'os.path.join', 'os.path.join', (['site_work_dir', 'calculation_work_dir_name'], {}), '(site_work_dir, calculation_work_dir_name)\n', (2635, 2677), False, 'import os\n'), ((2691, 2729), 'os.makedirs', 'os.makedirs', (['calculation_work_dir_path'], {}), '(calculation_work_dir_path)\n', (2702, 2729), False, 'import os\n'), ((20049, 20112), 'common.utils.getSiteDBCollection', 'getSiteDBCollection', (['connection', 'site_id', '"""calculation_records"""'], {}), "(connection, site_id, 'calculation_records')\n", (20068, 20112), False, 'from common.utils import getSiteDBCollection\n'), ((20264, 20327), 'common.utils.getSiteDBCollection', 'getSiteDBCollection', (['connection', 'site_id', '"""calculation_records"""'], {}), "(connection, site_id, 'calculation_records')\n", (20283, 20327), False, 'from common.utils import getSiteDBCollection\n'), ((20487, 20550), 'common.utils.getSiteDBCollection', 'getSiteDBCollection', (['connection', 'site_id', '"""calculation_records"""'], {}), "(connection, site_id, 'calculation_records')\n", (20506, 20550), False, 'from common.utils import getSiteDBCollection\n'), ((20963, 21007), 'logging.info', 'logging.info', (["('FlowBegin: %s' % (flow_name,))"], {}), "('FlowBegin: %s' % (flow_name,))\n", (20975, 21007), False, 'import logging\n'), ((21275, 21317), 'logging.info', 'logging.info', (["('FlowEnd: %s' % (flow_name,))"], {}), "('FlowEnd: %s' % (flow_name,))\n", (21287, 21317), False, 'import logging\n'), ((21398, 21421), 'datetime.datetime.now', 'datetime.datetime.now', ([], {}), '()\n', (21419, 21421), False, 'import datetime\n'), ((21779, 21802), 'datetime.datetime.now', 'datetime.datetime.now', ([], {}), '()\n', (21800, 21802), False, 'import datetime\n'), ((22563, 22586), 'datetime.datetime.now', 'datetime.datetime.now', ([], {}), '()\n', (22584, 22586), False, 'import datetime\n'), ((23299, 23310), 'time.time', 'time.time', ([], {}), '()\n', (23308, 23310), False, 'import time\n'), ((671, 694), 'logging.StreamHandler', 'logging.StreamHandler', ([], {}), '()\n', (692, 694), False, 'import logging\n'), ((761, 884), 'logging.Formatter', 'logging.Formatter', (["('%(asctime)s|' + calculation_id + '|%(levelname)s|%(name)s|%(message)s')"], {'datefmt': '"""%Y-%m-%d %H:%M:%S"""'}), "('%(asctime)s|' + calculation_id +\n '|%(levelname)s|%(name)s|%(message)s', datefmt='%Y-%m-%d %H:%M:%S')\n", (778, 884), False, 'import logging\n'), ((1102, 1141), 'os.path.join', 'os.path.join', (['settings.log_dir', 'site_id'], {}), '(settings.log_dir, site_id)\n', (1114, 1141), False, 'import os\n'), ((1404, 1445), 'os.path.join', 'os.path.join', (['site_log_dir', 'log_file_name'], {}), '(site_log_dir, log_file_name)\n', (1416, 1445), False, 'import os\n'), ((1857, 1958), 'logging.Formatter', 'logging.Formatter', (['"""%(asctime)s|%(levelname)s|%(name)s|%(message)s"""'], {'datefmt': '"""%Y-%m-%d %H:%M:%S"""'}), "('%(asctime)s|%(levelname)s|%(name)s|%(message)s', datefmt\n ='%Y-%m-%d %H:%M:%S')\n", (1874, 1958), False, 'import logging\n'), ((2835, 2925), 'pymongo.MongoReplicaSetClient', 'pymongo.MongoReplicaSetClient', (['settings.mongodb_host'], {'replicaSet': 'settings.replica_set'}), '(settings.mongodb_host, replicaSet=settings.\n replica_set)\n', (2864, 2925), False, 'import pymongo\n'), ((2946, 2987), 'pymongo.Connection', 'pymongo.Connection', (['settings.mongodb_host'], {}), '(settings.mongodb_host)\n', (2964, 2987), False, 'import pymongo\n'), ((3338, 3376), 'os.path.join', 'os.path.join', (['BASE_WORK_DIR', 'self.name'], {}), '(BASE_WORK_DIR, self.name)\n', (3350, 3376), False, 'import os\n'), ((4835, 4871), 'subprocess.call', 'subprocess.call', (['command'], {'shell': '(True)'}), '(command, shell=True)\n', (4850, 4871), False, 'import subprocess\n'), ((9244, 9286), 'similarity_calculation.amazon.emit_cooccurances.emit_cooccurances', 'emit_cooccurances', (['input_path', 'output_path'], {}), '(input_path, output_path)\n', (9261, 9286), False, 'from similarity_calculation.amazon.emit_cooccurances import emit_cooccurances\n'), ((10102, 10151), 'similarity_calculation.amazon.format_item_similarities.format_item_similarities', 'format_item_similarities', (['input_path', 'output_path'], {}), '(input_path, output_path)\n', (10126, 10151), False, 'from similarity_calculation.amazon.format_item_similarities import format_item_similarities\n'), ((11345, 11401), 'similarity_calculation.make_similarities_bidirectional.make_similarities_bidirectional', 'make_similarities_bidirectional', (['input_path', 'output_path'], {}), '(input_path, output_path)\n', (11376, 11401), False, 'from similarity_calculation.make_similarities_bidirectional import make_similarities_bidirectional\n'), ((12038, 12079), 'similarity_calculation.extract_top_n.extract_top_n', 'extract_top_n', (['input_path', 'output_path', 'n'], {}), '(input_path, output_path, n)\n', (12051, 12079), False, 'from similarity_calculation.extract_top_n import extract_top_n\n'), ((12266, 12320), 'common.utils.UploadItemSimilarities', 'UploadItemSimilarities', (['connection', 'SITE_ID', 'self.type'], {}), '(connection, SITE_ID, self.type)\n', (12288, 12320), False, 'from common.utils import UploadItemSimilarities\n'), ((12900, 12951), 'preprocessing.extract_user_item_matrix.v_extract_user_item_matrix', 'v_extract_user_item_matrix', (['input_path', 'output_path'], {}), '(input_path, output_path)\n', (12926, 12951), False, 'from preprocessing.extract_user_item_matrix import v_extract_user_item_matrix\n'), ((13820, 13873), 'preprocessing.extract_user_item_matrix.plo_extract_user_item_matrix', 'plo_extract_user_item_matrix', (['input_path', 'output_path'], {}), '(input_path, output_path)\n', (13848, 13873), False, 'from preprocessing.extract_user_item_matrix import plo_extract_user_item_matrix\n'), ((14762, 14823), 'preprocessing.extract_user_item_matrix.buytogether_extract_user_item_matrix', 'buytogether_extract_user_item_matrix', (['input_path', 'output_path'], {}), '(input_path, output_path)\n', (14798, 14823), False, 'from preprocessing.extract_user_item_matrix import buytogether_extract_user_item_matrix\n'), ((15950, 16001), 'viewed_ultimately_buy.extract_user_view_buy_logs.extract_user_view_buy_logs', 'extract_user_view_buy_logs', (['input_path', 'output_path'], {}), '(input_path, output_path)\n', (15976, 16001), False, 'from viewed_ultimately_buy.extract_user_view_buy_logs import extract_user_view_buy_logs\n'), ((16531, 16569), 'viewed_ultimately_buy.pair_view_buy.pair_view_buy', 'pair_view_buy', (['input_path', 'output_path'], {}), '(input_path, output_path)\n', (16544, 16569), False, 'from viewed_ultimately_buy.pair_view_buy import pair_view_buy\n'), ((17127, 17178), 'preprocessing.extract_user_item_matrix.v_extract_user_item_matrix', 'v_extract_user_item_matrix', (['input_path', 'output_path'], {}), '(input_path, output_path)\n', (17153, 17178), False, 'from preprocessing.extract_user_item_matrix import v_extract_user_item_matrix\n'), ((18121, 18225), 'viewed_ultimately_buy.upload_viewed_ultimately_buy.upload_viewed_ultimately_buy', 'upload_viewed_ultimately_buy', (['connection', 'SITE_ID', 'item_view_times_path', 'view_buy_pairs_counted_path'], {}), '(connection, SITE_ID, item_view_times_path,\n view_buy_pairs_counted_path)\n', (18149, 18225), False, 'from viewed_ultimately_buy.upload_viewed_ultimately_buy import upload_viewed_ultimately_buy\n'), ((18604, 18653), 'edm_calculations.doUpdateUserOrdersCollection', 'doUpdateUserOrdersCollection', (['connection', 'SITE_ID'], {}), '(connection, SITE_ID)\n', (18632, 18653), False, 'from edm_calculations import doUpdateUserOrdersCollection\n'), ((18769, 18813), 'edm_calculations.generateEdmEmailingList', 'generateEdmEmailingList', (['connection', 'SITE_ID'], {}), '(connection, SITE_ID)\n', (18792, 18813), False, 'from edm_calculations import generateEdmEmailingList\n'), ((19888, 19900), 'uuid.uuid4', 'uuid.uuid4', ([], {}), '()\n', (19898, 19900), False, 'import uuid\n'), ((19977, 20000), 'datetime.datetime.now', 'datetime.datetime.now', ([], {}), '()\n', (19998, 20000), False, 'import datetime\n'), ((21061, 21084), 'datetime.datetime.now', 'datetime.datetime.now', ([], {}), '()\n', (21082, 21084), False, 'import datetime\n'), ((26004, 26029), 'time.sleep', 'time.sleep', (['sleep_seconds'], {}), '(sleep_seconds)\n', (26014, 26029), False, 'import time\n'), ((1157, 1184), 'os.path.isdir', 'os.path.isdir', (['site_log_dir'], {}), '(site_log_dir)\n', (1170, 1184), False, 'import os\n'), ((1198, 1223), 'os.makedirs', 'os.makedirs', (['site_log_dir'], {}), '(site_log_dir)\n', (1209, 1223), False, 'import os\n'), ((2461, 2484), 'datetime.datetime.now', 'datetime.datetime.now', ([], {}), '()\n', (2482, 2484), False, 'import datetime\n'), ((3392, 3416), 'os.path.exists', 'os.path.exists', (['work_dir'], {}), '(work_dir)\n', (3406, 3416), False, 'import os\n'), ((3430, 3451), 'os.makedirs', 'os.makedirs', (['work_dir'], {}), '(work_dir)\n', (3441, 3451), False, 'import os\n'), ((10666, 10769), 'similarity_calculation.loglikelihood.calc_loglikelihood.calc_loglikelihood', 'calc_loglikelihood', (['cooccurances_counts_path', 'user_counts_path', 'item_prefer_count_path', 'output_path'], {}), '(cooccurances_counts_path, user_counts_path,\n item_prefer_count_path, output_path)\n', (10684, 10769), False, 'from similarity_calculation.loglikelihood.calc_loglikelihood import calc_loglikelihood\n'), ((403, 424), 'logging.getLogger', 'logging.getLogger', (['""""""'], {}), "('')\n", (420, 424), False, 'import logging\n'), ((974, 995), 'logging.getLogger', 'logging.getLogger', (['""""""'], {}), "('')\n", (991, 995), False, 'import logging\n'), ((1254, 1277), 'datetime.datetime.now', 'datetime.datetime.now', ([], {}), '()\n', (1275, 1277), False, 'import datetime\n'), ((2019, 2040), 'logging.getLogger', 'logging.getLogger', (['""""""'], {}), "('')\n", (2036, 2040), False, 'import logging\n'), ((22490, 22501), 'time.time', 'time.time', ([], {}), '()\n', (22499, 22501), False, 'import time\n'), ((594, 615), 'logging.getLogger', 'logging.getLogger', (['""""""'], {}), "('')\n", (611, 615), False, 'import logging\n'), ((1644, 1665), 'logging.getLogger', 'logging.getLogger', (['""""""'], {}), "('')\n", (1661, 1665), False, 'import logging\n')]
makielab/django-oscar
tests/integration/basket/model_tests.py
0a325cd0f04a4278201872b2e163868b72b6fabe
from decimal import Decimal as D from django.test import TestCase from oscar.apps.basket.models import Basket from oscar.apps.partner import strategy from oscar.test import factories from oscar.apps.catalogue.models import Option class TestAddingAProductToABasket(TestCase): def setUp(self): self.basket = Basket() self.basket.strategy = strategy.Default() self.product = factories.create_product() self.record = factories.create_stockrecord( currency='GBP', product=self.product, price_excl_tax=D('10.00')) self.stockinfo = factories.create_stockinfo(self.record) self.basket.add(self.product) def test_creates_a_line(self): self.assertEqual(1, self.basket.num_lines) def test_sets_line_prices(self): line = self.basket.lines.all()[0] self.assertEqual(line.price_incl_tax, self.stockinfo.price.incl_tax) self.assertEqual(line.price_excl_tax, self.stockinfo.price.excl_tax) def test_means_another_currency_product_cannot_be_added(self): product = factories.create_product() factories.create_stockrecord( currency='USD', product=product, price_excl_tax=D('20.00')) with self.assertRaises(ValueError): self.basket.add(product) class TestANonEmptyBasket(TestCase): def setUp(self): self.basket = Basket() self.basket.strategy = strategy.Default() self.product = factories.create_product() self.record = factories.create_stockrecord( self.product, price_excl_tax=D('10.00')) self.stockinfo = factories.create_stockinfo(self.record) self.basket.add(self.product, 10) def test_can_be_flushed(self): self.basket.flush() self.assertEqual(self.basket.num_items, 0) def test_returns_correct_product_quantity(self): self.assertEqual(10, self.basket.product_quantity( self.product)) def test_returns_correct_line_quantity_for_existing_product_and_stockrecord(self): self.assertEqual(10, self.basket.line_quantity( self.product, self.record)) def test_returns_zero_line_quantity_for_alternative_stockrecord(self): record = factories.create_stockrecord( self.product, price_excl_tax=D('5.00')) self.assertEqual(0, self.basket.line_quantity( self.product, record)) def test_returns_zero_line_quantity_for_missing_product_and_stockrecord(self): product = factories.create_product() record = factories.create_stockrecord( product, price_excl_tax=D('5.00')) self.assertEqual(0, self.basket.line_quantity( product, record)) def test_returns_correct_quantity_for_existing_product_and_stockrecord_and_options(self): product = factories.create_product() record = factories.create_stockrecord( product, price_excl_tax=D('5.00')) option = Option.objects.create(name="Message") options = [{"option": option, "value": "2"}] self.basket.add(product, options=options) self.assertEqual(0, self.basket.line_quantity( product, record)) self.assertEqual(1, self.basket.line_quantity( product, record, options)) class TestMergingTwoBaskets(TestCase): def setUp(self): self.product = factories.create_product() self.record = factories.create_stockrecord( self.product, price_excl_tax=D('10.00')) self.stockinfo = factories.create_stockinfo(self.record) self.main_basket = Basket() self.main_basket.strategy = strategy.Default() self.main_basket.add(self.product, quantity=2) self.merge_basket = Basket() self.merge_basket.strategy = strategy.Default() self.merge_basket.add(self.product, quantity=1) self.main_basket.merge(self.merge_basket) def test_doesnt_sum_quantities(self): self.assertEquals(1, self.main_basket.num_lines) def test_changes_status_of_merge_basket(self): self.assertEquals(Basket.MERGED, self.merge_basket.status) class TestASubmittedBasket(TestCase): def setUp(self): self.basket = Basket() self.basket.strategy = strategy.Default() self.basket.submit() def test_has_correct_status(self): self.assertTrue(self.basket.is_submitted) def test_can_be_edited(self): self.assertFalse(self.basket.can_be_edited)
[((323, 331), 'oscar.apps.basket.models.Basket', 'Basket', ([], {}), '()\n', (329, 331), False, 'from oscar.apps.basket.models import Basket\n'), ((363, 381), 'oscar.apps.partner.strategy.Default', 'strategy.Default', ([], {}), '()\n', (379, 381), False, 'from oscar.apps.partner import strategy\n'), ((405, 431), 'oscar.test.factories.create_product', 'factories.create_product', ([], {}), '()\n', (429, 431), False, 'from oscar.test import factories\n'), ((598, 637), 'oscar.test.factories.create_stockinfo', 'factories.create_stockinfo', (['self.record'], {}), '(self.record)\n', (624, 637), False, 'from oscar.test import factories\n'), ((1083, 1109), 'oscar.test.factories.create_product', 'factories.create_product', ([], {}), '()\n', (1107, 1109), False, 'from oscar.test import factories\n'), ((1384, 1392), 'oscar.apps.basket.models.Basket', 'Basket', ([], {}), '()\n', (1390, 1392), False, 'from oscar.apps.basket.models import Basket\n'), ((1424, 1442), 'oscar.apps.partner.strategy.Default', 'strategy.Default', ([], {}), '()\n', (1440, 1442), False, 'from oscar.apps.partner import strategy\n'), ((1466, 1492), 'oscar.test.factories.create_product', 'factories.create_product', ([], {}), '()\n', (1490, 1492), False, 'from oscar.test import factories\n'), ((1623, 1662), 'oscar.test.factories.create_stockinfo', 'factories.create_stockinfo', (['self.record'], {}), '(self.record)\n', (1649, 1662), False, 'from oscar.test import factories\n'), ((2511, 2537), 'oscar.test.factories.create_product', 'factories.create_product', ([], {}), '()\n', (2535, 2537), False, 'from oscar.test import factories\n'), ((2830, 2856), 'oscar.test.factories.create_product', 'factories.create_product', ([], {}), '()\n', (2854, 2856), False, 'from oscar.test import factories\n'), ((2968, 3005), 'oscar.apps.catalogue.models.Option.objects.create', 'Option.objects.create', ([], {'name': '"""Message"""'}), "(name='Message')\n", (2989, 3005), False, 'from oscar.apps.catalogue.models import Option\n'), ((3375, 3401), 'oscar.test.factories.create_product', 'factories.create_product', ([], {}), '()\n', (3399, 3401), False, 'from oscar.test import factories\n'), ((3532, 3571), 'oscar.test.factories.create_stockinfo', 'factories.create_stockinfo', (['self.record'], {}), '(self.record)\n', (3558, 3571), False, 'from oscar.test import factories\n'), ((3600, 3608), 'oscar.apps.basket.models.Basket', 'Basket', ([], {}), '()\n', (3606, 3608), False, 'from oscar.apps.basket.models import Basket\n'), ((3645, 3663), 'oscar.apps.partner.strategy.Default', 'strategy.Default', ([], {}), '()\n', (3661, 3663), False, 'from oscar.apps.partner import strategy\n'), ((3748, 3756), 'oscar.apps.basket.models.Basket', 'Basket', ([], {}), '()\n', (3754, 3756), False, 'from oscar.apps.basket.models import Basket\n'), ((3794, 3812), 'oscar.apps.partner.strategy.Default', 'strategy.Default', ([], {}), '()\n', (3810, 3812), False, 'from oscar.apps.partner import strategy\n'), ((4223, 4231), 'oscar.apps.basket.models.Basket', 'Basket', ([], {}), '()\n', (4229, 4231), False, 'from oscar.apps.basket.models import Basket\n'), ((4263, 4281), 'oscar.apps.partner.strategy.Default', 'strategy.Default', ([], {}), '()\n', (4279, 4281), False, 'from oscar.apps.partner import strategy\n'), ((561, 571), 'decimal.Decimal', 'D', (['"""10.00"""'], {}), "('10.00')\n", (562, 571), True, 'from decimal import Decimal as D\n'), ((1208, 1218), 'decimal.Decimal', 'D', (['"""20.00"""'], {}), "('20.00')\n", (1209, 1218), True, 'from decimal import Decimal as D\n'), ((1586, 1596), 'decimal.Decimal', 'D', (['"""10.00"""'], {}), "('10.00')\n", (1587, 1596), True, 'from decimal import Decimal as D\n'), ((2308, 2317), 'decimal.Decimal', 'D', (['"""5.00"""'], {}), "('5.00')\n", (2309, 2317), True, 'from decimal import Decimal as D\n'), ((2621, 2630), 'decimal.Decimal', 'D', (['"""5.00"""'], {}), "('5.00')\n", (2622, 2630), True, 'from decimal import Decimal as D\n'), ((2940, 2949), 'decimal.Decimal', 'D', (['"""5.00"""'], {}), "('5.00')\n", (2941, 2949), True, 'from decimal import Decimal as D\n'), ((3495, 3505), 'decimal.Decimal', 'D', (['"""10.00"""'], {}), "('10.00')\n", (3496, 3505), True, 'from decimal import Decimal as D\n')]
code-watch/meltano
tests/fixtures/db/sqlite.py
2afff73ed43669b5134dacfce61814f7f4e77a13
import pytest import os import sqlalchemy import contextlib @pytest.fixture(scope="session") def engine_uri(test_dir): database_path = test_dir.joinpath("pytest_meltano.db") try: database_path.unlink() except FileNotFoundError: pass return f"sqlite:///{database_path}"
[((63, 94), 'pytest.fixture', 'pytest.fixture', ([], {'scope': '"""session"""'}), "(scope='session')\n", (77, 94), False, 'import pytest\n')]
piotr-karon/realworld-starter-kit
experiments/render-tests-avg.py
6285e4b5913fe5e99d72e9178eb4b1db246d02c9
#!/usr/bin/env python3 import json import os from pathlib import Path import numpy as np from natsort import natsorted try: from docopt import docopt from marko.ext.gfm import gfm import pygal from pygal.style import Style, DefaultStyle except ImportError as e: raise Exception('Some external dependencies not found, install them using: pip install -r requirements.txt') from e def render(): suffix = '.avg.checks.bench.json' suites = {} for filepath in Path('').glob(f'*{suffix}'): name = filepath.name[:-len(suffix)] print(f'Loading {filepath} as {name}.') with open(filepath) as fp: suites[name] = json.load(fp) names = natsorted(suites.keys()) figure_filenames = render_figures(names, suites) out_filename = Path('bench-results.md') with open(out_filename, 'w') as out: cwd = os.getcwd().split(os.sep)[-2:] print(f'# Benchmark of {", ".join(names)} in {cwd}', file=out) notes_file = Path('notes.md') if notes_file.exists(): print(f'Including {notes_file} in resulting Markdown.') with notes_file.open() as fp: out.write(fp.read()) else: print(f'File {notes_file} does not exist, create it to include it in resulting Markdown.') # print('## General Info & Checks', file=out) # render_checks(names, suites, out) print('## Graphs', file=out) print('*The graphs are interactive, view the rendered HTML locally to enjoy it.*\n', file=out) for filename in figure_filenames: # Use HTML instead of Markdown image to specify the width print(f'<img type="image/svg+xml" src="{filename}" alt="{filename}" width="49%"/>', file=out) print(f'Markdown output written to {out_filename}.') render_html(out_filename, Path('bench-results.html')) def render_checks(names, suites, out): print(f'|Check|{"|".join(names)}|', file=out) print(f'|{"|".join(["---"] * (len(names) + 1))}|', file=out) per_impl_checks = {name: suite['checks'] for name, suite in suites.items()} check_names = sorted(set().union(*(checks.keys() for checks in per_impl_checks.values()))) def sanitize(value): if type(value) is float: value = float(f'{value:.3g}') # round to 3 significant figures return str(int(value) if value >= 100 else value) return str(value) for check_name in check_names: values = [sanitize(per_impl_checks[name].get(check_name)) for name in names] if len(values) > 1 and len(set(values)) > 1: values = [f'**{value}**' for value in values] print(f'|{check_name}|{"|".join(values)}|', file=out) FIGURE_FUNCS = [] def figure(func): """Simple decorator to mark a function as a figure generator.""" FIGURE_FUNCS.append(func) return func def render_figures(names, suites): filenames = [] config = pygal.Config(legend_at_bottom=True, style=DefaultStyle) for figure_func in FIGURE_FUNCS: chart = figure_func(names, suites, config.copy()) filename = f'bench-results.{figure_func.__name__}.svg' chart.render_to_file(filename) filenames.append(filename) return filenames @figure def startup_time_figure(names, suites, config): all_vals = [suites[name]['startup_max'] for name in names] mx = np.max(all_vals) config.range = (0, mx + 0.1) chart = pygal.Bar(config, value_formatter=lambda x: "{:0.2f}s".format(x)) chart.title = 'Czas uruchomienia (s)' for name in names: vals = [{'value': suites[name]['startup_avg'], 'ci': {'low': suites[name]['startup_min'], 'high': suites[name]['startup_max']}}] # print(vals) chart.add(name, vals) return chart @figure def errors_vs_connections_figure(names, suites, config): all_vals = [suites[name]['stats'] for name in names] flat = [item for sublist in all_vals for item in sublist] print(flat) all_rates = [ div_or_none(s['request_errors_new_avg'], s['request_errors_new_avg'] + s['requests_new_avg'], scale=100) for s in flat] mx = np.max(all_rates) config.range = (0, mx + mx * 0.1) chart = pygal.Line(config, value_formatter=lambda x: "{:0.2f}%".format(x)) chart.title = 'Współczynnik liczby błędów względem liczby połączeń (%)' connections_x_labels(chart, suites, skip=0) for name in names: chart.add(name, [ div_or_none(s['request_errors_new_avg'], s['request_errors_new_avg'] + s['requests_new_avg'], scale=100) for s in suites[name]['stats'][0:]]) return chart @figure def requests_vs_connections_figure(names, suites, config): vals = [[x['requests_per_s_avg'] for x in suites[name]['stats']] for name in names] print(vals) mx = np.max(vals) config.range = (0, mx + mx * 0.1) config.min_scale = 6 chart = pygal.Line(config, value_formatter=lambda x: "{:0.0f}".format(x)) chart.title = 'Liczba sukcesów na sekundę względem liczby połączeń (Zapytań/s)' connections_x_labels(chart, suites, skip=0) for name in names: # print(suites[name]['stats']) # vals = [{'value': x['requests_per_s_avg'], 'ci': {'low': x['requests_per_s_min'], 'high': x['requests_per_s_max']}} for x in suites[name]['stats']] vals = [{'value': x['requests_per_s_avg']} for x in suites[name]['stats']] chart.add(name, vals) return chart @figure def latency_vs_connections_50_figure(names, suites, config): return latency_vs_connections_figure(50, names, suites, config) @figure def latency_vs_connections_90_figure(names, suites, config): return latency_vs_connections_figure(90, names, suites, config) @figure def latency_vs_connections_99_figure(names, suites, config): return latency_vs_connections_figure(99, names, suites, config) def latency_vs_connections_figure(percentile, names, suites, config): all_vals = [[s[f'latency_{percentile}p_ms_avg'] for s in suites[name]['stats'][0:]] for name in names] mx = np.max(all_vals) mn = np.min(all_vals) config.range = (mn - mn * .5, mx + mx * .5) chart = pygal.Line(config, logarithmic=True, value_formatter=lambda x: "{:0.0f}".format(x)) chart.title = f'{percentile}. centyl czasu odpowiedzi względem liczby połączeń (ms)' connections_x_labels(chart, suites, skip=0) for name in names: chart.add(name, [s[f'latency_{percentile}p_ms_avg'] for s in suites[name]['stats'][0:]]) return chart @figure def max_mem_usage_figure(names, suites, config): all_vals = [[s['mem_usage_mb_avg'] for s in suites[name]['stats']] for name in names] mx = np.max(all_vals) config.range = (0, mx + .1 * mx) chart = pygal.Line(config, value_formatter=lambda x: "{:0.0f}".format(x)) chart.title = 'Maksymalne zużycie pamięci względem liczby połączeń (MiB)' connections_x_labels(chart, suites) for name in names: chart.add(name, [s['mem_usage_mb_avg'] for s in suites[name]['stats']]) return chart @figure def max_mem_usage_per_requests_figure(names, suites, config): all_vals = [[div_or_none(s['mem_usage_mb_avg'], s['requests_per_s_avg']) for s in suites[name]['stats'][0:]] for name in names] mx = np.max(all_vals) config.range = (0, mx + .1 * mx) config.min_scale = 6 chart = pygal.Line(config, value_formatter=lambda x: "{:0.3f}".format(x)) chart.title = 'Maksymalne zużycie pamięci per liczba sukcesów na sekundę (MiB-sekunda/Zapytanie)' connections_x_labels(chart, suites, skip=0) for name in names: chart.add(name, [div_or_none(s['mem_usage_mb_avg'], s['requests_per_s_avg']) for s in suites[name]['stats'][0:]]) return chart @figure def cpu_figure(names, suites, config): mx = np.max([[s['cpu_new_s_avg'] for s in suites[name]['stats'][0:]] for name in names]) config.range = (0, mx + mx * 0.1) chart = pygal.Line(config, value_formatter=lambda x: "{:0.3f}".format(x)) chart.title = 'Wykorzystanie czasu procesora w czasie rundy testów (sekundy CPU)' connections_x_labels(chart, suites, skip=0) for name in names: chart.add(name, [s['cpu_new_s_avg'] for s in suites[name]['stats'][0:]]) return chart @figure def cpu_per_request_figure(names, suites, config): mx = np.max([[div_or_none(s['cpu_new_s_avg'], s['requests_new_avg'], scale=1000) for s in suites[name]['stats'][0:]] for name in names]) config.range = (0, mx + mx * 0.1) chart = pygal.Line(config, value_formatter=lambda x: "{:0.3f}".format(x)) chart.title = 'Wykorzystanie czasu procesora per poprawna odpowiedź (milisekundy CPU/Req)' connections_x_labels(chart, suites, skip=0) for name in names: chart.add(name, [div_or_none(s['cpu_new_s_avg'], s['requests_new_avg'], scale=1000) for s in suites[name]['stats'][0:]]) return chart @figure def cpu_vs_requests_figure(names, suites, config): all_vls = [[s['requests_total_avg'] for s in suites[name]['stats']] for name in names] mx = np.max(all_vls) config.range = (0, mx + mx * 0.1) config.min_scale = 6 chart = pygal.XY(config, value_formatter=lambda x: "{:0.0f}".format(x), series_formatter=lambda x: "{:0.2f}".format(x)) chart.title = 'Skumulowana liczba poprawnych odpowiedzi względem skumulowanego czasu CPU' chart.x_title = 'sekundy CPU' chart.y_title = 'skumulowana liczba poprawnych odpowiedzi' for name in names: chart.add(name, [ {'value': (s['cpu_total_s_avg'], s['requests_total_avg']), 'label': f'After {s["connections"]} connections round.'} for s in suites[name]['stats'] ]) return chart def connections_x_labels(chart, suites, skip=0): chart.x_labels = [f"{s['connections']} conn's" if s['connections'] else s['message'] for s in next(iter(suites.values()))['stats']][skip:] chart.x_label_rotation = -30 def div_or_none(numerator, denominator, scale=1): if not denominator: return None return scale * numerator / denominator HTML_PREFIX = '''<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Benchmark Report</title> </head> <body> ''' HTML_SUFFIX = ''' </body> </html> ''' def render_html(md_file, html_file): with open(md_file) as in_fp, open(html_file, 'w') as out_fp: rs = in_fp.read() html = gfm(rs) # Replace <img> by <embed> for pygal interactivity, http://www.pygal.org/en/latest/documentation/web.html html = html.replace('<img', '<embed') # Replace link to md with link to .html for better browsability at HTML level. html = html.replace('/README.md">full benchmark', '/README.html">full benchmark') out_fp.write(HTML_PREFIX) out_fp.write(html) out_fp.write(HTML_SUFFIX) print(f'HTML output written to {html_file.resolve().as_uri()}.') if __name__ == '__main__': # args = docopt(__doc__) render()
[((800, 824), 'pathlib.Path', 'Path', (['"""bench-results.md"""'], {}), "('bench-results.md')\n", (804, 824), False, 'from pathlib import Path\n'), ((2966, 3021), 'pygal.Config', 'pygal.Config', ([], {'legend_at_bottom': '(True)', 'style': 'DefaultStyle'}), '(legend_at_bottom=True, style=DefaultStyle)\n', (2978, 3021), False, 'import pygal\n'), ((3407, 3423), 'numpy.max', 'np.max', (['all_vals'], {}), '(all_vals)\n', (3413, 3423), True, 'import numpy as np\n'), ((4190, 4207), 'numpy.max', 'np.max', (['all_rates'], {}), '(all_rates)\n', (4196, 4207), True, 'import numpy as np\n'), ((4864, 4876), 'numpy.max', 'np.max', (['vals'], {}), '(vals)\n', (4870, 4876), True, 'import numpy as np\n'), ((6106, 6122), 'numpy.max', 'np.max', (['all_vals'], {}), '(all_vals)\n', (6112, 6122), True, 'import numpy as np\n'), ((6132, 6148), 'numpy.min', 'np.min', (['all_vals'], {}), '(all_vals)\n', (6138, 6148), True, 'import numpy as np\n'), ((6751, 6767), 'numpy.max', 'np.max', (['all_vals'], {}), '(all_vals)\n', (6757, 6767), True, 'import numpy as np\n'), ((7335, 7351), 'numpy.max', 'np.max', (['all_vals'], {}), '(all_vals)\n', (7341, 7351), True, 'import numpy as np\n'), ((7882, 7969), 'numpy.max', 'np.max', (["[[s['cpu_new_s_avg'] for s in suites[name]['stats'][0:]] for name in names]"], {}), "([[s['cpu_new_s_avg'] for s in suites[name]['stats'][0:]] for name in\n names])\n", (7888, 7969), True, 'import numpy as np\n'), ((9179, 9194), 'numpy.max', 'np.max', (['all_vls'], {}), '(all_vls)\n', (9185, 9194), True, 'import numpy as np\n'), ((1004, 1020), 'pathlib.Path', 'Path', (['"""notes.md"""'], {}), "('notes.md')\n", (1008, 1020), False, 'from pathlib import Path\n'), ((1864, 1890), 'pathlib.Path', 'Path', (['"""bench-results.html"""'], {}), "('bench-results.html')\n", (1868, 1890), False, 'from pathlib import Path\n'), ((10554, 10561), 'marko.ext.gfm.gfm', 'gfm', (['rs'], {}), '(rs)\n', (10557, 10561), False, 'from marko.ext.gfm import gfm\n'), ((491, 499), 'pathlib.Path', 'Path', (['""""""'], {}), "('')\n", (495, 499), False, 'from pathlib import Path\n'), ((674, 687), 'json.load', 'json.load', (['fp'], {}), '(fp)\n', (683, 687), False, 'import json\n'), ((880, 891), 'os.getcwd', 'os.getcwd', ([], {}), '()\n', (889, 891), False, 'import os\n')]
osterwood/litex
litex/build/altera/quartus.py
db20cb172dc982c5879aa8080ec7aa18de181cc5
# # This file is part of LiteX. # # Copyright (c) 2014-2019 Florent Kermarrec <florent@enjoy-digital.fr> # Copyright (c) 2019 msloniewski <marcin.sloniewski@gmail.com> # Copyright (c) 2019 vytautasb <v.buitvydas@limemicro.com> # SPDX-License-Identifier: BSD-2-Clause import os import subprocess import sys import math from shutil import which from migen.fhdl.structure import _Fragment from litex.build.generic_platform import Pins, IOStandard, Misc from litex.build import tools # IO/Placement Constraints (.qsf) ------------------------------------------------------------------ def _format_constraint(c, signame, fmt_r): # IO location constraints if isinstance(c, Pins): tpl = "set_location_assignment -comment \"{name}\" -to {signame} Pin_{pin}" return tpl.format(signame=signame, name=fmt_r, pin=c.identifiers[0]) # IO standard constraints elif isinstance(c, IOStandard): tpl = "set_instance_assignment -name io_standard -comment \"{name}\" \"{std}\" -to {signame}" return tpl.format(signame=signame, name=fmt_r, std=c.name) # Others constraints elif isinstance(c, Misc): if not isinstance(c.misc, str) and len(c.misc) == 2: tpl = "set_instance_assignment -comment \"{name}\" -name {misc[0]} \"{misc[1]}\" -to {signame}" return tpl.format(signame=signame, name=fmt_r, misc=c.misc) else: tpl = "set_instance_assignment -comment \"{name}\" -name {misc} -to {signame}" return tpl.format(signame=signame, name=fmt_r, misc=c.misc) def _format_qsf_constraint(signame, pin, others, resname): fmt_r = "{}:{}".format(*resname[:2]) if resname[2] is not None: fmt_r += "." + resname[2] fmt_c = [_format_constraint(c, signame, fmt_r) for c in ([Pins(pin)] + others)] return '\n'.join(fmt_c) def _build_qsf_constraints(named_sc, named_pc): qsf = [] for sig, pins, others, resname in named_sc: if len(pins) > 1: for i, p in enumerate(pins): qsf.append(_format_qsf_constraint("{}[{}]".format(sig, i), p, others, resname)) else: qsf.append(_format_qsf_constraint(sig, pins[0], others, resname)) if named_pc: qsf.append("\n\n".join(named_pc)) return "\n".join(qsf) # Timing Constraints (.sdc) ------------------------------------------------------------------------ def _build_sdc(clocks, false_paths, vns, named_sc, build_name, additional_sdc_commands): sdc = [] # Clock constraints for clk, period in sorted(clocks.items(), key=lambda x: x[0].duid): is_port = False for sig, pins, others, resname in named_sc: if sig == vns.get_name(clk): is_port = True if is_port: tpl = "create_clock -name {clk} -period {period} [get_ports {{{clk}}}]" sdc.append(tpl.format(clk=vns.get_name(clk), period=str(period))) else: tpl = "create_clock -name {clk} -period {period} [get_nets {{{clk}}}]" sdc.append(tpl.format(clk=vns.get_name(clk), period=str(period))) # False path constraints for from_, to in sorted(false_paths, key=lambda x: (x[0].duid, x[1].duid)): tpl = "set_false_path -from [get_clocks {{{from_}}}] -to [get_clocks {{{to}}}]" sdc.append(tpl.format(from_=vns.get_name(from_), to=vns.get_name(to))) # Add additional commands sdc += additional_sdc_commands # Generate .sdc tools.write_to_file("{}.sdc".format(build_name), "\n".join(sdc)) # Project (.qsf) ----------------------------------------------------------------------------------- def _build_qsf(device, ips, sources, vincpaths, named_sc, named_pc, build_name, additional_qsf_commands): qsf = [] # Set device qsf.append("set_global_assignment -name DEVICE {}".format(device)) # Add sources for filename, language, library in sources: if language == "verilog": language = "systemverilog" # Enforce use of SystemVerilog tpl = "set_global_assignment -name {lang}_FILE {path} -library {lib}" # Do not add None type files if language is not None: qsf.append(tpl.format(lang=language.upper(), path=filename.replace("\\", "/"), lib=library)) # Check if the file is a header. Those should not be explicitly added to qsf, # but rather included in include search_path else: if filename.endswith(".svh") or filename.endswith(".vh"): fpath = os.path.dirname(filename) if fpath not in vincpaths: vincpaths.append(fpath) # Add ips for filename in ips: tpl = "set_global_assignment -name QSYS_FILE {filename}" qsf.append(tpl.replace(filename=filename.replace("\\", "/"))) # Add include paths for path in vincpaths: qsf.append("set_global_assignment -name SEARCH_PATH {}".format(path.replace("\\", "/"))) # Set top level qsf.append("set_global_assignment -name top_level_entity " + build_name) # Add io, placement constraints qsf.append(_build_qsf_constraints(named_sc, named_pc)) # Set timing constraints qsf.append("set_global_assignment -name SDC_FILE {}.sdc".format(build_name)) # Add additional commands qsf += additional_qsf_commands # Generate .qsf tools.write_to_file("{}.qsf".format(build_name), "\n".join(qsf)) # Script ------------------------------------------------------------------------------------------- def _build_script(build_name, create_rbf): if sys.platform in ["win32", "cygwin"]: script_contents = "REM Autogenerated by LiteX / git: " + tools.get_litex_git_revision() script_file = "build_" + build_name + ".bat" else: script_contents = "# Autogenerated by LiteX / git: " + tools.get_litex_git_revision() script_file = "build_" + build_name + ".sh" script_contents += """ quartus_map --read_settings_files=on --write_settings_files=off {build_name} -c {build_name} quartus_fit --read_settings_files=off --write_settings_files=off {build_name} -c {build_name} quartus_asm --read_settings_files=off --write_settings_files=off {build_name} -c {build_name} quartus_sta {build_name} -c {build_name}""" if create_rbf: script_contents += """ if [ -f "{build_name}.sof" ] then quartus_cpf -c {build_name}.sof {build_name}.rbf fi """ script_contents = script_contents.format(build_name=build_name) tools.write_to_file(script_file, script_contents, force_unix=True) return script_file def _run_script(script): if sys.platform in ["win32", "cygwin"]: shell = ["cmd", "/c"] else: shell = ["bash"] if which("quartus_map") is None: msg = "Unable to find Quartus toolchain, please:\n" msg += "- Add Quartus toolchain to your $PATH." raise OSError(msg) if subprocess.call(shell + [script]) != 0: raise OSError("Error occured during Quartus's script execution.") # AlteraQuartusToolchain --------------------------------------------------------------------------- class AlteraQuartusToolchain: attr_translate = {} def __init__(self): self.clocks = dict() self.false_paths = set() self.additional_sdc_commands = [] self.additional_qsf_commands = [] def build(self, platform, fragment, build_dir = "build", build_name = "top", run = True, **kwargs): # Create build directory cwd = os.getcwd() os.makedirs(build_dir, exist_ok=True) os.chdir(build_dir) # Finalize design if not isinstance(fragment, _Fragment): fragment = fragment.get_fragment() platform.finalize(fragment) # Generate verilog v_output = platform.get_verilog(fragment, name=build_name, **kwargs) named_sc, named_pc = platform.resolve_signals(v_output.ns) v_file = build_name + ".v" v_output.write(v_file) platform.add_source(v_file) # Generate design timing constraints file (.sdc) _build_sdc( clocks = self.clocks, false_paths = self.false_paths, vns = v_output.ns, named_sc = named_sc, build_name = build_name, additional_sdc_commands = self.additional_sdc_commands) # Generate design project and location constraints file (.qsf) _build_qsf( device = platform.device, ips = platform.ips, sources = platform.sources, vincpaths = platform.verilog_include_paths, named_sc = named_sc, named_pc = named_pc, build_name = build_name, additional_qsf_commands = self.additional_qsf_commands) # Generate build script script = _build_script(build_name, platform.create_rbf) # Run if run: _run_script(script) os.chdir(cwd) return v_output.ns def add_period_constraint(self, platform, clk, period): clk.attr.add("keep") period = math.floor(period*1e3)/1e3 # round to lowest picosecond if clk in self.clocks: if period != self.clocks[clk]: raise ValueError("Clock already constrained to {:.2f}ns, new constraint to {:.2f}ns" .format(self.clocks[clk], period)) self.clocks[clk] = period def add_false_path_constraint(self, platform, from_, to): from_.attr.add("keep") to.attr.add("keep") if (to, from_) not in self.false_paths: self.false_paths.add((from_, to))
[((6459, 6525), 'litex.build.tools.write_to_file', 'tools.write_to_file', (['script_file', 'script_contents'], {'force_unix': '(True)'}), '(script_file, script_contents, force_unix=True)\n', (6478, 6525), False, 'from litex.build import tools\n'), ((6693, 6713), 'shutil.which', 'which', (['"""quartus_map"""'], {}), "('quartus_map')\n", (6698, 6713), False, 'from shutil import which\n'), ((6874, 6907), 'subprocess.call', 'subprocess.call', (['(shell + [script])'], {}), '(shell + [script])\n', (6889, 6907), False, 'import subprocess\n'), ((7526, 7537), 'os.getcwd', 'os.getcwd', ([], {}), '()\n', (7535, 7537), False, 'import os\n'), ((7546, 7583), 'os.makedirs', 'os.makedirs', (['build_dir'], {'exist_ok': '(True)'}), '(build_dir, exist_ok=True)\n', (7557, 7583), False, 'import os\n'), ((7592, 7611), 'os.chdir', 'os.chdir', (['build_dir'], {}), '(build_dir)\n', (7600, 7611), False, 'import os\n'), ((9154, 9167), 'os.chdir', 'os.chdir', (['cwd'], {}), '(cwd)\n', (9162, 9167), False, 'import os\n'), ((5650, 5680), 'litex.build.tools.get_litex_git_revision', 'tools.get_litex_git_revision', ([], {}), '()\n', (5678, 5680), False, 'from litex.build import tools\n'), ((5807, 5837), 'litex.build.tools.get_litex_git_revision', 'tools.get_litex_git_revision', ([], {}), '()\n', (5835, 5837), False, 'from litex.build import tools\n'), ((9303, 9330), 'math.floor', 'math.floor', (['(period * 1000.0)'], {}), '(period * 1000.0)\n', (9313, 9330), False, 'import math\n'), ((4497, 4522), 'os.path.dirname', 'os.path.dirname', (['filename'], {}), '(filename)\n', (4512, 4522), False, 'import os\n'), ((1787, 1796), 'litex.build.generic_platform.Pins', 'Pins', (['pin'], {}), '(pin)\n', (1791, 1796), False, 'from litex.build.generic_platform import Pins, IOStandard, Misc\n')]
arXiv/arxiv-canonical
arxiv/canonical/util.py
a758ed88a568f23a834288aed4dcf7039c1340cf
"""Various helpers and utilities that don't belong anywhere else.""" from typing import Dict, Generic, TypeVar KeyType = TypeVar('KeyType') ValueType = TypeVar('ValueType') class GenericMonoDict(Dict[KeyType, ValueType]): """A dict with specific key and value types.""" def __getitem__(self, key: KeyType) -> ValueType: ...
[((123, 141), 'typing.TypeVar', 'TypeVar', (['"""KeyType"""'], {}), "('KeyType')\n", (130, 141), False, 'from typing import Dict, Generic, TypeVar\n'), ((154, 174), 'typing.TypeVar', 'TypeVar', (['"""ValueType"""'], {}), "('ValueType')\n", (161, 174), False, 'from typing import Dict, Generic, TypeVar\n')]
Glucemy/Glucemy-back
records/urls.py
c9fcf7996b3f13c67697aadd449e3e32afb1fa1b
from rest_framework.routers import DefaultRouter from records.views import RecordViewSet router = DefaultRouter() router.register('', RecordViewSet, basename='records') urlpatterns = router.urls
[((100, 115), 'rest_framework.routers.DefaultRouter', 'DefaultRouter', ([], {}), '()\n', (113, 115), False, 'from rest_framework.routers import DefaultRouter\n')]
polyaxon/polystores
polystores/stores/azure_store.py
141789ef75622c80d1f3875cec6952ad3c2d5ec7
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import os from rhea import RheaError from rhea import parser as rhea_parser from azure.common import AzureHttpError from azure.storage.blob.models import BlobPrefix from polystores.clients.azure_client import get_blob_service_connection from polystores.exceptions import PolyaxonStoresException from polystores.stores.base_store import BaseStore from polystores.utils import append_basename, check_dirname_exists, get_files_in_current_directory # pylint:disable=arguments-differ class AzureStore(BaseStore): """ Azure store Service. """ STORE_TYPE = BaseStore._AZURE_STORE # pylint:disable=protected-access def __init__(self, connection=None, **kwargs): self._connection = connection self._account_name = kwargs.get('account_name') or kwargs.get('AZURE_ACCOUNT_NAME') self._account_key = kwargs.get('account_key') or kwargs.get('AZURE_ACCOUNT_KEY') self._connection_string = ( kwargs.get('connection_string') or kwargs.get('AZURE_CONNECTION_STRING')) @property def connection(self): if self._connection is None: self.set_connection(account_name=self._account_name, account_key=self._account_key, connection_string=self._connection_string) return self._connection def set_connection(self, account_name=None, account_key=None, connection_string=None): """ Sets a new Blob service connection. Args: account_name: `str`. The storage account name. account_key: `str`. The storage account key. connection_string: `str`. If specified, this will override all other parameters besides request session. Returns: BlockBlobService instance """ self._connection = get_blob_service_connection(account_name=account_name, account_key=account_key, connection_string=connection_string) def set_env_vars(self): if self._account_name: os.environ['AZURE_ACCOUNT_NAME'] = self._account_name if self._account_key: os.environ['AZURE_ACCOUNT_KEY'] = self._account_key if self._connection_string: os.environ['AZURE_CONNECTION_STRING'] = self._connection_string @staticmethod def parse_wasbs_url(wasbs_url): """ Parses and validates a wasbs url. Returns: tuple(container, storage_account, path). """ try: spec = rhea_parser.parse_wasbs_path(wasbs_url) return spec.container, spec.storage_account, spec.path except RheaError as e: raise PolyaxonStoresException(e) def check_blob(self, blob, container_name=None): """ Checks if a blob exists. Args: blob: `str`. Name of existing blob. container_name: `str`. Name of existing container. Returns: bool """ if not container_name: container_name, _, blob = self.parse_wasbs_url(blob) try: return self.connection.get_blob_properties( container_name, blob ) except AzureHttpError: return None def ls(self, path): results = self.list(key=path) return {'files': results['blobs'], 'dirs': results['prefixes']} def list(self, key, container_name=None, path=None, delimiter='/', marker=None): """ Checks if a blob exists. Args: key: `str`. key prefix. container_name: `str`. Name of existing container. path: `str`. an extra path to append to the key. delimiter: `str`. the delimiter marks key hierarchy. marker: `str`. An opaque continuation token. """ if not container_name: container_name, _, key = self.parse_wasbs_url(key) if key and not key.endswith('/'): key += '/' prefix = key if path: prefix = os.path.join(prefix, path) if prefix and not prefix.endswith('/'): prefix += '/' list_blobs = [] list_prefixes = [] while True: results = self.connection.list_blobs(container_name, prefix=prefix, delimiter=delimiter, marker=marker) for r in results: if isinstance(r, BlobPrefix): name = r.name[len(key):] list_prefixes.append(name) else: name = r.name[len(key):] list_blobs.append((name, r.properties.content_length)) if results.next_marker: marker = results.next_marker else: break return { 'blobs': list_blobs, 'prefixes': list_prefixes } def upload_file(self, filename, blob, container_name=None, use_basename=True): """ Uploads a local file to Google Cloud Storage. Args: filename: `str`. the file to upload. blob: `str`. blob to upload to. container_name: `str`. the name of the container. use_basename: `bool`. whether or not to use the basename of the filename. """ if not container_name: container_name, _, blob = self.parse_wasbs_url(blob) if use_basename: blob = append_basename(blob, filename) self.connection.create_blob_from_path(container_name, blob, filename) def upload_dir(self, dirname, blob, container_name=None, use_basename=True): """ Uploads a local directory to to Google Cloud Storage. Args: dirname: `str`. name of the directory to upload. blob: `str`. blob to upload to. container_name: `str`. the name of the container. use_basename: `bool`. whether or not to use the basename of the directory. """ if not container_name: container_name, _, blob = self.parse_wasbs_url(blob) if use_basename: blob = append_basename(blob, dirname) # Turn the path to absolute paths dirname = os.path.abspath(dirname) with get_files_in_current_directory(dirname) as files: for f in files: file_blob = os.path.join(blob, os.path.relpath(f, dirname)) self.upload_file(filename=f, blob=file_blob, container_name=container_name, use_basename=False) def download_file(self, blob, local_path, container_name=None, use_basename=True): """ Downloads a file from Google Cloud Storage. Args: blob: `str`. blob to download. local_path: `str`. the path to download to. container_name: `str`. the name of the container. use_basename: `bool`. whether or not to use the basename of the blob. """ if not container_name: container_name, _, blob = self.parse_wasbs_url(blob) local_path = os.path.abspath(local_path) if use_basename: local_path = append_basename(local_path, blob) check_dirname_exists(local_path) try: self.connection.get_blob_to_path(container_name, blob, local_path) except AzureHttpError as e: raise PolyaxonStoresException(e) def download_dir(self, blob, local_path, container_name=None, use_basename=True): """ Download a directory from Google Cloud Storage. Args: blob: `str`. blob to download. local_path: `str`. the path to download to. container_name: `str`. the name of the container. use_basename: `bool`. whether or not to use the basename of the key. """ if not container_name: container_name, _, blob = self.parse_wasbs_url(blob) local_path = os.path.abspath(local_path) if use_basename: local_path = append_basename(local_path, blob) try: check_dirname_exists(local_path, is_dir=True) except PolyaxonStoresException: os.makedirs(local_path) results = self.list(container_name=container_name, key=blob, delimiter='/') # Create directories for prefix in sorted(results['prefixes']): direname = os.path.join(local_path, prefix) prefix = os.path.join(blob, prefix) # Download files under self.download_dir(blob=prefix, local_path=direname, container_name=container_name, use_basename=False) # Download files for file_key in results['blobs']: file_key = file_key[0] filename = os.path.join(local_path, file_key) file_key = os.path.join(blob, file_key) self.download_file(blob=file_key, local_path=filename, container_name=container_name, use_basename=False) def delete(self, blob, container_name=None): if not container_name: container_name, _, blob = self.parse_wasbs_url(blob) results = self.list(container_name=container_name, key=blob, delimiter='/') if not any([results['prefixes'], results['blobs']]): self.delete_file(blob=blob, container_name=container_name) # Delete directories for prefix in sorted(results['prefixes']): prefix = os.path.join(blob, prefix) # Download files under self.delete(blob=prefix, container_name=container_name) # Delete files for file_key in results['blobs']: file_key = file_key[0] file_key = os.path.join(blob, file_key) self.delete_file(blob=file_key, container_name=container_name) def delete_file(self, blob, container_name=None): """ Deletes if a blob exists. Args: blob: `str`. Name of existing blob. container_name: `str`. Name of existing container. """ if not container_name: container_name, _, blob = self.parse_wasbs_url(blob) try: self.connection.delete_blob(container_name, blob) except AzureHttpError: pass
[((1913, 2034), 'polystores.clients.azure_client.get_blob_service_connection', 'get_blob_service_connection', ([], {'account_name': 'account_name', 'account_key': 'account_key', 'connection_string': 'connection_string'}), '(account_name=account_name, account_key=\n account_key, connection_string=connection_string)\n', (1940, 2034), False, 'from polystores.clients.azure_client import get_blob_service_connection\n'), ((6539, 6563), 'os.path.abspath', 'os.path.abspath', (['dirname'], {}), '(dirname)\n', (6554, 6563), False, 'import os\n'), ((7482, 7509), 'os.path.abspath', 'os.path.abspath', (['local_path'], {}), '(local_path)\n', (7497, 7509), False, 'import os\n'), ((7604, 7636), 'polystores.utils.check_dirname_exists', 'check_dirname_exists', (['local_path'], {}), '(local_path)\n', (7624, 7636), False, 'from polystores.utils import append_basename, check_dirname_exists, get_files_in_current_directory\n'), ((8353, 8380), 'os.path.abspath', 'os.path.abspath', (['local_path'], {}), '(local_path)\n', (8368, 8380), False, 'import os\n'), ((2696, 2735), 'rhea.parser.parse_wasbs_path', 'rhea_parser.parse_wasbs_path', (['wasbs_url'], {}), '(wasbs_url)\n', (2724, 2735), True, 'from rhea import parser as rhea_parser\n'), ((4233, 4259), 'os.path.join', 'os.path.join', (['prefix', 'path'], {}), '(prefix, path)\n', (4245, 4259), False, 'import os\n'), ((5758, 5789), 'polystores.utils.append_basename', 'append_basename', (['blob', 'filename'], {}), '(blob, filename)\n', (5773, 5789), False, 'from polystores.utils import append_basename, check_dirname_exists, get_files_in_current_directory\n'), ((6447, 6477), 'polystores.utils.append_basename', 'append_basename', (['blob', 'dirname'], {}), '(blob, dirname)\n', (6462, 6477), False, 'from polystores.utils import append_basename, check_dirname_exists, get_files_in_current_directory\n'), ((6577, 6616), 'polystores.utils.get_files_in_current_directory', 'get_files_in_current_directory', (['dirname'], {}), '(dirname)\n', (6607, 6616), False, 'from polystores.utils import append_basename, check_dirname_exists, get_files_in_current_directory\n'), ((7561, 7594), 'polystores.utils.append_basename', 'append_basename', (['local_path', 'blob'], {}), '(local_path, blob)\n', (7576, 7594), False, 'from polystores.utils import append_basename, check_dirname_exists, get_files_in_current_directory\n'), ((8432, 8465), 'polystores.utils.append_basename', 'append_basename', (['local_path', 'blob'], {}), '(local_path, blob)\n', (8447, 8465), False, 'from polystores.utils import append_basename, check_dirname_exists, get_files_in_current_directory\n'), ((8492, 8537), 'polystores.utils.check_dirname_exists', 'check_dirname_exists', (['local_path'], {'is_dir': '(True)'}), '(local_path, is_dir=True)\n', (8512, 8537), False, 'from polystores.utils import append_basename, check_dirname_exists, get_files_in_current_directory\n'), ((8803, 8835), 'os.path.join', 'os.path.join', (['local_path', 'prefix'], {}), '(local_path, prefix)\n', (8815, 8835), False, 'import os\n'), ((8857, 8883), 'os.path.join', 'os.path.join', (['blob', 'prefix'], {}), '(blob, prefix)\n', (8869, 8883), False, 'import os\n'), ((9250, 9284), 'os.path.join', 'os.path.join', (['local_path', 'file_key'], {}), '(local_path, file_key)\n', (9262, 9284), False, 'import os\n'), ((9308, 9336), 'os.path.join', 'os.path.join', (['blob', 'file_key'], {}), '(blob, file_key)\n', (9320, 9336), False, 'import os\n'), ((10014, 10040), 'os.path.join', 'os.path.join', (['blob', 'prefix'], {}), '(blob, prefix)\n', (10026, 10040), False, 'import os\n'), ((10268, 10296), 'os.path.join', 'os.path.join', (['blob', 'file_key'], {}), '(blob, file_key)\n', (10280, 10296), False, 'import os\n'), ((2852, 2878), 'polystores.exceptions.PolyaxonStoresException', 'PolyaxonStoresException', (['e'], {}), '(e)\n', (2875, 2878), False, 'from polystores.exceptions import PolyaxonStoresException\n'), ((7784, 7810), 'polystores.exceptions.PolyaxonStoresException', 'PolyaxonStoresException', (['e'], {}), '(e)\n', (7807, 7810), False, 'from polystores.exceptions import PolyaxonStoresException\n'), ((8590, 8613), 'os.makedirs', 'os.makedirs', (['local_path'], {}), '(local_path)\n', (8601, 8613), False, 'import os\n'), ((6702, 6729), 'os.path.relpath', 'os.path.relpath', (['f', 'dirname'], {}), '(f, dirname)\n', (6717, 6729), False, 'import os\n')]
dataplumber/nexus
analysis/webservice/NexusHandler.py
f25a89e85eba098da9c6db1ff3d408dae8a6b310
""" Copyright (c) 2016 Jet Propulsion Laboratory, California Institute of Technology. All rights reserved """ import sys import numpy as np import logging import time import types from datetime import datetime from netCDF4 import Dataset from nexustiles.nexustiles import NexusTileService from webservice.webmodel import NexusProcessingException AVAILABLE_HANDLERS = [] AVAILABLE_INITIALIZERS = [] def nexus_initializer(clazz): log = logging.getLogger(__name__) try: wrapper = NexusInitializerWrapper(clazz) log.info("Adding initializer '%s'" % wrapper.clazz()) AVAILABLE_INITIALIZERS.append(wrapper) except Exception as ex: log.warn("Initializer '%s' failed to load (reason: %s)" % (clazz, ex.message), exc_info=True) return clazz def nexus_handler(clazz): log = logging.getLogger(__name__) try: wrapper = AlgorithmModuleWrapper(clazz) log.info("Adding algorithm module '%s' with path '%s' (%s)" % (wrapper.name(), wrapper.path(), wrapper.clazz())) AVAILABLE_HANDLERS.append(wrapper) except Exception as ex: log.warn("Handler '%s' is invalid and will be skipped (reason: %s)" % (clazz, ex.message), exc_info=True) return clazz DEFAULT_PARAMETERS_SPEC = { "ds": { "name": "Dataset", "type": "string", "description": "One or more comma-separated dataset shortnames" }, "minLat": { "name": "Minimum Latitude", "type": "float", "description": "Minimum (Southern) bounding box Latitude" }, "maxLat": { "name": "Maximum Latitude", "type": "float", "description": "Maximum (Northern) bounding box Latitude" }, "minLon": { "name": "Minimum Longitude", "type": "float", "description": "Minimum (Western) bounding box Longitude" }, "maxLon": { "name": "Maximum Longitude", "type": "float", "description": "Maximum (Eastern) bounding box Longitude" }, "startTime": { "name": "Start Time", "type": "long integer", "description": "Starting time in milliseconds since midnight Jan. 1st, 1970 UTC" }, "endTime": { "name": "End Time", "type": "long integer", "description": "Ending time in milliseconds since midnight Jan. 1st, 1970 UTC" }, "lowPassFilter": { "name": "Apply Low Pass Filter", "type": "boolean", "description": "Specifies whether to apply a low pass filter on the analytics results" }, "seasonalFilter": { "name": "Apply Seasonal Filter", "type": "boolean", "description": "Specified whether to apply a seasonal cycle filter on the analytics results" } } class NexusInitializerWrapper: def __init__(self, clazz): self.__log = logging.getLogger(__name__) self.__hasBeenRun = False self.__clazz = clazz self.validate() def validate(self): if "init" not in self.__clazz.__dict__ or not type(self.__clazz.__dict__["init"]) == types.FunctionType: raise Exception("Method 'init' has not been declared") def clazz(self): return self.__clazz def hasBeenRun(self): return self.__hasBeenRun def init(self, config): if not self.__hasBeenRun: self.__hasBeenRun = True instance = self.__clazz() instance.init(config) else: self.log("Initializer '%s' has already been run" % self.__clazz) class AlgorithmModuleWrapper: def __init__(self, clazz): self.__instance = None self.__clazz = clazz self.validate() def validate(self): if "calc" not in self.__clazz.__dict__ or not type(self.__clazz.__dict__["calc"]) == types.FunctionType: raise Exception("Method 'calc' has not been declared") if "path" not in self.__clazz.__dict__: raise Exception("Property 'path' has not been defined") if "name" not in self.__clazz.__dict__: raise Exception("Property 'name' has not been defined") if "description" not in self.__clazz.__dict__: raise Exception("Property 'description' has not been defined") if "params" not in self.__clazz.__dict__: raise Exception("Property 'params' has not been defined") def clazz(self): return self.__clazz def name(self): return self.__clazz.name def path(self): return self.__clazz.path def description(self): return self.__clazz.description def params(self): return self.__clazz.params def instance(self, algorithm_config=None, sc=None): if "singleton" in self.__clazz.__dict__ and self.__clazz.__dict__["singleton"] is True: if self.__instance is None: self.__instance = self.__clazz() try: self.__instance.set_config(algorithm_config) except AttributeError: pass try: self.__instance.set_spark_context(sc) except AttributeError: pass return self.__instance else: instance = self.__clazz() try: instance.set_config(algorithm_config) except AttributeError: pass try: self.__instance.set_spark_context(sc) except AttributeError: pass return instance def isValid(self): try: self.validate() return True except Exception as ex: return False class CalcHandler(object): def calc(self, computeOptions, **args): raise Exception("calc() not yet implemented") class NexusHandler(CalcHandler): def __init__(self, skipCassandra=False, skipSolr=False): CalcHandler.__init__(self) self.algorithm_config = None self._tile_service = NexusTileService(skipCassandra, skipSolr) def set_config(self, algorithm_config): self.algorithm_config = algorithm_config def _mergeDicts(self, x, y): z = x.copy() z.update(y) return z def _now(self): millis = int(round(time.time() * 1000)) return millis def _mergeDataSeries(self, resultsData, dataNum, resultsMap): for entry in resultsData: #frmtdTime = datetime.fromtimestamp(entry["time"] ).strftime("%Y-%m") frmtdTime = entry["time"] if not frmtdTime in resultsMap: resultsMap[frmtdTime] = [] entry["ds"] = dataNum resultsMap[frmtdTime].append(entry) def _resultsMapToList(self, resultsMap): resultsList = [] for key, value in resultsMap.iteritems(): resultsList.append(value) resultsList = sorted(resultsList, key=lambda entry: entry[0]["time"]) return resultsList def _mergeResults(self, resultsRaw): resultsMap = {} for i in range(0, len(resultsRaw)): resultsSeries = resultsRaw[i] resultsData = resultsSeries[0] self._mergeDataSeries(resultsData, i, resultsMap) resultsList = self._resultsMapToList(resultsMap) return resultsList class SparkHandler(NexusHandler): class SparkJobContext(object): class MaxConcurrentJobsReached(Exception): def __init__(self, *args, **kwargs): Exception.__init__(self, *args, **kwargs) def __init__(self, job_stack): self.spark_job_stack = job_stack self.job_name = None self.log = logging.getLogger(__name__) def __enter__(self): try: self.job_name = self.spark_job_stack.pop() self.log.debug("Using %s" % self.job_name) except IndexError: raise SparkHandler.SparkJobContext.MaxConcurrentJobsReached() return self def __exit__(self, exc_type, exc_val, exc_tb): if self.job_name is not None: self.log.debug("Returning %s" % self.job_name) self.spark_job_stack.append(self.job_name) def __init__(self, **kwargs): import inspect NexusHandler.__init__(self, **kwargs) self._sc = None self.spark_job_stack = [] def with_spark_job_context(calc_func): from functools import wraps @wraps(calc_func) def wrapped(*args, **kwargs1): try: with SparkHandler.SparkJobContext(self.spark_job_stack) as job_context: # TODO Pool and Job are forced to a 1-to-1 relationship calc_func.im_self._sc.setLocalProperty("spark.scheduler.pool", job_context.job_name) calc_func.im_self._sc.setJobGroup(job_context.job_name, "a spark job") return calc_func(*args, **kwargs1) except SparkHandler.SparkJobContext.MaxConcurrentJobsReached: raise NexusProcessingException(code=503, reason="Max concurrent requests reached. Please try again later.") return wrapped for member in inspect.getmembers(self, predicate=inspect.ismethod): if member[0] == "calc": setattr(self, member[0], with_spark_job_context(member[1])) def set_spark_context(self, sc): self._sc = sc def set_config(self, algorithm_config): max_concurrent_jobs = algorithm_config.getint("spark", "maxconcurrentjobs") if algorithm_config.has_section( "spark") and algorithm_config.has_option("spark", "maxconcurrentjobs") else 10 self.spark_job_stack = list(["Job %s" % x for x in xrange(1, max_concurrent_jobs + 1)]) self.algorithm_config = algorithm_config def _setQueryParams(self, ds, bounds, start_time=None, end_time=None, start_year=None, end_year=None, clim_month=None, fill=-9999., spark_master=None, spark_nexecs=None, spark_nparts=None): self._ds = ds self._minLat, self._maxLat, self._minLon, self._maxLon = bounds self._startTime = start_time self._endTime = end_time self._startYear = start_year self._endYear = end_year self._climMonth = clim_month self._fill = fill self._spark_master = spark_master self._spark_nexecs = spark_nexecs self._spark_nparts = spark_nparts def _find_global_tile_set(self): if type(self._ds) in (list,tuple): ds = self._ds[0] else: ds = self._ds ntiles = 0 ################################################################## # Temporary workaround until we have dataset metadata to indicate # temporal resolution. if "monthly" in ds.lower(): t_incr = 2592000 # 30 days else: t_incr = 86400 # 1 day ################################################################## t = self._endTime self._latRes = None self._lonRes = None while ntiles == 0: nexus_tiles = self._tile_service.get_tiles_bounded_by_box(self._minLat, self._maxLat, self._minLon, self._maxLon, ds=ds, start_time=t-t_incr, end_time=t) ntiles = len(nexus_tiles) self.log.debug('find_global_tile_set got {0} tiles'.format(ntiles)) if ntiles > 0: for tile in nexus_tiles: self.log.debug('tile coords:') self.log.debug('tile lats: {0}'.format(tile.latitudes)) self.log.debug('tile lons: {0}'.format(tile.longitudes)) if self._latRes is None: lats = tile.latitudes.data if (len(lats) > 1): self._latRes = abs(lats[1]-lats[0]) if self._lonRes is None: lons = tile.longitudes.data if (len(lons) > 1): self._lonRes = abs(lons[1]-lons[0]) if ((self._latRes is not None) and (self._lonRes is not None)): break if (self._latRes is None) or (self._lonRes is None): ntiles = 0 else: lats_agg = np.concatenate([tile.latitudes.compressed() for tile in nexus_tiles]) lons_agg = np.concatenate([tile.longitudes.compressed() for tile in nexus_tiles]) self._minLatCent = np.min(lats_agg) self._maxLatCent = np.max(lats_agg) self._minLonCent = np.min(lons_agg) self._maxLonCent = np.max(lons_agg) t -= t_incr return nexus_tiles def _find_tile_bounds(self, t): lats = t.latitudes lons = t.longitudes if (len(lats.compressed()) > 0) and (len(lons.compressed()) > 0): min_lat = np.ma.min(lats) max_lat = np.ma.max(lats) min_lon = np.ma.min(lons) max_lon = np.ma.max(lons) good_inds_lat = np.where(lats.mask == False)[0] good_inds_lon = np.where(lons.mask == False)[0] min_y = np.min(good_inds_lat) max_y = np.max(good_inds_lat) min_x = np.min(good_inds_lon) max_x = np.max(good_inds_lon) bounds = (min_lat, max_lat, min_lon, max_lon, min_y, max_y, min_x, max_x) else: self.log.warn('Nothing in this tile!') bounds = None return bounds @staticmethod def query_by_parts(tile_service, min_lat, max_lat, min_lon, max_lon, dataset, start_time, end_time, part_dim=0): nexus_max_tiles_per_query = 100 #print 'trying query: ',min_lat, max_lat, min_lon, max_lon, \ # dataset, start_time, end_time try: tiles = \ tile_service.find_tiles_in_box(min_lat, max_lat, min_lon, max_lon, dataset, start_time=start_time, end_time=end_time, fetch_data=False) assert(len(tiles) <= nexus_max_tiles_per_query) except: #print 'failed query: ',min_lat, max_lat, min_lon, max_lon, \ # dataset, start_time, end_time if part_dim == 0: # Partition by latitude. mid_lat = (min_lat + max_lat) / 2 nexus_tiles = SparkHandler.query_by_parts(tile_service, min_lat, mid_lat, min_lon, max_lon, dataset, start_time, end_time, part_dim=part_dim) nexus_tiles.extend(SparkHandler.query_by_parts(tile_service, mid_lat, max_lat, min_lon, max_lon, dataset, start_time, end_time, part_dim=part_dim)) elif part_dim == 1: # Partition by longitude. mid_lon = (min_lon + max_lon) / 2 nexus_tiles = SparkHandler.query_by_parts(tile_service, min_lat, max_lat, min_lon, mid_lon, dataset, start_time, end_time, part_dim=part_dim) nexus_tiles.extend(SparkHandler.query_by_parts(tile_service, min_lat, max_lat, mid_lon, max_lon, dataset, start_time, end_time, part_dim=part_dim)) elif part_dim == 2: # Partition by time. mid_time = (start_time + end_time) / 2 nexus_tiles = SparkHandler.query_by_parts(tile_service, min_lat, max_lat, min_lon, max_lon, dataset, start_time, mid_time, part_dim=part_dim) nexus_tiles.extend(SparkHandler.query_by_parts(tile_service, min_lat, max_lat, min_lon, max_lon, dataset, mid_time, end_time, part_dim=part_dim)) else: # No exception, so query Cassandra for the tile data. #print 'Making NEXUS query to Cassandra for %d tiles...' % \ # len(tiles) #t1 = time.time() #print 'NEXUS call start at time %f' % t1 #sys.stdout.flush() nexus_tiles = list(tile_service.fetch_data_for_tiles(*tiles)) nexus_tiles = list(tile_service.mask_tiles_to_bbox(min_lat, max_lat, min_lon, max_lon, nexus_tiles)) #t2 = time.time() #print 'NEXUS call end at time %f' % t2 #print 'Seconds in NEXUS call: ', t2-t1 #sys.stdout.flush() #print 'Returning %d tiles' % len(nexus_tiles) return nexus_tiles @staticmethod def _prune_tiles(nexus_tiles): del_ind = np.where([np.all(tile.data.mask) for tile in nexus_tiles])[0] for i in np.flipud(del_ind): del nexus_tiles[i] def _lat2ind(self,lat): return int((lat-self._minLatCent)/self._latRes) def _lon2ind(self,lon): return int((lon-self._minLonCent)/self._lonRes) def _ind2lat(self,y): return self._minLatCent+y*self._latRes def _ind2lon(self,x): return self._minLonCent+x*self._lonRes def _create_nc_file_time1d(self, a, fname, varname, varunits=None, fill=None): self.log.debug('a={0}'.format(a)) self.log.debug('shape a = {0}'.format(a.shape)) assert len(a.shape) == 1 time_dim = len(a) rootgrp = Dataset(fname, "w", format="NETCDF4") rootgrp.createDimension("time", time_dim) vals = rootgrp.createVariable(varname, "f4", dimensions=("time",), fill_value=fill) times = rootgrp.createVariable("time", "f4", dimensions=("time",)) vals[:] = [d['mean'] for d in a] times[:] = [d['time'] for d in a] if varunits is not None: vals.units = varunits times.units = 'seconds since 1970-01-01 00:00:00' rootgrp.close() def _create_nc_file_latlon2d(self, a, fname, varname, varunits=None, fill=None): self.log.debug('a={0}'.format(a)) self.log.debug('shape a = {0}'.format(a.shape)) assert len(a.shape) == 2 lat_dim, lon_dim = a.shape rootgrp = Dataset(fname, "w", format="NETCDF4") rootgrp.createDimension("lat", lat_dim) rootgrp.createDimension("lon", lon_dim) vals = rootgrp.createVariable(varname, "f4", dimensions=("lat","lon",), fill_value=fill) lats = rootgrp.createVariable("lat", "f4", dimensions=("lat",)) lons = rootgrp.createVariable("lon", "f4", dimensions=("lon",)) vals[:,:] = a lats[:] = np.linspace(self._minLatCent, self._maxLatCent, lat_dim) lons[:] = np.linspace(self._minLonCent, self._maxLonCent, lon_dim) if varunits is not None: vals.units = varunits lats.units = "degrees north" lons.units = "degrees east" rootgrp.close() def _create_nc_file(self, a, fname, varname, **kwargs): self._create_nc_file_latlon2d(a, fname, varname, **kwargs) def executeInitializers(config): [wrapper.init(config) for wrapper in AVAILABLE_INITIALIZERS]
[((442, 469), 'logging.getLogger', 'logging.getLogger', (['__name__'], {}), '(__name__)\n', (459, 469), False, 'import logging\n'), ((822, 849), 'logging.getLogger', 'logging.getLogger', (['__name__'], {}), '(__name__)\n', (839, 849), False, 'import logging\n'), ((2833, 2860), 'logging.getLogger', 'logging.getLogger', (['__name__'], {}), '(__name__)\n', (2850, 2860), False, 'import logging\n'), ((6028, 6069), 'nexustiles.nexustiles.NexusTileService', 'NexusTileService', (['skipCassandra', 'skipSolr'], {}), '(skipCassandra, skipSolr)\n', (6044, 6069), False, 'from nexustiles.nexustiles import NexusTileService\n'), ((9354, 9406), 'inspect.getmembers', 'inspect.getmembers', (['self'], {'predicate': 'inspect.ismethod'}), '(self, predicate=inspect.ismethod)\n', (9372, 9406), False, 'import inspect\n'), ((19654, 19672), 'numpy.flipud', 'np.flipud', (['del_ind'], {}), '(del_ind)\n', (19663, 19672), True, 'import numpy as np\n'), ((20313, 20350), 'netCDF4.Dataset', 'Dataset', (['fname', '"""w"""'], {'format': '"""NETCDF4"""'}), "(fname, 'w', format='NETCDF4')\n", (20320, 20350), False, 'from netCDF4 import Dataset\n'), ((21141, 21178), 'netCDF4.Dataset', 'Dataset', (['fname', '"""w"""'], {'format': '"""NETCDF4"""'}), "(fname, 'w', format='NETCDF4')\n", (21148, 21178), False, 'from netCDF4 import Dataset\n'), ((21632, 21688), 'numpy.linspace', 'np.linspace', (['self._minLatCent', 'self._maxLatCent', 'lat_dim'], {}), '(self._minLatCent, self._maxLatCent, lat_dim)\n', (21643, 21688), True, 'import numpy as np\n'), ((21738, 21794), 'numpy.linspace', 'np.linspace', (['self._minLonCent', 'self._maxLonCent', 'lon_dim'], {}), '(self._minLonCent, self._maxLonCent, lon_dim)\n', (21749, 21794), True, 'import numpy as np\n'), ((7719, 7746), 'logging.getLogger', 'logging.getLogger', (['__name__'], {}), '(__name__)\n', (7736, 7746), False, 'import logging\n'), ((8530, 8546), 'functools.wraps', 'wraps', (['calc_func'], {}), '(calc_func)\n', (8535, 8546), False, 'from functools import wraps\n'), ((13311, 13326), 'numpy.ma.min', 'np.ma.min', (['lats'], {}), '(lats)\n', (13320, 13326), True, 'import numpy as np\n'), ((13349, 13364), 'numpy.ma.max', 'np.ma.max', (['lats'], {}), '(lats)\n', (13358, 13364), True, 'import numpy as np\n'), ((13387, 13402), 'numpy.ma.min', 'np.ma.min', (['lons'], {}), '(lons)\n', (13396, 13402), True, 'import numpy as np\n'), ((13425, 13440), 'numpy.ma.max', 'np.ma.max', (['lons'], {}), '(lons)\n', (13434, 13440), True, 'import numpy as np\n'), ((13581, 13602), 'numpy.min', 'np.min', (['good_inds_lat'], {}), '(good_inds_lat)\n', (13587, 13602), True, 'import numpy as np\n'), ((13623, 13644), 'numpy.max', 'np.max', (['good_inds_lat'], {}), '(good_inds_lat)\n', (13629, 13644), True, 'import numpy as np\n'), ((13665, 13686), 'numpy.min', 'np.min', (['good_inds_lon'], {}), '(good_inds_lon)\n', (13671, 13686), True, 'import numpy as np\n'), ((13707, 13728), 'numpy.max', 'np.max', (['good_inds_lon'], {}), '(good_inds_lon)\n', (13713, 13728), True, 'import numpy as np\n'), ((13469, 13497), 'numpy.where', 'np.where', (['(lats.mask == False)'], {}), '(lats.mask == False)\n', (13477, 13497), True, 'import numpy as np\n'), ((13529, 13557), 'numpy.where', 'np.where', (['(lons.mask == False)'], {}), '(lons.mask == False)\n', (13537, 13557), True, 'import numpy as np\n'), ((6304, 6315), 'time.time', 'time.time', ([], {}), '()\n', (6313, 6315), False, 'import time\n'), ((12887, 12903), 'numpy.min', 'np.min', (['lats_agg'], {}), '(lats_agg)\n', (12893, 12903), True, 'import numpy as np\n'), ((12943, 12959), 'numpy.max', 'np.max', (['lats_agg'], {}), '(lats_agg)\n', (12949, 12959), True, 'import numpy as np\n'), ((12999, 13015), 'numpy.min', 'np.min', (['lons_agg'], {}), '(lons_agg)\n', (13005, 13015), True, 'import numpy as np\n'), ((13055, 13071), 'numpy.max', 'np.max', (['lons_agg'], {}), '(lons_agg)\n', (13061, 13071), True, 'import numpy as np\n'), ((19585, 19607), 'numpy.all', 'np.all', (['tile.data.mask'], {}), '(tile.data.mask)\n', (19591, 19607), True, 'import numpy as np\n'), ((9150, 9256), 'webservice.webmodel.NexusProcessingException', 'NexusProcessingException', ([], {'code': '(503)', 'reason': '"""Max concurrent requests reached. Please try again later."""'}), "(code=503, reason=\n 'Max concurrent requests reached. Please try again later.')\n", (9174, 9256), False, 'from webservice.webmodel import NexusProcessingException\n')]
ming71/SLA
utils/box/metric.py
7024b093bc0d456b274314ebeae3bc500c2db65a
import numpy as np from collections import defaultdict, Counter from .rbbox_np import rbbox_iou def get_ap(recall, precision): recall = [0] + list(recall) + [1] precision = [0] + list(precision) + [0] for i in range(len(precision) - 1, 0, -1): precision[i - 1] = max(precision[i - 1], precision[i]) ap = sum((recall[i] - recall[i - 1]) * precision[i] for i in range(1, len(recall)) if recall[i] != recall[i - 1]) return ap * 100 def get_ap_07(recall, precision): ap = 0. for t in np.linspace(0, 1, 11, endpoint=True): mask = recall >= t if np.any(mask): ap += np.max(precision[mask]) / 11 return ap * 100 def get_det_aps(detect, target, num_classes, iou_thresh=0.5, use_07_metric=False): # [[index, bbox, score, label], ...] aps = [] for c in range(num_classes): target_c = list(filter(lambda x: x[3] == c, target)) detect_c = filter(lambda x: x[3] == c, detect) detect_c = sorted(detect_c, key=lambda x: x[2], reverse=True) tp = np.zeros(len(detect_c)) fp = np.zeros(len(detect_c)) target_count = Counter([x[0] for x in target_c]) target_count = {index: np.zeros(count) for index, count in target_count.items()} target_lut = defaultdict(list) for index, bbox, conf, label in target_c: target_lut[index].append(bbox) detect_lut = defaultdict(list) for index, bbox, conf, label in detect_c: detect_lut[index].append(bbox) iou_lut = dict() for index, bboxes in detect_lut.items(): if index in target_lut: iou_lut[index] = rbbox_iou(np.stack(bboxes), np.stack(target_lut[index])) counter = defaultdict(int) for i, (index, bbox, conf, label) in enumerate(detect_c): count = counter[index] counter[index] += 1 iou_max = -np.inf hit_j = 0 if index in iou_lut: for j, iou in enumerate(iou_lut[index][count]): if iou > iou_max: iou_max = iou hit_j = j if iou_max > iou_thresh and target_count[index][hit_j] == 0: tp[i] = 1 target_count[index][hit_j] = 1 else: fp[i] = 1 tp_sum = np.cumsum(tp) fp_sum = np.cumsum(fp) npos = len(target_c) recall = tp_sum / npos precision = tp_sum / (tp_sum + fp_sum) aps.append((get_ap_07 if use_07_metric else get_ap)(recall, precision)) return aps
[((522, 558), 'numpy.linspace', 'np.linspace', (['(0)', '(1)', '(11)'], {'endpoint': '(True)'}), '(0, 1, 11, endpoint=True)\n', (533, 558), True, 'import numpy as np\n'), ((598, 610), 'numpy.any', 'np.any', (['mask'], {}), '(mask)\n', (604, 610), True, 'import numpy as np\n'), ((1134, 1167), 'collections.Counter', 'Counter', (['[x[0] for x in target_c]'], {}), '([x[0] for x in target_c])\n', (1141, 1167), False, 'from collections import defaultdict, Counter\n'), ((1278, 1295), 'collections.defaultdict', 'defaultdict', (['list'], {}), '(list)\n', (1289, 1295), False, 'from collections import defaultdict, Counter\n'), ((1410, 1427), 'collections.defaultdict', 'defaultdict', (['list'], {}), '(list)\n', (1421, 1427), False, 'from collections import defaultdict, Counter\n'), ((1739, 1755), 'collections.defaultdict', 'defaultdict', (['int'], {}), '(int)\n', (1750, 1755), False, 'from collections import defaultdict, Counter\n'), ((2355, 2368), 'numpy.cumsum', 'np.cumsum', (['tp'], {}), '(tp)\n', (2364, 2368), True, 'import numpy as np\n'), ((2386, 2399), 'numpy.cumsum', 'np.cumsum', (['fp'], {}), '(fp)\n', (2395, 2399), True, 'import numpy as np\n'), ((1199, 1214), 'numpy.zeros', 'np.zeros', (['count'], {}), '(count)\n', (1207, 1214), True, 'import numpy as np\n'), ((630, 653), 'numpy.max', 'np.max', (['precision[mask]'], {}), '(precision[mask])\n', (636, 653), True, 'import numpy as np\n'), ((1674, 1690), 'numpy.stack', 'np.stack', (['bboxes'], {}), '(bboxes)\n', (1682, 1690), True, 'import numpy as np\n'), ((1692, 1719), 'numpy.stack', 'np.stack', (['target_lut[index]'], {}), '(target_lut[index])\n', (1700, 1719), True, 'import numpy as np\n')]
winstonschroeder/setlistmanager
app.py
3c177a8da4bd56049964076f6ead51e3fffff5fa
import logging import pygame from app import * from pygame.locals import * from werkzeug.serving import run_simple from web import webapp as w import data_access as da logging.basicConfig(filename='setlistmanager.log', level=logging.DEBUG) SCREEN_WIDTH = 160 SCREEN_HEIGHT = 128 class Button: pass class Text(): """Create a text object.""" def __init__(self, surface, text, pos, **options): self.text = text self.surface = surface self.pos = pos self.bold = True self.italic = False self.underline = False self.background = None # Color('white') self.font = pygame.font.SysFont('Arial', 64) self.fontname = None # 'Free Sans' self.fontsize = 40 self.fontcolor = Color('black') self.set_font() da.connect_db('db.db') songs = da.get_all_songs_as_json() print (songs) # self.words = [word.split(' ') for word in self.text.splitlines()] # 2D array where each row is a list of words. # self.space = self.font.size(' ')[0] # The width of a space. # max_width, max_height = self.surface.get_size() # x, y = self.pos # for line in self.words: # for word in line: # word_surface = self.font.render(word, 0, self.fontcolor) # # print(word) # word_width, word_height = word_surface.get_size() # if x + word_width >= max_width: # x = pos[0] # Reset the x. # y += word_height # Start on new row. # surface.blit(word_surface, (x, y)) # x += word_width + self.space # x = pos[0] # Reset the x. # y += word_height # Start on new row. self.render() def set_font(self): """Set the font from its name and size.""" self.font = pygame.font.Font(self.fontname, self.fontsize) self.font.set_bold(self.bold) self.font.set_italic(self.italic) self.font.set_underline(self.underline) def render(self): """Render the text into an image.""" self.img = self.font.render(self.text, True, self.fontcolor, self.background) self.rect = self.img.get_rect() self.rect.size = self.img.get_size() self.rect.topleft = self.pos def draw(self): """Draw the text image to the screen.""" # Put the center of surf at the center of the display surf_center = ( (SCREEN_WIDTH - self.rect.width)/2, (SCREEN_HEIGHT - self.rect.height)/2 ) App.screen.blit(self.img, surf_center) # App.screen.blit(self.img, self.rect) class App: """Create a single-window app with multiple scenes.""" def __init__(self): """Initialize pygame and the application.""" logging.debug('Initializing App') pygame.init() pygame.mouse.set_cursor((8, 8), (0, 0), (0, 0, 0, 0, 0, 0, 0, 0), (0, 0, 0, 0, 0, 0, 0, 0)) self.shortcuts = { (K_x, KMOD_LMETA): 'print("cmd+X")', (K_x, KMOD_LALT): 'print("alt+X")', (K_x, KMOD_LCTRL): 'print("ctrl+X")', (K_x, KMOD_LMETA + KMOD_LSHIFT): 'print("cmd+shift+X")', (K_x, KMOD_LMETA + KMOD_LALT): 'print("cmd+alt+X")', (K_x, KMOD_LMETA + KMOD_LALT + KMOD_LSHIFT): 'print("cmd+alt+shift+X")', } self.color = Color('green') self.flags = RESIZABLE self.rect = Rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT) App.screen = pygame.display.set_mode(self.rect.size, self.flags) App.t = Text(App.screen, 'Chorus', pos=(0, 0)) App.running = True def run(self): """Run the main event loop.""" logging.debug('entering method run') app = w.create_app() run_simple('127.0.0.1', 5000, app, use_debugger=True, use_reloader=True) logging.debug('after start of flask') while App.running: logging.debug('.') for event in pygame.event.get(): if event.type == QUIT: App.running = False if event.type == KEYDOWN: self.do_shortcut(event) App.screen.fill(self.color) App.t.draw() pygame.display.update() logging.debug('exiting setlistmanager') pygame.quit() def do_shortcut(self, event): """Find the the key/mod combination in the dictionary and execute the cmd.""" k = event.key m = event.mod if (k, m) in self.shortcuts: exec(self.shortcuts[k, m]) def toggle_fullscreen(self): """Toggle between full screen and windowed screen.""" self.flags ^= FULLSCREEN pygame.display.set_mode((0, 0), self.flags) def toggle_resizable(self): """Toggle between resizable and fixed-size window.""" self.flags ^= RESIZABLE pygame.display.set_mode(self.rect.size, self.flags) def toggle_frame(self): """Toggle between frame and noframe window.""" self.flags ^= NOFRAME pygame.display.set_mode(self.rect.size, self.flags)
[((171, 242), 'logging.basicConfig', 'logging.basicConfig', ([], {'filename': '"""setlistmanager.log"""', 'level': 'logging.DEBUG'}), "(filename='setlistmanager.log', level=logging.DEBUG)\n", (190, 242), False, 'import logging\n'), ((641, 673), 'pygame.font.SysFont', 'pygame.font.SysFont', (['"""Arial"""', '(64)'], {}), "('Arial', 64)\n", (660, 673), False, 'import pygame\n'), ((816, 838), 'data_access.connect_db', 'da.connect_db', (['"""db.db"""'], {}), "('db.db')\n", (829, 838), True, 'import data_access as da\n'), ((855, 881), 'data_access.get_all_songs_as_json', 'da.get_all_songs_as_json', ([], {}), '()\n', (879, 881), True, 'import data_access as da\n'), ((1895, 1941), 'pygame.font.Font', 'pygame.font.Font', (['self.fontname', 'self.fontsize'], {}), '(self.fontname, self.fontsize)\n', (1911, 1941), False, 'import pygame\n'), ((2861, 2894), 'logging.debug', 'logging.debug', (['"""Initializing App"""'], {}), "('Initializing App')\n", (2874, 2894), False, 'import logging\n'), ((2903, 2916), 'pygame.init', 'pygame.init', ([], {}), '()\n', (2914, 2916), False, 'import pygame\n'), ((2925, 3020), 'pygame.mouse.set_cursor', 'pygame.mouse.set_cursor', (['(8, 8)', '(0, 0)', '(0, 0, 0, 0, 0, 0, 0, 0)', '(0, 0, 0, 0, 0, 0, 0, 0)'], {}), '((8, 8), (0, 0), (0, 0, 0, 0, 0, 0, 0, 0), (0, 0, 0,\n 0, 0, 0, 0, 0))\n', (2948, 3020), False, 'import pygame\n'), ((3568, 3619), 'pygame.display.set_mode', 'pygame.display.set_mode', (['self.rect.size', 'self.flags'], {}), '(self.rect.size, self.flags)\n', (3591, 3619), False, 'import pygame\n'), ((3769, 3805), 'logging.debug', 'logging.debug', (['"""entering method run"""'], {}), "('entering method run')\n", (3782, 3805), False, 'import logging\n'), ((3821, 3835), 'web.webapp.create_app', 'w.create_app', ([], {}), '()\n', (3833, 3835), True, 'from web import webapp as w\n'), ((3844, 3916), 'werkzeug.serving.run_simple', 'run_simple', (['"""127.0.0.1"""', '(5000)', 'app'], {'use_debugger': '(True)', 'use_reloader': '(True)'}), "('127.0.0.1', 5000, app, use_debugger=True, use_reloader=True)\n", (3854, 3916), False, 'from werkzeug.serving import run_simple\n'), ((3926, 3963), 'logging.debug', 'logging.debug', (['"""after start of flask"""'], {}), "('after start of flask')\n", (3939, 3963), False, 'import logging\n'), ((4341, 4380), 'logging.debug', 'logging.debug', (['"""exiting setlistmanager"""'], {}), "('exiting setlistmanager')\n", (4354, 4380), False, 'import logging\n'), ((4389, 4402), 'pygame.quit', 'pygame.quit', ([], {}), '()\n', (4400, 4402), False, 'import pygame\n'), ((4781, 4824), 'pygame.display.set_mode', 'pygame.display.set_mode', (['(0, 0)', 'self.flags'], {}), '((0, 0), self.flags)\n', (4804, 4824), False, 'import pygame\n'), ((4960, 5011), 'pygame.display.set_mode', 'pygame.display.set_mode', (['self.rect.size', 'self.flags'], {}), '(self.rect.size, self.flags)\n', (4983, 5011), False, 'import pygame\n'), ((5134, 5185), 'pygame.display.set_mode', 'pygame.display.set_mode', (['self.rect.size', 'self.flags'], {}), '(self.rect.size, self.flags)\n', (5157, 5185), False, 'import pygame\n'), ((4003, 4021), 'logging.debug', 'logging.debug', (['"""."""'], {}), "('.')\n", (4016, 4021), False, 'import logging\n'), ((4047, 4065), 'pygame.event.get', 'pygame.event.get', ([], {}), '()\n', (4063, 4065), False, 'import pygame\n'), ((4309, 4332), 'pygame.display.update', 'pygame.display.update', ([], {}), '()\n', (4330, 4332), False, 'import pygame\n')]
Praznat/annotationmodeling
sim_keypoints.py
014b8b94b2225f947691c18b26eb8a4b148d2c8a
import json import pandas as pd import numpy as np from matplotlib import pyplot as plt import simulation from eval_functions import oks_score_multi import utils def alter_location(points, x_offset, y_offset): x, y = points.T return np.array([x + x_offset, y + y_offset]).T def alter_rotation(points, radians): centroid = np.mean(points, axis=0) return utils.rotate_via_numpy((points - centroid).T, radians) + centroid def alter_magnitude(points, percent_diff): centroid = np.mean(points, axis=0) return (points - centroid) * np.exp(percent_diff) + centroid def alter_normal_jump(points, scale): return points + np.random.normal(0, scale, points.shape) def alter_cauchy_jump(points, scale, abs_bound): return points + utils.bounded_cauchy(scale, points.shape, abs_bound) def disappear(points, p_disappear): return None if np.random.uniform() < p_disappear else points def shift_by_uerr(annotation, uerr): shifts = [ alter_rotation(annotation, np.random.normal(0, 0.5 * uerr) * np.pi / 8), alter_magnitude(annotation, np.random.normal(0, 0.3 * uerr)), alter_normal_jump(annotation, 30 * uerr), alter_cauchy_jump(annotation, 30 * uerr, 100), ] return np.mean(shifts, axis=0) * np.abs(np.sign(annotation)) def create_user_data(uid, df, pct_items, u_err, difficulty_dict=None, extraarg=None): items = df["item"].unique() n_items_labeled = int(np.round(pct_items * len(items))) items_labeled = sorted(np.random.choice(items, n_items_labeled, replace=False)) labels = [] for item in items_labeled: gold = df[df["item"] == item]["gold"].values[0] shifted_kpobjs = [shift_by_uerr(kpobj, u_err) for kpobj in gold] kpobjs = [shifted_kpobjs[0]] + [disappear(kp, u_err / 2) for kp in shifted_kpobjs[1:]] kpobjs = [kp for kp in kpobjs if kp is not None] labels.append(kpobjs) dfdict = { "uid": [uid] * len(items_labeled), "item": items_labeled, "annotation": labels, } return pd.DataFrame(dfdict) class KeypointSimulator(simulation.Simulator): def __init__(self, rawdata_dir='data/coco/person_keypoints_train2017.json', max_items=500, minlabelsperitem=4): with open(rawdata_dir) as f: dataset = json.load(f) self.category_id_skeletons = {c["id"]: np.array(c["skeleton"])-1 for c in iter(dataset["categories"])} img_label = {} for dataset_annotation in iter(dataset["annotations"]): v = img_label.setdefault(dataset_annotation["image_id"], []) v.append(dataset_annotation) img_label_minlen = {k: v for k, v in img_label.items() if len(v) >= minlabelsperitem} i = 0 rows = [] item = [] annotation = [] category = [] for dataset_annotations in iter(img_label_minlen.values()): for dataset_annotation in dataset_annotations: kp = np.reshape(dataset_annotation["keypoints"], (-1,3)) kp = kp[kp[:,2]>-90][:,:2] if len(kp) == 0: continue item.append(dataset_annotation["image_id"]) annotation.append(kp) category.append(dataset_annotation["category_id"]) i += 1 if i > max_items: break kp_df = pd.DataFrame({"item":item, "gold":annotation, "category":category}) self.df = kp_df.groupby("item")["gold"].apply(list).reset_index() self.itemdict = utils.make_categorical(self.df, "item") def create_stan_data(self, n_users, pct_items, err_rates, difficulty_dict): self.err_rates = err_rates self.difficulty_dict = difficulty_dict self.sim_df = simulation.create_sim_df(create_user_data, self.df, n_users, pct_items, err_rates, difficulty_dict) stan_data = utils.calc_distances(self.sim_df, (lambda x,y: 1 - oks_score_multi(x, y)), label_colname="annotation", item_colname="item") return stan_data def sim_uerr_fn(self, uerr_a, uerr_b, n_users): z = np.abs(np.random.normal(uerr_a, uerr_b, 10000)) return np.quantile(z, np.linspace(0,1,n_users+2)[1:-1]) def sim_diff_fn(self, difficulty_a, difficulty_b): z = 1 * np.random.beta(difficulty_a, difficulty_b, 10000) n_items = len(self.df["item"].unique()) return dict(zip(np.arange(n_items), np.quantile(z, np.linspace(0,1,n_items+2)[1:-1])))
[((336, 359), 'numpy.mean', 'np.mean', (['points'], {'axis': '(0)'}), '(points, axis=0)\n', (343, 359), True, 'import numpy as np\n'), ((496, 519), 'numpy.mean', 'np.mean', (['points'], {'axis': '(0)'}), '(points, axis=0)\n', (503, 519), True, 'import numpy as np\n'), ((2047, 2067), 'pandas.DataFrame', 'pd.DataFrame', (['dfdict'], {}), '(dfdict)\n', (2059, 2067), True, 'import pandas as pd\n'), ((242, 280), 'numpy.array', 'np.array', (['[x + x_offset, y + y_offset]'], {}), '([x + x_offset, y + y_offset])\n', (250, 280), True, 'import numpy as np\n'), ((371, 425), 'utils.rotate_via_numpy', 'utils.rotate_via_numpy', (['(points - centroid).T', 'radians'], {}), '((points - centroid).T, radians)\n', (393, 425), False, 'import utils\n'), ((644, 684), 'numpy.random.normal', 'np.random.normal', (['(0)', 'scale', 'points.shape'], {}), '(0, scale, points.shape)\n', (660, 684), True, 'import numpy as np\n'), ((755, 807), 'utils.bounded_cauchy', 'utils.bounded_cauchy', (['scale', 'points.shape', 'abs_bound'], {}), '(scale, points.shape, abs_bound)\n', (775, 807), False, 'import utils\n'), ((1236, 1259), 'numpy.mean', 'np.mean', (['shifts'], {'axis': '(0)'}), '(shifts, axis=0)\n', (1243, 1259), True, 'import numpy as np\n'), ((1496, 1551), 'numpy.random.choice', 'np.random.choice', (['items', 'n_items_labeled'], {'replace': '(False)'}), '(items, n_items_labeled, replace=False)\n', (1512, 1551), True, 'import numpy as np\n'), ((3383, 3453), 'pandas.DataFrame', 'pd.DataFrame', (["{'item': item, 'gold': annotation, 'category': category}"], {}), "({'item': item, 'gold': annotation, 'category': category})\n", (3395, 3453), True, 'import pandas as pd\n'), ((3549, 3588), 'utils.make_categorical', 'utils.make_categorical', (['self.df', '"""item"""'], {}), "(self.df, 'item')\n", (3571, 3588), False, 'import utils\n'), ((3774, 3877), 'simulation.create_sim_df', 'simulation.create_sim_df', (['create_user_data', 'self.df', 'n_users', 'pct_items', 'err_rates', 'difficulty_dict'], {}), '(create_user_data, self.df, n_users, pct_items,\n err_rates, difficulty_dict)\n', (3798, 3877), False, 'import simulation\n'), ((553, 573), 'numpy.exp', 'np.exp', (['percent_diff'], {}), '(percent_diff)\n', (559, 573), True, 'import numpy as np\n'), ((864, 883), 'numpy.random.uniform', 'np.random.uniform', ([], {}), '()\n', (881, 883), True, 'import numpy as np\n'), ((1080, 1111), 'numpy.random.normal', 'np.random.normal', (['(0)', '(0.3 * uerr)'], {}), '(0, 0.3 * uerr)\n', (1096, 1111), True, 'import numpy as np\n'), ((1269, 1288), 'numpy.sign', 'np.sign', (['annotation'], {}), '(annotation)\n', (1276, 1288), True, 'import numpy as np\n'), ((2291, 2303), 'json.load', 'json.load', (['f'], {}), '(f)\n', (2300, 2303), False, 'import json\n'), ((4115, 4154), 'numpy.random.normal', 'np.random.normal', (['uerr_a', 'uerr_b', '(10000)'], {}), '(uerr_a, uerr_b, 10000)\n', (4131, 4154), True, 'import numpy as np\n'), ((4296, 4345), 'numpy.random.beta', 'np.random.beta', (['difficulty_a', 'difficulty_b', '(10000)'], {}), '(difficulty_a, difficulty_b, 10000)\n', (4310, 4345), True, 'import numpy as np\n'), ((2351, 2374), 'numpy.array', 'np.array', (["c['skeleton']"], {}), "(c['skeleton'])\n", (2359, 2374), True, 'import numpy as np\n'), ((2974, 3026), 'numpy.reshape', 'np.reshape', (["dataset_annotation['keypoints']", '(-1, 3)'], {}), "(dataset_annotation['keypoints'], (-1, 3))\n", (2984, 3026), True, 'import numpy as np\n'), ((4186, 4216), 'numpy.linspace', 'np.linspace', (['(0)', '(1)', '(n_users + 2)'], {}), '(0, 1, n_users + 2)\n', (4197, 4216), True, 'import numpy as np\n'), ((4418, 4436), 'numpy.arange', 'np.arange', (['n_items'], {}), '(n_items)\n', (4427, 4436), True, 'import numpy as np\n'), ((998, 1029), 'numpy.random.normal', 'np.random.normal', (['(0)', '(0.5 * uerr)'], {}), '(0, 0.5 * uerr)\n', (1014, 1029), True, 'import numpy as np\n'), ((3945, 3966), 'eval_functions.oks_score_multi', 'oks_score_multi', (['x', 'y'], {}), '(x, y)\n', (3960, 3966), False, 'from eval_functions import oks_score_multi\n'), ((4453, 4483), 'numpy.linspace', 'np.linspace', (['(0)', '(1)', '(n_items + 2)'], {}), '(0, 1, n_items + 2)\n', (4464, 4483), True, 'import numpy as np\n')]
Loptt/home-automation-system
local/controller.py
f1878596905e022d1d626d485d1a29dc7212f480
import requests import time import os import sys import json import threading from getpass import getpass import schedule import event as e import configuration as c import RPi.GPIO as GPIO #SERVER_URL = "https://home-automation-289621.uc.r.appspot.com" #SERVER_URL = "http://127.0.0.1:4747" SERVER_URL = "http://192.168.11.117:4747" pins = [2, 3, 4, 7, 8, 9, 10, 11, 14, 15, 17, 18, 22, 23, 24, 27] def calculate_max_duration(time): hours = 23 - time.hour minutes = 60 - time.minute return hours * 60 + minutes def turn_on(pin): print("Turn on " + str(pin)) GPIO.output(pin, GPIO.HIGH) def turn_off(pin): print("Turn off " + str(pin)) GPIO.output(pin, GPIO.LOW) def schedule_off(time, day, duration, pin): new_day = day end_time = e.Time(0, 0) if duration > calculate_max_duration(time): # Next day calculation new_day = day + 1 off_duration = duration - calculate_max_duration(time) end_time.hour = off_duration // 60 end_time.minute = off_duration % 60 else: # Same day calculation end_time.hour = time.hour + \ (duration // 60) + (time.minute + (duration % 60)) // 60 end_time.minute = (time.minute + duration % 60) % 60 if new_day > 7: new_day = 1 if new_day == 1: schedule.every().monday.at(str(end_time)).do(turn_off, pin) elif new_day == 2: schedule.every().tuesday.at(str(end_time)).do(turn_off, pin) elif new_day == 3: schedule.every().wednesday.at(str(end_time)).do(turn_off, pin) elif new_day == 4: schedule.every().thursday.at(str(end_time)).do(turn_off, pin) elif new_day == 5: schedule.every().friday.at(str(end_time)).do(turn_off, pin) elif new_day == 6: schedule.every().saturday.at(str(end_time)).do(turn_off, pin) elif new_day == 7: schedule.every().sunday.at(str(end_time)).do(turn_off, pin) def schedule_job(event): GPIO.setup(event.pin, GPIO.OUT) if len(event.days) == 0 or len(event.days) == 7: schedule.every().day.at(str(event.time)).do(turn_on, event.pin) else: if 1 in event.days: schedule.every().monday.at(str(event.time)).do(turn_on, event.pin) schedule_off(event.time, 1, event.duration, event.pin) if 2 in event.days: schedule.every().tuesday.at(str(event.time)).do(turn_on, event.pin) schedule_off(event.time, 2, event.duration, event.pin) if 3 in event.days: schedule.every().wednesday.at(str(event.time)).do(turn_on, event.pin) schedule_off(event.time, 3, event.duration, event.pin) if 4 in event.days: schedule.every().thursday.at(str(event.time)).do(turn_on, event.pin) schedule_off(event.time, 4, event.duration, event.pin) if 5 in event.days: schedule.every().friday.at(str(event.time)).do(turn_on, event.pin) schedule_off(event.time, 5, event.duration, event.pin) if 6 in event.days: schedule.every().saturday.at(str(event.time)).do(turn_on, event.pin) schedule_off(event.time, 6, event.duration, event.pin) if 7 in event.days: schedule.every().sunday.at(str(event.time)).do(turn_on, event.pin) schedule_off(event.time, 7, event.duration, event.pin) def run_scheduling(): while True: schedule.run_pending() time.sleep(1) def initial_setup(): username = input("Enter your username: ") password = getpass("Enter your password: ") pload = json.dumps({"username": username, "password": password}) r = requests.post(SERVER_URL + "/login", data=pload, headers={'Content-type': 'application/json'}) r_dict = r.json() if not r_dict["valid"]: print("Invalid username/password") print("Run program again to try again") sys.exit() print("Successful login...") print("Saving configuration...") f = open("config.txt", "w") f.write(r_dict["user"]) f.close() return r_dict["user"] def get_user(): f = open("config.txt", "r") user = f.readline() r = requests.get(SERVER_URL + "/users/" + user) if r.status_code == 200: print("Successful login...") return user else: print("Invalid user... Reinitializing configuration") return initial_setup() def get_configuration(user): r = requests.get(SERVER_URL + "/configurations/by-user/" + user) if r.status_code != 200: print("Error retrieving configuration, check internet connection.") sys.exit() r_dict = r.json() return c.Configuration( r_dict["systemStatus"], r_dict["rainPercentage"], r_dict["defaultDuration"], r_dict["update"], r_dict["_id"]) def set_update_off(configuration): r = requests.put( SERVER_URL + "/configurations/set-off-update/" + configuration.id) if r.status_code >= 400: print( "Error updating configuration status... Possible reconfiguration on next cycle") else: print("Update set off.") def update_schedules(user): r = requests.get( SERVER_URL + "/devices/by-user-with-events/" + user) devices = r.json() schedule.clear() GPIO.cleanup() for device in devices: for event in device["events"]: print(event) schedule_job(e.Event( device["pin"], event["days"], e.Time(event["time"]["hour"], event["time"]["minute"]), e.Repetition(event["repetition"]["times"], event["repetition"]["date"], event["repetition"]["current"]), event["duration"])) def setup(): GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) for pin in pins: GPIO.setup(pin, GPIO.OUT, initial=GPIO.LOW) GPIO.cleanup() def main(): setup() user = "" if not os.path.isfile("./config.txt"): print("No configuration found... Initializing configuration") user = initial_setup() else: print("Validating user...") user = get_user() print("Initializing routine...") # Initialize separate thread to run scheduling jobs thread = threading.Thread(None, run_scheduling, "Schedule") thread.start() print("Schedule running.") while True: configuration = get_configuration(user) if configuration.update: print("Updating schedule...") update_schedules(user) set_update_off(configuration) time.sleep(1) thread.join() if __name__ == "__main__": main()
[((586, 613), 'RPi.GPIO.output', 'GPIO.output', (['pin', 'GPIO.HIGH'], {}), '(pin, GPIO.HIGH)\n', (597, 613), True, 'import RPi.GPIO as GPIO\n'), ((673, 699), 'RPi.GPIO.output', 'GPIO.output', (['pin', 'GPIO.LOW'], {}), '(pin, GPIO.LOW)\n', (684, 699), True, 'import RPi.GPIO as GPIO\n'), ((779, 791), 'event.Time', 'e.Time', (['(0)', '(0)'], {}), '(0, 0)\n', (785, 791), True, 'import event as e\n'), ((1973, 2004), 'RPi.GPIO.setup', 'GPIO.setup', (['event.pin', 'GPIO.OUT'], {}), '(event.pin, GPIO.OUT)\n', (1983, 2004), True, 'import RPi.GPIO as GPIO\n'), ((3544, 3576), 'getpass.getpass', 'getpass', (['"""Enter your password: """'], {}), "('Enter your password: ')\n", (3551, 3576), False, 'from getpass import getpass\n'), ((3590, 3646), 'json.dumps', 'json.dumps', (["{'username': username, 'password': password}"], {}), "({'username': username, 'password': password})\n", (3600, 3646), False, 'import json\n'), ((3656, 3754), 'requests.post', 'requests.post', (["(SERVER_URL + '/login')"], {'data': 'pload', 'headers': "{'Content-type': 'application/json'}"}), "(SERVER_URL + '/login', data=pload, headers={'Content-type':\n 'application/json'})\n", (3669, 3754), False, 'import requests\n'), ((4189, 4232), 'requests.get', 'requests.get', (["(SERVER_URL + '/users/' + user)"], {}), "(SERVER_URL + '/users/' + user)\n", (4201, 4232), False, 'import requests\n'), ((4463, 4523), 'requests.get', 'requests.get', (["(SERVER_URL + '/configurations/by-user/' + user)"], {}), "(SERVER_URL + '/configurations/by-user/' + user)\n", (4475, 4523), False, 'import requests\n'), ((4684, 4814), 'configuration.Configuration', 'c.Configuration', (["r_dict['systemStatus']", "r_dict['rainPercentage']", "r_dict['defaultDuration']", "r_dict['update']", "r_dict['_id']"], {}), "(r_dict['systemStatus'], r_dict['rainPercentage'], r_dict[\n 'defaultDuration'], r_dict['update'], r_dict['_id'])\n", (4699, 4814), True, 'import configuration as c\n'), ((4864, 4943), 'requests.put', 'requests.put', (["(SERVER_URL + '/configurations/set-off-update/' + configuration.id)"], {}), "(SERVER_URL + '/configurations/set-off-update/' + configuration.id)\n", (4876, 4943), False, 'import requests\n'), ((5172, 5237), 'requests.get', 'requests.get', (["(SERVER_URL + '/devices/by-user-with-events/' + user)"], {}), "(SERVER_URL + '/devices/by-user-with-events/' + user)\n", (5184, 5237), False, 'import requests\n'), ((5276, 5292), 'schedule.clear', 'schedule.clear', ([], {}), '()\n', (5290, 5292), False, 'import schedule\n'), ((5297, 5311), 'RPi.GPIO.cleanup', 'GPIO.cleanup', ([], {}), '()\n', (5309, 5311), True, 'import RPi.GPIO as GPIO\n'), ((5684, 5706), 'RPi.GPIO.setmode', 'GPIO.setmode', (['GPIO.BCM'], {}), '(GPIO.BCM)\n', (5696, 5706), True, 'import RPi.GPIO as GPIO\n'), ((5711, 5734), 'RPi.GPIO.setwarnings', 'GPIO.setwarnings', (['(False)'], {}), '(False)\n', (5727, 5734), True, 'import RPi.GPIO as GPIO\n'), ((5813, 5827), 'RPi.GPIO.cleanup', 'GPIO.cleanup', ([], {}), '()\n', (5825, 5827), True, 'import RPi.GPIO as GPIO\n'), ((6192, 6242), 'threading.Thread', 'threading.Thread', (['None', 'run_scheduling', '"""Schedule"""'], {}), "(None, run_scheduling, 'Schedule')\n", (6208, 6242), False, 'import threading\n'), ((3415, 3437), 'schedule.run_pending', 'schedule.run_pending', ([], {}), '()\n', (3435, 3437), False, 'import schedule\n'), ((3446, 3459), 'time.sleep', 'time.sleep', (['(1)'], {}), '(1)\n', (3456, 3459), False, 'import time\n'), ((3923, 3933), 'sys.exit', 'sys.exit', ([], {}), '()\n', (3931, 3933), False, 'import sys\n'), ((4638, 4648), 'sys.exit', 'sys.exit', ([], {}), '()\n', (4646, 4648), False, 'import sys\n'), ((5764, 5807), 'RPi.GPIO.setup', 'GPIO.setup', (['pin', 'GPIO.OUT'], {'initial': 'GPIO.LOW'}), '(pin, GPIO.OUT, initial=GPIO.LOW)\n', (5774, 5807), True, 'import RPi.GPIO as GPIO\n'), ((5879, 5909), 'os.path.isfile', 'os.path.isfile', (['"""./config.txt"""'], {}), "('./config.txt')\n", (5893, 5909), False, 'import os\n'), ((6519, 6532), 'time.sleep', 'time.sleep', (['(1)'], {}), '(1)\n', (6529, 6532), False, 'import time\n'), ((5484, 5538), 'event.Time', 'e.Time', (["event['time']['hour']", "event['time']['minute']"], {}), "(event['time']['hour'], event['time']['minute'])\n", (5490, 5538), True, 'import event as e\n'), ((5540, 5647), 'event.Repetition', 'e.Repetition', (["event['repetition']['times']", "event['repetition']['date']", "event['repetition']['current']"], {}), "(event['repetition']['times'], event['repetition']['date'],\n event['repetition']['current'])\n", (5552, 5647), True, 'import event as e\n'), ((1328, 1344), 'schedule.every', 'schedule.every', ([], {}), '()\n', (1342, 1344), False, 'import schedule\n'), ((2067, 2083), 'schedule.every', 'schedule.every', ([], {}), '()\n', (2081, 2083), False, 'import schedule\n'), ((1419, 1435), 'schedule.every', 'schedule.every', ([], {}), '()\n', (1433, 1435), False, 'import schedule\n'), ((2181, 2197), 'schedule.every', 'schedule.every', ([], {}), '()\n', (2195, 2197), False, 'import schedule\n'), ((2355, 2371), 'schedule.every', 'schedule.every', ([], {}), '()\n', (2369, 2371), False, 'import schedule\n'), ((2530, 2546), 'schedule.every', 'schedule.every', ([], {}), '()\n', (2544, 2546), False, 'import schedule\n'), ((2707, 2723), 'schedule.every', 'schedule.every', ([], {}), '()\n', (2721, 2723), False, 'import schedule\n'), ((2883, 2899), 'schedule.every', 'schedule.every', ([], {}), '()\n', (2897, 2899), False, 'import schedule\n'), ((3057, 3073), 'schedule.every', 'schedule.every', ([], {}), '()\n', (3071, 3073), False, 'import schedule\n'), ((3233, 3249), 'schedule.every', 'schedule.every', ([], {}), '()\n', (3247, 3249), False, 'import schedule\n'), ((1511, 1527), 'schedule.every', 'schedule.every', ([], {}), '()\n', (1525, 1527), False, 'import schedule\n'), ((1605, 1621), 'schedule.every', 'schedule.every', ([], {}), '()\n', (1619, 1621), False, 'import schedule\n'), ((1698, 1714), 'schedule.every', 'schedule.every', ([], {}), '()\n', (1712, 1714), False, 'import schedule\n'), ((1789, 1805), 'schedule.every', 'schedule.every', ([], {}), '()\n', (1803, 1805), False, 'import schedule\n'), ((1882, 1898), 'schedule.every', 'schedule.every', ([], {}), '()\n', (1896, 1898), False, 'import schedule\n')]
gzzo/graphql-sqlalchemy
src/graphql_sqlalchemy/graphql_types.py
54a30d0b2fe2d5a1eb3668f0f7bc6ec3cb366ec4
from typing import Dict, Union from graphql import ( GraphQLBoolean, GraphQLFloat, GraphQLInputField, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLString, ) from sqlalchemy import ARRAY, Boolean, Float, Integer from sqlalchemy.dialects.postgresql import ARRAY as PGARRAY from sqlalchemy.types import TypeEngine def get_graphql_type_from_column(column_type: TypeEngine) -> Union[GraphQLScalarType, GraphQLList]: if isinstance(column_type, Integer): return GraphQLInt if isinstance(column_type, Float): return GraphQLFloat if isinstance(column_type, Boolean): return GraphQLBoolean if isinstance(column_type, (ARRAY, PGARRAY)): return GraphQLList(get_graphql_type_from_column(column_type.item_type)) return GraphQLString def get_base_comparison_fields(graphql_type: Union[GraphQLScalarType, GraphQLList]) -> Dict[str, GraphQLInputField]: return { "_eq": GraphQLInputField(graphql_type), "_neq": GraphQLInputField(graphql_type), "_in": GraphQLInputField(GraphQLList(GraphQLNonNull(graphql_type))), "_nin": GraphQLInputField(GraphQLList(GraphQLNonNull(graphql_type))), "_lt": GraphQLInputField(graphql_type), "_gt": GraphQLInputField(graphql_type), "_gte": GraphQLInputField(graphql_type), "_lte": GraphQLInputField(graphql_type), "_is_null": GraphQLInputField(GraphQLBoolean), } def get_string_comparison_fields() -> Dict[str, GraphQLInputField]: return {"_like": GraphQLInputField(GraphQLString), "_nlike": GraphQLInputField(GraphQLString)}
[((979, 1010), 'graphql.GraphQLInputField', 'GraphQLInputField', (['graphql_type'], {}), '(graphql_type)\n', (996, 1010), False, 'from graphql import GraphQLBoolean, GraphQLFloat, GraphQLInputField, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLString\n'), ((1028, 1059), 'graphql.GraphQLInputField', 'GraphQLInputField', (['graphql_type'], {}), '(graphql_type)\n', (1045, 1059), False, 'from graphql import GraphQLBoolean, GraphQLFloat, GraphQLInputField, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLString\n'), ((1231, 1262), 'graphql.GraphQLInputField', 'GraphQLInputField', (['graphql_type'], {}), '(graphql_type)\n', (1248, 1262), False, 'from graphql import GraphQLBoolean, GraphQLFloat, GraphQLInputField, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLString\n'), ((1279, 1310), 'graphql.GraphQLInputField', 'GraphQLInputField', (['graphql_type'], {}), '(graphql_type)\n', (1296, 1310), False, 'from graphql import GraphQLBoolean, GraphQLFloat, GraphQLInputField, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLString\n'), ((1328, 1359), 'graphql.GraphQLInputField', 'GraphQLInputField', (['graphql_type'], {}), '(graphql_type)\n', (1345, 1359), False, 'from graphql import GraphQLBoolean, GraphQLFloat, GraphQLInputField, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLString\n'), ((1377, 1408), 'graphql.GraphQLInputField', 'GraphQLInputField', (['graphql_type'], {}), '(graphql_type)\n', (1394, 1408), False, 'from graphql import GraphQLBoolean, GraphQLFloat, GraphQLInputField, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLString\n'), ((1430, 1463), 'graphql.GraphQLInputField', 'GraphQLInputField', (['GraphQLBoolean'], {}), '(GraphQLBoolean)\n', (1447, 1463), False, 'from graphql import GraphQLBoolean, GraphQLFloat, GraphQLInputField, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLString\n'), ((1562, 1594), 'graphql.GraphQLInputField', 'GraphQLInputField', (['GraphQLString'], {}), '(GraphQLString)\n', (1579, 1594), False, 'from graphql import GraphQLBoolean, GraphQLFloat, GraphQLInputField, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLString\n'), ((1606, 1638), 'graphql.GraphQLInputField', 'GraphQLInputField', (['GraphQLString'], {}), '(GraphQLString)\n', (1623, 1638), False, 'from graphql import GraphQLBoolean, GraphQLFloat, GraphQLInputField, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLString\n'), ((1106, 1134), 'graphql.GraphQLNonNull', 'GraphQLNonNull', (['graphql_type'], {}), '(graphql_type)\n', (1120, 1134), False, 'from graphql import GraphQLBoolean, GraphQLFloat, GraphQLInputField, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLString\n'), ((1184, 1212), 'graphql.GraphQLNonNull', 'GraphQLNonNull', (['graphql_type'], {}), '(graphql_type)\n', (1198, 1212), False, 'from graphql import GraphQLBoolean, GraphQLFloat, GraphQLInputField, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLScalarType, GraphQLString\n')]
byterubpay/mininero1
Knapsack.py
ea6b8017cdbab82011d7f329e7726cc52d1ef431
import Crypto.Random.random as rand import itertools import math #for log import sys def decomposition(i): #from stack exchange, don't think it's uniform while i > 0: n = rand.randint(1, i) yield n i -= n def Decomposition(i): while True: l = list(decomposition(i)) if len(set(l)) == len(l): return l def decomposition2(n, s, d, k): #home-brewed, returns no duplicates, includes the number d s = s - 1 n = n while True: a = [d] nn = n #a.append(d) for i in range(0, s): a.append(rand.randint(0, n)) a.sort() #print("a", a) b = [] c = [] while len(a) > 0: t = a.pop() #print(t, a) if t >= d: b.append(nn - t) else: c.append(nn - t) nn = t c.append(nn) tot = b[:] + c[:] #print("b", b) if sum(set(tot)) == n and len(c) > int(k): return sorted(c), sorted(b) def decomposition3(n, s, d, k): #a combination of both methods, designed to get some smaller values send, change = decomposition2(n, s, d, k) for i in send: if i > n / s: send.remove(i) send = send + list(Decomposition(i)) for i in change: if i > n / (s - 1): change.remove(i) change = change + list(Decomposition(i)) return send, change def divv(l, m): return [a /float( m) for a in l] def frexp10(x): exp = int(math.log10(x)) return x / 10**exp, exp def decideAmounts(totalInputs, toSend, Partitions, k, fuzz): #fuzz is an optional amount to fuzz the transaction by #so if you start with a big obvious number like 2000, it might be fuzzed by up to "fuzz" amount fz = rand.randint(0, int(fuzz * 1000) ) / 1000.0 toSend += fz g, ii =frexp10(totalInputs) ii = 10 ** (-1 * min(ii - 2, 0)) print("ii", ii) M = 10 ** (int(math.log(2 ** Partitions) / math.log(10))) * ii #M = 10 ** M print("multiplier:", M) totalInputs = int(totalInputs * M) toSend = int(toSend * M) change = totalInputs - toSend send_amounts, change_amounts = decomposition3(totalInputs, Partitions, toSend, k) all_amounts = send_amounts[:] + change_amounts[:] rand.shuffle(all_amounts) print("") print("change amounts:", divv(change_amounts, M)) print("send amounts:", divv(send_amounts, M)) print("now from the following, how much is sent?") print("all amounts:", sorted(divv(all_amounts, M))) print("possible sent amounts:") amounts = [] for L in range(0, len(all_amounts)+1): for subset in itertools.combinations(all_amounts, L): amounts.append(sum(subset)) print("number of possible sent amounts:") print(len(amounts)) print("2^N:", 2 ** len(all_amounts)) print("number of possible sent amounts duplicates removed:") print(len(list(set(amounts)))) if len(sys.argv) > 2: kk = 2 parts = 7 kk = rand.randint(1, int(parts / 4)) #how many sends to demand fuzz = 1 decideAmounts(float(sys.argv[1]), float(sys.argv[2]), parts, kk, fuzz)
[((2353, 2378), 'Crypto.Random.random.shuffle', 'rand.shuffle', (['all_amounts'], {}), '(all_amounts)\n', (2365, 2378), True, 'import Crypto.Random.random as rand\n'), ((187, 205), 'Crypto.Random.random.randint', 'rand.randint', (['(1)', 'i'], {}), '(1, i)\n', (199, 205), True, 'import Crypto.Random.random as rand\n'), ((1566, 1579), 'math.log10', 'math.log10', (['x'], {}), '(x)\n', (1576, 1579), False, 'import math\n'), ((2726, 2764), 'itertools.combinations', 'itertools.combinations', (['all_amounts', 'L'], {}), '(all_amounts, L)\n', (2748, 2764), False, 'import itertools\n'), ((605, 623), 'Crypto.Random.random.randint', 'rand.randint', (['(0)', 'n'], {}), '(0, n)\n', (617, 623), True, 'import Crypto.Random.random as rand\n'), ((2013, 2038), 'math.log', 'math.log', (['(2 ** Partitions)'], {}), '(2 ** Partitions)\n', (2021, 2038), False, 'import math\n'), ((2041, 2053), 'math.log', 'math.log', (['(10)'], {}), '(10)\n', (2049, 2053), False, 'import math\n')]
rudolfwilliam/satellite_image_forecasting
drought_impact_forecasting/models/model_parts/Conv_Transformer.py
164ee7e533e1a8d730a0ee9c0062fd9b32e0bcdc
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from einops import rearrange from .shared import Conv_Block from ..utils.utils import zeros, mean_cube, last_frame, ENS class Residual(nn.Module): def __init__(self, fn): super().__init__() self.fn = fn def forward(self, x, **kwargs): return self.fn(x, **kwargs) + x class PreNorm(nn.Module): def __init__(self, dim, fn): super().__init__() self.norm = nn.LayerNorm(dim) self.fn = fn def forward(self, x, **kwargs): return self.fn(torch.stack([self.norm(x[..., i]) for i in range(x.size()[-1])], dim=-1), **kwargs) class FeedForward(nn.Module): def __init__(self, kernel_size, num_hidden, dilation_rate, num_conv_layers): super().__init__() self.kernel_size = kernel_size self.num_hidden = num_hidden self.num_conv_layers = num_conv_layers self.dilation_rate = dilation_rate self.conv = Conv_Block(self.num_hidden, self.num_hidden, kernel_size=self.kernel_size, dilation_rate=self.dilation_rate, num_conv_layers=self.num_conv_layers) def forward(self, x): return torch.stack([self.conv(x[..., i]) for i in range(x.size()[-1])], dim=-1) class ConvAttention(nn.Module): def __init__(self, num_hidden, kernel_size, enc=True, mask=False): super(ConvAttention, self).__init__() self.enc = enc self.mask = mask self.kernel_size = kernel_size self.num_hidden = num_hidden # important note: shared convolution is intentional here if self.enc: # 3 times num_hidden for out_channels due to queries, keys & values self.conv1 = nn.Sequential( nn.Conv2d(in_channels=self.num_hidden, out_channels=3*self.num_hidden, kernel_size=1, padding="same", padding_mode="reflect") ) else: # only 2 times num_hidden for keys & values self.conv1 = nn.Sequential( nn.Conv2d(in_channels=self.num_hidden, out_channels=2*self.num_hidden, kernel_size=1, padding="same", padding_mode="reflect") ) self.conv2 = nn.Sequential( nn.Conv2d(in_channels=self.num_hidden*2, out_channels=1, kernel_size=self.kernel_size, padding="same", padding_mode="reflect") ) def forward(self, x, enc_out=None): # s is num queries, t is num keys/values b, _, _, _, s = x.shape if self.enc: t = s qkv_set = torch.stack([self.conv1(x[..., i]) for i in range(t)], dim=-1) Q, K, V = torch.split(qkv_set, self.num_hidden, dim=1) else: # x correspond to queries t = enc_out.size()[-1] kv_set = torch.stack([self.conv1(enc_out[..., i]) for i in range(t)], dim=-1) K, V = torch.split(kv_set, self.num_hidden, dim=1) Q = x K_rep = torch.stack([K] * s, dim=-2) V_rep = torch.stack([V] * s, dim=-1) Q_rep = torch.stack([Q] * t, dim=-1) # concatenate queries and keys for cross-channel convolution Q_K = torch.concat((Q_rep, K_rep), dim=1) if self.mask: # only feed in 'previous' keys & values for computing softmax V_out = [] # for each query for i in range(t): Q_K_temp = rearrange(Q_K[..., :i+1, i], 'b c h w t -> (b t) c h w') extr_feat = rearrange(torch.squeeze(self.conv2(Q_K_temp), dim=1), '(b t) h w -> b h w t', b=b, t=i+1) attn_mask = F.softmax(extr_feat, dim=-1) # convex combination over values using weights from attention mask, per channel c V_out.append(torch.stack([torch.sum(torch.mul(attn_mask, V_rep[:, c, :, :, i, :i+1]), dim=-1) for c in range(V_rep.size()[1])], dim=1)) V_out = torch.stack(V_out, dim=-1) else: Q_K = rearrange(Q_K, 'b c h w s t -> (b s t) c h w') # no convolution across time dim! extr_feat = rearrange(torch.squeeze(self.conv2(Q_K), dim=1), '(b s t) h w -> b h w t s', b=b, t=t) attn_mask = F.softmax(extr_feat, dim=-2) V_out = torch.stack([torch.sum(torch.mul(attn_mask, V_rep[:, c, ...]), dim=-2) for c in range(V_rep.size()[1])], dim=1) return V_out class PositionalEncoding(nn.Module): def __init__(self, num_hidden, img_width): # no differentiation should happen with respect to the params in here! super(PositionalEncoding, self).__init__() self.num_hidden = num_hidden self.img_width = img_width def _get_sinusoid_encoding_table(self, t, device): ''' Sinusoid position encoding table ''' sinusoid_table = torch.stack([self._get_position_angle_vec(pos_i) for pos_i in range(t)], dim=0) sinusoid_table[:, :, 0::2] = torch.sin(sinusoid_table[:, :, 0::2]) # even dim sinusoid_table[:, :, 1::2] = torch.cos(sinusoid_table[:, :, 1::2]) # odd dim return torch.moveaxis(sinusoid_table, 0, -1) def _get_position_angle_vec(self, position): return_list = [torch.ones((1, self.img_width, self.img_width), device=torch.device("cuda:0" if torch.cuda.is_available() else "cpu")) * (position / np.power(10000, 2 * (hid_j // 2) / self.num_hidden[-1])) for hid_j in range(self.num_hidden[-1])] return torch.stack(return_list, dim=1) def forward(self, x, t, single=False): """Returns entire positional encoding until step T if not single, otherwise only encoding of time step T.""" if not single: self.register_buffer('pos_table', self._get_sinusoid_encoding_table(t, x.get_device())) return torch.squeeze(x + self.pos_table.clone().detach(), dim=0) else: if t % 2 == 0: return x + torch.unsqueeze(torch.sin(self._get_position_angle_vec(t)), dim=-1).clone().detach() else: return x + torch.unsqueeze(torch.cos(self._get_position_angle_vec(t)), dim=-1).clone().detach() class Encoder(nn.Module): def __init__(self, num_hidden, depth, dilation_rate, num_conv_layers, kernel_size, img_width): super().__init__() self.num_hidden = num_hidden self.depth = depth self.dilation_rate = dilation_rate self.num_conv_layers = num_conv_layers self.kernel_size = kernel_size self.img_width = img_width self.layers = nn.ModuleList([]) self.num_hidden = self.num_hidden for _ in range(self.depth): self.layers.append(nn.ModuleList([ Residual(PreNorm([self.num_hidden[-1], self.img_width, self.img_width], ConvAttention(kernel_size=self.kernel_size, num_hidden=self.num_hidden[-1], enc=True))), Residual(PreNorm([self.num_hidden[-1], self.img_width, self.img_width], FeedForward(kernel_size=self.kernel_size, num_hidden=self.num_hidden[-1], dilation_rate=self.dilation_rate, num_conv_layers=self.num_conv_layers))) ])) def forward(self, x): for attn, ff in self.layers: x = attn(x) x = ff(x) return x class Decoder(nn.Module): def __init__(self, num_hidden, depth, dilation_rate, num_conv_layers, kernel_size, img_width, non_pred_channels): super().__init__() self.layers = nn.ModuleList([]) self.dilation_rate = dilation_rate self.num_conv_layers = num_conv_layers self.depth = depth self.kernel_size = kernel_size self.img_width = img_width self.num_hidden = num_hidden self.num_non_pred_feat = non_pred_channels for _ in range(self.depth): self.layers.append(nn.ModuleList([ # (masked) query self-attention Residual(PreNorm([self.num_hidden[-1], self.img_width, self.img_width], ConvAttention(num_hidden=self.num_hidden[-1], kernel_size=self.kernel_size, mask=True))), # encoder-decoder attention Residual(PreNorm([self.num_hidden[-1], self.img_width, self.img_width], ConvAttention(num_hidden=self.num_hidden[-1], kernel_size=self.kernel_size, enc=False))), # feed forward Residual(PreNorm([self.num_hidden[-1], self.img_width, self.img_width], FeedForward(num_hidden=self.num_hidden[-1], kernel_size=self.kernel_size, dilation_rate=self.dilation_rate, num_conv_layers=self.num_conv_layers))) ])) def forward(self, queries, enc_out): for query_attn, attn, ff in self.layers: queries = query_attn(queries) x = attn(queries, enc_out=enc_out) x = ff(x) return x class Conv_Transformer(nn.Module): """Standard, single-headed ConvTransformer like in https://arxiv.org/pdf/2011.10185.pdf""" def __init__(self, num_hidden, depth, dilation_rate, num_conv_layers, kernel_size, img_width, non_pred_channels, num_layers_query_feat, in_channels): super(Conv_Transformer, self).__init__() self.num_hidden = num_hidden self.depth = depth self.num_layers_query_feat = num_layers_query_feat self.dilation_rate = dilation_rate self.num_conv_layers = num_conv_layers self.kernel_size = kernel_size self.img_width = img_width self.in_channels = in_channels self.non_pred_channels = non_pred_channels self.pos_embedding = PositionalEncoding(self.num_hidden, self.img_width) self.Encoder = Encoder(num_hidden=self.num_hidden, depth=self.depth, dilation_rate=self.dilation_rate, num_conv_layers=self.num_conv_layers, kernel_size=self.kernel_size, img_width=self.img_width) self.Decoder = Decoder(num_hidden=self.num_hidden, depth=self.depth, dilation_rate=self.dilation_rate, num_conv_layers=self.num_conv_layers, kernel_size=self.kernel_size, img_width=self.img_width, non_pred_channels=self.non_pred_channels) self.input_feat_gen = Conv_Block(self.in_channels, self.num_hidden[-1], num_conv_layers=self.num_conv_layers, kernel_size=self.kernel_size) # TODO (optionally): replace this by SFFN self.back_to_pixel = nn.Sequential( nn.Conv2d(self.num_hidden[-1], 4, kernel_size=1) ) def forward(self, frames, n_predictions): _, _, _, _, T = frames.size() feature_map = self.feature_embedding(img=frames, network=self.input_feat_gen) enc_in = self.pos_embedding(feature_map, T) # encode all input values enc_out = torch.concat(self.Encoder(enc_in), dim=-1) out_list = [] queries = self.feature_embedding(img=feature_map[..., -1], network=self.query_feat_gen) for _ in range(n_predictions): dec_out = self.Decoder(queries, enc_out) pred = self.feature_embedding(dec_out) out_list.append(pred) queries = torch.concat((queries, pred), dim=-1) x = torch.stack(out_list, dim=-1) return x def feature_embedding(self, img, network): generator = network gen_img = [] for i in range(img.shape[-1]): gen_img.append(generator(img[..., i])) gen_img = torch.stack(gen_img, dim=-1) return gen_img class ENS_Conv_Transformer(Conv_Transformer): """ConvTransformer that employs delta model and can read in non-pred future features, hence taylored to the ENS challenge.""" def __init__(self, num_hidden, output_dim, depth, dilation_rate, num_conv_layers, kernel_size, img_width, non_pred_channels, num_layers_query_feat, in_channels, baseline): super(ENS_Conv_Transformer, self).__init__(num_hidden, depth, dilation_rate, num_conv_layers, kernel_size, img_width, non_pred_channels, num_layers_query_feat, in_channels - 1) # remove cloud mask self.in_channels = self.in_channels - 1 self.baseline = baseline self.output_dim = output_dim def forward(self, input_tensor, non_pred_feat=None, prediction_count=1): baseline = eval(self.baseline + "(input_tensor[:, 0:5, :, :, :], 4)") b, _, width, height, T = input_tensor.size() pred_deltas = torch.zeros((b, self.output_dim, height, width, prediction_count), device = self._get_device()) preds = torch.zeros((b, self.output_dim, height, width, prediction_count), device = self._get_device()) baselines = torch.zeros((b, self.output_dim, height, width, prediction_count), device = self._get_device()) # remove cloud mask channel for feature embedding feature_map = torch.concat((input_tensor[:, :4, ...], input_tensor[:, 5:, ...]), dim=1) features = self.feature_embedding(img=feature_map, network=self.input_feat_gen) enc_in = torch.stack([self.pos_embedding(features[i, ...], T) for i in range(b)], dim=0) enc_out = self.Encoder(enc_in) # first query stems from last input frame queries = features[..., -1:] baselines[..., 0] = baseline pred_deltas[..., 0] = self.back_to_pixel(self.Decoder(queries, enc_out)[..., 0]) preds[..., 0] = pred_deltas[..., 0] + baselines[..., 0] for t in range(1, prediction_count): if self.baseline == "mean_cube": baselines[..., t] = (preds[..., t - 1] + (baselines[..., t - 1] * (T + t)))/(T + t + 1) if self.baseline == "zeros": pass else: baselines[..., t] = preds[..., t - 1] # concatenate with non-pred features & feature embedding & do positional encoding query = self.pos_embedding(self.feature_embedding(torch.concat((preds[..., t-1:t], non_pred_feat[..., t-1:t]), dim=1), network=self.input_feat_gen), t, single=True) queries = torch.concat((queries, query), dim=-1) pred_deltas[..., :t] = torch.stack([self.back_to_pixel(self.Decoder(queries, enc_out)[..., i]) for i in range(t)], dim=-1) preds[..., t] = pred_deltas[..., t] + baselines[..., t] return preds, pred_deltas, baselines def _get_device(self): return next(self.parameters()).device
[((494, 511), 'torch.nn.LayerNorm', 'nn.LayerNorm', (['dim'], {}), '(dim)\n', (506, 511), True, 'import torch.nn as nn\n'), ((2972, 3000), 'torch.stack', 'torch.stack', (['([K] * s)'], {'dim': '(-2)'}), '([K] * s, dim=-2)\n', (2983, 3000), False, 'import torch\n'), ((3017, 3045), 'torch.stack', 'torch.stack', (['([V] * s)'], {'dim': '(-1)'}), '([V] * s, dim=-1)\n', (3028, 3045), False, 'import torch\n'), ((3062, 3090), 'torch.stack', 'torch.stack', (['([Q] * t)'], {'dim': '(-1)'}), '([Q] * t, dim=-1)\n', (3073, 3090), False, 'import torch\n'), ((3174, 3209), 'torch.concat', 'torch.concat', (['(Q_rep, K_rep)'], {'dim': '(1)'}), '((Q_rep, K_rep), dim=1)\n', (3186, 3209), False, 'import torch\n'), ((4911, 4948), 'torch.sin', 'torch.sin', (['sinusoid_table[:, :, 0::2]'], {}), '(sinusoid_table[:, :, 0::2])\n', (4920, 4948), False, 'import torch\n'), ((4998, 5035), 'torch.cos', 'torch.cos', (['sinusoid_table[:, :, 1::2]'], {}), '(sinusoid_table[:, :, 1::2])\n', (5007, 5035), False, 'import torch\n'), ((5063, 5100), 'torch.moveaxis', 'torch.moveaxis', (['sinusoid_table', '(0)', '(-1)'], {}), '(sinusoid_table, 0, -1)\n', (5077, 5100), False, 'import torch\n'), ((5565, 5596), 'torch.stack', 'torch.stack', (['return_list'], {'dim': '(1)'}), '(return_list, dim=1)\n', (5576, 5596), False, 'import torch\n'), ((6645, 6662), 'torch.nn.ModuleList', 'nn.ModuleList', (['[]'], {}), '([])\n', (6658, 6662), True, 'import torch.nn as nn\n'), ((7639, 7656), 'torch.nn.ModuleList', 'nn.ModuleList', (['[]'], {}), '([])\n', (7652, 7656), True, 'import torch.nn as nn\n'), ((11391, 11420), 'torch.stack', 'torch.stack', (['out_list'], {'dim': '(-1)'}), '(out_list, dim=-1)\n', (11402, 11420), False, 'import torch\n'), ((11644, 11672), 'torch.stack', 'torch.stack', (['gen_img'], {'dim': '(-1)'}), '(gen_img, dim=-1)\n', (11655, 11672), False, 'import torch\n'), ((13025, 13102), 'torch.concat', 'torch.concat', (['(input_tensor[:, :4, (...)], input_tensor[:, 5:, (...)])'], {'dim': '(1)'}), '((input_tensor[:, :4, (...)], input_tensor[:, 5:, (...)]), dim=1)\n', (13037, 13102), False, 'import torch\n'), ((2246, 2379), 'torch.nn.Conv2d', 'nn.Conv2d', ([], {'in_channels': '(self.num_hidden * 2)', 'out_channels': '(1)', 'kernel_size': 'self.kernel_size', 'padding': '"""same"""', 'padding_mode': '"""reflect"""'}), "(in_channels=self.num_hidden * 2, out_channels=1, kernel_size=self\n .kernel_size, padding='same', padding_mode='reflect')\n", (2255, 2379), True, 'import torch.nn as nn\n'), ((2651, 2695), 'torch.split', 'torch.split', (['qkv_set', 'self.num_hidden'], {'dim': '(1)'}), '(qkv_set, self.num_hidden, dim=1)\n', (2662, 2695), False, 'import torch\n'), ((2893, 2936), 'torch.split', 'torch.split', (['kv_set', 'self.num_hidden'], {'dim': '(1)'}), '(kv_set, self.num_hidden, dim=1)\n', (2904, 2936), False, 'import torch\n'), ((3919, 3945), 'torch.stack', 'torch.stack', (['V_out'], {'dim': '(-1)'}), '(V_out, dim=-1)\n', (3930, 3945), False, 'import torch\n'), ((3978, 4024), 'einops.rearrange', 'rearrange', (['Q_K', '"""b c h w s t -> (b s t) c h w"""'], {}), "(Q_K, 'b c h w s t -> (b s t) c h w')\n", (3987, 4024), False, 'from einops import rearrange\n'), ((4194, 4222), 'torch.nn.functional.softmax', 'F.softmax', (['extr_feat'], {'dim': '(-2)'}), '(extr_feat, dim=-2)\n', (4203, 4222), True, 'import torch.nn.functional as F\n'), ((10637, 10685), 'torch.nn.Conv2d', 'nn.Conv2d', (['self.num_hidden[-1]', '(4)'], {'kernel_size': '(1)'}), '(self.num_hidden[-1], 4, kernel_size=1)\n', (10646, 10685), True, 'import torch.nn as nn\n'), ((11332, 11369), 'torch.concat', 'torch.concat', (['(queries, pred)'], {'dim': '(-1)'}), '((queries, pred), dim=-1)\n', (11344, 11369), False, 'import torch\n'), ((14235, 14273), 'torch.concat', 'torch.concat', (['(queries, query)'], {'dim': '(-1)'}), '((queries, query), dim=-1)\n', (14247, 14273), False, 'import torch\n'), ((1792, 1923), 'torch.nn.Conv2d', 'nn.Conv2d', ([], {'in_channels': 'self.num_hidden', 'out_channels': '(3 * self.num_hidden)', 'kernel_size': '(1)', 'padding': '"""same"""', 'padding_mode': '"""reflect"""'}), "(in_channels=self.num_hidden, out_channels=3 * self.num_hidden,\n kernel_size=1, padding='same', padding_mode='reflect')\n", (1801, 1923), True, 'import torch.nn as nn\n'), ((2058, 2189), 'torch.nn.Conv2d', 'nn.Conv2d', ([], {'in_channels': 'self.num_hidden', 'out_channels': '(2 * self.num_hidden)', 'kernel_size': '(1)', 'padding': '"""same"""', 'padding_mode': '"""reflect"""'}), "(in_channels=self.num_hidden, out_channels=2 * self.num_hidden,\n kernel_size=1, padding='same', padding_mode='reflect')\n", (2067, 2189), True, 'import torch.nn as nn\n'), ((3417, 3479), 'einops.rearrange', 'rearrange', (['Q_K[(...), :i + 1, (i)]', '"""b c h w t -> (b t) c h w"""'], {}), "(Q_K[(...), :i + 1, (i)], 'b c h w t -> (b t) c h w')\n", (3426, 3479), False, 'from einops import rearrange\n'), ((3620, 3648), 'torch.nn.functional.softmax', 'F.softmax', (['extr_feat'], {'dim': '(-1)'}), '(extr_feat, dim=-1)\n', (3629, 3648), True, 'import torch.nn.functional as F\n'), ((5452, 5507), 'numpy.power', 'np.power', (['(10000)', '(2 * (hid_j // 2) / self.num_hidden[-1])'], {}), '(10000, 2 * (hid_j // 2) / self.num_hidden[-1])\n', (5460, 5507), True, 'import numpy as np\n'), ((14098, 14173), 'torch.concat', 'torch.concat', (['(preds[(...), t - 1:t], non_pred_feat[(...), t - 1:t])'], {'dim': '(1)'}), '((preds[(...), t - 1:t], non_pred_feat[(...), t - 1:t]), dim=1)\n', (14110, 14173), False, 'import torch\n'), ((4266, 4308), 'torch.mul', 'torch.mul', (['attn_mask', 'V_rep[:, (c), (...)]'], {}), '(attn_mask, V_rep[:, (c), (...)])\n', (4275, 4308), False, 'import torch\n'), ((3799, 3853), 'torch.mul', 'torch.mul', (['attn_mask', 'V_rep[:, (c), :, :, (i), :i + 1]'], {}), '(attn_mask, V_rep[:, (c), :, :, (i), :i + 1])\n', (3808, 3853), False, 'import torch\n'), ((5363, 5388), 'torch.cuda.is_available', 'torch.cuda.is_available', ([], {}), '()\n', (5386, 5388), False, 'import torch\n')]
rodrigoapereira/python-hydra-sdk
tests/test_clients.py
ea3d61ed6f7ef1bc1990c442548d21b10155d075
# Copyright (C) 2017 O.S. Systems Software LTDA. # This software is released under the MIT License import unittest from hydra import Hydra, Client class ClientsTestCase(unittest.TestCase): def setUp(self): self.hydra = Hydra('http://localhost:4444', 'client', 'secret') self.client = Client( name='new-client', secret='client-secret', scopes=['devices', 'products'], redirect_uris=['http://localhost/callback'], ) def test_can_create_client(self): client = self.hydra.clients.create(self.client) self.addCleanup(self.hydra.clients.delete, client_id=client.id) self.assertEqual(client.name, 'new-client') self.assertEqual(client.secret, 'client-secret') self.assertEqual(client.scopes, ['devices', 'products']) self.assertEqual(client.redirect_uris, ['http://localhost/callback']) def test_can_get_client(self): client_id = self.hydra.clients.create(self.client).id self.addCleanup(self.hydra.clients.delete, client_id=client_id) client = self.hydra.clients.get(client_id) self.assertEqual(client.id, client_id) def test_can_update_client(self): client = self.hydra.clients.create(self.client) self.addCleanup(self.hydra.clients.delete, client_id=client.id) self.assertEqual(client.name, 'new-client') client.name = 'new-client-name' self.hydra.clients.update(client) self.assertEqual(client.name, 'new-client-name') def test_can_delete_client(self): client = self.hydra.clients.create(self.client) self.addCleanup(self.hydra.clients.delete, client_id=client.id) self.assertIsNotNone(self.hydra.clients.get(client.id)) self.hydra.clients.delete(client.id) self.assertIsNone(self.hydra.clients.get(client.id)) def test_can_list_all_clients(self): client1 = self.hydra.clients.create(self.client) self.addCleanup(self.hydra.clients.delete, client_id=client1.id) client2 = self.hydra.clients.create(self.client) self.addCleanup(self.hydra.clients.delete, client_id=client2.id) clients = [c.id for c in self.hydra.clients.all()] self.assertIn(client1.id, clients) self.assertIn(client2.id, clients)
[((236, 286), 'hydra.Hydra', 'Hydra', (['"""http://localhost:4444"""', '"""client"""', '"""secret"""'], {}), "('http://localhost:4444', 'client', 'secret')\n", (241, 286), False, 'from hydra import Hydra, Client\n'), ((309, 439), 'hydra.Client', 'Client', ([], {'name': '"""new-client"""', 'secret': '"""client-secret"""', 'scopes': "['devices', 'products']", 'redirect_uris': "['http://localhost/callback']"}), "(name='new-client', secret='client-secret', scopes=['devices',\n 'products'], redirect_uris=['http://localhost/callback'])\n", (315, 439), False, 'from hydra import Hydra, Client\n')]
Phillistan16/fastestimator
test/PR_test/unit_test/backend/test_binary_crossentropy.py
54c9254098aee89520814ed54b6e6016b821424f
# Copyright 2020 The FastEstimator Authors. 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. # ============================================================================== import unittest import numpy as np import tensorflow as tf import torch import fastestimator as fe class TestBinarayCrossEntropy(unittest.TestCase): @classmethod def setUpClass(cls): cls.tf_true = tf.constant([[1], [0], [1], [0]]) cls.tf_pred = tf.constant([[0.9], [0.3], [0.8], [0.1]]) cls.torch_true = torch.tensor([[1], [0], [1], [0]]) cls.torch_pred = torch.tensor([[0.9], [0.3], [0.8], [0.1]]) def test_binaray_crossentropy_average_loss_true_tf(self): obj1 = fe.backend.binary_crossentropy(y_pred=self.tf_pred, y_true=self.tf_true).numpy() obj2 = 0.19763474 self.assertTrue(np.allclose(obj1, obj2)) def test_binaray_crossentropy_average_loss_false_tf(self): obj1 = fe.backend.binary_crossentropy(y_pred=self.tf_pred, y_true=self.tf_true, average_loss=False).numpy() obj2 = np.array([0.10536041, 0.3566748, 0.22314338, 0.10536041]) self.assertTrue(np.allclose(obj1, obj2)) def test_binaray_crossentropy_average_from_logit_average_loss_true_tf(self): obj1 = fe.backend.binary_crossentropy(y_pred=self.tf_pred, y_true=self.tf_true, from_logits=True, average_loss=True).numpy() obj2 = 0.57775164 self.assertTrue(np.allclose(obj1, obj2)) def test_binaray_crossentropy_average_from_logit_average_loss_false_tf(self): obj1 = fe.backend.binary_crossentropy(y_pred=self.tf_pred, y_true=self.tf_true, from_logits=True, average_loss=False).numpy() obj2 = np.array([0.34115386, 0.8543553, 0.37110066, 0.7443967]) self.assertTrue(np.allclose(obj1, obj2)) def test_binaray_crossentropy_average_loss_true_torch(self): obj1 = fe.backend.binary_crossentropy(y_pred=self.torch_pred, y_true=self.torch_true).numpy() obj2 = 0.19763474 self.assertTrue(np.allclose(obj1, obj2)) def test_binaray_crossentropy_average_loss_false_torch(self): obj1 = fe.backend.binary_crossentropy(y_pred=self.torch_pred, y_true=self.torch_true, average_loss=False).numpy() obj2 = np.array([0.10536041, 0.3566748, 0.22314338, 0.10536041]) self.assertTrue(np.allclose(obj1, obj2)) def test_binaray_crossentropy_average_from_logit_average_loss_true_torch(self): obj1 = fe.backend.binary_crossentropy(y_pred=self.torch_pred, y_true=self.torch_true, from_logits=True, average_loss=True).numpy() obj2 = 0.57775164 self.assertTrue(np.allclose(obj1, obj2)) def test_binaray_crossentropy_average_from_logit_average_loss_false_torch(self): obj1 = fe.backend.binary_crossentropy(y_pred=self.torch_pred, y_true=self.torch_true, from_logits=True, average_loss=False).numpy() obj2 = np.array([0.34115386, 0.8543553, 0.37110066, 0.7443967]) self.assertTrue(np.allclose(obj1, obj2))
[((909, 942), 'tensorflow.constant', 'tf.constant', (['[[1], [0], [1], [0]]'], {}), '([[1], [0], [1], [0]])\n', (920, 942), True, 'import tensorflow as tf\n'), ((965, 1006), 'tensorflow.constant', 'tf.constant', (['[[0.9], [0.3], [0.8], [0.1]]'], {}), '([[0.9], [0.3], [0.8], [0.1]])\n', (976, 1006), True, 'import tensorflow as tf\n'), ((1032, 1066), 'torch.tensor', 'torch.tensor', (['[[1], [0], [1], [0]]'], {}), '([[1], [0], [1], [0]])\n', (1044, 1066), False, 'import torch\n'), ((1092, 1134), 'torch.tensor', 'torch.tensor', (['[[0.9], [0.3], [0.8], [0.1]]'], {}), '([[0.9], [0.3], [0.8], [0.1]])\n', (1104, 1134), False, 'import torch\n'), ((1564, 1621), 'numpy.array', 'np.array', (['[0.10536041, 0.3566748, 0.22314338, 0.10536041]'], {}), '([0.10536041, 0.3566748, 0.22314338, 0.10536041])\n', (1572, 1621), True, 'import numpy as np\n'), ((2469, 2525), 'numpy.array', 'np.array', (['[0.34115386, 0.8543553, 0.37110066, 0.7443967]'], {}), '([0.34115386, 0.8543553, 0.37110066, 0.7443967])\n', (2477, 2525), True, 'import numpy as np\n'), ((3068, 3125), 'numpy.array', 'np.array', (['[0.10536041, 0.3566748, 0.22314338, 0.10536041]'], {}), '([0.10536041, 0.3566748, 0.22314338, 0.10536041])\n', (3076, 3125), True, 'import numpy as np\n'), ((3991, 4047), 'numpy.array', 'np.array', (['[0.34115386, 0.8543553, 0.37110066, 0.7443967]'], {}), '([0.34115386, 0.8543553, 0.37110066, 0.7443967])\n', (3999, 4047), True, 'import numpy as np\n'), ((1344, 1367), 'numpy.allclose', 'np.allclose', (['obj1', 'obj2'], {}), '(obj1, obj2)\n', (1355, 1367), True, 'import numpy as np\n'), ((1646, 1669), 'numpy.allclose', 'np.allclose', (['obj1', 'obj2'], {}), '(obj1, obj2)\n', (1657, 1669), True, 'import numpy as np\n'), ((2074, 2097), 'numpy.allclose', 'np.allclose', (['obj1', 'obj2'], {}), '(obj1, obj2)\n', (2085, 2097), True, 'import numpy as np\n'), ((2550, 2573), 'numpy.allclose', 'np.allclose', (['obj1', 'obj2'], {}), '(obj1, obj2)\n', (2561, 2573), True, 'import numpy as np\n'), ((2793, 2816), 'numpy.allclose', 'np.allclose', (['obj1', 'obj2'], {}), '(obj1, obj2)\n', (2804, 2816), True, 'import numpy as np\n'), ((3150, 3173), 'numpy.allclose', 'np.allclose', (['obj1', 'obj2'], {}), '(obj1, obj2)\n', (3161, 3173), True, 'import numpy as np\n'), ((3587, 3610), 'numpy.allclose', 'np.allclose', (['obj1', 'obj2'], {}), '(obj1, obj2)\n', (3598, 3610), True, 'import numpy as np\n'), ((4072, 4095), 'numpy.allclose', 'np.allclose', (['obj1', 'obj2'], {}), '(obj1, obj2)\n', (4083, 4095), True, 'import numpy as np\n'), ((1213, 1285), 'fastestimator.backend.binary_crossentropy', 'fe.backend.binary_crossentropy', ([], {'y_pred': 'self.tf_pred', 'y_true': 'self.tf_true'}), '(y_pred=self.tf_pred, y_true=self.tf_true)\n', (1243, 1285), True, 'import fastestimator as fe\n'), ((1448, 1544), 'fastestimator.backend.binary_crossentropy', 'fe.backend.binary_crossentropy', ([], {'y_pred': 'self.tf_pred', 'y_true': 'self.tf_true', 'average_loss': '(False)'}), '(y_pred=self.tf_pred, y_true=self.tf_true,\n average_loss=False)\n', (1478, 1544), True, 'import fastestimator as fe\n'), ((1768, 1881), 'fastestimator.backend.binary_crossentropy', 'fe.backend.binary_crossentropy', ([], {'y_pred': 'self.tf_pred', 'y_true': 'self.tf_true', 'from_logits': '(True)', 'average_loss': '(True)'}), '(y_pred=self.tf_pred, y_true=self.tf_true,\n from_logits=True, average_loss=True)\n', (1798, 1881), True, 'import fastestimator as fe\n'), ((2197, 2311), 'fastestimator.backend.binary_crossentropy', 'fe.backend.binary_crossentropy', ([], {'y_pred': 'self.tf_pred', 'y_true': 'self.tf_true', 'from_logits': '(True)', 'average_loss': '(False)'}), '(y_pred=self.tf_pred, y_true=self.tf_true,\n from_logits=True, average_loss=False)\n', (2227, 2311), True, 'import fastestimator as fe\n'), ((2656, 2734), 'fastestimator.backend.binary_crossentropy', 'fe.backend.binary_crossentropy', ([], {'y_pred': 'self.torch_pred', 'y_true': 'self.torch_true'}), '(y_pred=self.torch_pred, y_true=self.torch_true)\n', (2686, 2734), True, 'import fastestimator as fe\n'), ((2900, 3003), 'fastestimator.backend.binary_crossentropy', 'fe.backend.binary_crossentropy', ([], {'y_pred': 'self.torch_pred', 'y_true': 'self.torch_true', 'average_loss': '(False)'}), '(y_pred=self.torch_pred, y_true=self.\n torch_true, average_loss=False)\n', (2930, 3003), True, 'import fastestimator as fe\n'), ((3275, 3395), 'fastestimator.backend.binary_crossentropy', 'fe.backend.binary_crossentropy', ([], {'y_pred': 'self.torch_pred', 'y_true': 'self.torch_true', 'from_logits': '(True)', 'average_loss': '(True)'}), '(y_pred=self.torch_pred, y_true=self.\n torch_true, from_logits=True, average_loss=True)\n', (3305, 3395), True, 'import fastestimator as fe\n'), ((3713, 3834), 'fastestimator.backend.binary_crossentropy', 'fe.backend.binary_crossentropy', ([], {'y_pred': 'self.torch_pred', 'y_true': 'self.torch_true', 'from_logits': '(True)', 'average_loss': '(False)'}), '(y_pred=self.torch_pred, y_true=self.\n torch_true, from_logits=True, average_loss=False)\n', (3743, 3834), True, 'import fastestimator as fe\n')]
kyeser/scTools
ats_hex.py
c4c7dee0c41c8afe1da6350243df5f9d9b929c7f
#!/usr/bin/env python from scTools import interval, primeForm from scTools.rowData import ats from scTools.scData import * count = 1 for w in ats: prime = primeForm(w[0:6]) print '%3d\t' % count, for x in w: print '%X' % x, print ' ', intervals = interval(w) for y in intervals: print '%X' % y, print '\t%2d\t' % sc6.index(prime), if prime == sc6[1] or prime == sc6[7] or prime == sc6[8] or \ prime == sc6[20] or prime == sc6[32] or prime == sc6[35]: print 'AC' elif prime == sc6[17]: print 'AT' else: print count += 1
[]
Albert-91/precon
src/precon/commands.py
aaded1d6a5f743b3539ea46b19a37a7bf9930e05
import asyncio import click from precon.devices_handlers.distance_sensor import show_distance as show_distance_func from precon.remote_control import steer_vehicle, Screen try: import RPi.GPIO as GPIO except (RuntimeError, ModuleNotFoundError): import fake_rpi GPIO = fake_rpi.RPi.GPIO @click.command(name="rc") def remote_control() -> None: loop = asyncio.get_event_loop() try: with Screen() as screen: loop.run_until_complete(steer_vehicle(screen)) except KeyboardInterrupt: print("Finishing remote control...") except Exception as e: print("Raised unexpected error: %s" % e) finally: GPIO.cleanup() @click.command(name="show-distance") def show_distance() -> None: loop = asyncio.get_event_loop() try: loop.run_until_complete(show_distance_func()) except KeyboardInterrupt: print("Finishing measuring distance...") except Exception as e: print("Raised unexpected error: %s" % e) finally: GPIO.cleanup()
[((305, 329), 'click.command', 'click.command', ([], {'name': '"""rc"""'}), "(name='rc')\n", (318, 329), False, 'import click\n'), ((687, 722), 'click.command', 'click.command', ([], {'name': '"""show-distance"""'}), "(name='show-distance')\n", (700, 722), False, 'import click\n'), ((371, 395), 'asyncio.get_event_loop', 'asyncio.get_event_loop', ([], {}), '()\n', (393, 395), False, 'import asyncio\n'), ((763, 787), 'asyncio.get_event_loop', 'asyncio.get_event_loop', ([], {}), '()\n', (785, 787), False, 'import asyncio\n'), ((669, 683), 'RPi.GPIO.cleanup', 'GPIO.cleanup', ([], {}), '()\n', (681, 683), True, 'import RPi.GPIO as GPIO\n'), ((1027, 1041), 'RPi.GPIO.cleanup', 'GPIO.cleanup', ([], {}), '()\n', (1039, 1041), True, 'import RPi.GPIO as GPIO\n'), ((418, 426), 'precon.remote_control.Screen', 'Screen', ([], {}), '()\n', (424, 426), False, 'from precon.remote_control import steer_vehicle, Screen\n'), ((829, 849), 'precon.devices_handlers.distance_sensor.show_distance', 'show_distance_func', ([], {}), '()\n', (847, 849), True, 'from precon.devices_handlers.distance_sensor import show_distance as show_distance_func\n'), ((474, 495), 'precon.remote_control.steer_vehicle', 'steer_vehicle', (['screen'], {}), '(screen)\n', (487, 495), False, 'from precon.remote_control import steer_vehicle, Screen\n')]
sjtichenor/midway-ford
midway.py
43bf8770f2edd483d7c27dede8b9ac1fb8f10152
import csv import string import ftplib import math import time from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import sqlite3 from lxml import html import requests import sys import midwords import facebook import hd_images import adwords_feeds import sheets import random import sales_specials import scrape from pprint import pprint from pyvirtualdisplay import Display import locale locale.setlocale(locale.LC_ALL, 'en_US.utf8') # Misc stuff def isNumber(s): try: float(s) return True except ValueError: return False def start_chromedriver(): display = Display(visible=0, size=(800, 800)) display.start() path_to_chromedriver = 'chromedriver' browser = webdriver.Chrome(executable_path=path_to_chromedriver) return browser # FMC Dealer Scrapes def randomInterval(): #returns random float roughly between 1.5 and 2.75 return 1.75+1*random.random()-.25*random.random() def switchDefaultSearch(browser) : # Switch between MyLot/States #Switch default search back to Dealership Proximity print('Switching default search...') browser.get('https://www.vlplus.dealerconnection.com/Search?&searchType=quicksearch') time.sleep(3) browser.find_element_by_xpath('//a[@id="ActivateSettings"]').click() time.sleep(3) browser.find_element_by_xpath('//a[text()="Search Settings"]').click() time.sleep(3) # Check what default is currently set to tree = html.fromstring(browser.page_source) currentSetting = tree.xpath('//option[@selected]/text()') print('Setting Before:', currentSetting) if 'My Lot' in currentSetting: print('Switching default search from My Lot to Proximity') browser.find_element_by_xpath('//select[@id="searchSettingsDefaultSearchMode"]').click() time.sleep(2) browser.find_element_by_xpath('//option[@value="6"]').click() time.sleep(2) elif 'States' in currentSetting : print('Switching default search from States to My Lot') browser.find_element_by_xpath('//select[@id="searchSettingsDefaultSearchMode"]').click() time.sleep(2) browser.find_element_by_xpath('//option[@value="1"]').click() time.sleep(2) currentSetting = tree.xpath('//option[@selected]/text()') #print('Setting After:', currentSetting) This doesn't work.. browser.find_element_by_xpath('//a[@id="saveSearchSettings"]').click() time.sleep(2) browser.get('https://www.vlplus.dealerconnection.com/Search?&searchType=quicksearch') time.sleep(2) print('Finished switching default search...') return browser def getVinList() : conn = sqlite3.connect('data/inventory.db') c = conn.cursor() vinList = [] c.execute('SELECT vin FROM masterInventory where invType = ?', ('New',)) vinTupleList = c.fetchall() for vinTuple in vinTupleList : vin = vinTuple[0] vinList.append(vin) numVehicles = len(vinList) conn.commit() conn.close() return vinList def fmcLogin(browser) : #Logs into fmcdealer and returns browser # Fire up ChomeDriver # path_to_chromedriver = '/Users/spencertichenor/PycharmProjects/midway/chromedriver' # browser = webdriver.Chrome(executable_path = path_to_chromedriver) # Log into FMC Dealer url = 'https://fmcdealer.com' browser.get(url) username = browser.find_element_by_id('DEALER-WSLXloginUserIdInput') password = browser.find_element_by_id('DEALER-WSLXloginPasswordInput') username.send_keys('t-spen29') password.send_keys('Tichenor5') browser.find_element_by_xpath('//div[@id="DEALER-WSLXloginWSLSubmitButton"]/input').click() time.sleep(5) return browser def navigateToVincent(browser, vin) : print('\nNavigating to Vincent page for VIN: ' + vin + '...\n\n') #print('\nSearching for rebate info for vehicle ' + str(k+1) + '/' + str(len(vinList)) + '...') #print('\n\tVIN: ' + vin + '\n') browser.get('https://www.vlplus.dealerconnection.com/Search?&searchType=quicksearch') time.sleep(3) try : vinField = browser.find_element_by_id('txtVIN') vinField.send_keys(vin) browser.find_element_by_xpath('//input[@value="Search"]').click() time.sleep(2) except : print('VIN FIELD ERROR:') print(sys.exc_info()[0]) #errorList.append(vin) #pass this was pass but i think it should be return return browser source = browser.page_source if 'Please broaden your search.' not in source : # Check if vehicle was not found in dealership proximity search # Click on Vincent button #source = browser.page_source try : vincentUrl = vincentUrl[0] browser.get(vincentUrl) time.sleep(4) except : print('Vincent Url Error:') print(sys.exc_info()[0]) #errorList.append(vin) #pass return browser source = browser.page_source tree = html.fromstring(source) if 'Please click the "Close" button to continue with the Sales Process.' in source : # Check for recall warning browser.find_element_by_xpath('//input[@value="Close"]').click() time.sleep(2) if 'value="Certificate Inquiry"' not in source : # Check if vehicle already sold # Enter ZIP code and click next try : zipField = browser.find_element_by_xpath('//div/input[@name="customerZip"]') zipField.send_keys('55113') browser.find_element_by_id('primaryButtonId').click() time.sleep(2) except : print('ZIP FIELD ERROR:') print(sys.exc_info()[0]) #errorList.append(vin) pass # Get rebate info #rebateInfo = scrapeRebateInfo(browser) else : #soldList.append(vin) print('\tIt looks like this vehicle has already been sold.\n\n') else : # Vehicle not found in Dealership Proximity search print('\tVehicle not found after searching Dealership Proximity.') #Switch default search to My Lot browser = switchDefaultSearch(browser) try : vinField = browser.find_element_by_id('txtVIN') vinField.send_keys(vin) browser.find_element_by_xpath('//input[@value="Search"]').click() time.sleep(2) except : #errorList.append(vin) print('VIN FIELD ERROR:') print(sys.exc_info()[0]) #switchToProximity(browser) return browser # Click on Vincent button source = browser.page_source tree = html.fromstring(source) vincentUrl = tree.xpath('//a[@title="Smart Vincent"]/@href') try : vincentUrl = vincentUrl[0] browser.get(vincentUrl) time.sleep(4) except : #errorList.append(vin) print('Vincent Url Error:') print(sys.exc_info()[0]) #switchToProximity(browser) #return browser source = browser.page_source tree = html.fromstring(source) if 'Please click the "Close" button to continue with the Sales Process.' in source : # Check for recall warning browser.find_element_by_xpath('//input[@value="Close"]').click() time.sleep(2) if 'value="Certificate Inquiry"' not in source : # Check if vehicle already sold # Enter ZIP code and click next try : zipField = browser.find_element_by_xpath('//div/input[@name="customerZip"]') zipField.send_keys('55113') browser.find_element_by_id('primaryButtonId').click() time.sleep(2) except : #errorList.append(vin) print('ZIP FIELD ERROR:') print(sys.exc_info()[0]) #switchToProximity(browser) #return browser # Get rebate info #rebateInfo = scrapeRebateInfo(browser) else : #soldList.append(vin) print('\tIt looks like this vehicle has already been sold.\n\n') #Switch default search back to Dealership Proximity #switchToProximity(browser) #pass return browser # print('\nNumber of vehicles appear to have been sold: ' + str(len(soldList))) # print('Sold List:') # print(soldList) # print('\nNumber of vehicles that ran into errors: ' + str(len(errorList))) # print('Error List:') # print(errorList) #print('\n\nFinished getting rebate information.') def scrapeRebateInfo(page_source) : #input browser of vincent page, return tuple with unconditional rebate info # Get rebate info #source = browser.page_source tree = html.fromstring(page_source) vin = tree.xpath('//dt[.="VIN:"]/following-sibling::dd/text()') vin = vin[0].replace('\xa0', ' ').replace('\t', '').replace('\n', '') rowspans = tree.xpath('//table[@summary="This table displays and lets you choose public program bundles."]/tbody/tr/td[@class="textC altRow"]/@rowspan | //table[@summary="This table displays and lets you choose public program bundles."]/tbody/tr/td[@class="textC "]/@rowspan') conditions = tree.xpath('//table[@summary="This table displays and lets you choose public program bundles."]/tbody/tr[@class="programTableHeader"]/td[@style="{border-right:none;}"]/text()') nums = tree.xpath('//table[@summary="This table displays and lets you choose public program bundles."]/tbody/tr/td[@class="textL txtCol "]/a/text() | //table[@summary="This table displays and lets you choose public program bundles."]/tbody/tr/td[@class="textL txtCol altRow "]/a/text()') names = tree.xpath('//table[@summary="This table displays and lets you choose public program bundles."]/tbody/tr/td[@class="textL txtCol "]/text() | //table[@summary="This table displays and lets you choose public program bundles."]/tbody/tr/td[@class="textL txtCol altRow "]/text()') amounts = tree.xpath('//table[@summary="This table displays and lets you choose public program bundles."]/tbody/tr/td[@class="textR "]/text() | //table[@summary="This table displays and lets you choose public program bundles."]/tbody/tr/td[@class="textR altRow"]/text()') expirations = tree.xpath('//table[@summary="This table displays and lets you choose public program bundles."]/tbody/tr/td[@class="textC highlight noWrap"]/text()') to_db = (vin,) if rowspans == [] : # No unconditional rebates print('No rebates found for this vehicle.\n') print('Updating rebate info...') while len(to_db) < 43 : to_db += (None,) else : # Yah, it has unconditional rebates # Clean up Condition info condition = conditions[0] condition = condition.replace('\n', '').replace('\t', '').replace(' ', '').replace(':C', ': C') condition = condition[1:] condition = removeWeirdChars(condition) if 'Cash Payment' in condition : print('\tUnconditional Rebates:\n') i=0 for i in range(i, int(rowspans[0])) : num = nums[i].replace('\n', '').replace('\t', '').replace(' ', '') name = names[i*2+1].replace('\n', '').replace('\t', '').replace(' - ', '').replace('s C', 's C').replace(' ', '').replace('"', '') amount = amounts[i].replace('\n', '').replace('\t', '').replace(' ', '') expiration = expirations[i].replace('\n', '').replace('\t', '').replace(' ', '') if 'SIRIUS' in name : #Fix for the stupid 6-month extra Sirius incentive amount = '$0' if ' - ' not in amount and 'Amount Not Available' not in amount : # stupid fix for Oct 2016 rebate and anotehr fix for Dec 2016 rebate print('\t\tProgram: #' + num) print('\t\tName: ' + name) print('\t\tAmount: ' + amount) print('\t\tExpiration: ' + expiration + '\n') to_db += (num,) + (name,) + (condition,) + (amount,) + (expiration,) + (condition,) #fix double header while len(to_db) < 43 : to_db += (None,) return to_db time.sleep(2) def scrapeLeaseInfo(page_source) : # Connect to database conn = sqlite3.connect('data/inventory.db') c = conn.cursor() to_db = () # Get rebate info tree = html.fromstring(page_source) vin = tree.xpath('//dt[.="VIN:"]/following-sibling::dd/text()') vin = vin[0].replace('\xa0', ' ').replace('\t', '').replace('\n', '') vehDesc = tree.xpath('//dt[.="Description:"]/following-sibling::dd/text()') residualTable = tree.xpath('//table[@class="rateTable"]/tbody/tr/td/text() | //table[@class="rateTable"]/thead/tr/th/text()') #rclRebateRow = tree.xpath('//tr[td[contains(., "RCL Customer Cash")]]/td/text()') rclFactorsRow = tree.xpath('//tr[td[contains(., "RCL Factors")]]/td/text()') rclTermLengths = tree.xpath('//tr[td[contains(., "RCL Factors")]]//th/text()') rclFactors = tree.xpath('//tr[td[contains(., "RCL Factors")]]//td/text()') rebateCells = tree.xpath('//tr[td[contains(., "LEASE")]]/following-sibling::*/td/text()') #print('rebateCells:', rebateCells) #print('length of rebateCells:', len(rebateCells)) if rebateCells != [] : print('Lease Rebates:') rebateDict = {} for i, cell in enumerate(rebateCells) : if 'Cash' in cell and 'Fast Cash Certificate' not in cell: rebateName = cell.replace('\t', '').replace('\n', '').replace(' - ', '') if '$' in rebateCells[i+2] : rebateAmount = int(rebateCells[i+2].replace('\t', '').replace('\n', '').replace(' ', '').replace('$', '').replace(',', '')) rebateExpiration = rebateCells[i+3].replace('\t', '').replace('\n', '').replace(' ', '') elif '$' in rebateCells[i+3] : rebateAmount = int(rebateCells[i+3].replace('\t', '').replace('\n', '').replace(' ', '').replace('$', '').replace(',', '')) rebateExpiration = rebateCells[i+4].replace('\t', '').replace('\n', '').replace(' ', '') rebateDict[rebateName] = [rebateAmount, rebateExpiration] print('\tRebate Name:', rebateName) print('\tRebate Amount:', rebateAmount) print('\tRebate Expiration:', rebateExpiration) print('\n') print('rebateDict:', rebateDict) totalRebates = 0 for rebateName in rebateDict : totalRebates += rebateDict[rebateName][0] vehDesc = vehDesc[0].replace('\xa0', ' ').replace('\t', '').replace('\n', '') rclResiduals = {} for i, leaseTerm in enumerate(residualTable[0:4]) : rclResiduals[leaseTerm + ' Month'] = float(residualTable[i+5])/100 #rclRebateName = rclRebateRow[5].replace('\t', '').replace('\n', '').replace(' - ', '') #rclRebateAmount = rclRebateRow[8].replace('\t', '').replace('\n', '').replace(' ', '').replace('$', '').replace(',', '') #rclRebateExpiration = rclRebateRow[9].replace('\t', '').replace('\n', '').replace(' ', '') rclTermLengths = rclTermLengths[:-1] for i, termLength in enumerate(rclTermLengths) : rclTermLengths[i] = int(termLength) rclFactorsExpiration = rclFactorsRow[8].replace('\t', '').replace('\n', '').replace(' ', '') factors = {} for e in rclFactors : if 'Tier' in e : tierIndex = rclFactors.index(e) tier = rclFactors[tierIndex] tierFactors = rclFactors[tierIndex+1:tierIndex+5] for i, factor in enumerate(tierFactors) : tierFactors[i] = float(factor) factors[tier] = tierFactors print('VIN:', vin) print('Vehicle Description:', vehDesc) #print('RCL Rebate Name:', rclRebateName) print('Total Rebates:', totalRebates) #print('RCL Rebate Expiration:', rclRebateExpiration) print('RCL Lengths:', rclTermLengths) print('RCL Factors: ', factors) #used to be factors but too hard to deal with everything print('RCL Factors Expiration:', rclFactorsExpiration) print('RCL Residual:', rclResiduals) c.execute('SELECT stock, year, model, vehTrim FROM masterInventory WHERE vin = ?', (vin,)) vehInfo = c.fetchall() vehInfo = vehInfo[0] print('vehInfo:', vehInfo) to_db = (vin,) + vehInfo + (str(rebateDict), totalRebates, str(rclTermLengths), str(factors), rclFactorsExpiration, str(rclResiduals)) #to_db = (vin, str(rebateDict), totalRebates, str(rclTermLengths), str(factors), rclFactorsExpiration, str(rclResiduals)) else : print('No lease info found.') to_db = (vin, None, None, None, None, None, None, None, None, None, None) # Close connection to database conn.commit() conn.close() return to_db time.sleep(2) def calculateLeasePayment(vin, termLength, mileage, tier) : # outputs monthly payments. input example: ('1FAHP1231', 36, 15000, 'Tier 0-1') print('Calculating lease payments for VIN: ' + vin) leaseParameters = getLeaseParameters(vin) #print('leaseParameters:', leaseParameters) if leaseParameters[5] == None : # if there are no lease deals paymentOptions = (None, None, None, None, None, vin) else : msrp = leaseParameters[0] dealerDiscount = leaseParameters[1] rebateAmount = leaseParameters[2] termLengths = leaseParameters[3] interestRates = leaseParameters[4] residuals = leaseParameters[5] termLengthIndex = termLengths.index(termLength) apr = interestRates[tier][termLengthIndex] apr += 1 # Juicing the apr by 1% residual = residuals[str(termLength) + ' Month'] # Adjust residual for mileage residual += (15000 - mileage)/1500 * .01 residual = round(residual, 2) taxRate = .07125 # plus any local taxes i guess aquisitionFee = 645 # need to figure out better way moneyFactor = apr/2400 salesTax = round(msrp * taxRate, 2) # dunno if this should be here salesTax = 0 signAndDrive = 0 - aquisitionFee - salesTax downPayments = [signAndDrive, 0, 1000, 2000, 3000] print('MSRP:', msrp) print('Dealer Discount:', dealerDiscount) print('Rebate Amount:', rebateAmount) print('Term Length:', str(termLength) + ' Month') print('APR:', apr) print('Money Factor:', moneyFactor) print('Residual:', residual) print('\n\n') paymentOptions = () for downPayment in downPayments : sellingPrice = msrp - dealerDiscount - rebateAmount #taxableAmount = sellingPrice - residualValue - downPayment + rentCharge # not accurate #salesTax = msrp * taxRate #salesTax = 0 grossCapCost = msrp - dealerDiscount + aquisitionFee + salesTax capCostReduction = rebateAmount + downPayment netCapCost = round(grossCapCost - capCostReduction, 2) residualValue = round(msrp * residual, 2) depreciation = round(netCapCost - residualValue, 2) basePayment = round(depreciation/termLength, 2) rentPayment = round((netCapCost + residualValue) * moneyFactor, 2) rentCharge = rentPayment*termLength totalPayment = round(basePayment + rentPayment, 2) print('Down Payment:', downPayment) print('\n') print('Gross Cap. Cost:', grossCapCost) print('Cap. Cost Reduction:', capCostReduction) print('Net Cap. Cost:', netCapCost) print('Residual Value:', residualValue) print('Depreciation:', depreciation) print('Base Payment:', basePayment) print('Rent Payment:', rentPayment) print('Total Monthly Payment:', totalPayment) print('\n\n\n') paymentOptions += (totalPayment,) paymentOptions += (vin,) #print('Payment Options:', paymentOptions) return paymentOptions def scrapeFMC(): # Gets rebate and lease info from FMC Dealer vinList = getVinList() #vinList = ['3FA6P0VP1HR195216', '3FA6P0H77HR187150'] #path_to_chromedriver = 'chromedriver' #browser = webdriver.Chrome(executable_path=path_to_chromedriver) browser = start_chromedriver() browser = fmcLogin(browser) errorList = [] for i, vin in enumerate(vinList) : print('Vehicle ' + str(i+1) + '/' + str(len(vinList)) + ':\n') browser = navigateToVincent(browser, vin) try : to_db = scrapeRebateInfo(browser.page_source) updateRebateTable(to_db) to_db = scrapeLeaseInfo(browser.page_source) updateLeaseTable(to_db) #to_db = calculateLeasePayment(vin, 36, 10500, 'Tier 0-1') #updateLeaseTable(to_db) except Exception as e: template = "An exception of type {0} occurred. Arguments:\n{1!r}" message = template.format(type(e).__name__, e.args) message += '\nError on line {}'.format(sys.exc_info()[-1].tb_lineno) print(message) errorList.append(vin) continue print('Error List:', errorList) print('Number of Errors:', len(errorList)) doubleErrorList = [] for i, vin in enumerate(errorList) : # Re-run all VINs that had errors print('Vehicle ' + str(i+1) + '/' + str(len(errorList)) + ':\n') browser = navigateToVincent(browser, vin) try : to_db = scrapeRebateInfo(browser.page_source) updateRebateTable(to_db) to_db = scrapeLeaseInfo(browser.page_source) updateLeaseTable(to_db) except Exception as e: template = "An exception of type {0} occurred. Arguments:\n{1!r}" message = template.format(type(e).__name__, e.args) message += '\nError on line {}'.format(sys.exc_info()[-1].tb_lineno) print(message) doubleErrorList.append(vin) continue print('Double Error List:', errorList) print('Number of Double Errors:', len(errorList)) print(20*'\n') def updateVLPlusInventoryTable(): print('Scraping Vehicle Locator..') # Open connection to database conn = sqlite3.connect('data/inventory.db') c = conn.cursor() # Delete old data query = 'DELETE FROM VLPlusInventory' c.execute(query) # all the xpath that we're gonna need vin_list_xpath = '//tr[contains(@class, "vehiclerow")]/@vin' msrp_list_xpath = '//td[contains(@class, "price")]/a[@class="pdfWindowSticker"]/span/text()' invoice_list_xpath = '//tr[contains(@class, "vehiclerow")]/td[11]/a/span/text()' pep_list_xpath = '//tr[contains(@class, "vehiclerow")]/td[7]/span[3]/text()' order_type_list_xpath = '//a[@onclick="showOrderTypeInfo();"]/span/text()' engine_list_xpath = '//tr[contains(@class, "vehiclerow")]/td[8]/span[1]/text()' status_list_xpath = '//tr[contains(@class, "vehiclerow")]/td[1]/@class' # Log into FMC Dealer #path_to_chromedriver = 'chromedriver' #browser = webdriver.Chrome(executable_path=path_to_chromedriver) browser = start_chromedriver() browser = fmcLogin(browser) wait = WebDriverWait(browser, 10) browser.get('https://www.vlplus.dealerconnection.com/InvMgt/') time.sleep(randomInterval() * 2) source = browser.page_source tree = html.fromstring(source) vehicle_count = tree.xpath('//th[@class="resultcount"]/text()') print(vehicle_count) vehicle_count = vehicle_count[1].split(' ') vehicle_count_index = vehicle_count.index('vehicles') - 1 vehicle_count = vehicle_count[vehicle_count_index] vehicle_count = int(vehicle_count) page_count = math.ceil(vehicle_count/25) print('Total pages:', page_count) for j in range(0, page_count-1): tree = html.fromstring(browser.page_source) vin_list = tree.xpath(vin_list_xpath) ugly_msrp_list = tree.xpath(msrp_list_xpath) ugly_invoice_list = tree.xpath(invoice_list_xpath) ugly_pep_list = tree.xpath(pep_list_xpath) ugly_order_type_list = tree.xpath(order_type_list_xpath) ugly_engine_list = tree.xpath(engine_list_xpath) ugly_status_list = tree.xpath(status_list_xpath) # Clean up PEP Codes msrp_list = [] invoice_list = [] pep_list = [] order_type_list = [] engine_list = [] status_list = [] for k in range(0, len(vin_list)): msrp_list.append(ugly_msrp_list[k].replace('$', '').replace(',', '')) if msrp_list[k] != 'n/a': msrp_list[k] = int(msrp_list[k]) else: msrp_list[k] = '' invoice_list.append(ugly_invoice_list[k].replace('$', '').replace(',', '')) if invoice_list[k] != 'n/a': invoice_list[k] = int(invoice_list[k]) else: invoice_list[k] = '' for pep_code in ugly_pep_list: pep_list.append(pep_code) for order_type in ugly_order_type_list: order_type_list.append(order_type) for engine in ugly_engine_list: engine = engine.split('<br>')[0].replace(' ', '').replace('\n', '') if 'L ' in engine and 'SPD' not in engine and 'SPEED' not in engine: engine_list.append(engine) for status in ugly_status_list: if 'transit' in status: status_list.append('In Transit') elif 'plant' in status: status_list.append('In Plant') else: status_list.append('In Stock') if len(msrp_list) != len(invoice_list): print('len msrp != invoice') raise ValueError if len(pep_list) != len(msrp_list): print('len pep != msrp') print(msrp_list) print(ugly_pep_list) raise ValueError print('msrp_list len: ', len(msrp_list)) print('msrp_list: ', msrp_list) print('invoice_list: ', invoice_list) print('pep_list: ', pep_list) print('order_type_list: ', order_type_list) print('engine_list: ', engine_list) print('status_list: ', status_list) to_db = [] for k, vin in enumerate(vin_list): print('VIN: ', vin) print('msrp: ', msrp_list[k]) print('invoice: ', invoice_list[k]) print('pep: ', pep_list[k]) print('order_type: ', order_type_list[k]) print('engine: ', engine_list[k], '\n') if msrp_list[k] < invoice_list[k]: raise ValueError to_db.append((vin, msrp_list[k], invoice_list[k], pep_list[k], order_type_list[k], engine_list[k], status_list[k])) query = 'INSERT OR REPLACE INTO VLPlusInventory (vin, msrp, invoice, pepCode, orderType, engine, status) VALUES (?, ?, ?, ?, ?, ?, ?)' c.executemany(query, to_db) conn.commit() time.sleep(randomInterval()) next_page_xpath = '//a[@page="{}"]'.format(str(j+2)) next_page_link = wait.until(EC.element_to_be_clickable((By.XPATH, next_page_xpath))) next_page_link.click() #browser.find_element_by_xpath(next_page_xpath).click() time.sleep(randomInterval()*2) conn.close() def updateMasterInventoryStockStatus(): # Open connection to database conn = sqlite3.connect('data/inventory.db') c = conn.cursor() # Get all vin in master inv query = 'SELECT vin FROM masterInventory' c.execute(query) master_results = c.fetchall() master_vin_list = [] for r in master_results: master_vin_list.append(r[0]) # Get all retail veh in vlplus inv query = 'SELECT vin, status FROM VLPlusInventory WHERE orderType = ? OR orderType = ?' to_db = ('1', '2') c.execute(query, to_db) vlplus_results = c.fetchall() for r in vlplus_results: vin = r[0] vlpus_status = r[1] print('\n', vin, ':\n\n') if vin in master_vin_list: query = 'SELECT status, dateInStock FROM masterInventory WHERE vin = ?' to_db = (vin,) c.execute(query, to_db) result = c.fetchall() master_status = result[0][0] date_in_stock = result[0][1] print(master_status) if date_in_stock and master_status == 'In Stock': print('Stock status already set') continue elif date_in_stock and master_status != 'In Stock': print('Updating stock status') query = 'UPDATE masterInventory SET status = ? WHERE vin = ?' to_db = ('In Stock', vin) c.execute(query, to_db) else: print('Adding veh to master') query = 'INSERT OR REPLACE INTO masterInventory (vin, status, invType) VALUES (?, ?, ?)' to_db = (vin, vlpus_status, 'New') c.execute(query, to_db) conn.commit() conn.close() # Data stuff def get_incoming_homenet_file(): # Logs into Homenet FTP server and downloads inventory file print('Getting CSV file from Homenet feed...') #autouplinkFilePath = 'spencertichenor.com/home/sjtichenor/public_ftp/incoming/RosevilleMidwayFord' + YEAR + MO + DAY ftp = ftplib.FTP('spencertichenor.com') ftp.login(user='ftpbot@spencertichenor.com', passwd='M4lonePovolny') homenetFileName = 'homenet_feed.csv' localFilePath = 'data/local_homenet_file.csv' localFile = open(localFilePath, 'wb') ftp.retrbinary('RETR ' + homenetFileName, localFile.write, 1024) print('CSV file from Homenet feed saved at: data/local_homenet_file.csv') ftp.quit() localFile.close() def update_incoming_homenet_table(): # Gets data from local_homenet_file.csv then updates homenetInventory and masterInventory tables conn = sqlite3.connect('data/inventory.db') c = conn.cursor() print('Updating homenetInventory table with data sent from Homenet FTP feed...') with open('data/local_homenet_file.csv', 'r') as homenetFile: # csv.DictReader uses first line in file for column headings by default dr = csv.DictReader(homenetFile) # comma is default delimiter to_db = [] homenetVinList = [] ## Clean out weird characters valid_chars = string.ascii_letters + string.digits + ' ' + ':' + '-' + ',' + '&' + '$' + '/' + '.' + '_' + '!' for i in dr: for key in i.keys(): s = i[key] clean = ''.join(c for c in s if c in valid_chars) i[key] = clean #print(key + ': ' + i[key]) #print('\n' + 50*'*' + '\n') to_db.append(( i['VIN'], i['Stock'], i['Type'], i['Year'], i['Make'], i['Model'], i['Trim'], i['Body'], i['MSRP'], i['SellingPrice'], i['InternetPrice'], i['Invoice'], i['BookValue'], i['Certified'], i['ModelNumber'], i['Doors'], i['ExteriorColor'], i['InteriorColor'], i['EngineCylinders'], i['EngineDisplacement'], i['Transmission'], i['Miles'], i['DateInStock'], i['Description'], i['Options'], i['Categorized Options'], i['ImageList'], i['Style Description'], i['Drive type'], i['Wheelbase Code'], i['Engine Description'], i['Market Class'], i['Factory_Codes'] )) homenetVinList.append(i['VIN']) #used later to delete vehicles that aren't in stock anymore, index of 0 because it is a tuple query = (""" INSERT OR REPLACE INTO homenetInventory (vin, stock, invType, year, make, model, vehTrim, cabStyle, intMSRP, intPrice, intInternetPrice, intInvoice, intGeneralLedger, cpo, modelNumber, doors, exteriorColor, interiorColor, engineCylinders, engineDisplacement, transmission, miles, dateInStock, description, options, optionsCategorized, imageUrls, style, drive, wheelbase, engine, marketClass, factCodes) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) """) c.executemany(query, to_db) #c.executemany("INSERT OR REPLACE INTO masterInventory (vin, stock, invType, year, make, model, vehTrim, cabStyle, intMSRP, intPrice, intInternetPrice, intInvoice, intGeneralLedger, cpo, modelNumber, doors, exteriorColor, interiorColor, engineCylinders, engineDisplacement, transmission, miles, dateInStock, description, options, optionsCategorized, imageUrls, style, drive, wheelbase, engine, marketClass, factCodes) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", to_db) # that was redundent i think ^^ # Delete vehicles that aren't in stock anymore from Homenet table currentVinList = [] c.execute('SELECT vin FROM homenetInventory') tupleVinList = c.fetchall() for tupleVin in tupleVinList: # Convert tuples to strings in order to compare later vin = tupleVin[0] currentVinList.append(vin) for vin in currentVinList: if vin not in homenetVinList: c.execute('DELETE FROM homenetInventory WHERE vin = ?', (vin,)) print('Deleted VIN ' + vin + ' from Homenet Inventory Table.') conn.commit() print('Finished updating homenetInventory table.\n') # Update masterInventory table print('Updating masterInventory table with data from homenetInventory table...') query = 'INSERT OR REPLACE INTO masterInventory (vin, stock, invType, year, make, model, vehTrim, cabStyle, intMSRP, intPrice, intInternetPrice, intInvoice, intGeneralLedger, cpo, modelNumber, doors, exteriorColor, interiorColor, engineCylinders, engineDisplacement, transmission, miles, dateInStock, description, options, optionsCategorized, imageUrls, style, drive, wheelbase, engine, marketClass, factCodes) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' c.executemany(query, to_db) c.execute('SELECT vin from masterInventory') masterVinTupleList = c.fetchall() for vinTuple in masterVinTupleList: vin = vinTuple[0] if vin not in homenetVinList: c.execute('DELETE FROM masterInventory WHERE vin = ?', (vin,)) print('Deleted VIN ' + vin + ' from Master Inventory Table.') conn.commit() conn.close() def updateMasterTable() : conn = sqlite3.connect('data/inventory.db') c = conn.cursor() c.execute('SELECT * FROM homenetInventory') vehTupleList = c.fetchall() to_db = vehTupleList print(to_db) print(len(to_db)) for i in to_db: print(i) print(len(i)) c.executemany("INSERT OR REPLACE INTO masterInventory (vin, stock, invType, year, make, model, vehTrim, bodyStyle, intMSRP, intPrice, intInternetPrice, intInvoice, intGeneralLedger, cpo, modelNumber, doors, exteriorColor, interiorColor, engineCylinders, engineDisplacement, transmission, miles, dateinStock, description, options, optionsCategorized, imageUrls) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);", to_db) conn.commit() # Delete vehicles that are no longer in stock from masterInventory homenetVinList = [] c.execute('SELECT vin from homenetInventory') homenetVinTupleList = c.fetchall() for homenetVinTuple in homenetVinTupleList : homenetVin = homenetVinTuple[0] homenetVinList.append(homenetVin) c.execute('SELECT vin from masterInventory') masterVinTupleList = c.fetchall() for vinTuple in masterVinTupleList : vin = vinTuple[0] if vin not in homenetVinList : c.execute('DELETE FROM masterInventory WHERE vin = ?', (vin,)) print('Deleted VIN ' + vin + ' from Master Inventory Table.') conn.commit() conn.close() def removeOldVins(table): #DOES NOT WORK removes VINs that are no longer in masterInventory from supplied table conn = sqlite3.connect('data/inventory.db') c = conn.cursor() masterVinList = [] c.execute('SELECT vin FROM masterInventory') masterVinTupleList = c.fetchall() for masterVinTuple in masterVinTupleList : vin = masterVinTuple[0] masterVinList.append(vin) c.execute('SELECT vin FROM ?', (table,)) rebateVinTupleList = c.fetchall() for rebateVinTuple in rebateVinTupleList : vin = rebateVinTuple[0] if vin not in masterVinList : c.execute('DELETE FROM rebateInfo WHERE vin = ?', (vin,)) print('\t' + vin + ' deleted from rebateInfo table.') conn.commit() conn.close() def compute_highlights(): # Gets masterInventory 'options' field for each veh then finds highlights then adds them to highlights column separated by commas conn = sqlite3.connect('data/inventory.db') c = conn.cursor() c.execute('SELECT vin, options, year, invType, description, cpo, engine, drive, stock, make, model, marketClass FROM masterInventory') optionsTupleList = c.fetchall() for optionsTuple in optionsTupleList: highlightList = [] highlightStr = '' vin = optionsTuple[0] options = optionsTuple[1].lower() year = optionsTuple[2] invType = optionsTuple[3] description = optionsTuple[4].lower() cpo = optionsTuple[5] engine = optionsTuple[6] drive = optionsTuple[7] stock = optionsTuple[8] make = optionsTuple[9] model = optionsTuple[10] marketClass = optionsTuple[11] # Get coolest options if cpo == 'True': highlightList.append('Certified Pre-Owned') highlightList.append('100,000-Mile Warranty') #if year == 2017 and invType == 'New' : #highlightList.append('Apple CarPlay') #highlightList.append('Android Auto') # Highlight Idicators - List of dictionaries where the key is the highlight name and the value is a list of indicator phrases indicatorList = [ {'One-Owner': ['one owner', 'one-owner']}, {'Low Miles': ['low mile']}, {'Remote Start': ['remote start', 'remote engine start', 'remote auto start']}, {'Technology Package': ['technology package', 'technology pkg']}, {'Cold Weather Package': ['cold weather package']}, {'Appearance Package': ['appearance package']}, {'Moonroof': ['vista roof', 'moonroof', 'glass roof', 'panoramic roof']}, {'Rear Camera': ['rear view camera', 'back-up camera', 'rear-view camera']}, {'Rear Camera w/ Hitch Assist': ['rear view camera w/dynamic hitch assist']}, {'Heated Seats': ['heated leather', 'heated front seats', 'heated bucket']}, {'Heated/Cooled Seats': ['heated & cooled', 'heated and cooled', 'heated/cooled']}, {'Heated Steering Wheel': ['heated steering wheel']}, {'Heated Mirrors': ['heated mirrors']}, {'Tow Package': ['tow package', 'Towing', 'Trailer Hitch']}, {'Trailer Brake Controller': ['trailer brake controller']}, {'Premium Audio System': ['premium audio system', 'premium 9 speaker']}, {'Leather Interior': ['leather seats', 'leather-trimmed', 'leather trimmed']}, {'Bluetooth': ['bluetooth']}, {'USB Connectivity': ['usb']}, {'Apple CarPlay': ['apple carplay']}, {'Android Auto': ['android auto']}, {'Snow Plow Package': ['snow plow package']}, {'Lane-Keeping System': ['lane-keeping system']}, {'Rain-Sensing Wipers': ['rain-sensing wipers']}, {'Park Assist System': ['park assist system']}, {'Sirius': ['sirius', 'satellite radio']}, {'Power Liftgate': ['pwr liftgate', 'power liftgate']}, {'Remote Tailgate': ['remote tailgate']}, {'Push Button Start': ['push button start']}, {'Navigation': ['navigation']}, {'Bedliner': ['bedliner']}, {'Extended Range Fuel Tank': ['extended range']}, {'2nd Row Bucket Seats': ['2nd row bucket seats']}, {'3rd Row Seat': ['3rd row seat', '3rd seat']}, {'Touchscreen': ['touchscreen', 'touch-screen', 'myford touch', 'sync 3']}, {'Keyless Entry': ['keyless', 'keypad entry']}, {'Cruise Control': ['cruise control']}, {'Auto Start-Stop Technology': ['auto start-stop technology']}, {'LED Box Lighting': ['led box lighting']}, ] for i in indicatorList: highlight = list(i.keys())[0] phraseList = list(i.values())[0] for phrase in phraseList: if phrase in options or phrase in description: highlightList.append(highlight) break highlightList.append(engine) highlightList.append(drive) # Remove redundant highlights redundantList = [ ['Heated Seats', 'Heated/Cooled Seats'], ['Rear Camera', 'Rear Camera w/ Hitch Assist'], ['USB Connectivity', 'Bluetooth'], ['Bluetooth', 'Apple CarPlay'], ['Tow Package', 'Trailer Brake Controller'] ] for i in redundantList: if i[0] in highlightList and i[1] in highlightList: highlightList.remove(i[0]) for highlight in highlightList: highlightStr += highlight + ',' if len(highlightStr) > 0: # Get rid of unnecessary comma on end of string highlightStr = highlightStr[:-1] # Set Body Style (not really a highlight) - Had to switch to ghetto version below because vans were getting marked as cars because iterating throguh dict is not ordered # indicatorDict = { # 'Car': ['Car'], # 'Truck': ['Truck'], # 'Van': ['Van', 'van'], # 'SUV': ['Sport Utility Vehicles'] # } # bodyStyles = indicatorDict.keys() # for bodyStyle in bodyStyles : # for indicator in indicatorDict[bodyStyle] : # if indicator in marketClass : # style = bodyStyle if 'Car' in marketClass: # has to come first so cargo van gets listed as Van style = 'Car' if 'Truck' in marketClass: style = 'Truck' if 'Van' in marketClass or 'van' in marketClass : style = 'Van' if 'Sport Utility Vehicles' in marketClass : style = 'SUV' # Clean up Model model = model.replace(' Commercial Cutaway', '').replace(' Sport Fleet', '').replace(' Cutaway', '') # Clean up Engine engine = engine.replace(' L', 'L') print('Vehicle: ' + stock + ' ' + make + ' ' + model) print('Highlights:', highlightList) print('BodyStyle:', style) print('\n') # Set Status to In Stock status = 'In Stock' # Update database c.execute('UPDATE masterInventory SET highlights = ?, bodyStyle = ?, model = ?, engine = ?, status = ? WHERE vin = ?', (highlightStr, style, model, engine, status, vin,)) conn.commit() conn.close() def calculate_pricing(): print('Calculating max discount for each vehicle...\n') conn = sqlite3.connect('data/inventory.db') c = conn.cursor() # Set dealer discount and total discount query = ('SELECT vin, intMSRP, intInternetPrice, intTotalRebates, totalConditionalRebates ' 'FROM masterInventory ' 'WHERE invType = "New" AND intMSRP != 0') c.execute(query) results = c.fetchall() for r in results: print('r:', r) vin = r[0] msrp = r[1] price_before_rebates = r[2] unconditional_rebates = r[3] conditional_rebates = r[4] dealer_discount = msrp - price_before_rebates if unconditional_rebates: best_discount = dealer_discount + unconditional_rebates + conditional_rebates else: best_discount = dealer_discount # Print results print('\t\tVIN:', vin) print('\t\tMSRP:', msrp) print('\t\tPrice before rebates:', price_before_rebates) print('\t\tDealer Discount:', dealer_discount) print('\t\tUnconditional Rebates:', unconditional_rebates) print('\t\tConditional Rebates:', conditional_rebates) print('\t\tBest Discount:', best_discount, '\n\n') # Update database query = 'UPDATE masterInventory SET intTotalDiscount = ? WHERE vin = ?' to_db = (best_discount, vin) c.execute(query, to_db) conn.commit() conn.close() print('Finished calculating max discount for each vehicle.\n') def create_outgoing_homenet_table(): conn = sqlite3.connect('data/inventory.db') c = conn.cursor() query = (""" CREATE TABLE IF NOT EXISTS outgoingHomenet (VIN TEXT UNIQUE, comment1 TEXT, misc_price1 INTEGER, comment2 TEXT, misc_price2 INTEGER, comment3 TEXT, misc_price3 INTEGER, comment5 TEXT) """) c.execute(query) conn.commit() conn.close() def update_outgoing_homenet_table(): conn = sqlite3.connect('data/inventory.db') c = conn.cursor() c.execute('DELETE FROM outgoingHomenet') to_db = [] c.execute('SELECT vin, highlights, intTotalRebates, totalConditionalRebates FROM masterInventory') results = c.fetchall() for r in results: vin = r[0] highlights = r[1] unconditional_rebates = r[2] conditional_rebates = r[3] if not unconditional_rebates: unconditional_rebates = 0 if not conditional_rebates: conditional_rebates = 0 to_db.append((vin, highlights, 0, None, unconditional_rebates, None, conditional_rebates, '')) print('\n\nVIN:', vin) print('Highlights:', highlights) print('Unconditional Rebates:', unconditional_rebates) print('Conditional Rebates:', conditional_rebates) query = (""" INSERT OR REPLACE INTO outgoingHomenet (vin, comment1, misc_price1, comment2, misc_price2, comment3, misc_price3, comment5) VALUES (?, ?, ?, ?, ?, ?, ?, ?) """) c.executemany(query, to_db) conn.commit() conn.close() def update_outgoing_homenet_file(): conn = sqlite3.connect('data/inventory.db') c = conn.cursor() c.execute('SELECT vin, comment1, misc_price1, comment2, misc_price2, comment3, misc_price3, comment5 FROM outgoingHomenet') with open('data/homenet-incentive-feed.csv', 'w') as csv_file: csv_writer = csv.writer(csv_file, dialect='excel') csv_writer.writerow([i[0] for i in c.description]) # write headers csv_writer.writerows(c) conn.commit() conn.close() def upload_outgoing_homenet_file(): print('\nUploading inventory to FTP server for Homenet...') file_path = 'data/homenet-incentive-feed.csv' file_name = file_path.split('/') file_name = file_name[-1] print('Uploading ' + file_name + ' to FTP server...\n') file = open(file_path, 'rb') ftp = ftplib.FTP('iol.homenetinc.com') ftp.login('hndatafeed', 'gx8m6') ftp.storbinary('STOR ' + file_name, file, 1024) file.close() ftp.quit() print('Successfully uploaded ' + file_name + ' to homenet folder on FTP server.\n') def send_feeds_from_homenet(): print('Navigating to Homenet.com and send out feeds to cars.com, cargurus, etc..') # Fire up ChromeDriver browser = start_chromedriver() wait = WebDriverWait(browser, 10) # Log into Homenet #url = 'https://www.homenetiol.com/marketplace/overview' url = 'https://www.homenetiol.com/login?RedirectUrl=%2fmarketplace%2foverview' browser.get(url) username = browser.find_element_by_xpath('//input[@class="username text-value"]') password = browser.find_element_by_xpath('//input[@class="password text-value"]') username.send_keys('spencer@rosevillemidwayford.com') password.send_keys('G3nericwords') wait.until(EC.element_to_be_clickable((By.XPATH, '//a[@class="login-action button"]'))).click() wait.until(EC.element_to_be_clickable((By.XPATH, '//a[@class="run-all-button button"]'))).click() time.sleep(10) print('Finished sending out feeds.') def vacuum_db(): conn = sqlite3.connect('data/inventory.db') c = conn.cursor() c.execute("VACUUM") conn.close() def figureManagerSpecials(): # Open connection to database conn = sqlite3.connect('data/inventory.db') c = conn.cursor() url = 'http://www.rosevillemidwayford.com/new-car-sales-roseville-mn' page = requests.get(url) tree = html.fromstring(page.content) stockResults = tree.xpath('//span[contains(@class, "spec-value-stocknumber")]/text()') specialStockList = [] for specialStock in stockResults : specialStock = specialStock.replace('#', '') specialStockList.append(specialStock) print(specialStockList) c.execute('SELECT stock FROM masterInventory') results = c.fetchall() for r in results: stock = r[0] if stock in specialStockList : print('looks like stock #' + stock + ' is a special!') query = 'UPDATE masterInventory SET managerSpecial = ? WHERE stock = ?' to_db = ('True', stock) c.execute(query, to_db) else : print('looks like stock #' + stock + ' is NOT a special!') query = 'UPDATE masterInventory SET managerSpecial = ? WHERE stock = ?' to_db = ('False', stock) c.execute(query, to_db) conn.commit() conn.close() def figureLeaseSpecials(): # Open connection to database conn = sqlite3.connect('data/inventory.db') c = conn.cursor() lease_specials = [] c.execute('SELECT DISTINCT year FROM masterInventory') year_results = c.fetchall() for y in year_results: year = y[0] # print(year) query = 'SELECT DISTINCT model FROM masterInventory WHERE year = ? AND leasePayment != ?' to_db = (year, '') c.execute(query, to_db) model_results = c.fetchall() for m in model_results: model = m[0] query = 'SELECT min(leasePayment) FROM masterInventory WHERE year = ? AND model = ?' to_db = (year, model) c.execute(query, to_db) payment_results = c.fetchall() min_payment = payment_results[0][0] query = 'SELECT vin, stock, vehTrim, intMSRP, intPrice, leaseRebateExpiration FROM masterInventory WHERE year = ? AND model = ? AND leasePayment = ?' to_db = (year, model, minPayment) c.execute(query, to_db) veh_results = c.fetchall() v = veh_results[0] # Just get first vehicle even if there are many print(v) vin = v[0] stock = v[1] vehTrim = v[2] msrp = v[3] price = v[4] term = 36 residual = v[5] downPayment = v[6] totalLeaseRebates = v[7] dueAtSigning = v[8] expiration = v[9] # Get data from masterInventory table for rest of required info c.execute('SELECT bodyStyle, imageUrls, imageUrlsHD, vdp_url, drive FROM masterInventory WHERE vin = ?', (vin,)) # add option codes to this later master_results = c.fetchall() if not master_results: continue bodyStyle = master_results[0][0] # just getting that matched the else query, could maybe hone this to get one with pic later?? imageUrls = master_results[0][1] imageUrlsHD = master_results[0][2] vdp = master_results[0][3] drive = master_results[0][4] # option_codes = masterResults[0][4] # Set image to HD version if available if imageUrlsHD: imageUrl = imageUrlsHD elif imageUrls: imageUrl = imageUrls.split(',')[0] else: continue minPayment = locale.currency(minPayment, grouping=True).replace('.00', '') #downPayment = locale.currency(downPayment, grouping=True).replace('.00', '') #dueAtSigning = locale.currency(dueAtSigning, grouping=True).replace('.00', '') msrp = locale.currency(msrp, grouping=True).replace('.00', '') price = locale.currency(price, grouping=True).replace('.00', '') # offer = '<p>' + minPayment + '/month with ' + downPayment + ' down payment.<br><br>Just ' + dueAtSigning + ' due at signing.<br><br>Based on MSRP of ' + msrp + '.</p>' # title = minPayment + '/month with {} down.'.format(downPayment) # description = 'Lease term of {} months. Based on MSRP of {} and selling price of {}. Requires {} due at signing.'.format(term, msrp, price, dueAtSigning) # disclaimer = 'Must take new retail delivery from dealer stock by {}. Requires {} due at signing. Based on MSRP of {} and selling price of {}. See Subject to credit approval. Assumes 10,500 miles/year and Tier 0-1 credit. Tax, title, and license not included. Some restrictions apply. See sales representative for details.'.format(expiration, minPayment, msrp, price) lease_specials.append({ 'vin': vin, 'stock': stock, 'year': year, 'model': model, 'vehTrim': vehTrim, # 'title': title, # 'description': description, 'expiration': expiration, 'monthlyPayment': minPayment, 'dueAtSigning': dueAtSigning, 'vdp': vdp, 'imageUrl': imageUrl, 'bodyStyle': bodyStyle, 'msrp': msrp, 'price': price, # 'disclaimer': disclaimer, 'drive': drive, # 'option_codes': option_codes }) print('\nFresh Specials:') for s in lease_specials: print('\n') # print('\n\n', s, '\n') for k in s.keys(): print(k + ': ' + str(s[k])) print('\n\n') # Close connection to database conn.close() return lease_specials def wait_for_next_run(minutes_to_wait): print('Finished running program. Waiting 30 minutes to rerun.') minutes_to_wait = int(minutes_to_wait) for i in range(minutes_to_wait, 1, -1): time.sleep(60) print('Waiting {} minutes until next run.'.format(i)) def main(): while True: get_incoming_homenet_file() update_incoming_homenet_table() scrape.scrape_cdk() calculate_pricing() compute_highlights() create_outgoing_homenet_table() update_outgoing_homenet_table() update_outgoing_homenet_file() upload_outgoing_homenet_file() send_feeds_from_homenet() sales_specials.main() midwords.main() hd_images.main() facebook.main() #adwords_feeds.main() sheets.main() # maybe add something to check if any dealer discounts are negative then re run (and if model isnt raptor) vacuum_db() wait_for_next_run(30) if __name__ == '__main__': main()
[((583, 628), 'locale.setlocale', 'locale.setlocale', (['locale.LC_ALL', '"""en_US.utf8"""'], {}), "(locale.LC_ALL, 'en_US.utf8')\n", (599, 628), False, 'import locale\n'), ((796, 831), 'pyvirtualdisplay.Display', 'Display', ([], {'visible': '(0)', 'size': '(800, 800)'}), '(visible=0, size=(800, 800))\n', (803, 831), False, 'from pyvirtualdisplay import Display\n'), ((909, 963), 'selenium.webdriver.Chrome', 'webdriver.Chrome', ([], {'executable_path': 'path_to_chromedriver'}), '(executable_path=path_to_chromedriver)\n', (925, 963), False, 'from selenium import webdriver\n'), ((1389, 1402), 'time.sleep', 'time.sleep', (['(3)'], {}), '(3)\n', (1399, 1402), False, 'import time\n'), ((1480, 1493), 'time.sleep', 'time.sleep', (['(3)'], {}), '(3)\n', (1490, 1493), False, 'import time\n'), ((1573, 1586), 'time.sleep', 'time.sleep', (['(3)'], {}), '(3)\n', (1583, 1586), False, 'import time\n'), ((1653, 1689), 'lxml.html.fromstring', 'html.fromstring', (['browser.page_source'], {}), '(browser.page_source)\n', (1668, 1689), False, 'from lxml import html\n'), ((2641, 2654), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (2651, 2654), False, 'import time\n'), ((2749, 2762), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (2759, 2762), False, 'import time\n'), ((2862, 2898), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (2877, 2898), False, 'import sqlite3\n'), ((3901, 3914), 'time.sleep', 'time.sleep', (['(5)'], {}), '(5)\n', (3911, 3914), False, 'import time\n'), ((4284, 4297), 'time.sleep', 'time.sleep', (['(3)'], {}), '(3)\n', (4294, 4297), False, 'import time\n'), ((9401, 9429), 'lxml.html.fromstring', 'html.fromstring', (['page_source'], {}), '(page_source)\n', (9416, 9429), False, 'from lxml import html\n'), ((12908, 12921), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (12918, 12921), False, 'import time\n'), ((13000, 13036), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (13015, 13036), False, 'import sqlite3\n'), ((13122, 13150), 'lxml.html.fromstring', 'html.fromstring', (['page_source'], {}), '(page_source)\n', (13137, 13150), False, 'from lxml import html\n'), ((17957, 17970), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (17967, 17970), False, 'import time\n'), ((23561, 23597), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (23576, 23597), False, 'import sqlite3\n'), ((24536, 24562), 'selenium.webdriver.support.ui.WebDriverWait', 'WebDriverWait', (['browser', '(10)'], {}), '(browser, 10)\n', (24549, 24562), False, 'from selenium.webdriver.support.ui import WebDriverWait\n'), ((24712, 24735), 'lxml.html.fromstring', 'html.fromstring', (['source'], {}), '(source)\n', (24727, 24735), False, 'from lxml import html\n'), ((25050, 25079), 'math.ceil', 'math.ceil', (['(vehicle_count / 25)'], {}), '(vehicle_count / 25)\n', (25059, 25079), False, 'import math\n'), ((28753, 28789), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (28768, 28789), False, 'import sqlite3\n'), ((30678, 30711), 'ftplib.FTP', 'ftplib.FTP', (['"""spencertichenor.com"""'], {}), "('spencertichenor.com')\n", (30688, 30711), False, 'import ftplib\n'), ((31248, 31284), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (31263, 31284), False, 'import sqlite3\n'), ((36274, 36310), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (36289, 36310), False, 'import sqlite3\n'), ((37870, 37906), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (37885, 37906), False, 'import sqlite3\n'), ((38715, 38751), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (38730, 38751), False, 'import sqlite3\n'), ((45396, 45432), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (45411, 45432), False, 'import sqlite3\n'), ((46899, 46935), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (46914, 46935), False, 'import sqlite3\n'), ((47295, 47331), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (47310, 47331), False, 'import sqlite3\n'), ((48452, 48488), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (48467, 48488), False, 'import sqlite3\n'), ((49232, 49264), 'ftplib.FTP', 'ftplib.FTP', (['"""iol.homenetinc.com"""'], {}), "('iol.homenetinc.com')\n", (49242, 49264), False, 'import ftplib\n'), ((49672, 49698), 'selenium.webdriver.support.ui.WebDriverWait', 'WebDriverWait', (['browser', '(10)'], {}), '(browser, 10)\n', (49685, 49698), False, 'from selenium.webdriver.support.ui import WebDriverWait\n'), ((50363, 50377), 'time.sleep', 'time.sleep', (['(10)'], {}), '(10)\n', (50373, 50377), False, 'import time\n'), ((50450, 50486), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (50465, 50486), False, 'import sqlite3\n'), ((50631, 50667), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (50646, 50667), False, 'import sqlite3\n'), ((50780, 50797), 'requests.get', 'requests.get', (['url'], {}), '(url)\n', (50792, 50797), False, 'import requests\n'), ((50809, 50838), 'lxml.html.fromstring', 'html.fromstring', (['page.content'], {}), '(page.content)\n', (50824, 50838), False, 'from lxml import html\n'), ((51872, 51908), 'sqlite3.connect', 'sqlite3.connect', (['"""data/inventory.db"""'], {}), "('data/inventory.db')\n", (51887, 51908), False, 'import sqlite3\n'), ((2004, 2017), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (2014, 2017), False, 'import time\n'), ((2096, 2109), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (2106, 2109), False, 'import time\n'), ((4478, 4491), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (4488, 4491), False, 'import time\n'), ((5277, 5300), 'lxml.html.fromstring', 'html.fromstring', (['source'], {}), '(source)\n', (5292, 5300), False, 'from lxml import html\n'), ((7088, 7111), 'lxml.html.fromstring', 'html.fromstring', (['source'], {}), '(source)\n', (7103, 7111), False, 'from lxml import html\n'), ((7559, 7582), 'lxml.html.fromstring', 'html.fromstring', (['source'], {}), '(source)\n', (7574, 7582), False, 'from lxml import html\n'), ((25169, 25205), 'lxml.html.fromstring', 'html.fromstring', (['browser.page_source'], {}), '(browser.page_source)\n', (25184, 25205), False, 'from lxml import html\n'), ((31556, 31583), 'csv.DictReader', 'csv.DictReader', (['homenetFile'], {}), '(homenetFile)\n', (31570, 31583), False, 'import csv\n'), ((48728, 48765), 'csv.writer', 'csv.writer', (['csv_file'], {'dialect': '"""excel"""'}), "(csv_file, dialect='excel')\n", (48738, 48765), False, 'import csv\n'), ((56693, 56707), 'time.sleep', 'time.sleep', (['(60)'], {}), '(60)\n', (56703, 56707), False, 'import time\n'), ((56902, 56921), 'scrape.scrape_cdk', 'scrape.scrape_cdk', ([], {}), '()\n', (56919, 56921), False, 'import scrape\n'), ((57213, 57234), 'sales_specials.main', 'sales_specials.main', ([], {}), '()\n', (57232, 57234), False, 'import sales_specials\n'), ((57247, 57262), 'midwords.main', 'midwords.main', ([], {}), '()\n', (57260, 57262), False, 'import midwords\n'), ((57275, 57291), 'hd_images.main', 'hd_images.main', ([], {}), '()\n', (57289, 57291), False, 'import hd_images\n'), ((57304, 57319), 'facebook.main', 'facebook.main', ([], {}), '()\n', (57317, 57319), False, 'import facebook\n'), ((57366, 57379), 'sheets.main', 'sheets.main', ([], {}), '()\n', (57377, 57379), False, 'import sheets\n'), ((1117, 1132), 'random.random', 'random.random', ([], {}), '()\n', (1130, 1132), False, 'import random\n'), ((2317, 2330), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (2327, 2330), False, 'import time\n'), ((2409, 2422), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (2419, 2422), False, 'import time\n'), ((5023, 5036), 'time.sleep', 'time.sleep', (['(4)'], {}), '(4)\n', (5033, 5036), False, 'import time\n'), ((5510, 5523), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (5520, 5523), False, 'import time\n'), ((6767, 6780), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (6777, 6780), False, 'import time\n'), ((7282, 7295), 'time.sleep', 'time.sleep', (['(4)'], {}), '(4)\n', (7292, 7295), False, 'import time\n'), ((7792, 7805), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (7802, 7805), False, 'import time\n'), ((28457, 28512), 'selenium.webdriver.support.expected_conditions.element_to_be_clickable', 'EC.element_to_be_clickable', (['(By.XPATH, next_page_xpath)'], {}), '((By.XPATH, next_page_xpath))\n', (28483, 28512), True, 'from selenium.webdriver.support import expected_conditions as EC\n'), ((1097, 1112), 'random.random', 'random.random', ([], {}), '()\n', (1110, 1112), False, 'import random\n'), ((5916, 5929), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (5926, 5929), False, 'import time\n'), ((8198, 8211), 'time.sleep', 'time.sleep', (['(2)'], {}), '(2)\n', (8208, 8211), False, 'import time\n'), ((50172, 50247), 'selenium.webdriver.support.expected_conditions.element_to_be_clickable', 'EC.element_to_be_clickable', (['(By.XPATH, \'//a[@class="login-action button"]\')'], {}), '((By.XPATH, \'//a[@class="login-action button"]\'))\n', (50198, 50247), True, 'from selenium.webdriver.support import expected_conditions as EC\n'), ((50272, 50349), 'selenium.webdriver.support.expected_conditions.element_to_be_clickable', 'EC.element_to_be_clickable', (['(By.XPATH, \'//a[@class="run-all-button button"]\')'], {}), '((By.XPATH, \'//a[@class="run-all-button button"]\'))\n', (50298, 50349), True, 'from selenium.webdriver.support import expected_conditions as EC\n'), ((4553, 4567), 'sys.exc_info', 'sys.exc_info', ([], {}), '()\n', (4565, 4567), False, 'import sys\n'), ((54282, 54324), 'locale.currency', 'locale.currency', (['minPayment'], {'grouping': '(True)'}), '(minPayment, grouping=True)\n', (54297, 54324), False, 'import locale\n'), ((54545, 54581), 'locale.currency', 'locale.currency', (['msrp'], {'grouping': '(True)'}), '(msrp, grouping=True)\n', (54560, 54581), False, 'import locale\n'), ((54621, 54658), 'locale.currency', 'locale.currency', (['price'], {'grouping': '(True)'}), '(price, grouping=True)\n', (54636, 54658), False, 'import locale\n'), ((5112, 5126), 'sys.exc_info', 'sys.exc_info', ([], {}), '()\n', (5124, 5126), False, 'import sys\n'), ((6889, 6903), 'sys.exc_info', 'sys.exc_info', ([], {}), '()\n', (6901, 6903), False, 'import sys\n'), ((7406, 7420), 'sys.exc_info', 'sys.exc_info', ([], {}), '()\n', (7418, 7420), False, 'import sys\n'), ((6015, 6029), 'sys.exc_info', 'sys.exc_info', ([], {}), '()\n', (6027, 6029), False, 'import sys\n'), ((8336, 8350), 'sys.exc_info', 'sys.exc_info', ([], {}), '()\n', (8348, 8350), False, 'import sys\n'), ((22352, 22366), 'sys.exc_info', 'sys.exc_info', ([], {}), '()\n', (22364, 22366), False, 'import sys\n'), ((23196, 23210), 'sys.exc_info', 'sys.exc_info', ([], {}), '()\n', (23208, 23210), False, 'import sys\n')]
edwinfeener/monolithe
monolithe/generators/sdkgenerator.py
0f024b2ec7d4c5a2229612280e5e559bf2667ba5
# -*- coding: utf-8 -*- # # Copyright (c) 2015, Alcatel-Lucent Inc # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # * Neither the name of the copyright holder nor the names of its contributors # may be used to endorse or promote products derived from this software without # specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. from __future__ import unicode_literals import os import shutil from monolithe.lib import Printer from monolithe.generators.lib import Generator from monolithe.generators.managers import MainManager, CLIManager, VanillaManager from .sdkapiversiongenerator import SDKAPIVersionGenerator class SDKGenerator(Generator): def cleanup(self): output = self.config.get_option("output", "transformer") language = self.config.language overrides_path = "%s/%s/__overrides" % (output, language) if os.path.exists(overrides_path): shutil.rmtree(overrides_path) attrs_defaults_path = "%s/%s/__attributes_defaults" % (output, language) if os.path.exists(attrs_defaults_path): shutil.rmtree(attrs_defaults_path) code_header_path = "%s/%s/__code_header" % (output, language) if os.path.exists(code_header_path): os.remove(code_header_path) def generate(self, specification_info): user_vanilla = self.config.get_option("user_vanilla", "transformer") output = self.config.get_option("output", "transformer") name = self.config.get_option("name", "transformer") lang = self.config.language if not os.path.exists(os.path.join(output, lang)): os.makedirs(os.path.join(output, lang)) vanilla_manager = VanillaManager(monolithe_config=self.config) vanilla_manager.execute(output_path="%s/%s" % (output, lang)) self.install_user_vanilla(user_vanilla_path=user_vanilla, output_path="%s/%s" % (output, lang)) version_generator = SDKAPIVersionGenerator(self.config) apiversions = [] for info in specification_info: Printer.log("transforming specifications into %s for version %s..." % (lang, info["api"]["version"])) apiversions.append(info["api"]["version"]) version_generator.generate(specification_info=specification_info) Printer.log("assembling...") manager = MainManager(monolithe_config=self.config) manager.execute(apiversions=apiversions) cli_manager = CLIManager(monolithe_config=self.config) cli_manager.execute() self.cleanup() Printer.success("%s generation complete and available in \"%s/%s\"" % (name, output, self.config.language))
[((2126, 2156), 'os.path.exists', 'os.path.exists', (['overrides_path'], {}), '(overrides_path)\n', (2140, 2156), False, 'import os\n'), ((2293, 2328), 'os.path.exists', 'os.path.exists', (['attrs_defaults_path'], {}), '(attrs_defaults_path)\n', (2307, 2328), False, 'import os\n'), ((2459, 2491), 'os.path.exists', 'os.path.exists', (['code_header_path'], {}), '(code_header_path)\n', (2473, 2491), False, 'import os\n'), ((2956, 3000), 'monolithe.generators.managers.VanillaManager', 'VanillaManager', ([], {'monolithe_config': 'self.config'}), '(monolithe_config=self.config)\n', (2970, 3000), False, 'from monolithe.generators.managers import MainManager, CLIManager, VanillaManager\n'), ((3560, 3588), 'monolithe.lib.Printer.log', 'Printer.log', (['"""assembling..."""'], {}), "('assembling...')\n", (3571, 3588), False, 'from monolithe.lib import Printer\n'), ((3607, 3648), 'monolithe.generators.managers.MainManager', 'MainManager', ([], {'monolithe_config': 'self.config'}), '(monolithe_config=self.config)\n', (3618, 3648), False, 'from monolithe.generators.managers import MainManager, CLIManager, VanillaManager\n'), ((3721, 3761), 'monolithe.generators.managers.CLIManager', 'CLIManager', ([], {'monolithe_config': 'self.config'}), '(monolithe_config=self.config)\n', (3731, 3761), False, 'from monolithe.generators.managers import MainManager, CLIManager, VanillaManager\n'), ((3824, 3933), 'monolithe.lib.Printer.success', 'Printer.success', (['(\'%s generation complete and available in "%s/%s"\' % (name, output, self.\n config.language))'], {}), '(\'%s generation complete and available in "%s/%s"\' % (name,\n output, self.config.language))\n', (3839, 3933), False, 'from monolithe.lib import Printer\n'), ((2170, 2199), 'shutil.rmtree', 'shutil.rmtree', (['overrides_path'], {}), '(overrides_path)\n', (2183, 2199), False, 'import shutil\n'), ((2342, 2376), 'shutil.rmtree', 'shutil.rmtree', (['attrs_defaults_path'], {}), '(attrs_defaults_path)\n', (2355, 2376), False, 'import shutil\n'), ((2505, 2532), 'os.remove', 'os.remove', (['code_header_path'], {}), '(code_header_path)\n', (2514, 2532), False, 'import os\n'), ((3319, 3424), 'monolithe.lib.Printer.log', 'Printer.log', (["('transforming specifications into %s for version %s...' % (lang, info[\n 'api']['version']))"], {}), "('transforming specifications into %s for version %s...' % (lang,\n info['api']['version']))\n", (3330, 3424), False, 'from monolithe.lib import Printer\n'), ((2848, 2874), 'os.path.join', 'os.path.join', (['output', 'lang'], {}), '(output, lang)\n', (2860, 2874), False, 'import os\n'), ((2901, 2927), 'os.path.join', 'os.path.join', (['output', 'lang'], {}), '(output, lang)\n', (2913, 2927), False, 'import os\n')]
kyuhoJeong11/GrewRL
rllab-taewoo/rllab/plotter/plotter.py
a514698df8d38df34de0bd1667d99927f0aa3885
import atexit import sys if sys.version_info[0] == 2: from Queue import Empty else: from queue import Empty from multiprocessing import Process, Queue from rllab.sampler.utils import rollout import numpy as np __all__ = [ 'init_worker', 'init_plot', 'update_plot' ] process = None queue = None def _worker_start(): env = None policy = None max_length = None try: while True: msgs = {} # Only fetch the last message of each type while True: try: msg = queue.get_nowait() msgs[msg[0]] = msg[1:] except Empty: break if 'stop' in msgs: break elif 'update' in msgs: env, policy = msgs['update'] # env.start_viewer() elif 'demo' in msgs: param_values, max_length = msgs['demo'] policy.set_param_values(param_values) rollout(env, policy, max_path_length=max_length, animated=True, speedup=5) else: if max_length: rollout(env, policy, max_path_length=max_length, animated=True, speedup=5) except KeyboardInterrupt: pass def _shutdown_worker(): if process: queue.put(['stop']) queue.close() process.join() def init_worker(): print("####################init_worker") global process, queue queue = Queue() process = Process(target=_worker_start) process.start() atexit.register(_shutdown_worker) def init_plot(env, policy): queue.put(['update', env, policy]) def update_plot(policy, max_length=np.inf): queue.put(['demo', policy.get_param_values(), max_length])
[((1499, 1506), 'multiprocessing.Queue', 'Queue', ([], {}), '()\n', (1504, 1506), False, 'from multiprocessing import Process, Queue\n'), ((1521, 1550), 'multiprocessing.Process', 'Process', ([], {'target': '_worker_start'}), '(target=_worker_start)\n', (1528, 1550), False, 'from multiprocessing import Process, Queue\n'), ((1575, 1608), 'atexit.register', 'atexit.register', (['_shutdown_worker'], {}), '(_shutdown_worker)\n', (1590, 1608), False, 'import atexit\n'), ((1018, 1092), 'rllab.sampler.utils.rollout', 'rollout', (['env', 'policy'], {'max_path_length': 'max_length', 'animated': '(True)', 'speedup': '(5)'}), '(env, policy, max_path_length=max_length, animated=True, speedup=5)\n', (1025, 1092), False, 'from rllab.sampler.utils import rollout\n'), ((1162, 1236), 'rllab.sampler.utils.rollout', 'rollout', (['env', 'policy'], {'max_path_length': 'max_length', 'animated': '(True)', 'speedup': '(5)'}), '(env, policy, max_path_length=max_length, animated=True, speedup=5)\n', (1169, 1236), False, 'from rllab.sampler.utils import rollout\n')]
fotavio16/PycharmProjects
OpenCV/bookIntroCV_008_binarizacao.py
f5be49db941de69159ec543e8a6dde61f9f94d86
''' Livro-Introdução-a-Visão-Computacional-com-Python-e-OpenCV-3 Repositório de imagens https://github.com/opencv/opencv/tree/master/samples/data ''' import cv2 import numpy as np from matplotlib import pyplot as plt #import mahotas VERMELHO = (0, 0, 255) VERDE = (0, 255, 0) AZUL = (255, 0, 0) AMARELO = (0, 255, 255) BRANCO = (255,255,255) CIANO = (255, 255, 0) PRETO = (0, 0, 0) img = cv2.imread('ponte2.jpg') # Flag 1 = Color, 0 = Gray, -1 = Unchanged img = img[::2,::2] # Diminui a imagem #Binarização com limiar img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) suave = cv2.GaussianBlur(img, (7, 7), 0) # aplica blur (T, bin) = cv2.threshold(suave, 160, 255, cv2.THRESH_BINARY) (T, binI) = cv2.threshold(suave, 160, 255, cv2.THRESH_BINARY_INV) ''' resultado = np.vstack([ np.hstack([suave, bin]), np.hstack([binI, cv2.bitwise_and(img, img, mask = binI)]) ]) ''' resultado = np.vstack([ np.hstack([img, suave]), np.hstack([bin, binI]) ]) cv2.imshow("Binarização da imagem", resultado) cv2.waitKey(0) #Threshold adaptativo bin1 = cv2.adaptiveThreshold(suave, 255, cv2.ADAPTIVE_THRESH_MEAN_C, cv2.THRESH_BINARY_INV, 21, 5) bin2 = cv2.adaptiveThreshold(suave, 255, cv2.ADAPTIVE_THRESH_GAUSSIAN_C, cv2.THRESH_BINARY_INV, 21, 5) resultado = np.vstack([ np.hstack([img, suave]), np.hstack([bin1, bin2]) ]) cv2.imshow("Binarização adaptativa da imagem", resultado) cv2.waitKey(0) #Threshold com Otsu e Riddler-Calvard ''' T = mahotas.thresholding.otsu(suave) temp = img.copy() temp[temp > T] = 255 temp[temp < 255] = 0 temp = cv2.bitwise_not(temp) T = mahotas.thresholding.rc(suave) temp2 = img.copy() temp2[temp2 > T] = 255 temp2[temp2 < 255] = 0 temp2 = cv2.bitwise_not(temp2) resultado = np.vstack([ np.hstack([img, suave]), np.hstack([temp, temp2]) ]) cv2.imshow("Binarização com método Otsu e Riddler-Calvard", resultado) cv2.waitKey(0) '''
[((395, 419), 'cv2.imread', 'cv2.imread', (['"""ponte2.jpg"""'], {}), "('ponte2.jpg')\n", (405, 419), False, 'import cv2\n'), ((532, 569), 'cv2.cvtColor', 'cv2.cvtColor', (['img', 'cv2.COLOR_BGR2GRAY'], {}), '(img, cv2.COLOR_BGR2GRAY)\n', (544, 569), False, 'import cv2\n'), ((579, 611), 'cv2.GaussianBlur', 'cv2.GaussianBlur', (['img', '(7, 7)', '(0)'], {}), '(img, (7, 7), 0)\n', (595, 611), False, 'import cv2\n'), ((637, 686), 'cv2.threshold', 'cv2.threshold', (['suave', '(160)', '(255)', 'cv2.THRESH_BINARY'], {}), '(suave, 160, 255, cv2.THRESH_BINARY)\n', (650, 686), False, 'import cv2\n'), ((699, 752), 'cv2.threshold', 'cv2.threshold', (['suave', '(160)', '(255)', 'cv2.THRESH_BINARY_INV'], {}), '(suave, 160, 255, cv2.THRESH_BINARY_INV)\n', (712, 752), False, 'import cv2\n'), ((972, 1018), 'cv2.imshow', 'cv2.imshow', (['"""Binarização da imagem"""', 'resultado'], {}), "('Binarização da imagem', resultado)\n", (982, 1018), False, 'import cv2\n'), ((1019, 1033), 'cv2.waitKey', 'cv2.waitKey', (['(0)'], {}), '(0)\n', (1030, 1033), False, 'import cv2\n'), ((1065, 1161), 'cv2.adaptiveThreshold', 'cv2.adaptiveThreshold', (['suave', '(255)', 'cv2.ADAPTIVE_THRESH_MEAN_C', 'cv2.THRESH_BINARY_INV', '(21)', '(5)'], {}), '(suave, 255, cv2.ADAPTIVE_THRESH_MEAN_C, cv2.\n THRESH_BINARY_INV, 21, 5)\n', (1086, 1161), False, 'import cv2\n'), ((1164, 1264), 'cv2.adaptiveThreshold', 'cv2.adaptiveThreshold', (['suave', '(255)', 'cv2.ADAPTIVE_THRESH_GAUSSIAN_C', 'cv2.THRESH_BINARY_INV', '(21)', '(5)'], {}), '(suave, 255, cv2.ADAPTIVE_THRESH_GAUSSIAN_C, cv2.\n THRESH_BINARY_INV, 21, 5)\n', (1185, 1264), False, 'import cv2\n'), ((1349, 1406), 'cv2.imshow', 'cv2.imshow', (['"""Binarização adaptativa da imagem"""', 'resultado'], {}), "('Binarização adaptativa da imagem', resultado)\n", (1359, 1406), False, 'import cv2\n'), ((1407, 1421), 'cv2.waitKey', 'cv2.waitKey', (['(0)'], {}), '(0)\n', (1418, 1421), False, 'import cv2\n'), ((912, 935), 'numpy.hstack', 'np.hstack', (['[img, suave]'], {}), '([img, suave])\n', (921, 935), True, 'import numpy as np\n'), ((941, 963), 'numpy.hstack', 'np.hstack', (['[bin, binI]'], {}), '([bin, binI])\n', (950, 963), True, 'import numpy as np\n'), ((1289, 1312), 'numpy.hstack', 'np.hstack', (['[img, suave]'], {}), '([img, suave])\n', (1298, 1312), True, 'import numpy as np\n'), ((1318, 1341), 'numpy.hstack', 'np.hstack', (['[bin1, bin2]'], {}), '([bin1, bin2])\n', (1327, 1341), True, 'import numpy as np\n')]
mechanicbuddy/djangito
djangito/backends.py
07c08a83c57577cbf945bba461219bc0ef2a7695
import base64 import json import jwt import requests from django.conf import settings from django.contrib.auth import get_user_model from django.contrib.auth.backends import ModelBackend USER_MODEL = get_user_model() class ALBAuth(ModelBackend): def authenticate(self, request, **kwargs): if request: self.encoded_jwt = request.META.get('HTTP_X_AMZN_OIDC_DATA') if self.encoded_jwt: self.payload = self.decode_alb_jwt() return self.get_or_create_for_alb() def decode_alb_jwt(self): # Step 1: Get the key id from JWT headers (the kid field) jwt_headers = self.encoded_jwt.split('.')[0] decoded_jwt_headers = base64.b64decode(jwt_headers) decoded_jwt_headers = decoded_jwt_headers.decode("utf-8") decoded_json = json.loads(decoded_jwt_headers) kid = decoded_json['kid'] # Step 2: Get the public key from regional endpoint url = f'https://public-keys.auth.elb.us-east-1.amazonaws.com/{kid}' req = requests.get(url) pub_key = req.text # Step 3: Get the payload return jwt.decode( self.encoded_jwt, pub_key, algorithms=['ES256'] ) def get_or_create_for_alb(self): user_info = {'username': self.payload['sub'][:150]} if 'given_name' in self.payload: user_info['first_name'] = self.payload['given_name'][:30] elif 'name' in self.payload: user_info['first_name'] = self.payload['name'][:30] if 'family_name' in self.payload: user_info['last_name'] = self.payload['family_name'][:30] self.user, created = USER_MODEL.objects.get_or_create( email=self.payload['email'], defaults=user_info ) if created: self.setup_user_profile() return self.user def setup_user_profile(self): pass
[((204, 220), 'django.contrib.auth.get_user_model', 'get_user_model', ([], {}), '()\n', (218, 220), False, 'from django.contrib.auth import get_user_model\n'), ((711, 740), 'base64.b64decode', 'base64.b64decode', (['jwt_headers'], {}), '(jwt_headers)\n', (727, 740), False, 'import base64\n'), ((830, 861), 'json.loads', 'json.loads', (['decoded_jwt_headers'], {}), '(decoded_jwt_headers)\n', (840, 861), False, 'import json\n'), ((1047, 1064), 'requests.get', 'requests.get', (['url'], {}), '(url)\n', (1059, 1064), False, 'import requests\n'), ((1142, 1201), 'jwt.decode', 'jwt.decode', (['self.encoded_jwt', 'pub_key'], {'algorithms': "['ES256']"}), "(self.encoded_jwt, pub_key, algorithms=['ES256'])\n", (1152, 1201), False, 'import jwt\n')]
gme5078/data-profiler
data_profiler/labelers/regex_model.py
602cc5e4f4463f9b807000abf3893815918d0723
import json import os import sys import re import copy import numpy as np from data_profiler.labelers.base_model import BaseModel from data_profiler.labelers.base_model import AutoSubRegistrationMeta _file_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(_file_dir) class RegexModel(BaseModel, metaclass=AutoSubRegistrationMeta): def __init__(self, label_mapping=None, parameters=None): """ Regex Model Initializer. Example regex_patterns: regex_patterns = { "LABEL_1": [ "LABEL_1_pattern_1", "LABEL_1_pattern_2", ... ], "LABEL_2": [ "LABEL_2_pattern_1", "LABEL_2_pattern_2", ... ], ... } Example encapsulators: encapsulators = { 'start': r'(?<![\w.\$\%\-])', 'end': r'(?:(?=(\b|[ ]))|(?=[^\w\%\$]([^\w]|$))|$)', } :param label_mapping: maps labels to their encoded integers :type label_mapping: dict :param parameters: Contains all the appropriate parameters for the model. Possible parameters are: max_length, max_num_chars, dim_embed :type parameters: dict :return: None """ # parameter initialization if not parameters: parameters = {} parameters.setdefault('regex_patterns', {}) parameters.setdefault('encapsulators', {'start': '', 'end': ''}) parameters.setdefault('ignore_case', True) parameters.setdefault('default_label', 'BACKGROUND') self._epoch_id = 0 # initialize class self.set_label_mapping(label_mapping) self._validate_parameters(parameters) self._parameters = parameters def _validate_parameters(self, parameters): """ Validate the parameters sent in. Raise error if invalid parameters are present. :param parameters: parameter dict containing the following parameters: regex_patterns: patterns associated with each label_mapping Example regex_patterns: regex_patterns = { "LABEL_1": [ "LABEL_1_pattern_1", "LABEL_1_pattern_2", ... ], "LABEL_2": [ "LABEL_2_pattern_1", "LABEL_2_pattern_2", ... ], ... } encapsulators: regex to add to start and end of each regex (used to capture entities inside of text). Example encapsulators: encapsulators = { 'start': r'(?<![\w.\$\%\-])', 'end': r'(?:(?=(\b|[ ]))|(?=[^\w\%\$]([^\w]|$))|$)', } ignore_case: whether or not to set the regex ignore case flag default_label: default label to assign when no regex found :type parameters: dict :return: None """ _retype = type(re.compile('pattern for py 3.6 & 3.7')) errors = [] list_of_necessary_params = ['encapsulators', 'regex_patterns', 'ignore_case', 'default_label'] # Make sure the necessary parameters are present and valid. for param in parameters: value = parameters[param] if param == 'encapsulators' and ( not isinstance(value, dict) or 'start' not in value or 'end' not in value): errors.append( "`{}` must be a dict with keys 'start' and 'end'".format( param )) elif param == 'regex_patterns': if not isinstance(value, dict): errors.append('`{}` must be a dict of regex pattern lists.'. format(param)) continue for key in value: if key not in self.label_mapping: errors.append( "`{}` was a regex pattern not found in the " "label_mapping".format(key)) elif not isinstance(value[key], list): errors.append( "`{}` must be a list of regex patterns, i.e." "[pattern_1, pattern_2, ...]".format(key)) else: for i in range(len(value[key])): if not isinstance(value[key][i], (_retype, str)): errors.append( "`{}`, pattern `{}' was not a valid regex " "pattern (re.Pattern, str)".format(key, i)) elif isinstance(value[key][i], str): try: re.compile(value[key][i]) except re.error as e: errors.append( "`{}`, pattern {} was not a valid regex" " pattern: {}".format(key, i, str(e))) elif param == 'ignore_case' \ and not isinstance(parameters[param], bool): errors.append("`{}` must be a bool.".format(param)) elif param == 'default_label' \ and not isinstance(parameters[param], str): errors.append("`{}` must be a string.".format(param)) elif param not in list_of_necessary_params: errors.append("`{}` is not an accepted parameter.".format( param)) if errors: raise ValueError('\n'.join(errors)) def _construct_model(self): pass def _reconstruct_model(self): pass def _need_to_reconstruct_model(self): pass def reset_weights(self): pass def predict(self, data, batch_size=None, show_confidences=False, verbose=True): """ Applies the regex patterns (within regex_model) to the input_string, create predictions for all matching patterns. Each pattern has an associated entity and the predictions of each character within the string are given a True or False identification for each entity. All characters not identified by ANY of the regex patterns in the pattern_dict are considered background characters, and are replaced with the default_label value. :param data: list of strings to predict upon :type data: iterator :param batch_size: does not impact this model and should be fixed to not be required. :type batch_size: N/A :param show_confidences: whether user wants prediction confidences :type show_confidences: :param verbose: Flag to determine whether to print status or not :type verbose: bool :return: char level predictions and confidences :rtype: dict """ start_pattern = '' end_pattern = '' regex_patterns = self._parameters['regex_patterns'] default_ind = self.label_mapping[self._parameters['default_label']] encapsulators = self._parameters['encapsulators'] re_flags = re.IGNORECASE if self._parameters['ignore_case'] else 0 if encapsulators: start_pattern = encapsulators['start'] end_pattern = encapsulators['end'] pre_compiled_patterns = copy.deepcopy(regex_patterns) for entity_label, entity_patterns in pre_compiled_patterns.items(): for i in range(len(entity_patterns)): pattern = (start_pattern + pre_compiled_patterns[entity_label][i] + end_pattern) pre_compiled_patterns[entity_label][i] = re.compile( pattern, flags=re_flags) # Construct array initial regex predictions where background is # predicted. predictions = [np.empty((0,))] * 100 i = 0 for i, input_string in enumerate(data): # Double array size if len(predictions) <= i: predictions.extend([np.empty((0,))] * len(predictions)) pred = np.zeros((len(input_string), self.num_labels), dtype=int) pred[:, default_ind] = 1 for entity_label, entity_patterns in pre_compiled_patterns.items(): entity_id = self.label_mapping[entity_label] for re_pattern in entity_patterns: for each_find in re_pattern.finditer(input_string): indices = each_find.span(0) pred[indices[0]:indices[1], default_ind] = 0 pred[indices[0]:indices[1], entity_id] = 1 if verbose: sys.stdout.flush() sys.stdout.write( "\rData Samples Processed: {:d} ".format(i)) predictions[i] = pred if verbose: print() # Trim array size to number of samples if len(predictions) > i+1: del predictions[i+1:] if show_confidences: conf = copy.deepcopy(predictions) for i in range(len(conf)): conf[i] = conf[i] / \ np.linalg.norm(conf[i], axis=1, ord=1, keepdims=True) return {"pred": predictions, 'conf': conf} return {"pred": predictions} @classmethod def load_from_disk(cls, dirpath): """ Loads whole model from disk with weights :param dirpath: directory path where you want to load the model from :type dirpath: str :return: None """ # load parameters model_param_dirpath = os.path.join(dirpath, "model_parameters.json") with open(model_param_dirpath, 'r') as fp: parameters = json.load(fp) # load label_mapping labels_dirpath = os.path.join(dirpath, "label_mapping.json") with open(labels_dirpath, 'r') as fp: label_mapping = json.load(fp) loaded_model = cls(label_mapping, parameters) return loaded_model def save_to_disk(self, dirpath): """ Saves whole model to disk with weights. :param dirpath: directory path where you want to save the model to :type dirpath: str :return: None """ if not os.path.isdir(dirpath): os.makedirs(dirpath) model_param_dirpath = os.path.join(dirpath, "model_parameters.json") with open(model_param_dirpath, 'w') as fp: json.dump(self._parameters, fp) labels_dirpath = os.path.join(dirpath, "label_mapping.json") with open(labels_dirpath, 'w') as fp: json.dump(self.label_mapping, fp)
[((258, 284), 'sys.path.append', 'sys.path.append', (['_file_dir'], {}), '(_file_dir)\n', (273, 284), False, 'import sys\n'), ((231, 256), 'os.path.abspath', 'os.path.abspath', (['__file__'], {}), '(__file__)\n', (246, 256), False, 'import os\n'), ((7934, 7963), 'copy.deepcopy', 'copy.deepcopy', (['regex_patterns'], {}), '(regex_patterns)\n', (7947, 7963), False, 'import copy\n'), ((10257, 10303), 'os.path.join', 'os.path.join', (['dirpath', '"""model_parameters.json"""'], {}), "(dirpath, 'model_parameters.json')\n", (10269, 10303), False, 'import os\n'), ((10449, 10492), 'os.path.join', 'os.path.join', (['dirpath', '"""label_mapping.json"""'], {}), "(dirpath, 'label_mapping.json')\n", (10461, 10492), False, 'import os\n'), ((11002, 11048), 'os.path.join', 'os.path.join', (['dirpath', '"""model_parameters.json"""'], {}), "(dirpath, 'model_parameters.json')\n", (11014, 11048), False, 'import os\n'), ((11170, 11213), 'os.path.join', 'os.path.join', (['dirpath', '"""label_mapping.json"""'], {}), "(dirpath, 'label_mapping.json')\n", (11182, 11213), False, 'import os\n'), ((3327, 3365), 're.compile', 're.compile', (['"""pattern for py 3.6 & 3.7"""'], {}), "('pattern for py 3.6 & 3.7')\n", (3337, 3365), False, 'import re\n'), ((9669, 9695), 'copy.deepcopy', 'copy.deepcopy', (['predictions'], {}), '(predictions)\n', (9682, 9695), False, 'import copy\n'), ((10380, 10393), 'json.load', 'json.load', (['fp'], {}), '(fp)\n', (10389, 10393), False, 'import json\n'), ((10567, 10580), 'json.load', 'json.load', (['fp'], {}), '(fp)\n', (10576, 10580), False, 'import json\n'), ((10914, 10936), 'os.path.isdir', 'os.path.isdir', (['dirpath'], {}), '(dirpath)\n', (10927, 10936), False, 'import os\n'), ((10950, 10970), 'os.makedirs', 'os.makedirs', (['dirpath'], {}), '(dirpath)\n', (10961, 10970), False, 'import os\n'), ((11112, 11143), 'json.dump', 'json.dump', (['self._parameters', 'fp'], {}), '(self._parameters, fp)\n', (11121, 11143), False, 'import json\n'), ((11272, 11305), 'json.dump', 'json.dump', (['self.label_mapping', 'fp'], {}), '(self.label_mapping, fp)\n', (11281, 11305), False, 'import json\n'), ((8298, 8333), 're.compile', 're.compile', (['pattern'], {'flags': 're_flags'}), '(pattern, flags=re_flags)\n', (8308, 8333), False, 'import re\n'), ((8472, 8486), 'numpy.empty', 'np.empty', (['(0,)'], {}), '((0,))\n', (8480, 8486), True, 'import numpy as np\n'), ((9308, 9326), 'sys.stdout.flush', 'sys.stdout.flush', ([], {}), '()\n', (9324, 9326), False, 'import sys\n'), ((9799, 9852), 'numpy.linalg.norm', 'np.linalg.norm', (['conf[i]'], {'axis': '(1)', 'ord': '(1)', 'keepdims': '(True)'}), '(conf[i], axis=1, ord=1, keepdims=True)\n', (9813, 9852), True, 'import numpy as np\n'), ((8663, 8677), 'numpy.empty', 'np.empty', (['(0,)'], {}), '((0,))\n', (8671, 8677), True, 'import numpy as np\n'), ((5276, 5301), 're.compile', 're.compile', (['value[key][i]'], {}), '(value[key][i])\n', (5286, 5301), False, 'import re\n')]
JMosqueraM/algoritmos_y_programacion
taller_estructuras_de_control_selectivas/ejercicio_13.py
30dc179b976f1db24401b110496250fbcb98938e
# Desarrolle un un programa que reciba la fecha de nacimiento # de una persona, y como salida, indique el nombre del signo del # zodiaco correspondiente, ademas de su edad def zodiaco(DD, MM): if (((DD >= 22) and (MM == 11)) or ((DD <=21) and (MM == 12))): return("Sagitario") if (((DD >= 22) and (MM == 12)) or ((DD <=20) and (MM == 1))): return("Capricornio") if (((DD >= 21) and (MM == 1)) or ((DD <=19) and (MM == 2))): return("Acuario") if (((DD >= 20) and (MM == 2)) or ((DD <=19) and (MM == 3))): return("Piscis") if (((DD >= 21) and (MM == 3)) or ((DD <=20) and (MM == 4))): return("Aries") if (((DD >= 21) and (MM == 4)) or ((DD <=21) and (MM == 5))): return("Tauro") if (((DD >= 22) and (MM == 5)) or ((DD <=21) and (MM == 6))): return("Geminis") if (((DD >= 22) and (MM == 6)) or ((DD <=22) and (MM == 7))): return("Cancer") if (((DD >= 23) and (MM == 7)) or ((DD <=23) and (MM == 8))): return("Leo") if (((DD >= 24) and (MM == 8)) or ((DD <=22) and (MM == 9))): return("Virgo") if (((DD >= 23) and (MM == 9)) or ((DD <=22) and (MM == 10))): return("Libra") if (((DD >= 23) and (MM == 10)) or ((DD <=21) and (MM == 11))): return("Escorpion") fecha_str = input("Ingrese la fecha de nacimiento (DD/MM/AAAA): ") fecha = fecha_str.split("/") fecha_int = [] for elemento in fecha: fecha_int.append(int(elemento)) dia = fecha_int[0] mes = fecha_int[1] ano = fecha_int[2] signo = zodiaco(dia, mes) print(f"Siendo que su fecha de nacimiento es {fecha_str}, su signo zodiacal corresponde a {signo} y tiene {abs(ano - 2021)} años")
[]
vhazali/cs5331
assignment3/crawler/spiders/benchmark_spider.py
3b3618aaa17199ebcd3c01bc6c25ddbdbe4f3d0f
import re, scrapy from crawler.items import * class BenchmarkSpider(scrapy.Spider): drop_params = True # Spider name, for use with the scrapy crawl command name = "benchmarks" # Constants to get url parts FULL, PROTOCOL, USER, PASSWORD, SUBDOMAIN, DOMAIN, TOP_LEVEL_DOMAIN, PORT_NUM, PATH, PAGE, GET_PARAMS, HASHTAGS = range(12) # List of start urls to start crawling start_urls = [ # 'https://app1.com', # 'https://app2.com', # 'https://app3.com', # 'https://app4.com', # 'https://app5.com', # 'https://app6.com', # 'https://app7.com', # 'https://app8.com', # 'https://app9.com', # 'https://app10.com', # 'https://app11.com', 'http://ec2-54-255-215-139.ap-southeast-1.compute.amazonaws.com/' ] allowed_domains = [ "app1.com", "app2.com", "app3.com", "app4.com", "app5.com", "app6.com", "app7.com", "app8.com", "app9.com", "app10.com", "app11.com", "app12.com", "app13.com", "app14.com", "app15.com", "app16.com", "app17.com", "app18.com", "app19.com", "app20.com", "app21.com" ] # Set to keep track of visited urls visited_urls = set(start_urls) """ Uses Regex to split up url into components. Groups and what they are: 0 : the full url 1 : Protocol 2 : User 3 : Password 4 : Subdomain 5 : Domain 6 : Top level domain (.com .net etc) 7 : Port number 8 : Path 9 : Page 10: Get parameters 11: Hashtags """ def splitUrlIntoParts(self, url, index): pattern = '(?:([^\:]*)\:\/\/)?(?:([^\:\@]*)(?:\:([^\@]*))?\@)?(?:([^\/\:]*)\.(?=[^\.\/\:]*\.[^\.\/\:]*))?([^\.\/\:]*)(?:\.([^\/\.\:#]*))?(?:\:([0-9]*))?(\/[^\?#]*(?=.*?\/)\/)?([^\?#]*)?(?:\?([^#]*))?(?:#(.*))?' match = re.search(pattern, url) if match: if match.group(index): return match.group(index) return '' def populateURLItem(self, item, url): item['url'] = url item['protocol'] = self.splitUrlIntoParts(url, self.PROTOCOL) item['domain'] = self.splitUrlIntoParts(url, self.DOMAIN) item['path'] = self.splitUrlIntoParts(url, self.PATH) item['page'] = self.splitUrlIntoParts(url, self.PAGE) item['get_params'] = self.splitUrlIntoParts(url, self.GET_PARAMS) def getUrlWithoutParams(self, url): # Pattern looks out for a question mark that marks start of params # Assumption is that url is already valid pattern = '([^? ]+).*' match = re.search(pattern, url) if match: if match.group(1): return match.group(1) else: return '' def isVisited(self, url): if self.drop_params: truncated_url = self.getUrlWithoutParams(url) return truncated_url in self.visited_urls else : return url in self.visited_urls def markAsVisited(self, url): if self.drop_params: truncated_url = self.getUrlWithoutParams(url) self.visited_urls.add(truncated_url) else: self.visited_urls.add(url) # The default method that's called by scrapy for each url in the start_url list def parse(self, response): # Get URL item item = URLItem() # Get parts of URL item self.populateURLItem(item, response.url) yield item # Look for Forms # Assumption: forms will have id attribute # We will be using this id and url to uniquely identify each form forms = response.css('form') for form in forms: formItem = FormItem() formItem['url'] = response.url form_id = form.css('::attr(id)').extract_first() if form_id is None: form_id = '' formItem['id_attr'] = form_id yield formItem inputs = form.css('input') for a in inputs: inputItem = InputItem() inputItem['url'] = response.url inputItem['form_id'] = form_id inputItem['complete'] = a.extract() inputItem['type_attr'] = a.css('::attr(type)').extract_first() yield inputItem # Get url to visit next links = response.css('a::attr(href)').extract() for next_page in links: # Check that url exist if next_page is not None: # Handle weirdass cases where hrefs has scheme:///domain next_page = next_page.replace("///", "//", 1) next_page = response.urljoin(next_page) # Check that url is not visited yet if not self.isVisited(next_page): self.markAsVisited(next_page) yield scrapy.Request(next_page, callback=self.parse)
[((2021, 2044), 're.search', 're.search', (['pattern', 'url'], {}), '(pattern, url)\n', (2030, 2044), False, 'import re, scrapy\n'), ((2776, 2799), 're.search', 're.search', (['pattern', 'url'], {}), '(pattern, url)\n', (2785, 2799), False, 'import re, scrapy\n'), ((5064, 5110), 'scrapy.Request', 'scrapy.Request', (['next_page'], {'callback': 'self.parse'}), '(next_page, callback=self.parse)\n', (5078, 5110), False, 'import re, scrapy\n')]
NeCTAR-RC/octavia-tempest-plugin
octavia_tempest_plugin/services/load_balancer/v2/listener_client.py
5506c00b8d8972e6223499dd5a5da4c85c1ff836
# Copyright 2017 GoDaddy # # 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 oslo_serialization import jsonutils from tempest import config from octavia_tempest_plugin.services.load_balancer.v2 import base_client CONF = config.CONF Unset = base_client.Unset class ListenerClient(base_client.BaseLBaaSClient): root_tag = 'listener' list_root_tag = 'listeners' def create_listener(self, protocol, protocol_port, loadbalancer_id, name=Unset, description=Unset, admin_state_up=Unset, connection_limit=Unset, timeout_client_data=Unset, timeout_member_connect=Unset, timeout_member_data=Unset, timeout_tcp_inspect=Unset, insert_headers=Unset, default_pool_id=Unset, default_tls_container_ref=Unset, sni_container_refs=Unset, client_authentication=Unset, client_ca_tls_container_ref=Unset, client_crl_container_ref=Unset, return_object_only=True): """Create a listener. :param protocol: The protocol for the resource. :param protocol_port: The protocol port number for the resource. :param loadbalancer_id: The ID of the load balancer. :param name: Human-readable name of the resource. :param description: A human-readable description for the resource. :param admin_state_up: The administrative state of the resource, which is up (true) or down (false). :param connection_limit: The maximum number of connections permitted for this listener. Default value is -1 which represents infinite connections. :param timeout_client_data: Frontend client inactivity timeout in milliseconds. :param timeout_member_connect: Backend member connection timeout in milliseconds. :param timeout_member_data: Backend member inactivity timeout in milliseconds. :param timeout_tcp_inspect: Time, in milliseconds, to wait for additional TCP packets for content inspection. :param insert_headers: A dictionary of optional headers to insert into the request before it is sent to the backend member. :param default_pool_id: The ID of the pool used by the listener if no L7 policies match. :param default_tls_container_ref: The URI of the key manager service secret containing a PKCS12 format certificate/key bundle for TERMINATED_TLS listeners. :param sni_container_refs: A list of URIs to the key manager service secrets containing PKCS12 format certificate/key bundles for TERMINATED_TLS listeners. :param client_authentication: The TLS client authentication mode. One of the options NONE, OPTIONAL or MANDATORY. :param client_ca_tls_container_ref: The ref of the key manager service secret containing a PEM format client CA certificate bundle for TERMINATED_HTTPS listeners. :param client_crl_container_ref: The URI of the key manager service secret containing a PEM format CA revocation list file for TERMINATED_HTTPS listeners. :param return_object_only: If True, the response returns the object inside the root tag. False returns the full response from the API. :raises AssertionError: if the expected_code isn't a valid http success response code :raises BadRequest: If a 400 response code is received :raises Conflict: If a 409 response code is received :raises Forbidden: If a 403 response code is received :raises Gone: If a 410 response code is received :raises InvalidContentType: If a 415 response code is received :raises InvalidHTTPResponseBody: The response body wasn't valid JSON :raises InvalidHttpSuccessCode: if the read code isn't an expected http success code :raises NotFound: If a 404 response code is received :raises NotImplemented: If a 501 response code is received :raises OverLimit: If a 413 response code is received and over_limit is not in the response body :raises RateLimitExceeded: If a 413 response code is received and over_limit is in the response body :raises ServerFault: If a 500 response code is received :raises Unauthorized: If a 401 response code is received :raises UnexpectedContentType: If the content-type of the response isn't an expect type :raises UnexpectedResponseCode: If a response code above 400 is received and it doesn't fall into any of the handled checks :raises UnprocessableEntity: If a 422 response code is received and couldn't be parsed :returns: A listener object. """ kwargs = {arg: value for arg, value in locals().items() if arg != 'self' and value is not Unset} return self._create_object(**kwargs) def show_listener(self, listener_id, query_params=None, return_object_only=True): """Get listener details. :param listener_id: The listener ID to query. :param query_params: The optional query parameters to append to the request. Ex. fields=id&fields=name :param return_object_only: If True, the response returns the object inside the root tag. False returns the full response from the API. :raises AssertionError: if the expected_code isn't a valid http success response code :raises BadRequest: If a 400 response code is received :raises Conflict: If a 409 response code is received :raises Forbidden: If a 403 response code is received :raises Gone: If a 410 response code is received :raises InvalidContentType: If a 415 response code is received :raises InvalidHTTPResponseBody: The response body wasn't valid JSON :raises InvalidHttpSuccessCode: if the read code isn't an expected http success code :raises NotFound: If a 404 response code is received :raises NotImplemented: If a 501 response code is received :raises OverLimit: If a 413 response code is received and over_limit is not in the response body :raises RateLimitExceeded: If a 413 response code is received and over_limit is in the response body :raises ServerFault: If a 500 response code is received :raises Unauthorized: If a 401 response code is received :raises UnexpectedContentType: If the content-type of the response isn't an expect type :raises UnexpectedResponseCode: If a response code above 400 is received and it doesn't fall into any of the handled checks :raises UnprocessableEntity: If a 422 response code is received and couldn't be parsed :returns: A listener object. """ return self._show_object(obj_id=listener_id, query_params=query_params, return_object_only=return_object_only) def list_listeners(self, query_params=None, return_object_only=True): """Get a list of listener objects. :param query_params: The optional query parameters to append to the request. Ex. fields=id&fields=name :param return_object_only: If True, the response returns the object inside the root tag. False returns the full response from the API. :raises AssertionError: if the expected_code isn't a valid http success response code :raises BadRequest: If a 400 response code is received :raises Conflict: If a 409 response code is received :raises Forbidden: If a 403 response code is received :raises Gone: If a 410 response code is received :raises InvalidContentType: If a 415 response code is received :raises InvalidHTTPResponseBody: The response body wasn't valid JSON :raises InvalidHttpSuccessCode: if the read code isn't an expected http success code :raises NotFound: If a 404 response code is received :raises NotImplemented: If a 501 response code is received :raises OverLimit: If a 413 response code is received and over_limit is not in the response body :raises RateLimitExceeded: If a 413 response code is received and over_limit is in the response body :raises ServerFault: If a 500 response code is received :raises Unauthorized: If a 401 response code is received :raises UnexpectedContentType: If the content-type of the response isn't an expect type :raises UnexpectedResponseCode: If a response code above 400 is received and it doesn't fall into any of the handled checks :raises UnprocessableEntity: If a 422 response code is received and couldn't be parsed :returns: A list of listener objects. """ return self._list_objects(query_params=query_params, return_object_only=return_object_only) def update_listener(self, listener_id, name=Unset, description=Unset, admin_state_up=Unset, connection_limit=Unset, timeout_client_data=Unset, timeout_member_connect=Unset, timeout_member_data=Unset, timeout_tcp_inspect=Unset, insert_headers=Unset, default_pool_id=Unset, default_tls_container_ref=Unset, sni_container_refs=Unset, client_authentication=Unset, client_ca_tls_container_ref=Unset, client_crl_container_ref=Unset, return_object_only=True): """Update a listener. :param listener_id: The listener ID to update. :param name: Human-readable name of the resource. :param description: A human-readable description for the resource. :param admin_state_up: The administrative state of the resource, which is up (true) or down (false). :param connection_limit: The maximum number of connections permitted for this listener. Default value is -1 which represents infinite connections. :param timeout_client_data: Frontend client inactivity timeout in milliseconds. :param timeout_member_connect: Backend member connection timeout in milliseconds. :param timeout_member_data: Backend member inactivity timeout in milliseconds. :param timeout_tcp_inspect: Time, in milliseconds, to wait for additional TCP packets for content inspection. :param insert_headers: A dictionary of optional headers to insert into the request before it is sent to the backend member. :param default_pool_id: The ID of the pool used by the listener if no L7 policies match. :param default_tls_container_ref: The URI of the key manager service secret containing a PKCS12 format certificate/key bundle for TERMINATED_TLS listeners. :param sni_container_refs: A list of URIs to the key manager service secrets containing PKCS12 format certificate/key bundles for TERMINATED_TLS listeners. :param client_authentication: The TLS client authentication mode. One of the options NONE, OPTIONAL or MANDATORY. :param client_ca_tls_container_ref: The ref of the key manager service secret containing a PEM format client CA certificate bundle for TERMINATED_HTTPS listeners. :param client_crl_container_ref: The URI of the key manager service secret containing a PEM format CA revocation list file for TERMINATED_HTTPS listeners. :param return_object_only: If True, the response returns the object inside the root tag. False returns the full response from the API. :raises AssertionError: if the expected_code isn't a valid http success response code :raises BadRequest: If a 400 response code is received :raises Conflict: If a 409 response code is received :raises Forbidden: If a 403 response code is received :raises Gone: If a 410 response code is received :raises InvalidContentType: If a 415 response code is received :raises InvalidHTTPResponseBody: The response body wasn't valid JSON :raises InvalidHttpSuccessCode: if the read code isn't an expected http success code :raises NotFound: If a 404 response code is received :raises NotImplemented: If a 501 response code is received :raises OverLimit: If a 413 response code is received and over_limit is not in the response body :raises RateLimitExceeded: If a 413 response code is received and over_limit is in the response body :raises ServerFault: If a 500 response code is received :raises Unauthorized: If a 401 response code is received :raises UnexpectedContentType: If the content-type of the response isn't an expect type :raises UnexpectedResponseCode: If a response code above 400 is received and it doesn't fall into any of the handled checks :raises UnprocessableEntity: If a 422 response code is received and couldn't be parsed :returns: A listener object. """ kwargs = {arg: value for arg, value in locals().items() if arg != 'self' and value is not Unset} kwargs['obj_id'] = kwargs.pop('listener_id') return self._update_object(**kwargs) def delete_listener(self, listener_id, ignore_errors=False): """Delete a listener. :param listener_id: The listener ID to delete. :param ignore_errors: True if errors should be ignored. :raises AssertionError: if the expected_code isn't a valid http success response code :raises BadRequest: If a 400 response code is received :raises Conflict: If a 409 response code is received :raises Forbidden: If a 403 response code is received :raises Gone: If a 410 response code is received :raises InvalidContentType: If a 415 response code is received :raises InvalidHTTPResponseBody: The response body wasn't valid JSON :raises InvalidHttpSuccessCode: if the read code isn't an expected http success code :raises NotFound: If a 404 response code is received :raises NotImplemented: If a 501 response code is received :raises OverLimit: If a 413 response code is received and over_limit is not in the response body :raises RateLimitExceeded: If a 413 response code is received and over_limit is in the response body :raises ServerFault: If a 500 response code is received :raises Unauthorized: If a 401 response code is received :raises UnexpectedContentType: If the content-type of the response isn't an expect type :raises UnexpectedResponseCode: If a response code above 400 is received and it doesn't fall into any of the handled checks :raises UnprocessableEntity: If a 422 response code is received and couldn't be parsed :returns: None if ignore_errors is True, the response status code if not. """ return self._delete_obj(obj_id=listener_id, ignore_errors=ignore_errors) def get_listener_stats(self, listener_id, query_params=None, return_object_only=True): """Get listener statistics. :param listener_id: The listener ID to query. :param query_params: The optional query parameters to append to the request. Ex. fields=id&fields=name :param return_object_only: If True, the response returns the object inside the root tag. False returns the full response from the API. :raises AssertionError: if the expected_code isn't a valid http success response code :raises BadRequest: If a 400 response code is received :raises Conflict: If a 409 response code is received :raises Forbidden: If a 403 response code is received :raises Gone: If a 410 response code is received :raises InvalidContentType: If a 415 response code is received :raises InvalidHTTPResponseBody: The response body wasn't valid JSON :raises InvalidHttpSuccessCode: if the read code isn't an expected http success code :raises NotFound: If a 404 response code is received :raises NotImplemented: If a 501 response code is received :raises OverLimit: If a 413 response code is received and over_limit is not in the response body :raises RateLimitExceeded: If a 413 response code is received and over_limit is in the response body :raises ServerFault: If a 500 response code is received :raises Unauthorized: If a 401 response code is received :raises UnexpectedContentType: If the content-type of the response isn't an expect type :raises UnexpectedResponseCode: If a response code above 400 is received and it doesn't fall into any of the handled checks :raises UnprocessableEntity: If a 422 response code is received and couldn't be parsed :returns: A listener statistics object. """ if query_params: request_uri = '{0}/{1}/stats?{2}'.format(self.uri, listener_id, query_params) else: request_uri = '{0}/{1}/stats'.format(self.uri, listener_id) response, body = self.get(request_uri) self.expected_success(200, response.status) if return_object_only: return jsonutils.loads(body.decode('utf-8'))['stats'] else: return jsonutils.loads(body.decode('utf-8'))
[]
isams1/Thesis
ryu/gui/views/router_address_delete.py
dfe03ce60169bd4e5b2eb6f1068a1c89fc9d9fd3
import re import logging import httplib import view_base from models import rt_proxy LOG = logging.getLogger('ryu.gui') class RtAddrDel(view_base.ViewBase): def __init__(self, host, port, dpid, address_id, status=None): super(RtAddrDel, self).__init__() self.host = host self.port = port self.dpid = dpid self.address_id = address_id self.status = status def run(self): LOG.debug('Router Address Delete Rule running') if not self.status: # set rule return self._delete_address() def _delete_address(self): address = '%s:%s' % (self.host, self.port) res = {'host': self.host, 'port': self.port, 'status': None} address_no = {} address_no['address_id'] = self.address_id status = rt_proxy.delete_router_address(address, address_no, self.dpid) if status[0]['command_result']: command_result = status[0]['command_result'] res['status'] = command_result else: res['status'] = status res['status'] = status return self.json_response(res)
[((93, 121), 'logging.getLogger', 'logging.getLogger', (['"""ryu.gui"""'], {}), "('ryu.gui')\n", (110, 121), False, 'import logging\n'), ((855, 917), 'models.rt_proxy.delete_router_address', 'rt_proxy.delete_router_address', (['address', 'address_no', 'self.dpid'], {}), '(address, address_no, self.dpid)\n', (885, 917), False, 'from models import rt_proxy\n')]
TobiasRasbold/pywrangler
tests/util/test_helper.py
3f4ba5891a75430e0882b223bda4c6c7f55dbd51
"""This module contains tests for the helper module. """ from pywrangler.util.helper import get_param_names def test_get_param_names(): def func(): pass assert get_param_names(func) == [] def func1(a, b=4, c=6): pass assert get_param_names(func1) == ["a", "b", "c"] assert get_param_names(func1, ["a"]) == ["b", "c"]
[((182, 203), 'pywrangler.util.helper.get_param_names', 'get_param_names', (['func'], {}), '(func)\n', (197, 203), False, 'from pywrangler.util.helper import get_param_names\n'), ((264, 286), 'pywrangler.util.helper.get_param_names', 'get_param_names', (['func1'], {}), '(func1)\n', (279, 286), False, 'from pywrangler.util.helper import get_param_names\n'), ((317, 346), 'pywrangler.util.helper.get_param_names', 'get_param_names', (['func1', "['a']"], {}), "(func1, ['a'])\n", (332, 346), False, 'from pywrangler.util.helper import get_param_names\n')]
jcgeo9/ML-For-Fish-Recognition
Python-Files/model_conversion/convert_to_tflite.py
0b5faba77d0b2c5452950637f047882c80fa6fb7
# ============================================================================= # Created By : Giannis Kostas Georgiou # Project : Machine Learning for Fish Recognition (Individual Project) # ============================================================================= # Description : File in order to convert saved models to .tflite instances. # To be used after the desired model are trained and saved # How to use : Replace variables in CAPS according to needs of the dataset # ============================================================================= import tensorflow as tf model_path='PATH TO SAVED MODEL' tflite_model_name='NAME OF THE NEWLY CREATED TFLITE MODEL' #convert the model by loading the saved model to the converter converter = tf.lite.TFLiteConverter.from_saved_model(model_path) tflite_model = converter.convert() #save the tflite model with open(tflite_model_name+'.tflite', 'wb') as f: f.write(tflite_model)
[((777, 829), 'tensorflow.lite.TFLiteConverter.from_saved_model', 'tf.lite.TFLiteConverter.from_saved_model', (['model_path'], {}), '(model_path)\n', (817, 829), True, 'import tensorflow as tf\n')]
hedibejaoui/spark-timeseries
python3/sparkts/test/test_datetimeindex.py
9112dcbbba4e095b5eb46c568e1c72e13e1f251a
from .test_utils import PySparkTestCase from sparkts.datetimeindex import * import pandas as pd class DateTimeIndexTestCase(PySparkTestCase): def test_frequencies(self): bd = BusinessDayFrequency(1, 1, self.sc) self.assertEqual(bd.days(), 1) hf = HourFrequency(4, self.sc) self.assertEqual(hf.hours(), 4) def test_uniform(self): freq = DayFrequency(3, self.sc) self.assertEqual(freq.days(), 3) start = '2015-04-10' index = uniform(start, periods=5, freq=freq, sc=self.sc) index2 = uniform(start, end='2015-04-22', freq=freq, sc=self.sc) self.assertEqual(index, index2) self.assertEqual(len(index), 5) self.assertEqual(index.first(), pd.to_datetime('2015-04-10')) self.assertEqual(index.last(), pd.to_datetime('2015-04-22')) subbydate = index[pd.to_datetime('2015-04-13'):pd.to_datetime('2015-04-19')] subbyloc = index.islice(1, 4) self.assertEqual(subbydate, subbyloc) self.assertEqual(subbydate.first(), pd.to_datetime('2015-04-13')) self.assertEqual(subbydate.last(), pd.to_datetime('2015-04-19')) self.assertEqual(subbydate.datetime_at_loc(0), pd.to_datetime('2015-04-13')) self.assertEqual(subbydate[pd.to_datetime('2015-04-13')], 0) def test_irregular(self): pd_index = pd.date_range('2015-04-10', periods=5, freq='3D') dt_index = irregular(pd_index, self.sc) self.assertEqual(len(dt_index), 5) self.assertEqual(dt_index.first(), pd.to_datetime('2015-04-10')) self.assertEqual(dt_index.last(), pd.to_datetime('2015-04-22')) subbydate = dt_index[pd.to_datetime('2015-04-13'):pd.to_datetime('2015-04-19')] subbyloc = dt_index.islice(1, 4) self.assertEqual(subbydate, subbyloc) self.assertEqual(subbydate.first(), pd.to_datetime('2015-04-13')) self.assertEqual(subbydate.last(), pd.to_datetime('2015-04-19')) self.assertEqual(subbydate.datetime_at_loc(0), pd.to_datetime('2015-04-13')) self.assertEqual(subbydate[pd.to_datetime('2015-04-13')], 0) pd_index2 = dt_index.to_pandas_index() self.assertTrue(pd_index.equals(pd_index2), str(pd_index) + "!=" + str(pd_index2))
[((1380, 1429), 'pandas.date_range', 'pd.date_range', (['"""2015-04-10"""'], {'periods': '(5)', 'freq': '"""3D"""'}), "('2015-04-10', periods=5, freq='3D')\n", (1393, 1429), True, 'import pandas as pd\n'), ((761, 789), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-10"""'], {}), "('2015-04-10')\n", (775, 789), True, 'import pandas as pd\n'), ((830, 858), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-22"""'], {}), "('2015-04-22')\n", (844, 858), True, 'import pandas as pd\n'), ((1073, 1101), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-13"""'], {}), "('2015-04-13')\n", (1087, 1101), True, 'import pandas as pd\n'), ((1146, 1174), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-19"""'], {}), "('2015-04-19')\n", (1160, 1174), True, 'import pandas as pd\n'), ((1231, 1259), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-13"""'], {}), "('2015-04-13')\n", (1245, 1259), True, 'import pandas as pd\n'), ((1565, 1593), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-10"""'], {}), "('2015-04-10')\n", (1579, 1593), True, 'import pandas as pd\n'), ((1637, 1665), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-22"""'], {}), "('2015-04-22')\n", (1651, 1665), True, 'import pandas as pd\n'), ((1886, 1914), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-13"""'], {}), "('2015-04-13')\n", (1900, 1914), True, 'import pandas as pd\n'), ((1959, 1987), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-19"""'], {}), "('2015-04-19')\n", (1973, 1987), True, 'import pandas as pd\n'), ((2044, 2072), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-13"""'], {}), "('2015-04-13')\n", (2058, 2072), True, 'import pandas as pd\n'), ((886, 914), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-13"""'], {}), "('2015-04-13')\n", (900, 914), True, 'import pandas as pd\n'), ((915, 943), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-19"""'], {}), "('2015-04-19')\n", (929, 943), True, 'import pandas as pd\n'), ((1696, 1724), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-13"""'], {}), "('2015-04-13')\n", (1710, 1724), True, 'import pandas as pd\n'), ((1725, 1753), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-19"""'], {}), "('2015-04-19')\n", (1739, 1753), True, 'import pandas as pd\n'), ((1296, 1324), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-13"""'], {}), "('2015-04-13')\n", (1310, 1324), True, 'import pandas as pd\n'), ((2109, 2137), 'pandas.to_datetime', 'pd.to_datetime', (['"""2015-04-13"""'], {}), "('2015-04-13')\n", (2123, 2137), True, 'import pandas as pd\n')]
rajitbanerjee/leetcode
src/listIntersect/inter.py
720fcdd88d371e2d6592ceec8370a6760a77bb89
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def getIntersectionNode(self, headA: ListNode, headB: ListNode) -> ListNode: seen = set() curr = headA while curr: seen.add(curr) curr = curr.next curr = headB while curr: if curr in seen: return curr curr = curr.next return None
[]
fact-project/photon_stream_production
photon_stream_production/tests/test_drs_run_assignment.py
ca2f946976c9a9717cfcd9364f2361ef385b45aa
import numpy as np import photon_stream as ps import photon_stream_production as psp import pkg_resources import os runinfo_path = pkg_resources.resource_filename( 'photon_stream_production', os.path.join('tests', 'resources', 'runinfo_20161115_to_20170103.csv') ) drs_fRunID_for_obs_run = psp.drs_run._drs_fRunID_for_obs_run def test_drs_run_assignment(): ri = psp.runinfo.read(runinfo_path) ro = psp.drs_run.assign_drs_runs(ri) ri = ri[(ri.fNight > 20161229) & (ri.fNight <= 20170102)] ro = ro[(ro.fNight > 20161229) & (ro.fNight <= 20170102)] for i, row in ri.iterrows(): assert row.fNight == ro.loc[i, 'fNight'] assert row.fRunID == ro.loc[i, 'fRunID'] if row.fRunTypeKey == psp.runinfo.OBSERVATION_RUN_TYPE_KEY: first_method_drs_run_id = drs_fRunID_for_obs_run( runinfo=ri, fNight=row.fNight, fRunID=row.fRunID ) second_method_drs_run_id = ro.loc[i, 'DrsRunID'] if np.isnan(first_method_drs_run_id): assert np.isnan(second_method_drs_run_id) else: assert first_method_drs_run_id == second_method_drs_run_id
[((201, 271), 'os.path.join', 'os.path.join', (['"""tests"""', '"""resources"""', '"""runinfo_20161115_to_20170103.csv"""'], {}), "('tests', 'resources', 'runinfo_20161115_to_20170103.csv')\n", (213, 271), False, 'import os\n'), ((379, 409), 'photon_stream_production.runinfo.read', 'psp.runinfo.read', (['runinfo_path'], {}), '(runinfo_path)\n', (395, 409), True, 'import photon_stream_production as psp\n'), ((419, 450), 'photon_stream_production.drs_run.assign_drs_runs', 'psp.drs_run.assign_drs_runs', (['ri'], {}), '(ri)\n', (446, 450), True, 'import photon_stream_production as psp\n'), ((1028, 1061), 'numpy.isnan', 'np.isnan', (['first_method_drs_run_id'], {}), '(first_method_drs_run_id)\n', (1036, 1061), True, 'import numpy as np\n'), ((1086, 1120), 'numpy.isnan', 'np.isnan', (['second_method_drs_run_id'], {}), '(second_method_drs_run_id)\n', (1094, 1120), True, 'import numpy as np\n')]
vikifox/CMDB
accounts/migrations/0001_initial.py
bac9b7da204c3eee344f55bb2187df38ef3b3d4c
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-04-18 05:56 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('cmdb', '0001_initial'), ('appconf', '0001_initial'), ] operations = [ migrations.CreateModel( name='UserInfo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('password', models.CharField(max_length=128, verbose_name='password')), ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')), ('username', models.CharField(db_index=True, max_length=40, unique=True)), ('email', models.EmailField(max_length=255)), ('is_active', models.BooleanField(default=False)), ('is_superuser', models.BooleanField(default=False)), ('nickname', models.CharField(blank=True, max_length=64, null=True)), ('ldap_name', models.CharField(blank=True, max_length=64)), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='PermissionList', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=64)), ('url', models.CharField(max_length=255)), ], ), migrations.CreateModel( name='RoleList', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=64)), ('delivery', models.ManyToManyField(blank=True, to='appconf.Project')), ('permission', models.ManyToManyField(blank=True, to='accounts.PermissionList')), ('webssh', models.ManyToManyField(blank=True, to='cmdb.HostGroup')), ], ), migrations.AddField( model_name='userinfo', name='role', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='accounts.RoleList'), ), ]
[((2316, 2430), 'django.db.models.ForeignKey', 'models.ForeignKey', ([], {'blank': '(True)', 'null': '(True)', 'on_delete': 'django.db.models.deletion.CASCADE', 'to': '"""accounts.RoleList"""'}), "(blank=True, null=True, on_delete=django.db.models.\n deletion.CASCADE, to='accounts.RoleList')\n", (2333, 2430), False, 'from django.db import migrations, models\n'), ((474, 567), 'django.db.models.AutoField', 'models.AutoField', ([], {'auto_created': '(True)', 'primary_key': '(True)', 'serialize': '(False)', 'verbose_name': '"""ID"""'}), "(auto_created=True, primary_key=True, serialize=False,\n verbose_name='ID')\n", (490, 567), False, 'from django.db import migrations, models\n'), ((595, 652), 'django.db.models.CharField', 'models.CharField', ([], {'max_length': '(128)', 'verbose_name': '"""password"""'}), "(max_length=128, verbose_name='password')\n", (611, 652), False, 'from django.db import migrations, models\n'), ((686, 756), 'django.db.models.DateTimeField', 'models.DateTimeField', ([], {'blank': '(True)', 'null': '(True)', 'verbose_name': '"""last login"""'}), "(blank=True, null=True, verbose_name='last login')\n", (706, 756), False, 'from django.db import migrations, models\n'), ((788, 847), 'django.db.models.CharField', 'models.CharField', ([], {'db_index': '(True)', 'max_length': '(40)', 'unique': '(True)'}), '(db_index=True, max_length=40, unique=True)\n', (804, 847), False, 'from django.db import migrations, models\n'), ((876, 909), 'django.db.models.EmailField', 'models.EmailField', ([], {'max_length': '(255)'}), '(max_length=255)\n', (893, 909), False, 'from django.db import migrations, models\n'), ((942, 976), 'django.db.models.BooleanField', 'models.BooleanField', ([], {'default': '(False)'}), '(default=False)\n', (961, 976), False, 'from django.db import migrations, models\n'), ((1012, 1046), 'django.db.models.BooleanField', 'models.BooleanField', ([], {'default': '(False)'}), '(default=False)\n', (1031, 1046), False, 'from django.db import migrations, models\n'), ((1078, 1132), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'max_length': '(64)', 'null': '(True)'}), '(blank=True, max_length=64, null=True)\n', (1094, 1132), False, 'from django.db import migrations, models\n'), ((1165, 1208), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'max_length': '(64)'}), '(blank=True, max_length=64)\n', (1181, 1208), False, 'from django.db import migrations, models\n'), ((1420, 1513), 'django.db.models.AutoField', 'models.AutoField', ([], {'auto_created': '(True)', 'primary_key': '(True)', 'serialize': '(False)', 'verbose_name': '"""ID"""'}), "(auto_created=True, primary_key=True, serialize=False,\n verbose_name='ID')\n", (1436, 1513), False, 'from django.db import migrations, models\n'), ((1537, 1568), 'django.db.models.CharField', 'models.CharField', ([], {'max_length': '(64)'}), '(max_length=64)\n', (1553, 1568), False, 'from django.db import migrations, models\n'), ((1595, 1627), 'django.db.models.CharField', 'models.CharField', ([], {'max_length': '(255)'}), '(max_length=255)\n', (1611, 1627), False, 'from django.db import migrations, models\n'), ((1761, 1854), 'django.db.models.AutoField', 'models.AutoField', ([], {'auto_created': '(True)', 'primary_key': '(True)', 'serialize': '(False)', 'verbose_name': '"""ID"""'}), "(auto_created=True, primary_key=True, serialize=False,\n verbose_name='ID')\n", (1777, 1854), False, 'from django.db import migrations, models\n'), ((1878, 1909), 'django.db.models.CharField', 'models.CharField', ([], {'max_length': '(64)'}), '(max_length=64)\n', (1894, 1909), False, 'from django.db import migrations, models\n'), ((1941, 1997), 'django.db.models.ManyToManyField', 'models.ManyToManyField', ([], {'blank': '(True)', 'to': '"""appconf.Project"""'}), "(blank=True, to='appconf.Project')\n", (1963, 1997), False, 'from django.db import migrations, models\n'), ((2031, 2095), 'django.db.models.ManyToManyField', 'models.ManyToManyField', ([], {'blank': '(True)', 'to': '"""accounts.PermissionList"""'}), "(blank=True, to='accounts.PermissionList')\n", (2053, 2095), False, 'from django.db import migrations, models\n'), ((2125, 2180), 'django.db.models.ManyToManyField', 'models.ManyToManyField', ([], {'blank': '(True)', 'to': '"""cmdb.HostGroup"""'}), "(blank=True, to='cmdb.HostGroup')\n", (2147, 2180), False, 'from django.db import migrations, models\n')]
gabrieladt/kops-ec2-autoscaler
autoscaler/azure.py
8b90fa23caaacf9cf0a4310b65667769906af777
import http import logging from typing import List, Tuple, MutableMapping from datetime import datetime import re from requests.packages.urllib3 import Retry import autoscaler.utils as utils from autoscaler.autoscaling_groups import AutoScalingGroup from autoscaler.azure_api import AzureApi, AzureScaleSet, AzureScaleSetInstance from autoscaler.utils import TransformingFuture, AllCompletedFuture, CompletedFuture logger = logging.getLogger(__name__) _RETRY_TIME_LIMIT = 30 class AzureBoundedRetry(Retry): """ XXX: Azure sometimes sends us a Retry-After: 1200, even when we still have quota, causing our client to appear to hang. Ignore them and just retry after 30secs """ def __init__(self, **kwargs): super().__init__(**kwargs) @staticmethod def from_retry(retry): new_retry = AzureBoundedRetry() new_retry.total = retry.total new_retry.connect = retry.connect new_retry.read = retry.read new_retry.backoff_factor = retry.backoff_factor new_retry.BACKOFF_MAX = retry.BACKOFF_MAX new_retry.status_forcelist = retry.status_forcelist new_retry.method_whitelist = retry.method_whitelist return new_retry def get_retry_after(self, response): retry_after = super().get_retry_after(response) if response.status != http.HTTPStatus.TOO_MANY_REQUESTS or retry_after <= _RETRY_TIME_LIMIT: return retry_after headers = {} for header in ['Retry-After', 'x-ms-ratelimit-remaining-subscription-reads', 'x-ms-ratelimit-remaining-subscription-writes', 'x-ms-ratelimit-remaining-tenant-reads', 'x-ms-ratelimit-remaining-tenant-writes', 'x-ms-ratelimit-remaining-subscription-resource-requests', 'x-ms-ratelimit-remaining-subscription-resource-entities-read', 'x-ms-ratelimit-remaining-tenant-resource-requests', 'x-ms-ratelimit-remaining-tenant-resource-entities-read']: value = response.getheader(header) if value is not None: headers[header] = value logger.warn("Azure request throttled: {}".format(headers)) return _RETRY_TIME_LIMIT class AzureGroups(object): def __init__(self, resource_groups, slow_scale_classes, client: AzureApi): self.resource_groups = resource_groups self.slow_scale_classes = slow_scale_classes self.client = client def get_all_groups(self, kube_nodes): groups = [] if self.client: for resource_group in self.resource_groups: scale_sets_by_type = {} for scale_set in self.client.list_scale_sets(resource_group.name): scale_sets_by_type.setdefault((scale_set.location, scale_set.instance_type), []).append(scale_set) for key, scale_sets in scale_sets_by_type.items(): location, instance_type = key slow_scale = _get_azure_class(instance_type) in self.slow_scale_classes groups.append(AzureVirtualScaleSet(location, resource_group.name, self.client, instance_type, slow_scale, scale_sets, kube_nodes)) return groups _CLASS_PAT = re.compile(r'\w+_(?P<class>[A-Z]+).+') def _get_azure_class(type_): m = _CLASS_PAT.match(type_) return m.group('class') _SCALE_SET_SIZE_LIMIT = 100 # Appears as an unbounded scale set. Currently, Azure Scale Sets have a limit of 100 hosts. class AzureVirtualScaleSet(AutoScalingGroup): provider = 'azure' def __init__(self, region, resource_group, client: AzureApi, instance_type, slow_scale: bool, scale_sets: List[AzureScaleSet], kube_nodes): self.client = client self.instance_type = instance_type self.tags = {} self.name = 'virtual_scale_set_' + instance_type + '_' + region + '_' + resource_group self.scale_sets = dict((scale_set.name, scale_set) for scale_set in scale_sets) self.desired_capacity = sum(scale_set.capacity for scale_set in scale_sets) self.region = region self.resource_group = resource_group self.selectors = dict(self.tags) # HACK: for matching node selectors self.selectors['azure/type'] = self.instance_type self.selectors['azure/class'] = _get_azure_class(self.instance_type) self.slow_scale = slow_scale self.min_size = 0 self.max_size = 10000 self.is_spot = False self.vm_id_to_instance: MutableMapping[str, Tuple[str, AzureScaleSetInstance]] = {} self.instances = {} self.timeout_until = None self.timeout_reason = None self._global_priority = None self.no_schedule_taints = {} for scale_set in scale_sets: if scale_set.timeout_until is not None: if self.timeout_until is None or self.timeout_until < scale_set.timeout_until: self.timeout_until = scale_set.timeout_until self.timeout_reason = scale_set.name + ": " + scale_set.timeout_reason if scale_set.priority is not None: if self._global_priority is None: self._global_priority = scale_set.priority else: self._global_priority = min(scale_set.priority, self._global_priority) if not self.no_schedule_taints: self.no_schedule_taints = scale_set.no_schedule_taints if scale_set.capacity == 0: continue for instance in self.client.list_scale_set_instances(scale_set): self.vm_id_to_instance[instance.vm_id] = (scale_set.name, instance) self.instances[instance.vm_id] = AzureInstance(instance.vm_id, self.instance_type, instance.launch_time, self.tags) self.nodes = [node for node in kube_nodes if node.instance_id in self.vm_id_to_instance] self.unschedulable_nodes = [n for n in self.nodes if n.unschedulable] self._id = (self.region, self.name) def is_timed_out(self): if self.timeout_until and datetime.now(self.timeout_until.tzinfo) < self.timeout_until: logger.warn("{} is timed out until {} because {}".format(self._id, self.timeout_until, self.timeout_reason)) return True return False @property def global_priority(self): if self._global_priority is None: return super().global_priority return self._global_priority def get_azure_instances(self): return self.instances.values() @property def instance_ids(self): return self.vm_id_to_instance.keys() def set_desired_capacity(self, new_desired_capacity): """ sets the desired capacity of the underlying ASG directly. note that this is for internal control. for scaling purposes, please use scale() instead. """ scale_out = new_desired_capacity - self.desired_capacity assert scale_out >= 0 if scale_out == 0: return CompletedFuture(False) futures = [] for scale_set in sorted(self.scale_sets.values(), key=lambda x: (x.priority, x.name)): if scale_set.capacity < _SCALE_SET_SIZE_LIMIT: if self.slow_scale: new_group_capacity = scale_set.capacity + 1 else: new_group_capacity = min(_SCALE_SET_SIZE_LIMIT, scale_set.capacity + scale_out) scale_out -= (new_group_capacity - scale_set.capacity) if scale_set.provisioning_state == 'Updating': logger.warn("Update of {} already in progress".format(scale_set.name)) continue if scale_set.provisioning_state == 'Failed': logger.error("{} failed provisioning. Skipping it for scaling.".format(scale_set.name)) continue # Update our cached version self.scale_sets[scale_set.name].capacity = new_group_capacity futures.append(self.client.update_scale_set(scale_set, new_group_capacity)) logger.info("Scaling Azure Scale Set {} to {}".format(scale_set.name, new_group_capacity)) if scale_out == 0: break if scale_out > 0: logger.error("Not enough scale sets to reach desired capacity {} for {}".format(new_desired_capacity, self)) self.desired_capacity = new_desired_capacity - scale_out logger.info("ASG: {} new_desired_capacity: {}".format(self, new_desired_capacity)) return TransformingFuture(True, AllCompletedFuture(futures)) def terminate_instances(self, vm_ids): vm_ids = list(vm_ids) instances = {} for vm_id in vm_ids: scale_set_name, instance = self.vm_id_to_instance[vm_id] # Update our cached copy of the Scale Set self.scale_sets[scale_set_name].capacity -= 1 instances.setdefault(scale_set_name, []).append(instance) logger.info('Terminated instances %s', vm_ids) futures = [] for scale_set_name, scale_set_instances in instances.items(): futures.append(self.client.terminate_scale_set_instances(self.scale_sets[scale_set_name], scale_set_instances)) return AllCompletedFuture(futures) def scale_nodes_in(self, nodes): """ scale down asg by terminating the given node. returns a future indicating when the request completes. """ for node in nodes: self.nodes.remove(node) return self.terminate_instances(node.instance_id for node in nodes) def __str__(self): return 'AzureVirtualScaleSet({name}, {selectors_hash})'.format(name=self.name, selectors_hash=utils.selectors_to_hash(self.selectors)) def __repr__(self): return str(self) class AzureInstance(object): provider = 'azure' def __init__(self, instance_id, instance_type, launch_time, tags): self.id = instance_id self.instance_type = instance_type self.launch_time = launch_time self.tags = tags def __str__(self): return 'AzureInstance({}, {})'.format(self.id, self.instance_type) def __repr__(self): return str(self)
[((427, 454), 'logging.getLogger', 'logging.getLogger', (['__name__'], {}), '(__name__)\n', (444, 454), False, 'import logging\n'), ((3351, 3389), 're.compile', 're.compile', (['"""\\\\w+_(?P<class>[A-Z]+).+"""'], {}), "('\\\\w+_(?P<class>[A-Z]+).+')\n", (3361, 3389), False, 'import re\n'), ((9475, 9502), 'autoscaler.utils.AllCompletedFuture', 'AllCompletedFuture', (['futures'], {}), '(futures)\n', (9493, 9502), False, 'from autoscaler.utils import TransformingFuture, AllCompletedFuture, CompletedFuture\n'), ((7190, 7212), 'autoscaler.utils.CompletedFuture', 'CompletedFuture', (['(False)'], {}), '(False)\n', (7205, 7212), False, 'from autoscaler.utils import TransformingFuture, AllCompletedFuture, CompletedFuture\n'), ((8783, 8810), 'autoscaler.utils.AllCompletedFuture', 'AllCompletedFuture', (['futures'], {}), '(futures)\n', (8801, 8810), False, 'from autoscaler.utils import TransformingFuture, AllCompletedFuture, CompletedFuture\n'), ((6235, 6274), 'datetime.datetime.now', 'datetime.now', (['self.timeout_until.tzinfo'], {}), '(self.timeout_until.tzinfo)\n', (6247, 6274), False, 'from datetime import datetime\n'), ((9948, 9987), 'autoscaler.utils.selectors_to_hash', 'utils.selectors_to_hash', (['self.selectors'], {}), '(self.selectors)\n', (9971, 9987), True, 'import autoscaler.utils as utils\n')]
rachitmishra/45
sort_insertion.py
c38650f4fa2ea1857848b95320cdc37929b39197
""" Insertion Sort Approach: Loop Complexity: O(n2) """ def sort_insertion(input_arr): print("""""""""""""""""""""""""") print("input " + str(input_arr)) print("""""""""""""""""""""""""") ln = len(input_arr) i = 1 # Assuming first element is sorted while i < ln: # n times c = input_arr[i] p = i while p > 0 and input_arr[p - 1] > c: # n times input_arr[p] = input_arr[p - 1] p -= 1 input_arr[p] = c i += 1 print("pass " + str(i) + " " + str(input_arr)) print("""""""""""""""""""""""""") print("result " + str(input_arr)) print("""""""""""""""""""""""""") if __name__ == '__main__': arr = [21, 4, 1, 3, 9, 20, 25, 6, 21, 14] sort_insertion(arr)
[]
eveiramirez/python_class
Python2/tareas/tarea_7.py
7a3830cc92dc842b853b243c6b01e06993faa97e
""" NAME tarea_7.py VERSION [1.0] AUTHOR Ignacio Emmanuel Ramirez Bernabe CONTACT iramirez@lcg.unam.mx GITHUB https://github.com/eveiramirez/python_class/blob/master/Python2/tareas/tarea_7.py DESCRIPTION Este programa contiene arrays estructurados para los arrays creados en el ejercicio 1, los cuales son: Produccion Costos Costos por g/L CATEGORY Numpy """ import numpy as np # Crear array con la produccion de cada gen para cada temperatura production = np.array([("Gen1", 5, 3), ("Gen2", 11, 7), ("Gen3", 4, 9), ("Gen4", 2, 6)], dtype=[("name", (np.str_, 10)), ("production_cond1", np.int32), ("production_cond2", np.int32)]) # Crear array con los costos de induccion costs = np.array([("Gen1", 3.5), ("Gen2", 5), ("Gen3", 7), ("Gen4", 4.3)], dtype=[("name", (np.str_, 10)), ("cost", np.float64)]) # Crear array con los costos por g/L para condicion 1 pc_cond1 = production["production_cond1"]/costs["cost"] # Crear array con los costos por g/L para temperatura 2 pc_cond2 = production["production_cond2"]/costs["cost"] # Crear lista con los costos por g/L para cada gene guardados en una # tupla gene_list = [] for gene in range(0, 4): gene_list.append((f"Gen{gene+1}", pc_cond1[gene], pc_cond2[gene])) # Crear array con los costos por g/L prod_costs = np.array(gene_list, dtype=[("name", (np.str_, 10)), ("pc_cond1", np.float64), ("pc_cond2", np.float64)]) # Imprimir array de los costos por g/L print(prod_costs)
[((565, 746), 'numpy.array', 'np.array', (["[('Gen1', 5, 3), ('Gen2', 11, 7), ('Gen3', 4, 9), ('Gen4', 2, 6)]"], {'dtype': "[('name', (np.str_, 10)), ('production_cond1', np.int32), (\n 'production_cond2', np.int32)]"}), "([('Gen1', 5, 3), ('Gen2', 11, 7), ('Gen3', 4, 9), ('Gen4', 2, 6)],\n dtype=[('name', (np.str_, 10)), ('production_cond1', np.int32), (\n 'production_cond2', np.int32)])\n", (573, 746), True, 'import numpy as np\n'), ((892, 1018), 'numpy.array', 'np.array', (["[('Gen1', 3.5), ('Gen2', 5), ('Gen3', 7), ('Gen4', 4.3)]"], {'dtype': "[('name', (np.str_, 10)), ('cost', np.float64)]"}), "([('Gen1', 3.5), ('Gen2', 5), ('Gen3', 7), ('Gen4', 4.3)], dtype=[(\n 'name', (np.str_, 10)), ('cost', np.float64)])\n", (900, 1018), True, 'import numpy as np\n'), ((1537, 1646), 'numpy.array', 'np.array', (['gene_list'], {'dtype': "[('name', (np.str_, 10)), ('pc_cond1', np.float64), ('pc_cond2', np.float64)]"}), "(gene_list, dtype=[('name', (np.str_, 10)), ('pc_cond1', np.float64\n ), ('pc_cond2', np.float64)])\n", (1545, 1646), True, 'import numpy as np\n')]
paypal/Iguanas
iguanas/pipeline/_base_pipeline.py
166ea81b7d370eb4281a27aa449719ed1d38a74a
""" Base pipeline class. Main rule generator classes inherit from this one. """ from copy import deepcopy from typing import List, Tuple, Union, Dict from iguanas.pipeline.class_accessor import ClassAccessor from iguanas.utils.typing import PandasDataFrameType, PandasSeriesType import iguanas.utils.utils as utils from iguanas.exceptions import DataFrameSizeError class _BasePipeline: """ Base pipeline class. Main pipeline classes inherit from this one. Parameters ---------- steps : List[Tuple[str, object]] The steps to be applied as part of the pipeline. verbose : int, optional Controls the verbosity - the higher, the more messages. >0 : gives the overall progress of the training of the pipeline; >1 : shows the current step being trained. Attributes ---------- steps_ : List[Tuple[str, object]] The steps corresponding to the fitted pipeline. rules : Rules The Rules object containing the rules produced from fitting the pipeline. """ def __init__(self, steps: List[Tuple[str, object]], verbose: int) -> None: self.steps = steps self.verbose = verbose self.steps_ = None self.rules = None def get_params(self) -> dict: """ Returns the parameters of each step in the pipeline. Returns ------- dict The parameters of each step in the pipeline. """ pipeline_params = {} steps_ = self.steps if self.steps_ is None else self.steps_ for step_tag, step in steps_: step_param_dict = deepcopy(step.__dict__) pipeline_params[step_tag] = step_param_dict # If step inherits from _BasePipeline, call its get_params to get # the parameters each class in the pipeline if issubclass(step.__class__, _BasePipeline): step_param_dict = step.get_params() pipeline_params.update(step_param_dict) return pipeline_params def _update_kwargs(self, params: dict) -> None: """ Updates the given parameters of the given steps in the pipeline. Parameters ---------- params : dict A dictionary where each key corresponds to the tag used for the pipeline step. Each value should be a dictionary of the parameters (keys) and their new values (values). """ for step_tag, step in self.steps: # If step inherits from _BasePipeline, call its _update_kwargs if issubclass(step.__class__, _BasePipeline): step._update_kwargs(params) if step_tag in params.keys(): # If a parameter in `params` is not in the keyword arguments # of the class (excl when kwargs is present), raise exception for param in params[step_tag].keys(): if param not in step.__dict__.keys() and 'kwargs' not in step.__dict__.keys(): raise ValueError( f'Parameter `{param}` not found in keyword arguments for class in step `{step_tag}`' ) step.__dict__.update(params[step_tag]) def _pipeline_fit(self, step_tag: str, step: object, X: Union[PandasDataFrameType, dict], y: Union[PandasSeriesType, dict], sample_weight: Union[PandasSeriesType, dict]) -> None: """ Runs the following before applying the `fit` method of `step`: 1. Checks the parameters of `step` for `ClassAccessor` objects. If a `ClassAccessor` object is found, the parameter in `step` is updated with the class attribute denoted by the `ClassAccessor` object. 2. Checks if `X`, `y` or `sample_weight` are dictionaries. If so, then the dataset aligned to `step_tag` is extracted. Parameters ---------- step_tag : str The tag corresponding to the step. step : object The step in the pipeline. X : Union[PandasDataFrameType, dict] The dataset or dictionary of datasets for each pipeline step. y : Union[PandasSeriesType, dict] The binary target column or dictionary of binary target columns for each pipeline step. sample_weight : Union[PandasSeriesType, dict], optional Row-wise weights or dictionary of row-wise weights for each pipeline step. Defaults to None. """ step = self._check_accessor(step) X, y, sample_weight = [ utils.return_dataset_if_dict( step_tag=step_tag, df=df ) for df in (X, y, sample_weight) ] step.fit(X, y, sample_weight) def _pipeline_transform(self, step_tag: str, step: object, X: Union[PandasDataFrameType, dict]) -> PandasDataFrameType: """ Runs the following before applying the `transform` method of `step`: 1. Checks the parameters of `step` for `ClassAccessor` objects. If a `ClassAccessor` object is found, the parameter in `step` is updated with the class attribute denoted by the `ClassAccessor` object. 2. Checks if `X`, `y` or `sample_weight` are dictionaries. If so, then the dataset aligned to `step_tag` is extracted. Parameters ---------- step_tag : str The tag corresponding to the step. step : object The step in the pipeline. X : Union[PandasDataFrameType, dict] The dataset or dictionary of datasets for each pipeline step. Returns ------- PandasDataFrameType The transformed dataset. """ step = self._check_accessor(step) X = utils.return_dataset_if_dict(step_tag=step_tag, df=X) X = step.transform(X) self._exception_if_no_cols_in_X(X, step_tag) return X def _pipeline_predict(self, step: object, X: Union[PandasDataFrameType, dict]) -> PandasSeriesType: """ Runs the following before applying the `predict` method of `step`: 1. Checks the parameters of `step` for `ClassAccessor` objects. If a `ClassAccessor` object is found, the parameter in `step` is updated with the class attribute denoted by the `ClassAccessor` object. Parameters ---------- step : object The step in the pipeline. X : Union[PandasDataFrameType, dict] The dataset or dictionary of datasets for each pipeline step. Returns ------- PandasSeriesType The prediction of the final step. """ step = self._check_accessor(step) return step.predict(X) def _pipeline_fit_transform(self, step_tag: str, step: object, X: Union[PandasDataFrameType, dict], y: Union[PandasSeriesType, dict], sample_weight: Union[PandasSeriesType, dict]) -> PandasDataFrameType: """ Runs the following before applying the `fit_transform` method of `step`: 1. Checks the parameters of `step` for `ClassAccessor` objects. If a `ClassAccessor` object is found, the parameter in `step` is updated with the class attribute denoted by the `ClassAccessor` object. 2. Checks if `X`, `y` or `sample_weight` are dictionaries. If so, then the dataset aligned to `step_tag` is extracted. Parameters ---------- step_tag : str The tag corresponding to the step. step : object The step in the pipeline. X : Union[PandasDataFrameType, dict] The dataset or dictionary of datasets for each pipeline step. y : Union[PandasSeriesType, dict] The binary target column or dictionary of binary target columns for each pipeline step. sample_weight : Union[PandasSeriesType, dict], optional Row-wise weights or dictionary of row-wise weights for each pipeline step. Defaults to None. Returns ------- PandasDataFrameType The transformed dataset. """ step = self._check_accessor(step) X, y, sample_weight = [ utils.return_dataset_if_dict( step_tag=step_tag, df=df ) for df in (X, y, sample_weight) ] X = step.fit_transform(X, y, sample_weight) self._exception_if_no_cols_in_X(X, step_tag) return X def _check_accessor(self, step: object) -> object: """ Checks whether the any of the parameters in the given `step` is of type ClassAccessor. If so, then it runs the ClassAccessor's `get` method, which extracts the given attribute from the given step in the pipeline, and injects it into the parameter. """ def _check_accessor_iterable(iterable: Union[list, tuple], pipeline_params: Dict[str, dict]) -> None: """ Iterates through an iterable - if the element is another iterable, _check_accessor_iterable is called again. If the the element is a CheckAccessor, its `get` method is called (which extracts the given attribute from the given step in the pipeline) - this attribute is then assigned in place of the original element. """ for idx, value in enumerate(iterable): if isinstance(value, (list, tuple)): _check_accessor_iterable(value, pipeline_params) elif isinstance(value, ClassAccessor): try: iterable[idx] = value.get(pipeline_params) except TypeError: raise TypeError( '`ClassAccessor` object must be within a mutable iterable.' ) step_param_dict = step.__dict__ for param, value in step_param_dict.items(): # If parameter value is an instantiated class, but not a # ClassAccessor, call _check_accessor again if hasattr(value, '__dict__') and value.__dict__ and not isinstance(value, ClassAccessor): self._check_accessor(value) # If parameter value is a list or tuple, call # _check_accessor_iterable elif isinstance(value, (list, tuple)): pipeline_params = self.get_params() _check_accessor_iterable(value, pipeline_params) # If the parameter value is a ClassAccessor, call its get method elif isinstance(value, ClassAccessor): pipeline_params = self.get_params() step.__dict__[param] = value.get(pipeline_params) return step @staticmethod def _exception_if_no_cols_in_X(X: PandasDataFrameType, step_tag: str) -> Union[None, DataFrameSizeError]: """Raises an exception if `X` has no columns.""" if X.shape[1] == 0: raise DataFrameSizeError( f'`X` has been reduced to zero columns after the `{step_tag}` step in the pipeline.' )
[((6125, 6178), 'iguanas.utils.utils.return_dataset_if_dict', 'utils.return_dataset_if_dict', ([], {'step_tag': 'step_tag', 'df': 'X'}), '(step_tag=step_tag, df=X)\n', (6153, 6178), True, 'import iguanas.utils.utils as utils\n'), ((1673, 1696), 'copy.deepcopy', 'deepcopy', (['step.__dict__'], {}), '(step.__dict__)\n', (1681, 1696), False, 'from copy import deepcopy\n'), ((4807, 4861), 'iguanas.utils.utils.return_dataset_if_dict', 'utils.return_dataset_if_dict', ([], {'step_tag': 'step_tag', 'df': 'df'}), '(step_tag=step_tag, df=df)\n', (4835, 4861), True, 'import iguanas.utils.utils as utils\n'), ((8853, 8907), 'iguanas.utils.utils.return_dataset_if_dict', 'utils.return_dataset_if_dict', ([], {'step_tag': 'step_tag', 'df': 'df'}), '(step_tag=step_tag, df=df)\n', (8881, 8907), True, 'import iguanas.utils.utils as utils\n'), ((11722, 11836), 'iguanas.exceptions.DataFrameSizeError', 'DataFrameSizeError', (['f"""`X` has been reduced to zero columns after the `{step_tag}` step in the pipeline."""'], {}), "(\n f'`X` has been reduced to zero columns after the `{step_tag}` step in the pipeline.'\n )\n", (11740, 11836), False, 'from iguanas.exceptions import DataFrameSizeError\n')]
AlexanderMakarov/activitywatch-ets
test_activity_merger.py
36e5ac92c7834b9515a54c5d633ae5e45d6928bc
import unittest import datetime from parameterized import parameterized from activity_merger import Interval from aw_core.models import Event from typing import List, Tuple def _build_datetime(seed: int) -> datetime.datetime: return datetime.datetime(2000, 1, seed, seed, 0, 0).astimezone(datetime.timezone.utc) def _build_timedelta(seed: int) -> datetime.timedelta: return _build_datetime(seed + 1) - _build_datetime(1) def build_intervals_linked_list(data: List[Tuple[int, bool, int]]) -> Interval: """ Builds intervals linked list from the list of tuples. Doesn't check parameters. :param data: List of tuples (day of start, flag to return `Interval` from the function, duration). :return: Chosen interval. """ result = None previous = None for (seed, is_target, duration) in data: if not previous: previous = Interval(_build_datetime(seed), _build_datetime(seed + duration)) else: tmp = Interval(_build_datetime(seed), _build_datetime(seed + duration), previous) previous.next = tmp previous = tmp if is_target: assert result is None, f"Wrong parameters - '{seed}' interval is marked as result but is not first." result = previous return result class TestInterval(unittest.TestCase): @parameterized.expand([ ( "Simple the only interval", build_intervals_linked_list([ (1, True, 1) ]), 1 ), ( "The same interval", build_intervals_linked_list([ (1, False, 1), (5, True, 1), (6, False, 1) ]), 5 ), ( "Exact Interval right before", build_intervals_linked_list([ (5, False, 1), (6, True, 1), (7, False, 1) ]), 5 ), ( "Exact Interval right after", build_intervals_linked_list([ (3, False, 1), (4, True, 1), (5, False, 1) ]), 5 ), ( "Exact Interval far after", build_intervals_linked_list([ (3, True, 1), (4, False, 1), (5, False, 1), (6, False, 1), ]), 5 ), ( "Exact Interval far before", build_intervals_linked_list([ (4, False, 1), (5, False, 1), (6, False, 1), (7, True, 1), ]), 5 ), ]) def test_find_closest_by_start(self, test_name, interval, expected_start_seed): target = _build_datetime(5) actual: Interval = interval.find_closest(target, datetime.timedelta(0), False) expected = _build_datetime(expected_start_seed) self.assertEqual(actual.start_time, expected, f"'{test_name}' case failed.") @parameterized.expand([ ( "Simple the only interval", build_intervals_linked_list([ (1, True, 1) ]), 1 ), ( "The same interval", build_intervals_linked_list([ (1, False, 1), (4, True, 1), (6, False, 1), ]), 4 ), ( "Exact Interval right before", build_intervals_linked_list([ (4, False, 1), (6, True, 1), (7, False, 1), ]), 4 ), ( "Exact Interval right after", build_intervals_linked_list([ (1, False, 1), (2, True, 1), (4, False, 1), ]), 4 ), ( "Exact Interval far after", build_intervals_linked_list([ (2, True, 1), (3, False, 1), (4, False, 1), (5, False, 1), ]), 4 ), ( "Exact Interval far before", build_intervals_linked_list([ (3, False, 1), (4, False, 1), (6, False, 1), (7, True, 1), ]), 4 ), ]) def test_find_closest_by_end(self, test_name, interval: Interval, expected_start_seed): target = _build_datetime(5) actual: Interval = interval.find_closest(target, datetime.timedelta(0), True) expected = _build_datetime(expected_start_seed) self.assertEqual(actual.start_time, expected, f"'{test_name}' case failed.") @parameterized.expand([ ( "Event at middle", build_intervals_linked_list([ (3, True, 5), ]), Event(1, _build_datetime(5), _build_timedelta(1)), build_intervals_linked_list([ (3, True, 2), (5, False, 1), (6, False, 2), ]), ), ( "Event start equal interval start", build_intervals_linked_list([ (5, True, 5), ]), Event(1, _build_datetime(5), _build_timedelta(1)), build_intervals_linked_list([ (5, True, 1), (6, False, 4), ]), ), ( "Event end equal interval end", build_intervals_linked_list([ (4, True, 2), ]), Event(1, _build_datetime(5), _build_timedelta(1)), build_intervals_linked_list([ (4, True, 1), (5, False, 1), ]), ), ]) def test_separate_new_at_middle(self, test_name: str, interval: Interval, event: Event, expected_interval_offset_2_num_4: Interval): actual: Interval = interval.separate_new_at_middle(event, datetime.timedelta(0)) self.assertListEqual(actual.get_range(-2, 4), expected_interval_offset_2_num_4.get_range(-2, 4), f"'{test_name}' case failed.") if __name__ == '__main__': unittest.main()
[((6290, 6305), 'unittest.main', 'unittest.main', ([], {}), '()\n', (6303, 6305), False, 'import unittest\n'), ((239, 283), 'datetime.datetime', 'datetime.datetime', (['(2000)', '(1)', 'seed', 'seed', '(0)', '(0)'], {}), '(2000, 1, seed, seed, 0, 0)\n', (256, 283), False, 'import datetime\n'), ((2894, 2915), 'datetime.timedelta', 'datetime.timedelta', (['(0)'], {}), '(0)\n', (2912, 2915), False, 'import datetime\n'), ((4634, 4655), 'datetime.timedelta', 'datetime.timedelta', (['(0)'], {}), '(0)\n', (4652, 4655), False, 'import datetime\n'), ((6082, 6103), 'datetime.timedelta', 'datetime.timedelta', (['(0)'], {}), '(0)\n', (6100, 6103), False, 'import datetime\n')]
alekseynp/playground
pommerman/agents/player_agent.py
523cc924fe9fd269a8eb3e29c45ace1c5c85b12c
""" NOTE: There are a few minor complications to fluid human control which make this code a little more involved than trivial. 1. Key press-release cycles can be, and often are, faster than one tick of the game/simulation, but the player still wants that cycle to count, i.e. to lay a bomb! 2. When holding down a key, the player expects that action to be repeated, at least after a slight delay. 3. But when holding a key down (say, move left) and simultaneously doing a quick press-release cycle (put a bomb), we want the held-down key to keep being executed, but the cycle should have happened in-between. The way we solve this problem is by separating key-state and actions-to-do. We hold the actions that need be executed in a queue (`self._action_q`) and a state for all considered keys. 1. When a key is pressed down, we note the time and mark it as down. 2. If it is released quickly thereafter, before a game tick could happen, we add its action into the queue. This often happens when putting bombs. 3. If it's still pressed down as we enter a game tick, we do some math to see if it's time for a "repeat" event and, if so, push an action to the queue. 4. Just work off one item from the queue each tick. This way, the input is "natural" and things like dropping a bomb while doing a diagonal walk from one end to the other "just work". """ from time import time from . import BaseAgent from .. import characters REPEAT_DELAY = 0.2 # seconds REPEAT_INTERVAL = 0.1 class Keystate: def __init__(self): self.keydown_time = time() self.last_repeat_time = None self.fired = False def should_fire(self): if self.last_repeat_time is None: # The first repetition: if time() - self.keydown_time > REPEAT_DELAY: return True else: # A repetition after the first: if time() - self.last_repeat_time > REPEAT_INTERVAL: return True # No repetition yet return False def mark_fired(self): self.last_repeat_time = time() self.fired = True class PlayerAgent(BaseAgent): """The Player Agent that lets the user control a character.""" def __init__(self, character=characters.Bomber, agent_control='arrows'): super(PlayerAgent, self).__init__(character) ## # @NOTE: DO NOT move this import outside the constructor. It will # not work in headless environments like a Docker container # and prevents Pommerman from running. # from pyglet.window import key CONTROLS = { 'arrows': { key.UP: 1, key.DOWN: 2, key.LEFT: 3, key.RIGHT: 4, key.SPACE: 5, key.M: 6 # In Pommerman, this will freeze the game. }, 'wasd': { key.W: 1, key.S: 2, key.A: 3, key.D: 4, key.E: 5, key.Q: 6 # In Pommerman, this will freeze the game. } } assert agent_control in CONTROLS, "Unknown control: {}".format( agent_control) self._key2act = CONTROLS[agent_control] self._action_q = [] self._keystate = {} def act(self, obs, action_space): # Go through the keys and fire for those that needs repetition (because they're held down) for k, state in self._keystate.items(): if state.should_fire(): self._action_q.append(k) state.mark_fired() act = 0 if self._action_q: # Work off the keys that are queued. act = self._key2act[self._action_q.pop(0)] return act @staticmethod def has_user_input(): return True def on_key_press(self, k, mod): # Ignore if we're not handling the key. Avoids "shadowing" ticks in # multiplayer mode. if k in self._key2act: self._keystate[k] = Keystate() def on_key_release(self, k, mod): # We only need to act on keys for which we did something in the # `key_press` event, and ignore any other key releases. if k in self._keystate: # Only mark this as a "press" upon release if it was a quick one, # i.e. not held down and executed already if not self._keystate[k].fired: self._action_q.append(k) del self._keystate[k]
[((1575, 1581), 'time.time', 'time', ([], {}), '()\n', (1579, 1581), False, 'from time import time\n'), ((2098, 2104), 'time.time', 'time', ([], {}), '()\n', (2102, 2104), False, 'from time import time\n'), ((1767, 1773), 'time.time', 'time', ([], {}), '()\n', (1771, 1773), False, 'from time import time\n'), ((1911, 1917), 'time.time', 'time', ([], {}), '()\n', (1915, 1917), False, 'from time import time\n')]
sapshah-cisco/cobra
tests/rest/test_rest.py
e2b5a75495931844180b05d776c15829e63f0dab
# Copyright 2015 Cisco Systems, 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 print_function from future import standard_library standard_library.install_aliases() from builtins import str from builtins import range from builtins import object import http.client import os import pytest import random import string import time import xml.etree.ElementTree as ET import logging from cobra.internal.codec.jsoncodec import toJSONStr, fromJSONStr from cobra.internal.codec.xmlcodec import toXMLStr, fromXMLStr import cobra.mit.access import cobra.mit.request import cobra.mit.session cobra = pytest.importorskip("cobra") cobra.model = pytest.importorskip("cobra.model") cobra.model.fv = pytest.importorskip("cobra.model.fv") import cobra.model.pol import cobra.model.infra import cobra.services pytestmark = pytest.mark.skipif(pytest.config.getvalue('apic') == [], reason="You must specify at least one --apic " + "option on the CLI") slow = pytest.mark.slow http.client.HTTPConnection.debuglevel = 1 logging.basicConfig(level=logging.DEBUG) fakeDevicePackageZip = 'Archive.zip' realDevicePackageZip = 'asa-device-pkg.zip' @pytest.fixture(params=pytest.config.getvalue('apic')) def moDir(request): url, user, password, secure = request.param secure = False if secure == 'False' else True session = cobra.mit.session.LoginSession(url, user, password, secure=secure) md = cobra.mit.access.MoDirectory(session) md.login() return md class Test_rest_configrequest(object): def test_createtenant(self, moDir, tenantname): """ create a tenant and commit it """ dcid = str(time.time()).replace('.', '') polUni = cobra.model.pol.Uni('') tenant = cobra.model.fv.Tenant(polUni, tenantname[0]) configRequest = cobra.mit.request.ConfigRequest() configRequest.addMo(tenant) configRequest.subtree = 'full' configRequest.id = dcid mos = moDir.commit(configRequest) assert mos mo = mos[0] assert len(mos) > 0 assert str(mo.dn) == str(tenant.dn) assert len(list(mo.children)) >= 1 def test_lookupcreatedtenant(self, moDir, tenantname): tenant = moDir.lookupByDn('uni/tn-{0}'.format(tenantname[0])) assert tenant def test_deletetenant(self, moDir, tenantname): tenant = moDir.lookupByDn('uni/tn-{0}'.format(tenantname[0])) tenant.delete() configRequest = cobra.mit.request.ConfigRequest() configRequest.addMo(tenant) r = moDir.commit(configRequest) assert r == [] tenant = moDir.lookupByDn('uni/tn-{0}'.format(tenantname[0])) assert not tenant class Test_rest_classquery(object): def test_classquery_shorthand_filter(self, moDir): """ check that lookupByClass is able to lookup tenant common and only one item is returned """ commonTn = moDir.lookupByClass( 'fvTenant', propFilter='eq(fvTenant.name, "common")') assert len(commonTn) == 1 commonTn = commonTn[0] assert str(commonTn.dn) == 'uni/tn-common' def test_classquery_normal(self, moDir): """ check that a class query with no special properties succeeds we should get at least three tenants (infra, mgmt, common) """ classQuery = cobra.mit.request.ClassQuery('fvTenant') commonTn = moDir.query(classQuery) def findtn(tnlist, tnname): for tn in tnlist: if tn.name == tnname: return True return False assert findtn(commonTn, 'common') assert findtn(commonTn, 'infra') assert findtn(commonTn, 'mgmt') def test_classquery_filter(self, moDir): """ check that a class query with a property filter works """ classQuery = cobra.mit.request.ClassQuery('fvTenant') classQuery.propFilter = 'eq(fvTenant.name, "common")' commonTn = moDir.query(classQuery) commonTn = commonTn[0] assert str(commonTn.dn) == 'uni/tn-common' def test_classquery_subtree(self, moDir): """ check that a class query with a subtree response """ classQuery = cobra.mit.request.ClassQuery('fvTenant') classQuery.subtree = 'full' classQuery.propFilter = 'eq(fvTenant.name, "common")' commonTn = moDir.query(classQuery) commonTn = commonTn[0] assert str(commonTn.dn) == 'uni/tn-common' # expect at least 3 child objects assert len(list(commonTn.children)) >= 3 assert str(commonTn.BD['default'].dn) == 'uni/tn-common/BD-default' @pytest.mark.parametrize("cls,subtree", [ pytest.mark.skipif(pytest.config.getvalue('apic') == [], reason="no --apic")(('fvTenant', 'full')), pytest.mark.skipif(pytest.config.getvalue('apic') == [], reason="no --apic")(('infraInfra', 'no')), pytest.mark.skipif(pytest.config.getvalue('apic') == [], reason="no --apic")(('fvAEPg', 'full')), pytest.mark.skipif(pytest.config.getvalue('apic') == [], reason="no --apic")(('infraFuncP', 'full')), pytest.mark.skipif(pytest.config.getvalue('apic') == [], reason="no --apic")(('fabricNode', 'no')), pytest.mark.skipif(pytest.config.getvalue('apic') == [], reason="no --apic")(('topSystem', 'full')), ]) def test_classquery_many(self, moDir, cls, subtree): classQuery = cobra.mit.request.ClassQuery(cls) classQuery.subtree = subtree # classQuery.propFilter='eq(fvTenant.name, "common")' mos = moDir.query(classQuery) assert len(mos) > 0 def test_classquery_verifyxml(self, moDir): """ verify that the XML returned by lookupByClass is valid """ commonTn = moDir.lookupByClass( 'fvTenant', propFilter='eq(fvTenant.name, "common")') commonTn = commonTn[0] xml = ET.fromstring(toXMLStr(commonTn)) assert xml.tag == 'fvTenant' def test_classquery_negative(self, moDir): """ generate a random tenant name and ensure that we dont find a match for it """ tenantName = ''.join(random.choice(string.ascii_lowercase) for i in range(64)) tenant = moDir.lookupByClass( 'fvTenant', propFilter='eq(fvTenant.name, "{0}")'.format(tenantName)) assert len(tenant) == 0 class Test_rest_dnquery(object): def test_dnquery_normal(self, moDir, dn): dnQuery = cobra.mit.request.DnQuery(dn) dnQuery.subtree = 'full' commonTn = moDir.query(dnQuery) assert len(commonTn) == 1 commonTn = commonTn[0] assert str(commonTn.dn) == str(dn) # expect at least 3 child objects assert len(list(commonTn.children)) >= 3 assert str(commonTn.BD['default'].dn) == 'uni/tn-common/BD-default' def test_dnquery_shorthand(self, moDir, dn): commonTn = moDir.lookupByDn(dn) assert str(commonTn.dn) == str(dn) class Test_rest_getLoginDomains(object): def test_getDomains(self, apic): """Verify that the getLoginDomains() method works. """ url, user, password, secure = apic secure = False if secure == 'False' else True session = cobra.mit.session.LoginSession(url, user, password, secure=secure) session.getLoginDomains() assert session.domains != [] def test_loginDomains_setting(self, apic): """Verify that the loginDomain can be set.""" url, user, password, secure = apic secure = False if secure == 'False' else True session = cobra.mit.session.LoginSession(url, user, password, secure=secure) session.getLoginDomains() session.loginDomain = session.domains[0] assert session.loginDomain == session.domains[0] class Test_rest_login(object): def test_login_positive(self, apic): """ verify that the login function works """ url, user, password, secure = apic secure = False if secure == 'False' else True session = cobra.mit.session.LoginSession(url, user, password, secure=secure) moDir = cobra.mit.access.MoDirectory(session) moDir.login() assert moDir._session def test_login_negative(self, apic): """ verify that the invalid logins throw an exception """ url, user, password, secure = apic secure = False if secure == 'False' else True session = cobra.mit.session.LoginSession(url, user, 'wrongpassword', secure=secure) moDir = cobra.mit.access.MoDirectory(session) with pytest.raises(cobra.mit.session.LoginError): moDir.login() @slow def test_login_timeout(self, apic): """ verify that the session times out properly """ url, user, password, secure = apic secure = False if secure == 'False' else True session = cobra.mit.session.LoginSession(url, user, password, secure=secure) moDir = cobra.mit.access.MoDirectory(session) moDir.login() start = time.time() pki = moDir.lookupByDn('uni/userext/pkiext/webtokendata') refreshTime = pki.webtokenTimeoutSeconds sleepTime = float(refreshTime) - (time.time() - start) sleepTime += 1.0 # one second buffer, for good measure time.sleep(sleepTime) with pytest.raises(cobra.mit.request.QueryError): moDir.lookupByClass('pkiWebTokenData') def test_login_get_timeout(self, apic): """ verify that the session times out properly """ url, user, password, secure = apic secure = False if secure == 'False' else True session = cobra.mit.session.LoginSession(url, user, password, secure=secure) moDir = cobra.mit.access.MoDirectory(session) moDir.login() assert moDir._session.refreshTime > int(time.time()) assert moDir._session.refreshTimeoutSeconds > 0 def test_rest_login_reauth(self, apic): """Verify that the reauth call returns a different session cookie.""" url, user, password, secure = apic secure = False if secure == 'False' else True session = cobra.mit.session.LoginSession(url, user, password, secure=secure) moDir = cobra.mit.access.MoDirectory(session) moDir.login() orig_cookie = session.cookie # sleep for 5 seconds to ensure we get a different cookie. time.sleep(5) moDir.reauth() assert orig_cookie != session.cookie class Test_rest_tracequery(object): @pytest.mark.parametrize("cls", [ pytest.mark.skipif(pytest.config.getvalue('apic') == [], reason="no --apic")('fvEpP'), pytest.mark.skipif(pytest.config.getvalue('apic') == [], reason="no --apic")('vlanCktEp'), pytest.mark.skipif(pytest.config.getvalue('apic') == [], reason="no --apic")('actrlRule'), ]) def test_tracequery(self, moDir, cls): """ Query every leaf in the fabric for some concrete objects and try to find at least one response. If we don't get that, we fail """ traceResponse = 0 nodes = moDir.lookupByClass( 'fabricNode', propFilter='eq(fabricNode.role,"leaf"') assert len(nodes) > 0 for node in nodes: a = cobra.mit.request.TraceQuery(node.dn, cls) print(a.getUrl(moDir._session)) mos = moDir.query(a) for mo in mos: print(mo.dn) traceResponse += len(mos) assert traceResponse > 0 class Test_services_devicepackage(object): fakePackage = os.path.join(os.path.dirname(os.path.realpath(__file__)), fakeDevicePackageZip) realPackage = os.path.join(os.path.dirname(os.path.realpath(__file__)), realDevicePackageZip) def test_packagevalidate(self): """ Make sure that invalid device packages throw an exception when validation is enabled """ with pytest.raises(AttributeError): cobra.services.UploadPackage(self.fakePackage, validate=True) def test_packagedonotvalidate(self): """ Make sure that if validation is not enabled, no exception is thrown """ packageUpload = cobra.services.UploadPackage(self.fakePackage) assert packageUpload.devicePackagePath == self.fakePackage def test_uploadpackage(self, moDir): """ ensure that the device package upload returns a 200 """ packageUpload = cobra.services.UploadPackage(self.realPackage, validate=True) r = moDir.commit(packageUpload) assert r == [] def test_validateupload(self, moDir): """ make sure that the uploaded device package is found """ uni = cobra.model.pol.Uni('') infra = cobra.model.infra.Infra(uni) vnsQuery = cobra.mit.request.DnQuery(infra.dn) vnsQuery.propFilter = 'eq(vnsMDev.vendor,"CISCO")' vnsQuery.queryTarget = 'subtree' vnsQuery.classFilter = 'vnsMDev' packages = moDir.query(vnsQuery) assert len(packages) > 0 package = packages[0] assert package.vendor == 'CISCO' assert package.model == 'ASA' # for package in packages: # print '\n'.join(['%s:\t%s' % (k,getattr(package,k)) for k in package.meta.props.names]) # print package.dn
[((659, 693), 'future.standard_library.install_aliases', 'standard_library.install_aliases', ([], {}), '()\n', (691, 693), False, 'from future import standard_library\n'), ((1121, 1149), 'pytest.importorskip', 'pytest.importorskip', (['"""cobra"""'], {}), "('cobra')\n", (1140, 1149), False, 'import pytest\n'), ((1164, 1198), 'pytest.importorskip', 'pytest.importorskip', (['"""cobra.model"""'], {}), "('cobra.model')\n", (1183, 1198), False, 'import pytest\n'), ((1216, 1253), 'pytest.importorskip', 'pytest.importorskip', (['"""cobra.model.fv"""'], {}), "('cobra.model.fv')\n", (1235, 1253), False, 'import pytest\n'), ((1603, 1643), 'logging.basicConfig', 'logging.basicConfig', ([], {'level': 'logging.DEBUG'}), '(level=logging.DEBUG)\n', (1622, 1643), False, 'import logging\n'), ((1357, 1387), 'pytest.config.getvalue', 'pytest.config.getvalue', (['"""apic"""'], {}), "('apic')\n", (1379, 1387), False, 'import pytest\n'), ((1751, 1781), 'pytest.config.getvalue', 'pytest.config.getvalue', (['"""apic"""'], {}), "('apic')\n", (1773, 1781), False, 'import pytest\n'), ((10226, 10237), 'time.time', 'time.time', ([], {}), '()\n', (10235, 10237), False, 'import time\n'), ((10490, 10511), 'time.sleep', 'time.sleep', (['sleepTime'], {}), '(sleepTime)\n', (10500, 10511), False, 'import time\n'), ((11709, 11722), 'time.sleep', 'time.sleep', (['(5)'], {}), '(5)\n', (11719, 11722), False, 'import time\n'), ((2704, 2714), 'builtins.str', 'str', (['mo.dn'], {}), '(mo.dn)\n', (2707, 2714), False, 'from builtins import str\n'), ((2718, 2732), 'builtins.str', 'str', (['tenant.dn'], {}), '(tenant.dn)\n', (2721, 2732), False, 'from builtins import str\n'), ((3739, 3755), 'builtins.str', 'str', (['commonTn.dn'], {}), '(commonTn.dn)\n', (3742, 3755), False, 'from builtins import str\n'), ((4718, 4734), 'builtins.str', 'str', (['commonTn.dn'], {}), '(commonTn.dn)\n', (4721, 4734), False, 'from builtins import str\n'), ((5131, 5147), 'builtins.str', 'str', (['commonTn.dn'], {}), '(commonTn.dn)\n', (5134, 5147), False, 'from builtins import str\n'), ((5273, 5303), 'builtins.str', 'str', (["commonTn.BD['default'].dn"], {}), "(commonTn.BD['default'].dn)\n", (5276, 5303), False, 'from builtins import str\n'), ((6777, 6795), 'cobra.internal.codec.xmlcodec.toXMLStr', 'toXMLStr', (['commonTn'], {}), '(commonTn)\n', (6785, 6795), False, 'from cobra.internal.codec.xmlcodec import toXMLStr, fromXMLStr\n'), ((7541, 7557), 'builtins.str', 'str', (['commonTn.dn'], {}), '(commonTn.dn)\n', (7544, 7557), False, 'from builtins import str\n'), ((7561, 7568), 'builtins.str', 'str', (['dn'], {}), '(dn)\n', (7564, 7568), False, 'from builtins import str\n'), ((7675, 7705), 'builtins.str', 'str', (["commonTn.BD['default'].dn"], {}), "(commonTn.BD['default'].dn)\n", (7678, 7705), False, 'from builtins import str\n'), ((7841, 7857), 'builtins.str', 'str', (['commonTn.dn'], {}), '(commonTn.dn)\n', (7844, 7857), False, 'from builtins import str\n'), ((7861, 7868), 'builtins.str', 'str', (['dn'], {}), '(dn)\n', (7864, 7868), False, 'from builtins import str\n'), ((9706, 9749), 'pytest.raises', 'pytest.raises', (['cobra.mit.session.LoginError'], {}), '(cobra.mit.session.LoginError)\n', (9719, 9749), False, 'import pytest\n'), ((10526, 10569), 'pytest.raises', 'pytest.raises', (['cobra.mit.request.QueryError'], {}), '(cobra.mit.request.QueryError)\n', (10539, 10569), False, 'import pytest\n'), ((13000, 13026), 'os.path.realpath', 'os.path.realpath', (['__file__'], {}), '(__file__)\n', (13016, 13026), False, 'import os\n'), ((13129, 13155), 'os.path.realpath', 'os.path.realpath', (['__file__'], {}), '(__file__)\n', (13145, 13155), False, 'import os\n'), ((13386, 13415), 'pytest.raises', 'pytest.raises', (['AttributeError'], {}), '(AttributeError)\n', (13399, 13415), False, 'import pytest\n'), ((7017, 7054), 'random.choice', 'random.choice', (['string.ascii_lowercase'], {}), '(string.ascii_lowercase)\n', (7030, 7054), False, 'import random\n'), ((10396, 10407), 'time.time', 'time.time', ([], {}), '()\n', (10405, 10407), False, 'import time\n'), ((11098, 11109), 'time.time', 'time.time', ([], {}), '()\n', (11107, 11109), False, 'import time\n'), ((2278, 2289), 'time.time', 'time.time', ([], {}), '()\n', (2287, 2289), False, 'import time\n'), ((7093, 7102), 'builtins.range', 'range', (['(64)'], {}), '(64)\n', (7098, 7102), False, 'from builtins import range\n'), ((5408, 5438), 'pytest.config.getvalue', 'pytest.config.getvalue', (['"""apic"""'], {}), "('apic')\n", (5430, 5438), False, 'import pytest\n'), ((5543, 5573), 'pytest.config.getvalue', 'pytest.config.getvalue', (['"""apic"""'], {}), "('apic')\n", (5565, 5573), False, 'import pytest\n'), ((5678, 5708), 'pytest.config.getvalue', 'pytest.config.getvalue', (['"""apic"""'], {}), "('apic')\n", (5700, 5708), False, 'import pytest\n'), ((5811, 5841), 'pytest.config.getvalue', 'pytest.config.getvalue', (['"""apic"""'], {}), "('apic')\n", (5833, 5841), False, 'import pytest\n'), ((5948, 5978), 'pytest.config.getvalue', 'pytest.config.getvalue', (['"""apic"""'], {}), "('apic')\n", (5970, 5978), False, 'import pytest\n'), ((6083, 6113), 'pytest.config.getvalue', 'pytest.config.getvalue', (['"""apic"""'], {}), "('apic')\n", (6105, 6113), False, 'import pytest\n'), ((11894, 11924), 'pytest.config.getvalue', 'pytest.config.getvalue', (['"""apic"""'], {}), "('apic')\n", (11916, 11924), False, 'import pytest\n'), ((12016, 12046), 'pytest.config.getvalue', 'pytest.config.getvalue', (['"""apic"""'], {}), "('apic')\n", (12038, 12046), False, 'import pytest\n'), ((12142, 12172), 'pytest.config.getvalue', 'pytest.config.getvalue', (['"""apic"""'], {}), "('apic')\n", (12164, 12172), False, 'import pytest\n')]
omaraljazairy/FedalAPI
spanglish/tests/fixtures/models/language.py
2be0a19bb2629be9e2a0477f99477e4bfbd8901e
""" fixtures that return an sql statement with a list of values to be inserted.""" def load_language(): """ return the sql and values of the insert queuery.""" sql = """ INSERT INTO Spanglish_Test.Language ( `name`, `iso-639-1` ) VALUES (%s, %s) """ values = [ ( 'English', 'EN' ), ( 'Spanish', 'ES' ), ( 'Dutch', 'NL' ) ] return { 'sql': sql, 'values': values }
[]
tradewartracker/phase-one-product-hs2
main-hs2.py
38dd328a8211695c31f09a34832535dc2c82a5c2
import datetime as dt from os.path import dirname, join import numpy as np import pandas as pd import pyarrow as pa import pyarrow.parquet as pq from bokeh.io import curdoc from bokeh.layouts import column, gridplot, row from bokeh.models import ColumnDataSource, DataRange1d, Select, HoverTool, Panel, Tabs, LinearColorMapper, Range1d from bokeh.models import NumeralTickFormatter, Title, Label, Paragraph, Div, CustomJSHover, BoxAnnotation from bokeh.models import ColorBar from bokeh.palettes import brewer, Spectral6 from bokeh.plotting import figure from bokeh.embed import server_document from bokeh.transform import factor_cmap ################################################################################# # This just loads in the data... # Alot of this was built of this "cross-fire demo" # https://github.com/bokeh/bokeh/blob/branch-2.3/examples/app/crossfilter/main.py start_date = dt.datetime(2017,7,1) end_date = dt.datetime(2022,1,1) background = "#ffffff" file = "./data"+ "/data.parquet" df = pq.read_table(file).to_pandas() df.sort_index(inplace=True) options = df.index.unique(0).to_list() #print(options) product = "HS CODE 72, IRON AND STEEL" level = "US Dollars" ################################################################################# #These are functions used in the plot... def growth_trade(foo): # what this function does is take a dataframe and create a relative return 100*((foo["china_exports"]/foo["china_exports"].shift(12)) - 1) def cum_trade(foo): outdf = pd.DataFrame([]) outdf["cuml_trade_2017"] = foo["china_exports"].loc["2017"].cumsum() outdf.index = pd.date_range(start="2020-01-01", end="2020-12-01", freq = "MS") outdf["cuml_trade_2020"] = foo["china_exports"].loc["2020"].cumsum() return outdf ################################################################################# # Then this makes the simple plots: def make_plot(): height = int(1.15*533) width = int(1.15*750) foo = df.loc[product_select.value] #foo = df.query("@a < a") # below there is an object of selections which will be one of the values in # the list of options. So the .value then grabs that particular option selected. x = foo.index if level_select.value == 'US Dollars': y = foo['china_exports'] if level_select.value == 'Year over Year % Change': y = growth_trade(foo) if level_select.value == "Cumulative Purchases 2020 vs 2017": cuml = cum_trade(foo) x = cuml.index y2017 = cuml["cuml_trade_2017"] y2020 = cuml["cuml_trade_2020"] title = "US Exports to China of " + product_select.value.title().upper() if level_select.value != "Cumulative Purchases 2020 vs 2017": # This is standard bokeh stuff so far plot = figure(x_axis_type="datetime", plot_height = height, plot_width=width, toolbar_location = 'below', tools = "box_zoom, reset, pan, xwheel_zoom", title = title, x_range = (start_date,end_date) ) plot.line(x = x, y = y, line_width=3.5, line_alpha=0.75, line_color = "slategray") if level_select.value == "Cumulative Purchases 2020 vs 2017": plot = figure(x_axis_type="datetime", plot_height = height, plot_width=width, toolbar_location = 'below', tools = "box_zoom, reset, pan", title = title, x_range = (dt.datetime(2020,1,1),dt.datetime(2021,2,1)) ) plot.line(x = x, y = y2017, line_width=3.5, line_alpha=0.5, line_color = "red", line_dash = "dashed" , legend_label= "2017") plot.line(x = x, y = y2020, line_width=3.5, line_alpha=0.75, line_color = "darkblue" , legend_label= "2020") plot.legend.title = 'Cumulative Purchases' plot.legend.location = "top_left" plot.legend.title_text_font_style = "bold" # fixed attributes plot.xaxis.axis_label = None plot.yaxis.axis_label = "" plot.axis.axis_label_text_font_style = "bold" plot.grid.grid_line_alpha = 0.3 TIMETOOLTIPS = """ <div style="background-color:#F5F5F5; opacity: 0.95; border: 15px 15px 15px 15px;"> <div style = "text-align:left;">""" if level_select.value == 'Year over Year % Change': TIMETOOLTIPS = TIMETOOLTIPS + """ <span style="font-size: 13px; font-weight: bold"> $data_x{%b %Y}: $data_y{0}%</span> </div> </div> """ plot.add_tools(HoverTool(tooltips = TIMETOOLTIPS, line_policy='nearest', formatters={'$data_x': 'datetime'})) if level_select.value == 'US Dollars': TIMETOOLTIPS = TIMETOOLTIPS + """ <span style="font-size: 13px; font-weight: bold"> $data_x{%b %Y}: $data_y{$0.0a}</span> </div> </div> """ plot.add_tools(HoverTool(tooltips = TIMETOOLTIPS, line_policy='nearest', formatters={'$data_x': 'datetime'})) if level_select.value == "Cumulative Purchases 2020 vs 2017": ################################################################################# singlesource2020 = ColumnDataSource({ 'xs': x.values, 'ys': y2020.values, "dates": np.array(x), }) c2020 = plot.circle(x="xs", y="ys", size=35, source = singlesource2020, color = "crimson",alpha=0.0) singlesource2017 = ColumnDataSource({ 'xs': x.values, 'ys': y2017.values, "dates": np.array(pd.date_range(start="2017-01-01", end="2017-12-01", freq = "MS")), }) c2017 = plot.circle(x="xs", y="ys", size=35, source = singlesource2017, color = "darkblue",alpha=0.0) TIMETOOLTIPS = TIMETOOLTIPS + """ <span style="font-size: 13px; font-weight: bold"> @dates{%b %Y}: $data_y{$0.0a}</span> </div> </div> """ plot.add_tools(HoverTool(tooltips = TIMETOOLTIPS, line_policy='nearest', formatters={'@dates': 'datetime'}, renderers = [c2017,c2020])) if level_select.value == 'Year over Year % Change': if y.max() > 1500: plot.y_range.end = 1500 plot.title.text_font_size = '13pt' plot.background_fill_color = background plot.background_fill_alpha = 0.75 plot.border_fill_color = background tradewar_box = BoxAnnotation(left=dt.datetime(2018,7,1), right=dt.datetime(2019,10,11), fill_color='red', fill_alpha=0.1) plot.add_layout(tradewar_box) tradewar_box = BoxAnnotation(left=dt.datetime(2020,1,1), right=dt.datetime(2021,12,31), fill_color='blue', fill_alpha=0.1) plot.add_layout(tradewar_box) #p.yaxis.axis_label = plot.yaxis.axis_label_text_font_style = 'bold' plot.yaxis.axis_label_text_font_size = "13px" plot.sizing_mode= "scale_both" if level_select.value != 'Year over Year % Change': plot.yaxis.formatter = NumeralTickFormatter(format="($0. a)") plot.yaxis.axis_label = "US Dollars" if level_select.value == 'Year over Year % Change': plot.yaxis.axis_label = level_select.value plot.max_height = height plot.max_width = width plot.min_height = int(0.25*height) plot.min_width = int(0.25*width) return plot def update_plot(attrname, old, new): layout.children[0] = make_plot() # This part is still not clear to me. but it tells it what to update and where to put it # so it updates the layout and [0] is the first option (see below there is a row with the # first entry the plot, then the controls) level_select = Select(value=level, title='Tranformations', options=['US Dollars', 'Year over Year % Change', "Cumulative Purchases 2020 vs 2017"]) level_select.on_change('value', update_plot) #print(sorted(options)) product_select = Select(value=product, title='Product', options=sorted(options), width=400) # This is the key thing that creates teh selection object product_select.on_change('value', update_plot) # Change the value upone selection via the update plot div0 = Div(text = """Categories are at both the HS2 and HS4 level. Only Phase One covered products as defined in Annex 6-1 of The Agreement within that HS Code are shown. Red marks the period of Section 301 tariffs and retaliation. Blue is period of agreement.\n \n \n """, width=400, background = background, style={"justify-content": "space-between", "display": "flex"} ) div1 = Div(text = """Transformations: US Dollars, year over year growth rate and cumulative purchases in 2017 vs 2020.\n The later transformation cumulates Chinese purchases over each month in 2017 and 2020 and compares each. Because 2017 is the benchmark year for The Agreement, this measure provides a sense, for each product category, China's progress towards meeting their purchase commitments.\n """, width=400, background = background, style={"justify-content": "space-between", "display": "flex"} ) controls = column(product_select, div0, level_select, div1) height = int(1.95*533) width = int(1.95*675) layout = row(make_plot(), controls, sizing_mode = "scale_height", max_height = height, max_width = width, min_height = int(0.25*height), min_width = int(0.25*width)) curdoc().add_root(layout) curdoc().title = "us-china-products"
[((902, 925), 'datetime.datetime', 'dt.datetime', (['(2017)', '(7)', '(1)'], {}), '(2017, 7, 1)\n', (913, 925), True, 'import datetime as dt\n'), ((935, 958), 'datetime.datetime', 'dt.datetime', (['(2022)', '(1)', '(1)'], {}), '(2022, 1, 1)\n', (946, 958), True, 'import datetime as dt\n'), ((7986, 8121), 'bokeh.models.Select', 'Select', ([], {'value': 'level', 'title': '"""Tranformations"""', 'options': "['US Dollars', 'Year over Year % Change', 'Cumulative Purchases 2020 vs 2017']"}), "(value=level, title='Tranformations', options=['US Dollars',\n 'Year over Year % Change', 'Cumulative Purchases 2020 vs 2017'])\n", (7992, 8121), False, 'from bokeh.models import ColumnDataSource, DataRange1d, Select, HoverTool, Panel, Tabs, LinearColorMapper, Range1d\n'), ((8451, 8835), 'bokeh.models.Div', 'Div', ([], {'text': '"""Categories are at both the HS2 and HS4 level. Only Phase One covered products as defined in Annex 6-1 of The Agreement within that HS Code are shown. Red marks the period of Section 301 tariffs and retaliation. Blue is period of agreement.\n\n \n\n \n\n """', 'width': '(400)', 'background': 'background', 'style': "{'justify-content': 'space-between', 'display': 'flex'}"}), '(text=\n """Categories are at both the HS2 and HS4 level. Only Phase One covered products as defined in Annex 6-1 of The Agreement within that HS Code are shown. Red marks the period of Section 301 tariffs and retaliation. Blue is period of agreement.\n\n \n\n \n\n """\n , width=400, background=background, style={\'justify-content\':\n \'space-between\', \'display\': \'flex\'})\n', (8454, 8835), False, 'from bokeh.models import NumeralTickFormatter, Title, Label, Paragraph, Div, CustomJSHover, BoxAnnotation\n'), ((8838, 9347), 'bokeh.models.Div', 'Div', ([], {'text': '"""Transformations: US Dollars, year over year growth rate and cumulative purchases in 2017 vs 2020.\n The later transformation cumulates Chinese purchases over each month in 2017 and 2020 and compares each. Because 2017 is the benchmark year for The Agreement, this measure provides a sense, for each product category, China\'s progress towards meeting their purchase commitments.\n\n """', 'width': '(400)', 'background': 'background', 'style': "{'justify-content': 'space-between', 'display': 'flex'}"}), '(text=\n """Transformations: US Dollars, year over year growth rate and cumulative purchases in 2017 vs 2020.\n The later transformation cumulates Chinese purchases over each month in 2017 and 2020 and compares each. Because 2017 is the benchmark year for The Agreement, this measure provides a sense, for each product category, China\'s progress towards meeting their purchase commitments.\n\n """\n , width=400, background=background, style={\'justify-content\':\n \'space-between\', \'display\': \'flex\'})\n', (8841, 9347), False, 'from bokeh.models import NumeralTickFormatter, Title, Label, Paragraph, Div, CustomJSHover, BoxAnnotation\n'), ((9353, 9401), 'bokeh.layouts.column', 'column', (['product_select', 'div0', 'level_select', 'div1'], {}), '(product_select, div0, level_select, div1)\n', (9359, 9401), False, 'from bokeh.layouts import column, gridplot, row\n'), ((1544, 1560), 'pandas.DataFrame', 'pd.DataFrame', (['[]'], {}), '([])\n', (1556, 1560), True, 'import pandas as pd\n'), ((1666, 1728), 'pandas.date_range', 'pd.date_range', ([], {'start': '"""2020-01-01"""', 'end': '"""2020-12-01"""', 'freq': '"""MS"""'}), "(start='2020-01-01', end='2020-12-01', freq='MS')\n", (1679, 1728), True, 'import pandas as pd\n'), ((9656, 9664), 'bokeh.io.curdoc', 'curdoc', ([], {}), '()\n', (9662, 9664), False, 'from bokeh.io import curdoc\n'), ((1021, 1040), 'pyarrow.parquet.read_table', 'pq.read_table', (['file'], {}), '(file)\n', (1034, 1040), True, 'import pyarrow.parquet as pq\n'), ((2894, 3084), 'bokeh.plotting.figure', 'figure', ([], {'x_axis_type': '"""datetime"""', 'plot_height': 'height', 'plot_width': 'width', 'toolbar_location': '"""below"""', 'tools': '"""box_zoom, reset, pan, xwheel_zoom"""', 'title': 'title', 'x_range': '(start_date, end_date)'}), "(x_axis_type='datetime', plot_height=height, plot_width=width,\n toolbar_location='below', tools='box_zoom, reset, pan, xwheel_zoom',\n title=title, x_range=(start_date, end_date))\n", (2900, 3084), False, 'from bokeh.plotting import figure\n'), ((7287, 7325), 'bokeh.models.NumeralTickFormatter', 'NumeralTickFormatter', ([], {'format': '"""($0. a)"""'}), "(format='($0. a)')\n", (7307, 7325), False, 'from bokeh.models import NumeralTickFormatter, Title, Label, Paragraph, Div, CustomJSHover, BoxAnnotation\n'), ((9630, 9638), 'bokeh.io.curdoc', 'curdoc', ([], {}), '()\n', (9636, 9638), False, 'from bokeh.io import curdoc\n'), ((4695, 4791), 'bokeh.models.HoverTool', 'HoverTool', ([], {'tooltips': 'TIMETOOLTIPS', 'line_policy': '"""nearest"""', 'formatters': "{'$data_x': 'datetime'}"}), "(tooltips=TIMETOOLTIPS, line_policy='nearest', formatters={\n '$data_x': 'datetime'})\n", (4704, 4791), False, 'from bokeh.models import ColumnDataSource, DataRange1d, Select, HoverTool, Panel, Tabs, LinearColorMapper, Range1d\n'), ((5071, 5167), 'bokeh.models.HoverTool', 'HoverTool', ([], {'tooltips': 'TIMETOOLTIPS', 'line_policy': '"""nearest"""', 'formatters': "{'$data_x': 'datetime'}"}), "(tooltips=TIMETOOLTIPS, line_policy='nearest', formatters={\n '$data_x': 'datetime'})\n", (5080, 5167), False, 'from bokeh.models import ColumnDataSource, DataRange1d, Select, HoverTool, Panel, Tabs, LinearColorMapper, Range1d\n'), ((6249, 6370), 'bokeh.models.HoverTool', 'HoverTool', ([], {'tooltips': 'TIMETOOLTIPS', 'line_policy': '"""nearest"""', 'formatters': "{'@dates': 'datetime'}", 'renderers': '[c2017, c2020]'}), "(tooltips=TIMETOOLTIPS, line_policy='nearest', formatters={\n '@dates': 'datetime'}, renderers=[c2017, c2020])\n", (6258, 6370), False, 'from bokeh.models import ColumnDataSource, DataRange1d, Select, HoverTool, Panel, Tabs, LinearColorMapper, Range1d\n'), ((6720, 6743), 'datetime.datetime', 'dt.datetime', (['(2018)', '(7)', '(1)'], {}), '(2018, 7, 1)\n', (6731, 6743), True, 'import datetime as dt\n'), ((6749, 6774), 'datetime.datetime', 'dt.datetime', (['(2019)', '(10)', '(11)'], {}), '(2019, 10, 11)\n', (6760, 6774), True, 'import datetime as dt\n'), ((6885, 6908), 'datetime.datetime', 'dt.datetime', (['(2020)', '(1)', '(1)'], {}), '(2020, 1, 1)\n', (6896, 6908), True, 'import datetime as dt\n'), ((6914, 6939), 'datetime.datetime', 'dt.datetime', (['(2021)', '(12)', '(31)'], {}), '(2021, 12, 31)\n', (6925, 6939), True, 'import datetime as dt\n'), ((5471, 5482), 'numpy.array', 'np.array', (['x'], {}), '(x)\n', (5479, 5482), True, 'import numpy as np\n'), ((3507, 3530), 'datetime.datetime', 'dt.datetime', (['(2020)', '(1)', '(1)'], {}), '(2020, 1, 1)\n', (3518, 3530), True, 'import datetime as dt\n'), ((3529, 3552), 'datetime.datetime', 'dt.datetime', (['(2021)', '(2)', '(1)'], {}), '(2021, 2, 1)\n', (3540, 3552), True, 'import datetime as dt\n'), ((5791, 5853), 'pandas.date_range', 'pd.date_range', ([], {'start': '"""2017-01-01"""', 'end': '"""2017-12-01"""', 'freq': '"""MS"""'}), "(start='2017-01-01', end='2017-12-01', freq='MS')\n", (5804, 5853), True, 'import pandas as pd\n')]
alxpy/aiohttp-middlewares
aiohttp_middlewares/https.py
377740d21cdaf3142523eb81b0cee4c6dd01f6b5
""" ================ HTTPS Middleware ================ Change scheme for current request when aiohttp application deployed behind reverse proxy with HTTPS enabled. Usage ===== .. code-block:: python from aiohttp import web from aiohttp_middlewares import https_middleware # Basic usage app = web.Application(middlewares=[https_middleware()]) # Specify custom headers to match, not `X-Forwarded-Proto: https` app = web.Application( middlewares=https_middleware({"Forwarded": "https"}) ) """ import logging from aiohttp import web from aiohttp.web_middlewares import _Handler, _Middleware from .annotations import DictStrStr DEFAULT_MATCH_HEADERS = {"X-Forwarded-Proto": "https"} logger = logging.getLogger(__name__) def https_middleware(match_headers: DictStrStr = None) -> _Middleware: """ Change scheme for current request when aiohttp application deployed behind reverse proxy with HTTPS enabled. This middleware is required to use, when your aiohttp app deployed behind nginx with HTTPS enabled, after aiohttp discounted ``secure_proxy_ssl_header`` keyword argument in https://github.com/aio-libs/aiohttp/pull/2299. :param match_headers: Dict of header(s) from reverse proxy to specify that aiohttp run behind HTTPS. By default: .. code-block:: python {"X-Forwarded-Proto": "https"} """ @web.middleware async def middleware( request: web.Request, handler: _Handler ) -> web.StreamResponse: """Change scheme of current request when HTTPS headers matched.""" headers = DEFAULT_MATCH_HEADERS if match_headers is not None: headers = match_headers matched = any( request.headers.get(key) == value for key, value in headers.items() ) if matched: logger.debug( "Substitute request URL scheme to https", extra={ "headers": headers, "request_headers": dict(request.headers), }, ) request = request.clone(scheme="https") return await handler(request) return middleware
[((736, 763), 'logging.getLogger', 'logging.getLogger', (['__name__'], {}), '(__name__)\n', (753, 763), False, 'import logging\n')]
nohamanona/poke-auto-fuka
show/drawing.py
9d355694efa0168738795afb403fc89264dcaeae
import cv2 import numpy as np class DrawingClass(object): def __init__(self): self.draw_command ='None' self.frame_count = 0 def drawing(self, frame, fps, num_egg, htc_egg, state): cv2.putText(frame, 'FPS: {:.2f}'.format(fps), (10, 30), cv2.FONT_HERSHEY_SIMPLEX, 1.0, (0, 255, 0), thickness=2) cv2.putText(frame, 'Possessed EGG: {}'.format(num_egg), (10, 100), cv2.FONT_HERSHEY_SIMPLEX, 1.0, (0, 255, 255), thickness=2) cv2.putText(frame, 'Hatched EGG: {}'.format(htc_egg), (10, 130), cv2.FONT_HERSHEY_SIMPLEX, 1.0, (0, 255, 255), thickness=2) cv2.putText(frame, 'State: {}'.format(state), (250, 30), cv2.FONT_HERSHEY_SIMPLEX, 1.0, (0, 255, 255), thickness=2) return frame def draw_controler(self, frame, command): #print('draw',command) if command =='LX MIN': self.draw_command = 'LX MIN' elif command =='LX MAX': self.draw_command = 'LX MAX' elif command =='LY MIN': self.draw_command = 'LY MIN' elif command =='LY MAX': self.draw_command = 'LY MAX' elif command =='Button A': self.draw_command = 'Button A' elif command =='Button B': self.draw_command = 'Button B' elif command =='Button X': self.draw_command = 'Button X' elif command =='Button Y': self.draw_command = 'Button Y' elif command =='HAT TOP': self.draw_command = 'HAT TOP' elif command =='HAT RIGHT': self.draw_command = 'HAT RIGHT' elif command =='HAT BOTTOM': self.draw_command = 'HAT BOTTOM' elif command =='HAT LEFT': self.draw_command = 'HAT LEFT' elif command =='Button START': self.draw_command = 'Button START' elif command =='STOP': self.draw_command = 'STOP' #stick if self.draw_command =='LX MIN' or self.draw_command =='HAT LEFT': cv2.circle(frame, (970, 490), 20, (0, 0, 255), thickness=-1) elif self.draw_command =='LX MAX' or self.draw_command =='HAT RIGHT': cv2.circle(frame, (1030, 490), 20, (0, 0, 255), thickness=-1) elif self.draw_command =='LY MIN' or self.draw_command =='HAT TOP': cv2.circle(frame, (1000, 460), 20, (0, 0, 255), thickness=-1) elif self.draw_command =='LY MAX' or self.draw_command =='HAT BOTTOM': cv2.circle(frame, (1000, 520), 20, (0, 0, 255), thickness=-1) else: cv2.circle(frame, (1000, 490), 20, (0, 0, 255), thickness=-1) cv2.circle(frame, (1000, 490), 50, (0, 0, 255), thickness=2) #button if self.draw_command =='Button X': cv2.circle(frame, (1180, 460), 15, (0, 0, 255), thickness=-1) cv2.putText(frame, 'X',(1172, 468), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (255, 255, 255), thickness=2) self.frame_count +=1 elif self.frame_count == 6: cv2.circle(frame, (1180, 460), 15, (0, 0, 255), thickness=2) cv2.putText(frame, 'X',(1172, 468), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, 255), thickness=2) self.frame_count =0 self.draw_command = 'None' else: cv2.circle(frame, (1180, 460), 15, (0, 0, 255), thickness=2) cv2.putText(frame, 'X',(1172, 468), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, 255), thickness=2) if self.draw_command =='Button B': cv2.circle(frame, (1180, 520), 15, (0, 0, 255), thickness=-1) cv2.putText(frame, 'B',(1172, 528), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (255, 255, 255), thickness=2) self.frame_count +=1 elif self.frame_count == 6: cv2.circle(frame, (1180, 520), 15, (0, 0, 255), thickness=2) cv2.putText(frame, 'B',(1172, 528), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, 255), thickness=2) self.frame_count =0 self.draw_command = 'None' else: cv2.circle(frame, (1180, 520), 15, (0, 0, 255), thickness=2) cv2.putText(frame, 'B',(1172, 528), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, 255), thickness=2) if self.draw_command =='Button Y': cv2.circle(frame, (1150, 490), 15, (0, 0, 255), thickness=-1) cv2.putText(frame, 'Y',(1142, 498), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (255, 255, 255), thickness=2) self.frame_count +=1 elif self.frame_count == 6: cv2.circle(frame, (1150, 490), 15, (0, 0, 255), thickness=2) cv2.putText(frame, 'Y',(1142, 498), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, 255), thickness=2) self.frame_count =0 self.draw_command = 'None' else: cv2.circle(frame, (1150, 490), 15, (0, 0, 255), thickness=2) cv2.putText(frame, 'Y',(1142, 498), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, 255), thickness=2) if self.draw_command =='Button A': cv2.circle(frame, (1210, 490), 15, (0, 0, 255), thickness=-1) cv2.putText(frame, 'A',(1202, 498), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (255, 255, 255), thickness=2) self.frame_count +=1 elif self.frame_count == 6: cv2.circle(frame, (1210, 490), 15, (0, 0, 255), thickness=2) cv2.putText(frame, 'A',(1202, 498), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, 255), thickness=2) self.frame_count =0 self.draw_command = 'None' else: cv2.circle(frame, (1210, 490), 15, (0, 0, 255), thickness=2) cv2.putText(frame, 'A',(1202, 498), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, 255), thickness=2) if self.draw_command =='Button START': cv2.circle(frame, (1130, 423), 10, (0, 0, 255), thickness=-1) cv2.putText(frame, '+',(1120, 430), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (255, 255, 255), thickness=2) self.frame_count +=1 elif self.frame_count == 6: cv2.circle(frame, (1130, 423), 10, (0, 0, 255), thickness=1) cv2.putText(frame, '+',(1120, 430), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, 255), thickness=2) self.frame_count =0 self.draw_command = 'None' else: cv2.circle(frame, (1130, 423), 10, (0, 0, 255), thickness=1) cv2.putText(frame, '+',(1120, 430), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, 255), thickness=2) return frame
[((2771, 2831), 'cv2.circle', 'cv2.circle', (['frame', '(1000, 490)', '(50)', '(0, 0, 255)'], {'thickness': '(2)'}), '(frame, (1000, 490), 50, (0, 0, 255), thickness=2)\n', (2781, 2831), False, 'import cv2\n'), ((2140, 2200), 'cv2.circle', 'cv2.circle', (['frame', '(970, 490)', '(20)', '(0, 0, 255)'], {'thickness': '(-1)'}), '(frame, (970, 490), 20, (0, 0, 255), thickness=-1)\n', (2150, 2200), False, 'import cv2\n'), ((2908, 2969), 'cv2.circle', 'cv2.circle', (['frame', '(1180, 460)', '(15)', '(0, 0, 255)'], {'thickness': '(-1)'}), '(frame, (1180, 460), 15, (0, 0, 255), thickness=-1)\n', (2918, 2969), False, 'import cv2\n'), ((2983, 3085), 'cv2.putText', 'cv2.putText', (['frame', '"""X"""', '(1172, 468)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(255, 255, 255)'], {'thickness': '(2)'}), "(frame, 'X', (1172, 468), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (255, \n 255, 255), thickness=2)\n", (2994, 3085), False, 'import cv2\n'), ((3656, 3717), 'cv2.circle', 'cv2.circle', (['frame', '(1180, 520)', '(15)', '(0, 0, 255)'], {'thickness': '(-1)'}), '(frame, (1180, 520), 15, (0, 0, 255), thickness=-1)\n', (3666, 3717), False, 'import cv2\n'), ((3731, 3833), 'cv2.putText', 'cv2.putText', (['frame', '"""B"""', '(1172, 528)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(255, 255, 255)'], {'thickness': '(2)'}), "(frame, 'B', (1172, 528), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (255, \n 255, 255), thickness=2)\n", (3742, 3833), False, 'import cv2\n'), ((4404, 4465), 'cv2.circle', 'cv2.circle', (['frame', '(1150, 490)', '(15)', '(0, 0, 255)'], {'thickness': '(-1)'}), '(frame, (1150, 490), 15, (0, 0, 255), thickness=-1)\n', (4414, 4465), False, 'import cv2\n'), ((4479, 4581), 'cv2.putText', 'cv2.putText', (['frame', '"""Y"""', '(1142, 498)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(255, 255, 255)'], {'thickness': '(2)'}), "(frame, 'Y', (1142, 498), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (255, \n 255, 255), thickness=2)\n", (4490, 4581), False, 'import cv2\n'), ((5152, 5213), 'cv2.circle', 'cv2.circle', (['frame', '(1210, 490)', '(15)', '(0, 0, 255)'], {'thickness': '(-1)'}), '(frame, (1210, 490), 15, (0, 0, 255), thickness=-1)\n', (5162, 5213), False, 'import cv2\n'), ((5227, 5329), 'cv2.putText', 'cv2.putText', (['frame', '"""A"""', '(1202, 498)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(255, 255, 255)'], {'thickness': '(2)'}), "(frame, 'A', (1202, 498), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (255, \n 255, 255), thickness=2)\n", (5238, 5329), False, 'import cv2\n'), ((5904, 5965), 'cv2.circle', 'cv2.circle', (['frame', '(1130, 423)', '(10)', '(0, 0, 255)'], {'thickness': '(-1)'}), '(frame, (1130, 423), 10, (0, 0, 255), thickness=-1)\n', (5914, 5965), False, 'import cv2\n'), ((5979, 6081), 'cv2.putText', 'cv2.putText', (['frame', '"""+"""', '(1120, 430)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(255, 255, 255)'], {'thickness': '(2)'}), "(frame, '+', (1120, 430), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (255, \n 255, 255), thickness=2)\n", (5990, 6081), False, 'import cv2\n'), ((2293, 2354), 'cv2.circle', 'cv2.circle', (['frame', '(1030, 490)', '(20)', '(0, 0, 255)'], {'thickness': '(-1)'}), '(frame, (1030, 490), 20, (0, 0, 255), thickness=-1)\n', (2303, 2354), False, 'import cv2\n'), ((3164, 3224), 'cv2.circle', 'cv2.circle', (['frame', '(1180, 460)', '(15)', '(0, 0, 255)'], {'thickness': '(2)'}), '(frame, (1180, 460), 15, (0, 0, 255), thickness=2)\n', (3174, 3224), False, 'import cv2\n'), ((3238, 3336), 'cv2.putText', 'cv2.putText', (['frame', '"""X"""', '(1172, 468)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(0, 0, 255)'], {'thickness': '(2)'}), "(frame, 'X', (1172, 468), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, \n 255), thickness=2)\n", (3249, 3336), False, 'import cv2\n'), ((3432, 3492), 'cv2.circle', 'cv2.circle', (['frame', '(1180, 460)', '(15)', '(0, 0, 255)'], {'thickness': '(2)'}), '(frame, (1180, 460), 15, (0, 0, 255), thickness=2)\n', (3442, 3492), False, 'import cv2\n'), ((3506, 3604), 'cv2.putText', 'cv2.putText', (['frame', '"""X"""', '(1172, 468)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(0, 0, 255)'], {'thickness': '(2)'}), "(frame, 'X', (1172, 468), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, \n 255), thickness=2)\n", (3517, 3604), False, 'import cv2\n'), ((3912, 3972), 'cv2.circle', 'cv2.circle', (['frame', '(1180, 520)', '(15)', '(0, 0, 255)'], {'thickness': '(2)'}), '(frame, (1180, 520), 15, (0, 0, 255), thickness=2)\n', (3922, 3972), False, 'import cv2\n'), ((3986, 4084), 'cv2.putText', 'cv2.putText', (['frame', '"""B"""', '(1172, 528)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(0, 0, 255)'], {'thickness': '(2)'}), "(frame, 'B', (1172, 528), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, \n 255), thickness=2)\n", (3997, 4084), False, 'import cv2\n'), ((4180, 4240), 'cv2.circle', 'cv2.circle', (['frame', '(1180, 520)', '(15)', '(0, 0, 255)'], {'thickness': '(2)'}), '(frame, (1180, 520), 15, (0, 0, 255), thickness=2)\n', (4190, 4240), False, 'import cv2\n'), ((4254, 4352), 'cv2.putText', 'cv2.putText', (['frame', '"""B"""', '(1172, 528)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(0, 0, 255)'], {'thickness': '(2)'}), "(frame, 'B', (1172, 528), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, \n 255), thickness=2)\n", (4265, 4352), False, 'import cv2\n'), ((4660, 4720), 'cv2.circle', 'cv2.circle', (['frame', '(1150, 490)', '(15)', '(0, 0, 255)'], {'thickness': '(2)'}), '(frame, (1150, 490), 15, (0, 0, 255), thickness=2)\n', (4670, 4720), False, 'import cv2\n'), ((4734, 4832), 'cv2.putText', 'cv2.putText', (['frame', '"""Y"""', '(1142, 498)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(0, 0, 255)'], {'thickness': '(2)'}), "(frame, 'Y', (1142, 498), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, \n 255), thickness=2)\n", (4745, 4832), False, 'import cv2\n'), ((4928, 4988), 'cv2.circle', 'cv2.circle', (['frame', '(1150, 490)', '(15)', '(0, 0, 255)'], {'thickness': '(2)'}), '(frame, (1150, 490), 15, (0, 0, 255), thickness=2)\n', (4938, 4988), False, 'import cv2\n'), ((5002, 5100), 'cv2.putText', 'cv2.putText', (['frame', '"""Y"""', '(1142, 498)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(0, 0, 255)'], {'thickness': '(2)'}), "(frame, 'Y', (1142, 498), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, \n 255), thickness=2)\n", (5013, 5100), False, 'import cv2\n'), ((5408, 5468), 'cv2.circle', 'cv2.circle', (['frame', '(1210, 490)', '(15)', '(0, 0, 255)'], {'thickness': '(2)'}), '(frame, (1210, 490), 15, (0, 0, 255), thickness=2)\n', (5418, 5468), False, 'import cv2\n'), ((5482, 5580), 'cv2.putText', 'cv2.putText', (['frame', '"""A"""', '(1202, 498)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(0, 0, 255)'], {'thickness': '(2)'}), "(frame, 'A', (1202, 498), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, \n 255), thickness=2)\n", (5493, 5580), False, 'import cv2\n'), ((5676, 5736), 'cv2.circle', 'cv2.circle', (['frame', '(1210, 490)', '(15)', '(0, 0, 255)'], {'thickness': '(2)'}), '(frame, (1210, 490), 15, (0, 0, 255), thickness=2)\n', (5686, 5736), False, 'import cv2\n'), ((5750, 5848), 'cv2.putText', 'cv2.putText', (['frame', '"""A"""', '(1202, 498)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(0, 0, 255)'], {'thickness': '(2)'}), "(frame, 'A', (1202, 498), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, \n 255), thickness=2)\n", (5761, 5848), False, 'import cv2\n'), ((6160, 6220), 'cv2.circle', 'cv2.circle', (['frame', '(1130, 423)', '(10)', '(0, 0, 255)'], {'thickness': '(1)'}), '(frame, (1130, 423), 10, (0, 0, 255), thickness=1)\n', (6170, 6220), False, 'import cv2\n'), ((6234, 6332), 'cv2.putText', 'cv2.putText', (['frame', '"""+"""', '(1120, 430)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(0, 0, 255)'], {'thickness': '(2)'}), "(frame, '+', (1120, 430), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, \n 255), thickness=2)\n", (6245, 6332), False, 'import cv2\n'), ((6428, 6488), 'cv2.circle', 'cv2.circle', (['frame', '(1130, 423)', '(10)', '(0, 0, 255)'], {'thickness': '(1)'}), '(frame, (1130, 423), 10, (0, 0, 255), thickness=1)\n', (6438, 6488), False, 'import cv2\n'), ((6502, 6600), 'cv2.putText', 'cv2.putText', (['frame', '"""+"""', '(1120, 430)', 'cv2.FONT_HERSHEY_SIMPLEX', '(0.8)', '(0, 0, 255)'], {'thickness': '(2)'}), "(frame, '+', (1120, 430), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 0, \n 255), thickness=2)\n", (6513, 6600), False, 'import cv2\n'), ((2445, 2506), 'cv2.circle', 'cv2.circle', (['frame', '(1000, 460)', '(20)', '(0, 0, 255)'], {'thickness': '(-1)'}), '(frame, (1000, 460), 20, (0, 0, 255), thickness=-1)\n', (2455, 2506), False, 'import cv2\n'), ((2600, 2661), 'cv2.circle', 'cv2.circle', (['frame', '(1000, 520)', '(20)', '(0, 0, 255)'], {'thickness': '(-1)'}), '(frame, (1000, 520), 20, (0, 0, 255), thickness=-1)\n', (2610, 2661), False, 'import cv2\n'), ((2690, 2751), 'cv2.circle', 'cv2.circle', (['frame', '(1000, 490)', '(20)', '(0, 0, 255)'], {'thickness': '(-1)'}), '(frame, (1000, 490), 20, (0, 0, 255), thickness=-1)\n', (2700, 2751), False, 'import cv2\n')]
YangTaoCN/IntroNeuralNetworks
backtest.py
45b0311f85c9cdd9d3f0806e0059201e2655697f
import pandas_datareader.data as pdr import yfinance as fix import numpy as np fix.pdr_override() def back_test(strategy, seq_len, ticker, start_date, end_date, dim): """ A simple back test for a given date period :param strategy: the chosen strategy. Note to have already formed the model, and fitted with training data. :param seq_len: length of the days used for prediction :param ticker: company ticker :param start_date: starting date :type start_date: "YYYY-mm-dd" :param end_date: ending date :type end_date: "YYYY-mm-dd" :param dim: dimension required for strategy: 3dim for LSTM and 2dim for MLP :type dim: tuple :return: Percentage errors array that gives the errors for every test in the given date range """ data = pdr.get_data_yahoo(ticker, start_date, end_date) stock_data = data["Adj Close"] errors = [] for i in range((len(stock_data) // 10) * 10 - seq_len - 1): x = np.array(stock_data.iloc[i: i + seq_len, 1]).reshape(dim) / 200 y = np.array(stock_data.iloc[i + seq_len + 1, 1]) / 200 predict = strategy.predict(x) while predict == 0: predict = strategy.predict(x) error = (predict - y) / 100 errors.append(error) total_error = np.array(errors) print(f"Average error = {total_error.mean()}") # If you want to see the full error list then print the following statement # print(errors)
[((79, 97), 'yfinance.pdr_override', 'fix.pdr_override', ([], {}), '()\n', (95, 97), True, 'import yfinance as fix\n'), ((785, 833), 'pandas_datareader.data.get_data_yahoo', 'pdr.get_data_yahoo', (['ticker', 'start_date', 'end_date'], {}), '(ticker, start_date, end_date)\n', (803, 833), True, 'import pandas_datareader.data as pdr\n'), ((1284, 1300), 'numpy.array', 'np.array', (['errors'], {}), '(errors)\n', (1292, 1300), True, 'import numpy as np\n'), ((1037, 1082), 'numpy.array', 'np.array', (['stock_data.iloc[i + seq_len + 1, 1]'], {}), '(stock_data.iloc[i + seq_len + 1, 1])\n', (1045, 1082), True, 'import numpy as np\n'), ((961, 1006), 'numpy.array', 'np.array', (['stock_data.iloc[i:i + seq_len, (1)]'], {}), '(stock_data.iloc[i:i + seq_len, (1)])\n', (969, 1006), True, 'import numpy as np\n')]
jbueck/tespy
src/tespy/components/subsystems.py
dd7a2633ce12f33b4936ae902f4fe5df29191690
# -*- coding: utf-8 """Module for custom component groups. It is possible to create subsystems of component groups in tespy. The subsystem class is the base class for custom subsystems. This file is part of project TESPy (github.com/oemof/tespy). It's copyrighted by the contributors recorded in the version control history of the file, available from its original location tespy/components/subsystems.py SPDX-License-Identifier: MIT """ import logging # %% class subsystem: r""" Class subsystem is the base class of all TESPy subsystems. Parameters ---------- label : str The label of the subsystem. Example ------- Basic example for a setting up a tespy.components.subsystems.subsystem object. This example does not run a tespy calculation! >>> from tespy.components import subsystem >>> mysub = subsystem('mySubsystem') >>> type(mysub) <class 'tespy.components.subsystems.subsystem'> >>> mysub.get_attr('label') 'mySubsystem' """ def __init__(self, label): if not isinstance(label, str): msg = 'Subsystem label must be of type str!' logging.error(msg) raise ValueError(msg) elif len([x for x in [';', ', ', '.'] if x in label]) > 0: msg = 'Can\'t use ' + str([';', ', ', '.']) + ' in label.' logging.error(msg) raise ValueError(msg) else: self.label = label self.comps = {} self.conns = {} self.create_comps() self.create_conns() def get_attr(self, key): r""" Get the value of a subsystem's attribute. Parameters ---------- key : str The attribute you want to retrieve. Returns ------- out : Value of specified attribute. """ if key in self.__dict__: return self.__dict__[key] else: msg = 'Subsystem ' + self.label + ' has no attribute ' + key + '.' logging.error(msg) raise KeyError(msg) def create_comps(self): """Create the subsystem's components.""" return def create_conns(self): """Create the subsystem's connections.""" return
[((1158, 1176), 'logging.error', 'logging.error', (['msg'], {}), '(msg)\n', (1171, 1176), False, 'import logging\n'), ((2040, 2058), 'logging.error', 'logging.error', (['msg'], {}), '(msg)\n', (2053, 2058), False, 'import logging\n'), ((1362, 1380), 'logging.error', 'logging.error', (['msg'], {}), '(msg)\n', (1375, 1380), False, 'import logging\n')]
blefaudeux/fairscale
fairscale/optim/oss.py
aa5850107a37c7d5644b6079516e7ae1079ff5e8
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. # # This source code is licensed under the BSD license found in the # LICENSE file in the root directory of this source tree. import copy import logging from typing import TYPE_CHECKING, Any, Callable, List, Optional, Type import torch import torch.distributed as dist from torch.optim import SGD, Optimizer from .utils import broadcast_object, recursive_copy_to_device if TYPE_CHECKING: from torch.optim.optimizer import _params_t else: _params_t = Any class OSS(Optimizer): """Wraps an arbitrary :class:`optim.Optimizer <torch.optim.Optimizer>` optimizer and shards its state as described by ZeRO_. :: opt = OSS(params, optim=torch.optim.Adam, lr=0.01) .. _ZeRO: https://arxiv.org/abs/1910.02054 Pipe combines pipeline parallelism with checkpointing to reduce peak memory required to train while minimizing device under-utilization. You should determine the balance when defining a :class:`Pipe` module, as balancing will not be done automatically. The module will be partitioned into multiple devices according to the given balance. You may rely on heuristics to find your own optimal configuration. Args: params (list of tensors): parameters to be optimized Keyword Args: optim (torch.nn.Optimizer): optimizer to shard (default: SGD) group (group): torch.distributed group (default: group.WORLD) """ optim: Optimizer in_super_constructor: bool def __init__( self, params: _params_t, optim: Type[Optimizer] = SGD, group: Any = dist.group.WORLD, **defaults: Any ): self.in_super_constructor = True super().__init__(params, defaults) self.in_super_constructor = False self.group = group self.rank = dist.get_rank(group) param_groups = self.partition_parameters() self.optim = optim(param_groups[self.rank], **defaults) # Optional consolidated optimizer state self._global_state_dict = [] def partition_parameters(self) -> List[List[dict]]: """Partitions parameters across distributed ranks. Returns a list of param_groups (which is a list of dict) where each element of the list contains the param_groups for a rank. Element 0 corresponds to rank 0, etc. We need all the ranks for the broadcast inside step(). """ world_size = dist.get_world_size(self.group) param_groups: List[List] = [list() for _ in range(world_size)] sizes = [0] * world_size for param_group in self.param_groups: param_lists: List[List] = [list() for _ in range(world_size)] for param in param_group["params"]: # Add this param to rank with smallest size. rank = sizes.index(min(sizes)) param_lists[rank].append(param) sizes[rank] += param.numel() for rank, params in enumerate(param_lists): if len(params) > 0: pg = copy.copy(param_group) pg["params"] = params param_groups[rank].append(pg) return param_groups def step(self, closure: Optional[Callable[[], float]] = None) -> Optional[float]: loss = self.optim.step(closure=closure) for rank, param_groups in enumerate(self.partition_parameters()): for param_group in param_groups: for param in param_group["params"]: dist.broadcast(param, rank, group=self.group) return loss def state_dict(self) -> dict: """ Gets this rank's state_dict. """ return self.optim.state_dict() def _collect_state_dict(self) -> List[dict]: """ Collect all the state shards """ empty_buffer = torch.empty([1], dtype=torch.uint8) global_optim_state = [] local_state = self.state_dict() if len(local_state["state"]) == 0: return [] for rank in range(dist.get_world_size(group=self.group)): if rank == self.rank: logging.info("Saving self state") global_optim_state.append( recursive_copy_to_device( local_state, non_blocking=True, device=torch.device("cpu") ) ) # Sync with other replicas broadcast_object(empty_buffer, src_rank=rank) else: # Reuse the param_groups from this rank, these are shared across replicas logging.info("Receiving state from rank %s ", rank) replica_state = { "state": broadcast_object(empty_buffer, src_rank=rank), "param_groups": local_state["param_groups"], } # Fetch from the other replicas global_optim_state.append( recursive_copy_to_device( replica_state, non_blocking=True, device=torch.device("cpu") ) ) logging.info("State from rank %s received", rank) return global_optim_state def _broadcast_state_dict(self) -> None: """ Broadcast this rank's state shard, discard others """ empty_buffer = torch.empty([1], dtype=torch.uint8) local_state = self.state_dict() if len(local_state["state"]) == 0: return for rank in range(dist.get_world_size(group=self.group)): if rank == self.rank: # Send the state to the reference replica logging.info( "Sending the sharded SGD state to the reference replica from rank %s", rank, ) broadcast_object(local_state["state"], src_rank=rank) else: # Discard this tensor/rank, broadcast necessary for syncing logging.info("Discarding broadcast from rank %s", rank) broadcast_object(empty_buffer, src_rank=rank) def consolidate_state_dict(self, recipient_rank: int = 0) -> List[dict]: """ Update the consolidated state_dict list, one per rank. This needs to be called on all replicas """ if self.rank == recipient_rank: # Pull the sharded state from all the other replicas # Store all the states in order, rank by rank logging.info("Pulling the sharded SGD state from all replicas") self._global_state_dict = self._collect_state_dict() else: # Acknowledge broadcasts, and send this rank's shard when needed self._broadcast_state_dict() @property def global_state_dict(self): """ Return the last known global optimizer state, which consist of a list of the shards. NOTE: This is limited to the replica which was responsible for the consolidation. The state may also not be up to date, depending on when `consolidate_state_dict` was last called """ assert ( len(self._global_state_dict) > 0 ), "The optimizer state is not materialized, please call consolidate_state_dict on every replica beforehand" return self._global_state_dict def load_state_dict(self, state_dict: dict) -> None: """ Loads this rank's state_dict. """ self.optim.load_state_dict(state_dict) def add_param_group(self, param_group: dict) -> None: super().add_param_group(param_group) if not self.in_super_constructor: param_groups = self.partition_parameters()[self.rank] if len(param_groups) == len(self.optim.param_groups) + 1: self.optim.add_param_group(param_groups[-1])
[((1909, 1929), 'torch.distributed.get_rank', 'dist.get_rank', (['group'], {}), '(group)\n', (1922, 1929), True, 'import torch.distributed as dist\n'), ((2532, 2563), 'torch.distributed.get_world_size', 'dist.get_world_size', (['self.group'], {}), '(self.group)\n', (2551, 2563), True, 'import torch.distributed as dist\n'), ((3942, 3977), 'torch.empty', 'torch.empty', (['[1]'], {'dtype': 'torch.uint8'}), '([1], dtype=torch.uint8)\n', (3953, 3977), False, 'import torch\n'), ((5469, 5504), 'torch.empty', 'torch.empty', (['[1]'], {'dtype': 'torch.uint8'}), '([1], dtype=torch.uint8)\n', (5480, 5504), False, 'import torch\n'), ((4143, 4180), 'torch.distributed.get_world_size', 'dist.get_world_size', ([], {'group': 'self.group'}), '(group=self.group)\n', (4162, 4180), True, 'import torch.distributed as dist\n'), ((5635, 5672), 'torch.distributed.get_world_size', 'dist.get_world_size', ([], {'group': 'self.group'}), '(group=self.group)\n', (5654, 5672), True, 'import torch.distributed as dist\n'), ((6604, 6667), 'logging.info', 'logging.info', (['"""Pulling the sharded SGD state from all replicas"""'], {}), "('Pulling the sharded SGD state from all replicas')\n", (6616, 6667), False, 'import logging\n'), ((4233, 4266), 'logging.info', 'logging.info', (['"""Saving self state"""'], {}), "('Saving self state')\n", (4245, 4266), False, 'import logging\n'), ((4709, 4760), 'logging.info', 'logging.info', (['"""Receiving state from rank %s """', 'rank'], {}), "('Receiving state from rank %s ', rank)\n", (4721, 4760), False, 'import logging\n'), ((5233, 5282), 'logging.info', 'logging.info', (['"""State from rank %s received"""', 'rank'], {}), "('State from rank %s received', rank)\n", (5245, 5282), False, 'import logging\n'), ((5783, 5882), 'logging.info', 'logging.info', (['"""Sending the sharded SGD state to the reference replica from rank %s"""', 'rank'], {}), "(\n 'Sending the sharded SGD state to the reference replica from rank %s', rank\n )\n", (5795, 5882), False, 'import logging\n'), ((6112, 6167), 'logging.info', 'logging.info', (['"""Discarding broadcast from rank %s"""', 'rank'], {}), "('Discarding broadcast from rank %s', rank)\n", (6124, 6167), False, 'import logging\n'), ((3154, 3176), 'copy.copy', 'copy.copy', (['param_group'], {}), '(param_group)\n', (3163, 3176), False, 'import copy\n'), ((3623, 3668), 'torch.distributed.broadcast', 'dist.broadcast', (['param', 'rank'], {'group': 'self.group'}), '(param, rank, group=self.group)\n', (3637, 3668), True, 'import torch.distributed as dist\n'), ((4419, 4438), 'torch.device', 'torch.device', (['"""cpu"""'], {}), "('cpu')\n", (4431, 4438), False, 'import torch\n'), ((5157, 5176), 'torch.device', 'torch.device', (['"""cpu"""'], {}), "('cpu')\n", (5169, 5176), False, 'import torch\n')]
ninezerozeronine/raytracing-one-weekend
setup.py
22ca36dcec679cbd78a7711734ca22e01ef06ef2
from setuptools import setup, find_packages setup( name="raytracing-one-weekend", version="0.0.0", author="Andy Palmer", author_email="contactninezerozeronine@gmail.com", description="A raytracer achievable in a weekend.", url="https://github.com/ninezerozeronine/raytracing-one-weekend", install_requires=[ "Pillow", "numpy", ], packages=find_packages('src'), package_dir={'': 'src'}, )
[((392, 412), 'setuptools.find_packages', 'find_packages', (['"""src"""'], {}), "('src')\n", (405, 412), False, 'from setuptools import setup, find_packages\n')]
r0kym/SNI-backend
homepage/urls.py
5fdc25df21846fadb313d439acba73782a6248c3
""" URLconf of the homepage """ from django.urls import path, include from . import views urlpatterns = [ path('', views.home, name='home'), path('auth', views.auth, name='auth'), path('auth/public', views.auth_public, name='auth-public'), path('auth/full', views.auth_full, name='auth-full'), path('auth/invite', views.auth_invite, name='auth-invite'), path('callback/sni', views.sni_callback, name='sni_callback'), path('logout', views.logout, name='logout'), path('403', views.no_perm, name='no-permission'), path('404', views.not_found, name='not-found'), ]
[((115, 148), 'django.urls.path', 'path', (['""""""', 'views.home'], {'name': '"""home"""'}), "('', views.home, name='home')\n", (119, 148), False, 'from django.urls import path, include\n'), ((154, 191), 'django.urls.path', 'path', (['"""auth"""', 'views.auth'], {'name': '"""auth"""'}), "('auth', views.auth, name='auth')\n", (158, 191), False, 'from django.urls import path, include\n'), ((197, 255), 'django.urls.path', 'path', (['"""auth/public"""', 'views.auth_public'], {'name': '"""auth-public"""'}), "('auth/public', views.auth_public, name='auth-public')\n", (201, 255), False, 'from django.urls import path, include\n'), ((261, 313), 'django.urls.path', 'path', (['"""auth/full"""', 'views.auth_full'], {'name': '"""auth-full"""'}), "('auth/full', views.auth_full, name='auth-full')\n", (265, 313), False, 'from django.urls import path, include\n'), ((319, 377), 'django.urls.path', 'path', (['"""auth/invite"""', 'views.auth_invite'], {'name': '"""auth-invite"""'}), "('auth/invite', views.auth_invite, name='auth-invite')\n", (323, 377), False, 'from django.urls import path, include\n'), ((383, 444), 'django.urls.path', 'path', (['"""callback/sni"""', 'views.sni_callback'], {'name': '"""sni_callback"""'}), "('callback/sni', views.sni_callback, name='sni_callback')\n", (387, 444), False, 'from django.urls import path, include\n'), ((450, 493), 'django.urls.path', 'path', (['"""logout"""', 'views.logout'], {'name': '"""logout"""'}), "('logout', views.logout, name='logout')\n", (454, 493), False, 'from django.urls import path, include\n'), ((499, 547), 'django.urls.path', 'path', (['"""403"""', 'views.no_perm'], {'name': '"""no-permission"""'}), "('403', views.no_perm, name='no-permission')\n", (503, 547), False, 'from django.urls import path, include\n'), ((553, 599), 'django.urls.path', 'path', (['"""404"""', 'views.not_found'], {'name': '"""not-found"""'}), "('404', views.not_found, name='not-found')\n", (557, 599), False, 'from django.urls import path, include\n')]
mas90/srcf-python
srcflib/email/__init__.py
09ce45c65d2ddbec2cdfc559a7b5983398dbdfa0
""" Notification email machinery, for tasks to send credentials and instructions to users. Email templates placed inside the `templates` directory of this module should: - extend from `layout` - provide `subject` and `body` blocks """ from enum import Enum import os.path from jinja2 import Environment, FileSystemLoader from sqlalchemy.orm import Session as SQLASession from srcf.database import Member, Society from srcf.mail import send_mail from ..plumbing import Owner, owner_desc, owner_name, owner_website ENV = Environment(loader=FileSystemLoader(os.path.join(os.path.dirname(__file__), "templates")), trim_blocks=True, lstrip_blocks=True) ENV.filters.update({"is_member": lambda mem: isinstance(mem, Member), "is_society": lambda soc: isinstance(soc, Society), "owner_name": owner_name, "owner_desc": owner_desc, "owner_website": owner_website}) CURRENT_WRAPPER = None class Layout(Enum): """ Base layout template to be inherited by an email-specific template. """ SUBJECT = "/common/subject.j2" """ Subject line of the email. """ BODY = "/common/body.j2" """ Main content of the email. """ class EmailWrapper: """ Context manager for email sending, used to augment emails with additional metadata. """ def __init__(self, subject: str = None, body: str = None, context: dict = None): self._layouts = {Layout.SUBJECT: subject, Layout.BODY: body} self._context = context def render(self, template: str, layout: Layout, target: Owner, context: dict = None): """ Render an email template with Jinja using the provided context. """ context = dict(context or (), layout=layout.value, target=target) out = ENV.get_template(template).render(context) custom = self._layouts.get(layout) if custom: if self._context: context.update(self._context) out = custom.format(out, **context) if layout == Layout.SUBJECT: out = " ".join(out.split()) return out def __enter__(self): global CURRENT_WRAPPER if CURRENT_WRAPPER: raise RuntimeError("Another context is already active") CURRENT_WRAPPER = self def __exit__(self, exception_type, exception_value, traceback): global CURRENT_WRAPPER CURRENT_WRAPPER = None DEFAULT_WRAPPER = EmailWrapper(subject="[SRCF] {}") def send(target: Owner, template: str, context: dict = None, session: SQLASession = None): """ Render and send an email to the target member or society. """ wrapper = CURRENT_WRAPPER or DEFAULT_WRAPPER subject = wrapper.render(template, Layout.SUBJECT, target, context) body = wrapper.render(template, Layout.BODY, target, context) recipient = (owner_desc(target, True), target.email) send_mail(recipient, subject, body, copy_sysadmins=False, session=session)
[((2983, 3057), 'srcf.mail.send_mail', 'send_mail', (['recipient', 'subject', 'body'], {'copy_sysadmins': '(False)', 'session': 'session'}), '(recipient, subject, body, copy_sysadmins=False, session=session)\n', (2992, 3057), False, 'from srcf.mail import send_mail\n')]
dolfandringa/PythonProjectStructureDemo
nose2_example/my_package/myapp.py
8bdd72b94d3b830e9e9dce548cca1cdb16601d0d
from .operations import Multiply, Add, Substract class MyApp(object): def __init__(self): self.operations={'multiply': Multiply, 'add': Add, 'substract': Substract} def do(self, operation, number1, number2): return self.operations[operation.lower()].do(number1, number2)
[]