Deleted Added
sdiff udiff text old ( 12234:78ece221f9f5 ) new ( 12236:126ac9da6050 )
full compact
1// Copyright (c) 2009 The Regents of The University of Michigan
2// Copyright (c) 2015 Advanced Micro Devices, Inc.
3//
4// All rights reserved.
5//
6// Redistribution and use in source and binary forms, with or without
7// modification, are permitted provided that the following conditions are
8// met: redistributions of source code must retain the above copyright

--- 43 unchanged lines hidden (view full) ---

52 class %(class_name)s : public %(base_class)s
53 {
54 public:
55 %(class_name)s(ExtMachInst _machInst,
56 const char * instMnem, uint64_t setFlags,
57 InstRegIndex _src1, InstRegIndex _src2, InstRegIndex _dest,
58 uint8_t _srcSize, uint8_t _destSize, uint16_t _ext);
59
60 Fault execute(ExecContext *, Trace::InstRecord *) const;
61 };
62}};
63
64def template MediaOpImmDeclare {{
65
66 class %(class_name)s : public %(base_class)s
67 {
68 public:
69 %(class_name)s(ExtMachInst _machInst,
70 const char * instMnem, uint64_t setFlags,
71 InstRegIndex _src1, uint16_t _imm8, InstRegIndex _dest,
72 uint8_t _srcSize, uint8_t _destSize, uint16_t _ext);
73
74 Fault execute(ExecContext *, Trace::InstRecord *) const;
75 };
76}};
77
78def template MediaOpRegConstructor {{
79 %(class_name)s::%(class_name)s(
80 ExtMachInst machInst, const char * instMnem, uint64_t setFlags,
81 InstRegIndex _src1, InstRegIndex _src2, InstRegIndex _dest,
82 uint8_t _srcSize, uint8_t _destSize, uint16_t _ext) :

--- 1468 unchanged lines hidden ---