search for: all_zero

Displaying 4 results from an estimated 4 matches for "all_zero".

2012 May 15
1
[LLVMdev] test all ones/zeros in vector
Hi all, is there a portable and effective way of emitting code which checks whether all vector elements are true or false? Currently, I'm doing this: %sext = sext <4 x i1> %my_cmp to <4 x i8> %bcast = bitcast <4 x i8> %sext to i32 %all_zeros = icmp ne i32 %bcast, 0 br i1 %all_zeros, label %A, label %B The emitted code works, but it's not great. I'd like to make use of movmask or ptest in the case of SSE. Of course, I could emit some intrinsic functions but I always consider these kind of things a hack; I'd rather like...
2019 Feb 18
0
SMB Signing with "map to guest = " options
...tx, &result); if (NT_STATUS_IS_OK(nt_status)) { *server_info = talloc_move(mem_ctx, &result); } } goto out; } It needs to still run this part form the tail of the function, not skip over it with the 'goto out' /* ensure we are never given NULL session keys */ if (all_zero(info3->base.key.key, sizeof(info3->base.key.key))) { result->session_key = data_blob_null; } else { result->session_key = data_blob_talloc( result, info3->base.key.key, sizeof(info3->base.key.key)); } if (all_zero(info3->base.LMSessKey.key,      sizeof(info3-&gt...
2019 Feb 14
3
SMB Signing with "map to guest = " options
Hi, I'm using samba-4.7.x I have some confusions over "map to guest=" options with setting SMB Signing 1. Set "*Server signing =auto*", "*map to guest=bad uid*" and set "client signing in windows 2k12 server group policy" to "Microsoft network client: Digitally sign communications (Always)” = *Disable*" SMB_Server is joined to Windows 2k12
2019 Apr 04
1
Proof of concept for GPU forwarding for Linux guest on Linux host.
Hi, This is a proof of concept of GPU forwarding for Linux guest on Linux host. I'd like to get comments and suggestions from community before I put more time on it. To summarize what it is: 1. It's a solution to bring GPU acceleration for Linux vm guest on Linux host. It could works with different GPU although the current proof of concept only works with Intel GPU. 2. The basic idea