1 ; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu > %t
2 ; RUN: grep {movw %gs:i@NTPOFF, %ax} %t
3 ; RUN: llvm-as < %s | llc -march=x86-64 -mtriple=x86_64-linux-gnu > %t2
4 ; RUN: grep {movw %fs:i@TPOFF, %ax} %t2
6 @i = thread_local global i16 15