@@ -4287,13 +4287,13 @@ func InitTables() {
4287
4287
// make it worthwhile as an intrinsic
4288
4288
brev_arch = append (brev_arch , sys .PPC64 )
4289
4289
}
4290
- /******** runtime/ internal/sys ********/
4291
- addF ("runtime/ internal/sys" , "Bswap32" ,
4290
+ /******** internal/runtime /sys ********/
4291
+ addF ("internal/runtime /sys" , "Bswap32" ,
4292
4292
func (s * state , n * ir.CallExpr , args []* ssa.Value ) * ssa.Value {
4293
4293
return s .newValue1 (ssa .OpBswap32 , types .Types [types .TUINT32 ], args [0 ])
4294
4294
},
4295
4295
brev_arch ... )
4296
- addF ("runtime/ internal/sys" , "Bswap64" ,
4296
+ addF ("internal/runtime /sys" , "Bswap64" ,
4297
4297
func (s * state , n * ir.CallExpr , args []* ssa.Value ) * ssa.Value {
4298
4298
return s .newValue1 (ssa .OpBswap64 , types .Types [types .TUINT64 ], args [0 ])
4299
4299
},
@@ -4309,9 +4309,9 @@ func InitTables() {
4309
4309
4310
4310
// Make Prefetch intrinsics for supported platforms
4311
4311
// On the unsupported platforms stub function will be eliminated
4312
- addF ("runtime/ internal/sys" , "Prefetch" , makePrefetchFunc (ssa .OpPrefetchCache ),
4312
+ addF ("internal/runtime /sys" , "Prefetch" , makePrefetchFunc (ssa .OpPrefetchCache ),
4313
4313
sys .AMD64 , sys .ARM64 , sys .PPC64 )
4314
- addF ("runtime/ internal/sys" , "PrefetchStreamed" , makePrefetchFunc (ssa .OpPrefetchCacheStreamed ),
4314
+ addF ("internal/runtime /sys" , "PrefetchStreamed" , makePrefetchFunc (ssa .OpPrefetchCacheStreamed ),
4315
4315
sys .AMD64 , sys .ARM64 , sys .PPC64 )
4316
4316
4317
4317
/******** internal/runtime/atomic ********/
@@ -4837,8 +4837,8 @@ func InitTables() {
4837
4837
return s .newValue1 (ssa .OpCtz64 , types .Types [types .TINT ], y )
4838
4838
},
4839
4839
sys .S390X )
4840
- alias ("math/bits" , "ReverseBytes64" , "runtime/ internal/sys" , "Bswap64" , all ... )
4841
- alias ("math/bits" , "ReverseBytes32" , "runtime/ internal/sys" , "Bswap32" , all ... )
4840
+ alias ("math/bits" , "ReverseBytes64" , "internal/runtime /sys" , "Bswap64" , all ... )
4841
+ alias ("math/bits" , "ReverseBytes32" , "internal/runtime /sys" , "Bswap32" , all ... )
4842
4842
// ReverseBytes inlines correctly, no need to intrinsify it.
4843
4843
// Nothing special is needed for targets where ReverseBytes16 lowers to a rotate
4844
4844
// On Power10, 16-bit rotate is not available so use BRH instruction
@@ -5051,12 +5051,12 @@ func InitTables() {
5051
5051
sys .AMD64 )
5052
5052
alias ("math/bits" , "Div" , "math/bits" , "Div64" , sys .ArchAMD64 )
5053
5053
5054
- alias ("runtime/ internal/sys" , "TrailingZeros8" , "math/bits" , "TrailingZeros8" , all ... )
5055
- alias ("runtime/ internal/sys" , "TrailingZeros32" , "math/bits" , "TrailingZeros32" , all ... )
5056
- alias ("runtime/ internal/sys" , "TrailingZeros64" , "math/bits" , "TrailingZeros64" , all ... )
5057
- alias ("runtime/ internal/sys" , "Len8" , "math/bits" , "Len8" , all ... )
5058
- alias ("runtime/ internal/sys" , "Len64" , "math/bits" , "Len64" , all ... )
5059
- alias ("runtime/ internal/sys" , "OnesCount64" , "math/bits" , "OnesCount64" , all ... )
5054
+ alias ("internal/runtime /sys" , "TrailingZeros8" , "math/bits" , "TrailingZeros8" , all ... )
5055
+ alias ("internal/runtime /sys" , "TrailingZeros32" , "math/bits" , "TrailingZeros32" , all ... )
5056
+ alias ("internal/runtime /sys" , "TrailingZeros64" , "math/bits" , "TrailingZeros64" , all ... )
5057
+ alias ("internal/runtime /sys" , "Len8" , "math/bits" , "Len8" , all ... )
5058
+ alias ("internal/runtime /sys" , "Len64" , "math/bits" , "Len64" , all ... )
5059
+ alias ("internal/runtime /sys" , "OnesCount64" , "math/bits" , "OnesCount64" , all ... )
5060
5060
5061
5061
/******** sync/atomic ********/
5062
5062
0 commit comments