Lines Matching refs:value
42 // Actual value of root register is offset from the root array's start
44 // TODO(sigurds): Choose best value.
47 // sign-extend the least significant 16-bits of value <imm>
50 // sign-extend the least significant 26-bits of value <imm>
1779 // SVC provides a 24bit immediate value. Use bits 22:0 for standard
1850 // Set the raw instruction bits to value.
1852 inline void SetInstructionBits(T value) const {
1854 value);
1856 inline void SetInstructionBits(Instr value) {
1857 *reinterpret_cast<Instr*>(this) = value;
1863 // Read a bit field's value out of the instruction bits.
1893 // Read the value of a bit field out of the instruction bits.
1959 // Set the Instruction Bits to value
1961 static inline void SetInstructionBits(byte* instr, T value) {
1970 value = ((value & 0x00FF) << 8) | ((value & 0xFF00) >> 8);
1973 value = ((value & 0x000000FF) << 24) | ((value & 0x0000FF00) << 8) |
1974 ((value & 0x00FF0000) >> 8) | ((value & 0xFF000000) >> 24);
1977 uint64_t orig_value = static_cast<uint64_t>(value);
1978 value = (static_cast<uint64_t>(orig_value & 0xFF) << 40) |
1987 *reinterpret_cast<T*>(instr) = value;
1990 uint64_t orig_value = static_cast<uint64_t>(value);
1991 *reinterpret_cast<uint32_t*>(instr) = static_cast<uint32_t>(value);
1995 *reinterpret_cast<uint32_t*>(instr) = static_cast<uint32_t>(value >> 16);
1997 static_cast<uint16_t>(value & 0xFFFF);
2191 int32_t value = Bits<SixByteInstr, int32_t>(27, 16);
2192 value += Bits<SixByteInstr, int8_t>(15, 8) << 12;
2193 return value;
2217 int32_t value = Bits<SixByteInstr, uint32_t>(27, 16);
2218 value += Bits<SixByteInstr, int8_t>(15, 8) << 12;
2219 return value;
2253 int32_t value = Bits<SixByteInstr, uint32_t>(27, 16);
2254 value += Bits<SixByteInstr, int8_t>(15, 8) << 12;
2255 return value;