File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed
fearless_simd_core/src/x86 Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ impl V1 {
8989 }
9090 }
9191}
92+ // TODO: From impls to convert into lower x86 versions.
9293
9394impl From < V1 > for crate :: x86:: v1:: Fxsr {
9495 fn from ( value : V1 ) -> Self {
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ impl V2 {
107107 }
108108 }
109109}
110+ // TODO: From impls to convert into lower x86 versions.
110111
111112impl From < V2 > for crate :: x86:: v2:: Cmpxchg16b {
112113 fn from ( value : V2 ) -> Self {
Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ impl V3 {
144144 }
145145 }
146146}
147+ // TODO: From impls to convert into lower x86 versions.
147148
148149impl From < V3 > for crate :: x86:: v3:: Avx {
149150 fn from ( value : V3 ) -> Self {
Original file line number Diff line number Diff line change @@ -155,6 +155,7 @@ impl V4 {
155155 }
156156 }
157157}
158+ // TODO: From impls to convert into lower x86 versions.
158159
159160impl From < V4 > for crate :: x86:: v4:: Avx {
160161 fn from ( value : V4 ) -> Self {
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ impl Debug for Xsave {
4040// Safety: This token can only be constructed if you have proof that all the requisite
4141// target feature is enabled.
4242unsafe impl TargetFeatureToken for Xsave {
43- const FEATURES : & [ & str ] = & [ "xsave" , ] ;
43+ const FEATURES : & [ & str ] = & [ "xsave" ] ;
4444
4545 #[ inline( always) ]
4646 fn vectorize < R > ( self , f : impl FnOnce ( ) -> R ) -> R {
@@ -87,7 +87,6 @@ impl Xsave {
8787 }
8888}
8989
90-
9190const _: ( ) = {
9291 assert ! (
9392 core:: mem:: size_of:: <Xsave >( ) == 0 ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ impl Debug for Xsavec {
4040// Safety: This token can only be constructed if you have proof that all the requisite
4141// target feature is enabled.
4242unsafe impl TargetFeatureToken for Xsavec {
43- const FEATURES : & [ & str ] = & [ "xsavec" , ] ;
43+ const FEATURES : & [ & str ] = & [ "xsavec" ] ;
4444
4545 #[ inline( always) ]
4646 fn vectorize < R > ( self , f : impl FnOnce ( ) -> R ) -> R {
@@ -87,7 +87,6 @@ impl Xsavec {
8787 }
8888}
8989
90-
9190const _: ( ) = {
9291 assert ! (
9392 core:: mem:: size_of:: <Xsavec >( ) == 0 ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ impl Debug for Xsaveopt {
4040// Safety: This token can only be constructed if you have proof that all the requisite
4141// target feature is enabled.
4242unsafe impl TargetFeatureToken for Xsaveopt {
43- const FEATURES : & [ & str ] = & [ "xsaveopt" , ] ;
43+ const FEATURES : & [ & str ] = & [ "xsaveopt" ] ;
4444
4545 #[ inline( always) ]
4646 fn vectorize < R > ( self , f : impl FnOnce ( ) -> R ) -> R {
@@ -87,7 +87,6 @@ impl Xsaveopt {
8787 }
8888}
8989
90-
9190const _: ( ) = {
9291 assert ! (
9392 core:: mem:: size_of:: <Xsaveopt >( ) == 0 ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ impl Debug for Xsaves {
4040// Safety: This token can only be constructed if you have proof that all the requisite
4141// target feature is enabled.
4242unsafe impl TargetFeatureToken for Xsaves {
43- const FEATURES : & [ & str ] = & [ "xsaves" , ] ;
43+ const FEATURES : & [ & str ] = & [ "xsaves" ] ;
4444
4545 #[ inline( always) ]
4646 fn vectorize < R > ( self , f : impl FnOnce ( ) -> R ) -> R {
@@ -87,7 +87,6 @@ impl Xsaves {
8787 }
8888}
8989
90-
9190const _: ( ) = {
9291 assert ! (
9392 core:: mem:: size_of:: <Xsaves >( ) == 0 ,
You can’t perform that action at this time.
0 commit comments