14
answers
0
watching
186
views
leocai2004Lv1
3 Jun 2023
This task needs to be done in Assembly. Convert every lowercase letter in the string `str` to its corresponding uppercase letter. Only ASCII characters should be processed.
For this task, the number of executable instructions is limited to n + 300, where n is the length of the string. Use SIMD instructions.
Note that the `ptest` instruction was added with SSE4.1 and is not supported by the simulator.
Signature: void toupper_simd(char* str); We use x86 intel architecture with SSE and SSE 2 instructions.
This task needs to be done in Assembly. Convert every lowercase letter in the string `str` to its corresponding uppercase letter. Only ASCII characters should be processed.
For this task, the number of executable instructions is limited to n + 300, where n is the length of the string. Use SIMD instructions.
Note that the `ptest` instruction was added with SSE4.1 and is not supported by the simulator.
Signature: void toupper_simd(char* str); We use x86 intel architecture with SSE and SSE 2 instructions.
abhisheksinghLv10
1 Oct 2023
skrish27901Lv2
25 Jul 2023
Already have an account? Log in
25 Jul 2023
Already have an account? Log in
wahabmunir796Lv10
16 Jul 2023
Already have an account? Log in
22 Jun 2023
Already have an account? Log in
22 Jun 2023
Already have an account? Log in
nmamikonyan5Lv1
20 Jun 2023
Already have an account? Log in
6 Jun 2023
Already have an account? Log in
6 Jun 2023
Already have an account? Log in