mem.isa (7303:6b70985664c8) | mem.isa (7312:03016344f54e) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 395 unchanged lines hidden (view full) --- 404 %(BasicExecDeclare)s 405 406 %(InitiateAccDeclare)s 407 408 %(CompleteAccDeclare)s 409 }; 410}}; 411 | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 395 unchanged lines hidden (view full) --- 404 %(BasicExecDeclare)s 405 406 %(InitiateAccDeclare)s 407 408 %(CompleteAccDeclare)s 409 }; 410}}; 411 |
412def template SrsDeclare {{ 413 /** 414 * Static instruction class for "%(mnemonic)s". 415 */ 416 class %(class_name)s : public %(base_class)s 417 { 418 public: 419 420 /// Constructor. 421 %(class_name)s(ExtMachInst machInst, 422 uint32_t _regMode, int _mode, bool _wb); 423 424 %(BasicExecDeclare)s 425 426 %(InitiateAccDeclare)s 427 428 %(CompleteAccDeclare)s 429 }; 430}}; 431 |
|
412def template SwapDeclare {{ 413 /** 414 * Static instruction class for "%(mnemonic)s". 415 */ 416 class %(class_name)s : public %(base_class)s 417 { 418 public: 419 --- 150 unchanged lines hidden (view full) --- 570 uint32_t _base, int _mode, bool _wb) 571 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, 572 (IntRegIndex)_base, (AddrMode)_mode, _wb) 573 { 574 %(constructor)s; 575 } 576}}; 577 | 432def template SwapDeclare {{ 433 /** 434 * Static instruction class for "%(mnemonic)s". 435 */ 436 class %(class_name)s : public %(base_class)s 437 { 438 public: 439 --- 150 unchanged lines hidden (view full) --- 590 uint32_t _base, int _mode, bool _wb) 591 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, 592 (IntRegIndex)_base, (AddrMode)_mode, _wb) 593 { 594 %(constructor)s; 595 } 596}}; 597 |
598def template SrsConstructor {{ 599 inline %(class_name)s::%(class_name)s(ExtMachInst machInst, 600 uint32_t _regMode, int _mode, bool _wb) 601 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, 602 (OperatingMode)_regMode, (AddrMode)_mode, _wb) 603 { 604 %(constructor)s; 605 } 606}}; 607 |
|
578def template SwapConstructor {{ 579 inline %(class_name)s::%(class_name)s(ExtMachInst machInst, 580 uint32_t _dest, uint32_t _op1, uint32_t _base) 581 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, 582 (IntRegIndex)_dest, (IntRegIndex)_op1, (IntRegIndex)_base) 583 { 584 %(constructor)s; 585 } --- 75 unchanged lines hidden --- | 608def template SwapConstructor {{ 609 inline %(class_name)s::%(class_name)s(ExtMachInst machInst, 610 uint32_t _dest, uint32_t _op1, uint32_t _base) 611 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, 612 (IntRegIndex)_dest, (IntRegIndex)_op1, (IntRegIndex)_base) 613 { 614 %(constructor)s; 615 } --- 75 unchanged lines hidden --- |