summaryrefslogtreecommitdiffstats
path: root/target-tilegx/simd_helper.c
Commit message (Collapse)AuthorAgeFilesLines
* target-tilegx: Implement v2mults instructionChen Gang2015-10-071-0/+15
| | | | | | Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Message-Id: <1443956491-26850-3-git-send-email-gang.chen.5i5j@gmail.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-tilegx: Implement v?int_* instructions.Chen Gang2015-10-071-0/+48
| | | | | | Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Message-Id: <1443956491-26850-2-git-send-email-gang.chen.5i5j@gmail.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-tilegx: Implement v1multu instructionChen Gang2015-10-071-0/+13
| | | | | | | Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Message-Id: <1442874414-3578-1-git-send-email-gang.chen.5i5j@gmail.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-tilegx: Implement v*shl, v*shru, and v*shrs instructionsChen Gang2015-10-071-0/+31
| | | | | | | | | v2sh* are implemented with helper functions; v4sh* are implmeneted with inline code. Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Message-Id: <1442872055-2836-1-git-send-email-gang.chen.5i5j@gmail.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-tilegx: Tidy simd_helper.cRichard Henderson2015-10-071-4/+7
| | | | | | | | Using the V1 macro when we want to replicate a byte across the 8 elements of the word. Using deposit and extract for manipulating specific elements. Signed-off-by: Richard Henderson <rth@twiddle.net>
* target-tilegx: Handle v1shl, v1shru, v1shrsRichard Henderson2015-09-151-0/+55
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>