neon.isa (13978:896f9f7a1d16) neon.isa (13979:1e0c4607ac12)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010-2011, 2015, 2019 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

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

53 return new Base<uint32_t>(machInst, dest, op1, op2);
54 case 3:
55 return new Base<uint64_t>(machInst, dest, op1, op2);
56 default:
57 return new Unknown(machInst);
58 }
59 }
60
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010-2011, 2015, 2019 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

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

53 return new Base<uint32_t>(machInst, dest, op1, op2);
54 case 3:
55 return new Base<uint64_t>(machInst, dest, op1, op2);
56 default:
57 return new Unknown(machInst);
58 }
59 }
60
61 template <class BaseS, class BaseD>
62 StaticInstPtr
63 decodeNeonSizeSingleDouble(unsigned size,
64 ExtMachInst machInst, IntRegIndex dest,
65 IntRegIndex op1, IntRegIndex op2)
66 {
67 switch (size) {
68 case 2:
69 return new BaseS(machInst, dest, op1, op2);
70 case 3:
71 return new BaseD(machInst, dest, op1, op2);
72 default:
73 return new Unknown(machInst);
74 }
75 }
76
61 template <template <typename T> class Base>
62 StaticInstPtr
63 decodeNeonSThreeUReg(unsigned size,
64 ExtMachInst machInst, IntRegIndex dest,
65 IntRegIndex op1, IntRegIndex op2)
66 {
67 switch (size) {
68 case 0:

--- 3826 unchanged lines hidden ---
77 template <template <typename T> class Base>
78 StaticInstPtr
79 decodeNeonSThreeUReg(unsigned size,
80 ExtMachInst machInst, IntRegIndex dest,
81 IntRegIndex op1, IntRegIndex op2)
82 {
83 switch (size) {
84 case 0:

--- 3826 unchanged lines hidden ---