diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-10-11 12:15:45 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-10-12 14:26:25 -0400 |
commit | b8d7c0968c095d25fded0e2dfea1a16b1fd42911 (patch) | |
tree | 23fcb29c3e941adaeece6e4375deedcecd7e305a /CANCEL-FCT-WAIVE | |
parent | d394eb742a3565d7fe7a4b02710a60b5f219ee64 (diff) | |
download | glibc-b8d7c0968c095d25fded0e2dfea1a16b1fd42911.tar.gz glibc-b8d7c0968c095d25fded0e2dfea1a16b1fd42911.tar.xz glibc-b8d7c0968c095d25fded0e2dfea1a16b1fd42911.zip |
tilegx: add optimized sched_getcpu() using TILE_COORD SPR
We can discover our x,y coordinate in the core mesh with an mfspr instruction, multiply y by the core mesh width, and have the core number without needing to ask the kernel.
Diffstat (limited to 'CANCEL-FCT-WAIVE')
0 files changed, 0 insertions, 0 deletions