1 // Copyright 2011 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
9 #include "time_windows.h"
11 TEXT time·now(SB),NOSPLIT,$0-24
12 MOVQ $_INTERRUPT_TIME, DI
17 MOVQ $_SYSTEM_TIME, DI
19 MOVQ $116444736000000000, DI
24 // func f(x uint64) (uint64, uint64) { return x/1000000000, x%1000000000 }
25 // adapted to reduce duplication
27 MOVQ $1360296554856532783, AX