dsp.hh (6216:2f4020838149) | dsp.hh (7811:a8fc35183c10) |
---|---|
1/* 2 * Copyright (c) 2007 MIPS Technologies, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 185 unchanged lines hidden (view full) --- 194// SIMD pack/unpack utility functions 195void simdPack(uint64_t *values_ptr, int32_t *reg, int32_t fmt); 196void simdUnpack(int32_t reg, uint64_t *values_ptr, int32_t fmt, int32_t sign); 197 198// DSPControl r/w utility functions 199void writeDSPControl(uint32_t *dspctl, uint32_t value, uint32_t mask); 200uint32_t readDSPControl(uint32_t *dspctl, uint32_t mask); 201 | 1/* 2 * Copyright (c) 2007 MIPS Technologies, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 185 unchanged lines hidden (view full) --- 194// SIMD pack/unpack utility functions 195void simdPack(uint64_t *values_ptr, int32_t *reg, int32_t fmt); 196void simdUnpack(int32_t reg, uint64_t *values_ptr, int32_t fmt, int32_t sign); 197 198// DSPControl r/w utility functions 199void writeDSPControl(uint32_t *dspctl, uint32_t value, uint32_t mask); 200uint32_t readDSPControl(uint32_t *dspctl, uint32_t mask); 201 |
202} /* namespace MipsISA */ | 202} // namespace MipsISA |
203 204#endif // __ARCH_MIPS_DSP_HH__ | 203 204#endif // __ARCH_MIPS_DSP_HH__ |